/* ============================================================
   VAIBHAVI STUDIOS — FOOTER STYLES
   File: css/footer.css
   ============================================================ */

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ FOOTER WRAP ============ */
.site-footer {
    position: relative;
    background: #050505;
    color: #f5f5f7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 100px 0 32px;
    margin-top: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.022em;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ============ FOOTER TOP ============ */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Brand ---- */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f5f5f7;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    transition: opacity 0.25s;
}

.footer-logo:hover { opacity: 0.85; }

.footer-logo .mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #E50914 0%, #ff3a44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.05em;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

.footer-logo .name {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.footer-logo .name .sub {
    font-size: 10px;
    font-weight: 700;
    color: #E50914;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(-5px);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.65;
    color: #86868b;
    margin: 0;
    max-width: 340px;
}

/* ---- Links Columns ---- */
.footer-links h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6e6e73;
    margin: 0 0 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #d2d2d7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.25s, padding-left 0.25s;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: #E50914;
    padding-left: 4px;
}

/* ============ FOOTER BOTTOM ============ */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: #6e6e73;
    letter-spacing: 0.02em;
    margin: 0;
}

.footer-credit {
    font-size: 12px;
    color: #6e6e73;
    letter-spacing: 0.02em;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.footer-credit a {
    color: #d2d2d7;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.25s;
}

.footer-credit a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.footer-credit a:hover {
    color: #E50914;
}

.footer-credit a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .footer-inner { padding: 0 24px; }
    .footer-top { gap: 40px; }
}

@media (max-width: 860px) {
    .site-footer { padding: 60px 0 28px; }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .footer-tagline { max-width: 100%; }
}

@media (max-width: 600px) {
    .footer-inner { padding: 0 20px; }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }
    .footer-credit {
        font-size: 11.5px;
        line-height: 1.6;
    }
    .footer-logo { font-size: 20px; }
    .footer-logo .mark { width: 28px; height: 28px; font-size: 13px; }
}

/* ============ THEME AWARE ============ */
body[data-theme="green"] .site-footer::before {
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
}
body[data-theme="green"] .footer-logo .mark {
    background: linear-gradient(135deg, #39FF14 0%, #00c853 100%);
    box-shadow: 0 4px 16px rgba(57, 255, 20, 0.4);
}
body[data-theme="green"] .footer-links a:hover { color: #39FF14; }
body[data-theme="green"] .footer-credit a:hover { color: #39FF14; }