/* ===== Footer Styles ===== */

.site-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.25rem 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--primary);
}

.footer-links,
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.social-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.social-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-copyright,
.footer-credit {
    margin: 0.25rem 0;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
}

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

/* ===== Responsive Footer ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .site-footer {
        padding: 2rem 1rem 1.25rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0.75rem 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1rem;
    }
}