/* ==========================================
   FOOTER - REVEAL ANIMATION
   Clean, standalone footer styles
   ========================================== */

/* Footer Container - Fixed at bottom */
.site-footer {
    background: var(--darker);
    color: var(--beige);
    padding: 80px 0 40px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

/* Main content needs to cover the footer */
.main-content {
    position: relative;
    z-index: 10;
    background: var(--beige);
    margin-bottom: 450px; /* Default - JS will calculate */
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

/* For pages with dark sections at the bottom */
.main-content.dark-end {
    background: var(--darker);
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.15);
}

/* Footer Logo Text */
.footer-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--beige);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    display: block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-text:hover {
    color: var(--primary);
}

/* Footer Brand */
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 350px;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.7rem;
    opacity: 0.75;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--beige);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-info,
.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Legal Links */
.legal-links {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    align-items: center;
}

.legal-links a {
    color: var(--beige);
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.separator {
    color: var(--beige);
    opacity: 0.3;
}

/* ==========================================
   RESPONSIVE - Footer Only
   ========================================== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .main-content {
        margin-bottom: 550px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 20px 40px;
    }
    
    .footer-top {
        gap: 2rem;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-col h4 {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-col a {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 20px;
    }
    
    .footer-info,
    .footer-legal {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-content {
        margin-bottom: 700px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 16px 30px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .footer-logo-text {
        font-size: 1.4rem;
    }
    
    .main-content {
        margin-bottom: 800px;
    }
}

@media (max-width: 360px) {
    .main-content {
        margin-bottom: 880px;
    }
}