/* ===== FOOTER REVEAL WRAPPER ===== */
/*
  Ana içerik (main-content) position:relative ve z-index:2 alır,
  böylece footer arkasında gizlenir ve scroll ile ortaya çıkar.
*/
.main-content {
    position: relative;
    z-index: 2;
    background: #000;
}

.footer-reveal-wrapper {
    position: relative;
    z-index: 1;
}

/* ===== FOOTER START ===== */
.site-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
}

/* --- Üst kısım: gradient ayırıcı --- */
.footer__separator {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--green) 20%,
            var(--green) 80%,
            transparent 100%);
    opacity: 0.6;
}

/* --- Ana footer içerik --- */
.footer__main {
    display: flex;
    justify-content: space-between;
    padding: 60px 80px 40px;
    gap: 60px;
}

/* --- Sol: Sayfa Linkleri --- */
.footer__links {
    flex: 1;
}

.footer__links-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer__links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

.footer__links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__links-list li a {
    text-decoration: none;
    color: rgba(247, 249, 247, 0.6);
    font-weight: 100;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer__links-list li a::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer__links-list li a:hover {
    color: var(--green);
    padding-left: 20px;
}

.footer__links-list li a:hover::before {
    width: 12px;
}

/* --- Sağ: İletişim Bilgileri --- */
.footer__contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer__contact-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    text-align: right;
}

.footer__contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(247, 249, 247, 0.6);
    font-weight: 100;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer__contact-item:hover {
    color: var(--green);
}

.footer__contact-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__contact-item .icon svg {
    width: 16px;
    height: 16px;
    fill: var(--green);
    opacity: 0.8;
}

.footer__contact-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: var(--green);
}

/* --- Alt Bant: 3 Bölüm --- */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    border-top: 1px solid rgba(114, 211, 128, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

/* Sol: Copyright */
.footer__copyright {
    flex: 1;
    font-size: 13px;
    font-weight: 100;
    color: rgba(247, 249, 247, 0.4);
    letter-spacing: 0.5px;
}

.footer__copyright span {
    color: var(--green);
    font-weight: 500;
}

/* Orta: Bank resmi */
.footer__bank {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__bank img {
    max-height: 25px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.footer__bank img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Sağ: Sosyal Medya */
.footer__social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(114, 211, 128, 0.2);
    background: rgba(114, 211, 128, 0.05);
    transition: all 0.35s ease;
    text-decoration: none;
}

.footer__social-link .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__social-link .icon svg {
    width: 16px;
    height: 16px;
    fill: rgba(247, 249, 247, 0.6);
    transition: fill 0.3s ease;
}

.footer__social-link:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(114, 211, 128, 0.3);
}

.footer__social-link:hover .icon svg {
    fill: var(--dark);
}


/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 900px) {
    .footer__main {
        flex-direction: column;
        padding: 40px 40px 30px;
        gap: 40px;
    }

    .footer__contact {
        align-items: flex-start;
    }

    .footer__contact-title {
        text-align: left;
    }

    .footer__contact-title::after {
        right: auto;
        left: 0;
    }

    .footer__contact-list {
        align-items: flex-start;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        padding: 24px 40px;
        text-align: center;
    }

    .footer__copyright {
        order: 3;
        text-align: center;
    }

    .footer__bank {
        order: 1;
    }

    .footer__social {
        order: 2;
        justify-content: center;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .footer__main {
        padding: 30px 20px 24px;
        gap: 32px;
    }

    .footer__links-title,
    .footer__contact-title {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .footer__links-list li a,
    .footer__contact-item {
        font-size: 14px;
    }

    .footer__bottom {
        padding: 20px;
        gap: 16px;
    }

    .footer__copyright {
        font-size: 11px;
    }

    .footer__social-link {
        width: 34px;
        height: 34px;
    }

    .footer__social-link .icon svg {
        width: 14px;
        height: 14px;
    }

    .footer__bank img {
        max-height: 22px;
    }
}

/* ===== FOOTER END ===== */