/* ═══════════════════════════════════════════════
   Footer — Premium 4-Column Design
   ═══════════════════════════════════════════════ */

.site-footer {
    background: #0b1120;
    color: var(--text-primary);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* ─── Column: Logo & Info ─── */
.footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.3;
    flex-shrink: 0;
    max-width: 100%;
}

.footer-logo i {
    color: var(--accent-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.footer-logo span {
    color: var(--accent-blue);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* ─── Column: Menus ─── */
.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-col-title i {
    margin-right: 6px;
    opacity: 0.9;
}

.footer-hava-rehberi-col {
    min-height: 0;
}

.footer-menu-col:first-of-type .footer-col-title i {
    color: var(--accent-blue);
}

.footer-hava-rehberi-col .footer-col-title i {
    color: var(--accent-blue);
}

.footer-hava-rehberi-list {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
}

.footer-hava-rehberi-list::-webkit-scrollbar {
    width: 6px;
}

.footer-hava-rehberi-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
}

.footer-hava-rehberi-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

.footer-hava-rehberi-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-hava-rehberi-list a:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, margin-left 0.2s ease;
}

.footer-menu li a i {
    font-size: 12px;
    width: 16px;
    opacity: 0.5;
}

.footer-menu li a:hover {
    color: var(--accent-blue);
    margin-left: 4px;
}

/* ─── Column: Status Box ─── */
.footer-status-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    animation: statusPulse 2.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
        opacity: 1;
    }
}

.status-text {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-label {
    font-size: 12px;
    color: var(--text-muted);
}

.status-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

/* ─── Bottom Bar ─── */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    text-decoration: none;
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--accent-blue);
}

/* Veri / Yapay zeka linkleri (llms.txt, JSON API) — web ve mobilde gizli */
.footer-ai-data {
    display: none !important;
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* Sadece botların HTML'den görmesi için; kullanıcıya görünmez */
.footer-ai-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.footer-ai-data a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-ai-data a:hover {
    color: var(--accent-blue);
}

.footer-ai-data a:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* ─── Animations ─── */
@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    }
    50% {
        opacity: 0.75;
        box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
    }
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }

    .footer-status-col {
        grid-column: span 3;
        margin-top: 20px;
    }

    .footer-status-box {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
    }

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

    .footer-info-col {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-status-col {
        grid-column: span 2;
    }

    .footer-status-box {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobil: Önce yasal linkler (üstte), en altta telif */
    .footer-bottom .copyright {
        order: 2;
    }

    .footer-bottom .footer-legal {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .footer-bottom .footer-legal-sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-info-col,
    .footer-status-col {
        grid-column: span 1;
    }

    .footer-col-title {
        text-align: center;
    }

    .footer-menu li a {
        justify-content: center;
    }

    /* Küçük mobil: linkler yan yana / 2 sıra (wrap), tek sütun değil */
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
}