/* ═══════════════════════════════════════
   FOOTER — Chethi Batik 2026
═══════════════════════════════════════ */

.footer {
    background: var(--bg-dark-2);
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Gold shimmer at top border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 30px var(--gold-glow);
}

/* Batik pattern bg */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 80% 80%, rgba(211, 47, 47, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── Footer Main ─── */
.footer-main {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Brand Column ─── */
.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    color: var(--gray);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    cursor: none;
}

.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--red-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--gold-glow);
}

/* ─── Link Columns ─── */
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 1px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-col a::before {
    content: '';
    position: absolute;
    left: -15px;
    width: 6px;
    height: 1px;
    background: var(--red);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.footer-col a:hover::before {
    opacity: 1;
    left: 0;
}

/* ─── Newsletter Column ─── */
.footer-newsletter p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.newsletter-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15);
}

.newsletter-btn {
    padding: 1rem 1.5rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

.newsletter-btn:hover {
    background: var(--gold);
    color: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ─── Footer Bottom ─── */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-dark);
}

.footer-copy strong {
    color: var(--red);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--gray-dark);
    transition: color 0.3s;
    cursor: none;
}

.footer-bottom-links a:hover {
    color: var(--red);
}

/* ─── Scroll to Top ─── */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    cursor: none;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--red-glow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--red-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

@media (max-width: 540px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}