/* ========================================
   Footer Radis
   Based on HTML reference: html/index.html
   Variables: ucoopia-variables.css
   ======================================== */

/* ========================================
   Footer Structure
   ======================================== */
.footer {
    background: var(--aubergine-dark, #2a0e2c);
    padding: 5rem 3rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Footer Inner Grid
   ======================================== */
.footer-inner {
    max-width: var(--content-width, 1400px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* ========================================
   Brand Column
   ======================================== */
.footer-brand img {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

/* Foundation / Sponsor */
.footer-foundation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-foundation__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.6rem;
    opacity: 0.5;
}

.footer-foundation__logo {
    height: 45px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-foundation__logo:hover {
    opacity: 1;
}

/* ========================================
   Column Headings
   ======================================== */
.footer h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

/* ========================================
   Footer Links
   ======================================== */
.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: block;
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--gold);
}

/* ========================================
   Footer Bottom Bar
   ======================================== */
.footer-bottom {
    max-width: var(--content-width, 1400px);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-bottom a {
    display: inline;
    padding: 0;
    font-size: 0.8rem;
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 900px) {
    .footer {
        padding: 3rem 1.5rem 2rem;
    }

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

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
