/**
 * Footer Styles
 * 
 * Dark theme footer with 4-column layout.
 * Responsive: Stacks on mobile, 2x2 on tablet.
 */

/* Footer Variables */
:root {
    --footer-bg: #111111;
    --footer-text: #cccccc;
    --footer-heading: #ffffff;
    --footer-accent: #0073aa;
    /* Matches brand primary */
    --footer-border: #333333;
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 40px;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid var(--footer-border);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer Grid */
.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    /* Specific proportions */
    gap: 60px;
    margin-bottom: 60px;
}

/* Widget Styles */
.footer-widget-title {
    color: var(--footer-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget p {
    margin-bottom: 16px;
}

/* Column 1: Brand */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make logo white if it's dark, safe default */
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 24px;
    color: #eeeeee;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    color: var(--footer-text);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--footer-heading);
}

/* Links Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-heading);
    transform: translateX(4px);
}

/* Contact Info */
.contact-info {
    font-style: normal;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--footer-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: var(--footer-heading);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.contact-value {
    color: var(--footer-text);
    text-decoration: none;
}

.contact-value:hover {
    color: var(--footer-heading);
}

/* Copyright Bar */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
}

.footer-copyright {
    margin: 0;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
}

.footer-legal a:hover {
    color: var(--footer-text);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-widgets {
        gap: 40px;
        grid-template-columns: 1fr 1fr;
        /* 2x2 Layout */
    }

    .footer-brand {
        grid-column: span 2;
        /* Brand takes full width top */
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        /* Stack */
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal a {
        margin: 0 10px;
    }
}