/* Footer */
.footer {
    background: var(--color-background-dark);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 1px solid #34495e;
    color: var(--color-text-muted);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .footer {
        display: none; /* Hide footer on mobile */
        margin-bottom: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Desktop - Ensure footer doesn't cause extra scroll */
@media (min-width: 769px) {
    .footer {
        margin-bottom: 0;
    }
}

/* Dark Theme Styles */
[data-theme="dark"] .footer {
    background: var(--header-bg-dark, var(--color-background-dark));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-section h4 {
    color: var(--color-text-primary);
}

[data-theme="dark"] .footer-section ul li a {
    color: var(--color-text-secondary);
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: var(--color-white);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

