/* Footer Styles */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: var(--teal);
    color: var(--white);
}

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

.footer-column-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--teal);
}

.footer-link[aria-current="page"] {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Breakpoints */

/* Tablet */
@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 3fr;
    }
}

/* Mobile overrides for specific pages */
@media (max-width: 1024px) {
    .footer-grid {
        /* grid-template-columns: 1fr 1fr; */
        gap: var(--space-lg);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem var(--space-md) var(--space-md);
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}