/* =====================================================================
   assets/footer.css
   Jethesaplama Footer Stylesheet
   Kendi PHP Sitesi İçin - Header Stiline Uyumlu
   ===================================================================== */

:root {
    --footer-font-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1320px;
    --gutter: 32px;
    
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --brand-navy: #0f1a34;
    --brand-blue: #0047ff;
    --brand-blue-soft: rgba(0, 71, 255, 0.08);

    --footer-bg: #f8f9fa;
    --footer-bg-bottom: #ffffff;
    --footer-border: rgba(15, 26, 52, 0.08);
    --footer-shadow: 0 12px 40px -12px rgba(15, 26, 52, 0.12);
    
    --text-primary: var(--brand-navy);
    --text-muted: #64748b;
    --text-light: #999999;
}

* { box-sizing: border-box; }

/* =====================================================================
   FOOTER MAIN CONTAINER
   ===================================================================== */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-primary);
    font-family: var(--footer-font-base);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid var(--footer-border);
    margin-top: 48px;
}

.container-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* =====================================================================
   ÜST BÖLÜM: LOGO, AÇIKLAMA VE MENÜLER
   ===================================================================== */
.footer-top {
    background: var(--footer-bg);
    border-bottom: 1px solid var(--footer-border);
    padding: 48px 0;
}

.footer-top-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* SOL BÖLÜM: Logo & Açıklama */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-wrapper {
    display: block;
    margin-bottom: 16px;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-description {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    padding: 0;
    text-align: justify;
}

/* ORTA BÖLÜM: Hızlı Menü */
.footer-menu-section {
    width: 100%;
}

.footer-menu-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-list li {
    margin-bottom: 8px;
}

.footer-menu-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-smooth);
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.footer-menu-list a:hover,
.footer-menu-list a:focus {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* SAĞ BÖLÜM: Şirket Bağlantıları */
.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-company-section {
    width: 100%;
}

.footer-company-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-company-links li {
    margin-bottom: 8px;
}

.footer-company-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-smooth);
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.footer-company-links a:hover,
.footer-company-links a:focus {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* =====================================================================
   ALT BÖLÜM: SOSYAL MEDYA VE TELİF HAKKI
   ===================================================================== */
.footer-bottom {
    background: var(--footer-bg-bottom);
    border-top: 1px solid var(--footer-border);
    padding: 32px 0;
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* Sosyal Medya */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-social-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-list {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--footer-border);
}

.footer-social-link i {
    font-size: 16px;
    display: block;
}

/* Platform Renkleri */
.footer-social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border-color: transparent;
}

.footer-social-link--tiktok:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: transparent;
}

.footer-social-link--facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
    border-color: transparent;
}

.footer-social-link--youtube:hover {
    background-color: #ff0000;
    color: #ffffff;
    border-color: transparent;
}

.footer-social-link:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Telif Hakkı */
.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.footer-copyright strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-disclaimer {
    font-style: italic;
    color: var(--text-light) !important;
}

/* =====================================================================
   📱 RESPONSIVE - TABLET (≤991px)
   ===================================================================== */
@media (max-width: 991px) {
    .container-inner { padding: 0 24px; }

    .footer-top {
        padding: 32px 0;
    }

    .footer-top-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-menu-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-description {
        font-size: 12px;
    }

    .footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-social {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .footer-social-title {
        margin-right: 16px;
        white-space: nowrap;
    }
}

/* =====================================================================
   📱 RESPONSIVE - MOBILE (≤480px)
   ===================================================================== */
@media (max-width: 480px) {
    .site-footer {
        margin-top: 24px;
    }

    .container-inner { padding: 0 16px; }

    .footer-top {
        padding: 24px 0;
    }

    .footer-top-inner {
        gap: 24px;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-description {
        font-size: 12px;
        text-align: left;
    }

    .footer-menu-title,
    .footer-social-title {
        font-size: 12px;
    }

    .footer-menu-list a,
    .footer-company-links a {
        font-size: 12px;
    }

    .footer-social-link {
        width: 32px;
        height: 32px;
    }

    .footer-social-link i {
        font-size: 14px;
    }

    .footer-social {
        flex-direction: column;
        gap: 12px;
    }

    .footer-social-title {
        margin-right: 0;
    }

    .footer-bottom {
        padding: 24px 0;
    }

    .footer-copyright p {
        font-size: 11px;
    }
}

/* =====================================================================
   🎨 DARK MODE SUPPORT
   ===================================================================== */
@media (prefers-color-scheme: dark) {
    .site-footer {
        background-color: #1a1a1a;
        color: #e8e8e8;
    }

    .footer-top {
        background: #1a1a1a;
    }

    .footer-bottom {
        background-color: #0d0d0d;
    }

    .footer-menu-title,
    .footer-social-title {
        color: #ffffff;
    }

    .footer-description {
        color: #c0c0c0;
    }

    .footer-menu-list a,
    .footer-company-links a {
        color: #9999aa;
    }

    .footer-menu-list a:hover,
    .footer-company-links a:hover {
        color: var(--brand-blue);
    }

    .footer-social-link {
        background-color: #2a2a2a;
        border-color: #444444;
        color: #e8e8e8;
    }

    .footer-copyright p {
        color: #999999;
    }

    .footer-border {
        border-color: #2a2a2a;
    }
}

/* =====================================================================
   ♿ ACCESSIBILITY - Reduced Motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .footer-menu-list a,
    .footer-company-links a,
    .footer-social-link {
        transition: none;
    }
}

/* =====================================================================
   🖨️ PRINT STYLES
   ===================================================================== */
@media print {
    .site-footer {
        margin-top: 20px;
        border-top: 2px solid #333;
        page-break-inside: avoid;
    }

    .footer-social-link {
        display: none;
    }

    .site-footer a {
        text-decoration: underline;
    }
}