/* ============================================================
   site-footer.css — Toon Pop Footer
   ────────────────────────────────────────────────────────────
   Tema:    toonpop_pwa
   - Desktop: 3 sütun
   - Mobile:  Brand merkez + 2 sütun grid
   - Estetik: Siyah zemin + sarı yazı + halftone dotlar (mockup'tan)
============================================================ */

.site-footer {
    background: var(--br-wine);
    color: var(--br-yellow);
    padding: 40px 0 24px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    border-top: var(--br-border-thick);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 217, 61, 0.05) 1px, transparent 0);
    background-size: 14px 14px;
    position: relative;
}

/* Top scallop edge (comic kesim hissi) */
.site-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--br-wine);
}


/* ============================================================
   FOOTER CONTAINER — Bootstrap container override
   Toon Pop için 1280px (Bootstrap default 1140px'ten geniş)
============================================================ */
.site-footer .container {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.site-footer .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 0;
    width: 100%;
}
@media (min-width: 768px) {
    .site-footer .row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (min-width: 1000px) {
    .site-footer .row {
        grid-template-columns: 2fr 3fr 3fr;
        gap: 40px;
    }
}

/* CRITICAL: Bootstrap col-lg-X / col-md-X kurallarını sıfırla
   Aksi halde Bootstrap'in width: 41.6% (col-lg-5) gibi kuralları
   benim grid-template-columns'umu KAZANIR. */
.site-footer .row > [class*="col-"] {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    /* İçerik ortalanmış */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sosyal butonlar — yatay olarak ortala */
.site-footer .social-links,
.site-footer .footer-social {
    justify-content: center;
}

/* İletişim ve yasal listeleri — sola hizalı (Burak'ın çalışan formülü) */
.site-footer .footer-links,
.site-footer .contact-info,
.site-footer .footer-contact {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Heading'ler — inline-block ile parent text-align: center otomatik ortalar */


/* ============================================================
   BRAND BLOCK (logo + tagline + address)
============================================================ */
.site-footer .footer-brand {
    text-align: center;
}

/* Footer title — POW! comic */
.site-footer .footer-title {
    font-family: var(--br-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--br-yellow);
    text-shadow: 3px 3px 0 var(--br-gold);
    margin-bottom: 10px;
}

.site-footer .footer-tagline {
    color: var(--br-cream-soft);
    font-family: var(--br-font-display);
    font-style: normal;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-footer .footer-address {
    color: var(--br-cream-soft);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 16px;
}


/* ============================================================
   COLUMN HEADINGS
============================================================ */
.site-footer .footer-col-title,
.site-footer .footer-heading,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    font-family: var(--br-font-display);
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--br-yellow);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--br-yellow);
    display: inline-block;
}


/* ============================================================
   FOOTER LINKS
============================================================ */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 8px;
}

.site-footer a,
.site-footer .footer-link {
    color: var(--br-cream-soft);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
    display: inline-block;
    line-height: 1.4;
    white-space: nowrap;
}
.site-footer a:hover,
.site-footer .footer-link:hover {
    color: var(--br-yellow);
    text-decoration: underline;
    text-decoration-color: var(--br-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}


/* ============================================================
   CONTACT INFO (telephone, email)
============================================================ */
.site-footer .contact-info,
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .contact-info li,
.site-footer .footer-contact li {
    margin-bottom: 10px;
    color: var(--br-cream-soft);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.site-footer .contact-info li i,
.site-footer .contact-info li svg,
.site-footer .footer-contact li i {
    color: var(--br-yellow);
    width: 16px;
    flex-shrink: 0;
}


/* ============================================================
   SOCIAL LINKS
============================================================ */
.site-footer .footer-social,
.site-footer .social-links {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.site-footer .social-link,
.site-footer .footer-social a,
.site-footer .social-links a {
    width: 36px;
    height: 36px;
    background: var(--br-yellow);
    color: var(--br-wine) !important;
    border: 2px solid var(--br-cream);
    border-radius: var(--br-radius-sm);
    box-shadow: 2px 2px 0 var(--br-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}
.site-footer .social-link:hover,
.site-footer .footer-social a:hover,
.site-footer .social-links a:hover {
    background: var(--br-gold);
    color: var(--br-white) !important;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--br-cream);
    text-decoration: none;
}


/* ============================================================
   BOTTOM BAR (copyright + legal links)
============================================================ */
.site-footer .footer-bottom {
    margin-top: 32px;
    padding: 16px 0 0;
    border-top: 1px dashed rgba(255, 217, 61, 0.25);
    color: var(--br-cream-muted);
    font-family: var(--br-font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.6;
}

/* Footer-bottom .row — copyright sol, powered by sağ */
.site-footer .footer-bottom .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    width: 100%;
}
.site-footer .footer-bottom .row > [class*="col-"] {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.site-footer .footer-bottom p {
    margin: 0;
    text-align: left;
}
.site-footer .footer-bottom .col-md-6:last-child p,
.site-footer .footer-bottom .col-md-6:last-child {
    text-align: right;
}
@media (max-width: 600px) {
    .site-footer .footer-bottom .row {
        justify-content: center;
        text-align: center;
    }
    .site-footer .footer-bottom p,
    .site-footer .footer-bottom .col-md-6:last-child p {
        text-align: center;
    }
}

.site-footer .footer-bottom a {
    color: var(--br-cream-soft);
    margin: 0 6px;
}
.site-footer .footer-bottom a:hover {
    color: var(--br-yellow);
}


/* ============================================================
   PWA INSTALL BANNER (varsa, footer önünde)
============================================================ */
.site-footer .pwa-banner {
    background: var(--br-yellow);
    color: var(--br-wine);
    border: var(--br-border-thick);
    border-radius: var(--br-radius-md);
    box-shadow: var(--br-shadow-sm);
    padding: 14px 18px;
    margin: 0 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-family: var(--br-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
