/*
 * ContentKit Footer Component Styles
 * 
 * Styles for the site footer with 3-column grid layout.
 * Requires: _variables.css (or main.css) to be loaded first for CSS custom properties.
 * 
 * Usage: <link rel="stylesheet" href="{% static 'css/components/_footer.css' %}">
 */

.site-footer {
    background: var(--bg-secondary, #16213e);
    border-top: 1px solid var(--border-color, #374151);
    padding: var(--spacing-2xl, 3rem) 0 var(--spacing-lg, 1.5rem);
    margin-top: auto;
    color: var(--text-secondary, #cbd5e1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl, 2rem);
    margin-bottom: var(--spacing-xl, 2rem);
}

.footer-section h5 {
    color: var(--color-primary, #e67e22);
    font-size: var(--font-size-base, 1rem);
    margin-bottom: var(--spacing-md, 1rem);
    font-weight: 600;
    font-family: var(--font-family-heading, 'Atkinson Hyperlegible', system-ui, sans-serif);
}

.footer-section p {
    color: var(--text-secondary, #cbd5e1);
    margin-bottom: var(--spacing-sm, 0.5rem);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--spacing-sm, 0.5rem);
}

.footer-section a {
    color: var(--text-secondary, #cbd5e1);
    text-decoration: none;
    transition: color var(--transition-fast, 150ms ease);
}

.footer-section a:hover {
    color: var(--color-primary, #e67e22);
}

.footer-section a svg {
    margin-right: var(--spacing-xs, 0.25rem);
    vertical-align: middle;
}

.footer-bottom {
    padding-top: var(--spacing-lg, 1.5rem);
    border-top: 1px solid var(--border-color, #374151);
    text-align: center;
    color: var(--text-muted, #94a3b8);
    font-size: var(--font-size-sm, 0.875rem);
}

.footer-bottom a {
    color: var(--color-primary, #e67e22);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Social links in footer */
.footer-section .social-links {
    display: flex;
    gap: var(--spacing-md, 1rem);
    flex-wrap: wrap;
}

.footer-section .social-links a {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs, 0.25rem) var(--spacing-sm, 0.5rem);
    border-radius: var(--radius-sm, 0.25rem);
    background: var(--bg-tertiary, #0f3460);
}

.footer-section .social-links a:hover {
    background: var(--bg-primary, #1a1a2e);
}

/* Responsive: Stack on smaller screens */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section .social-links {
        justify-content: center;
    }
}
