/* =========================================================================
   FOOTER COMPONENT (template-parts/footer.php)
   ========================================================================= */
.site-footer {
    background-color: #2c2d2f; 
    color: #a3a6a9;
    padding: 60px 0 50px 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #3d3e41;
    position: relative;
    z-index: 1;

    /* Anti-Aliasing Engine: Retina/MacBook ekranlarında keskin tipografi */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. SÜTUN: BRAND & LOGO */
.footer-brand-column {
    justify-content: center;
    align-items: flex-start;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* SÜTUN BAŞLIKLARI */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

/* 2. SÜTUN: İLETİŞİM */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #888c90;
    margin-bottom: 4px;
}

.contact-link {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.contact-link:hover {
    color: var(--fogya-red, #cc0e0e);
}

/* 3. SÜTUN: DİNAMİK MENÜ LİNKLERİ */
.footer-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu-links a {
    font-size: 14px;
    font-weight: 300;
    color: #a3a6a9;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.footer-menu-links a:hover {
    color: #ffffff;
    font-weight: 400;
    transform: translateX(3px);
}

/* 4. SÜTUN: SOSYAL MEDYA */
.footer-social-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.social-svg {
    width: 16px;
    height: 16px;
    fill: #2c2d2f;
    transition: fill 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.social-btn.instagram:hover { background-color: #e1306c; }
.social-btn.twitter:hover { background-color: #000000; }
.social-btn.facebook:hover { background-color: #1877f2; }

.social-btn:hover .social-svg {
    fill: #ffffff;
}

/* SOCKET / SUB-FOOTER SYSTEM */
.sub-footer {
    background-color: #ffffff;
    color: #7f7f7f;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #e9ecef;
}

.sub-footer-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    box-sizing: border-box;
}

.copyright-text {
    font-size: 13px;
    font-weight: 300;
    margin: 0;
    color: #7f7f7f;
    letter-spacing: 0.2px;
}

.developer-anchor {
    color: #2c2d2f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.developer-anchor:hover {
    color: var(--fogya-red, #cc0e0e);
}

/* RESPONSIVE COLLAPSE */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 40px 0 30px 0;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column,
    .footer-brand-column {
        align-items: center;
    }

    .footer-menu-links a:hover {
        transform: none;
    }

    .sub-footer {
        padding: 15px 0;
    }

    .copyright-text {
        font-size: 11px;
        line-height: 1.4;
    }
}