/* Footer CSS - Columns, Links, Branding */

.site-footer {
    background-color: var(--color-primary-dark);
    color: #94a3b8;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 240px;
}

.footer-brand .logo {
    color: #ffffff;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity var(--transition-fast, 0.2s);
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

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

.footer-link {
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: #ffffff;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
}

.footer-copyright {
    color: #64748b;
}

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

.footer-legal-link {
    color: #64748b;
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: 16px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 16px;
    }
}

/* Fallback footer layout styling */
.footer-fallback {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px 0;
}

.footer-fallback-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-fallback-links a {
    color: #94a3b8;
    font-weight: 500;
}

.footer-fallback-links a:hover {
    color: #ffffff;
}
