.fourth-section {
    padding: 100px 0;
    background-color: var(--background-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern */
.fourth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 8%),
                      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 8%);
    background-size: 60px 60px;
    z-index: 0;
}

.fourth-content {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.fourth-content h6 {
    color: var(--gold-color);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

/* Add decorative line */
.fourth-content h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--gold-color);
}

.fourth-content h2 {
    color: var(--text-light);
    font-size: 42px;
    margin: 25px 0 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.fourth-content p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.fourth-cards {
    display: grid;
    grid-template-columns: repeat(3, 330px);
    gap: 40px;
    justify-content: center;
    margin: 60px auto;
    max-width: 1100px;
    position: relative;
    z-index: 1;
}

.fourth-card {
    width: 330px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    background-color: var(--background-color);
}

.fourth-card .card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fourth-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.fourth-card:hover .card-image img {
    transform: scale(1.1);
}

.fourth-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
                rgba(0,0,0,0.1) 0%, 
                rgba(0,0,0,0.6) 100%);
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fourth-card h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.fourth-card p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fourth-card .fourth-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gold-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(20px);
    opacity: 0;
    overflow: hidden;
    z-index: 3;
    transition: all 0.5s ease, background 0.3s ease;
    position: relative;
}

.fourth-card .fourth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.fourth-card .fourth-btn:hover::before {
    transform: translateX(0);
}

.fourth-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.fourth-card:hover .card-content {
    background: linear-gradient(to bottom, 
                rgba(0,0,0,0.4) 0%, 
                rgba(0,0,0,0.8) 100%);
}

.fourth-card:hover h3 {
    transform: translateY(-30px);
}

.fourth-card:hover p {
    opacity: 1;
    transform: translateY(-15px);
}

.fourth-card:hover .fourth-btn {
    opacity: 1;
    transform: translateY(-15px);
}

.fourth-card .plus-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gold-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fourth-card:hover .plus-icon {
    opacity: 1;
    transform: scale(1);
}

.fourth-card .plus-icon::before,
.fourth-card .plus-icon::after {
    content: '';
    position: absolute;
    background: var(--text-light);
}

.fourth-card .plus-icon::before {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fourth-card .plus-icon::after {
    width: 2px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: var(--gold-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Responsive düzenlemeler */
@media (max-width: 1100px) {
    .fourth-cards {
        grid-template-columns: repeat(2, 330px);
        max-width: 700px;
    }
    
    .fourth-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 740px) {
    .fourth-cards {
        grid-template-columns: 330px;
        max-width: 330px;
    }
    
    .fourth-content h2 {
        font-size: 32px;
    }
    
    .fourth-content h6 {
        font-size: 16px;
    }
    
    .fourth-section {
        padding: 70px 0;
    }
}

.fourth-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.fourth-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.fourth-dot.active {
    background: var(--gold-color);
    width: 40px;
}

.fourth-dot:hover {
    background: var(--gold-color);
    opacity: 0.7;
}

/* These classes are used by the JavaScript for animations - DO NOT MODIFY */
.fourth-card.fade-out {
    opacity: 0;
}

.fourth-card.fade-in {
    opacity: 1;
} 

