/* =============================================
   footer.css - Footer Component Styles
   Used on: ALL pages (except success.html)
   Loaded dynamically via footer.js
   ============================================= */

.footer {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--panel);
    border-top: 1px solid var(--stroke);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.footer-social-inline {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-inline:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-icon-inline {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer-brand .logo-accent {
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-md);
}

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

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

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

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

/* =============================================
   Responsive Design - Footer
   ============================================= */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-section ul li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
