/* ==========================================================================
   DoxKing — footer.css (Global)
   Updated: brand column with tagline + social icons inside
   ========================================================================== */

footer.site-footer {
    background: var(--ink, #1e2330);
    color: #cbd0dc;
    padding: 52px 0 24px;
    margin-top: 60px;
    width: 100%;
}

footer.site-footer .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 34px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col p {
    color: #9aa1b3;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Tagline — thora bara, "5+ languages" */
.footer-col .footer-tagline {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #a8b0c4;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.footer-col li {
    margin: 0;
}

.footer-col a {
    color: #b6bbc9;
    font-size: 0.87rem;
    text-decoration: none;
    transition: color .15s ease;
}

.footer-col a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333a4d;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #8890a3;
}

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

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

    footer.site-footer {
        padding: 40px 0 20px;
    }

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

html[data-theme="dark"] footer.site-footer {
    background: #0a0e14;
    color: #9ca3af;
    border-top: 1px solid var(--glow-border, rgba(129, 140, 248, 0.40));
}

html[data-theme="dark"] .footer-col h4 {
    color: #e5e7eb;
}

html[data-theme="dark"] .footer-col p {
    color: #6b7280;
}

html[data-theme="dark"] .footer-col .footer-tagline {
    color: #8b93a7;
    font-weight: 600;
}

html[data-theme="dark"] .footer-col a {
    color: #9ca3af;
}

html[data-theme="dark"] .footer-col a:hover {
    color: var(--primary, #818cf8);
}

html[data-theme="dark"] .footer-bottom {
    border-top-color: var(--glow-border, rgba(129, 140, 248, 0.40));
    color: #6b7280;
}


/* ============================================================
   SOCIAL ICONS — inside brand column (left-aligned, no border-top)
   ============================================================ */
.footer-col .footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 0;
    border-top: none;
    justify-content: flex-start;
}

.footer-col .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #b6bbc9;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.footer-col .social-link svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-col .social-link:hover {
    background: var(--primary, #818cf8);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.35);
    text-decoration: none;
}

.footer-col .social-link:focus-visible {
    outline: 2px solid var(--primary, #818cf8);
    outline-offset: 3px;
}

/* Dark mode — social icons inside brand column */
html[data-theme="dark"] .footer-col .social-link {
    background: rgba(129, 140, 248, 0.08);
    color: #9ca3af;
    border-color: rgba(129, 140, 248, 0.20);
}

html[data-theme="dark"] .footer-col .social-link:hover {
    background: var(--primary, #818cf8);
    color: #0f1419;
    border-color: var(--primary, #818cf8);
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.45);
}

/* Mobile — smaller social icons */
@media (max-width: 600px) {
    .footer-col .footer-social {
        gap: 8px;
        margin-top: 14px;
    }

    .footer-col .social-link {
        width: 34px;
        height: 34px;
    }

    .footer-col .social-link svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 400px) {
    .footer-col .social-link {
        width: 32px;
        height: 32px;
    }

    .footer-col .social-link svg {
        width: 14px;
        height: 14px;
    }
}