/**
 * HENX3D Footer - Theme-aware Styles
 * Uses CSS variables from theme-variables.css
 */

.site-footer {
    background: var(--color-bg-elevated);
    padding: 1.25rem 5%;
}

.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

/* Footer Left */
.footer-left h4 {
    color: var(--color-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.footer-left p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer Social */
.footer-social-compact {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.footer-social-compact .social-link {
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.footer-social-compact .social-link:hover {
    color: var(--color-primary);
}

/* Footer Right */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    text-align: right;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-left,
    .footer-right {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-legal {
        justify-content: center !important;
    }
}
