/* =========================================================
   DUTCH FAMILY - FOOTER
   /css/footer.css

   - Dutch Family branding links
   - Snelle links
   - Onze teams
   - DUTCH III logo naast de teams
   - Responsive tablet + mobiel
   ========================================================= */


/* =========================================================
   FOOTER BASIS
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;

    color: #dce5f0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(213, 170, 69, .08),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 25%,
            rgba(255, 255, 255, .025),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            var(--color-blue-deep),
            #081b31
        );

    border-top:
        1px solid rgba(213, 170, 69, .24);
}


/* =========================================================
   ACCENT BOVENZIJDE
   ========================================================= */

.site-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--color-gold),
            var(--color-red-orange),
            var(--color-gold)
        );
}


/* =========================================================
   HOOFDGRID

   Desktop:
   [ Dutch Family ] [ Snelle links ] [ Onze teams ] [ DIII ]

   DIII krijgt bewust maar een kleine kolom zodat hij
   direct naast "Onze teams" staat en niet ver rechts.
   ========================================================= */

.footer__grid {
    display: grid;

    grid-template-columns:
        minmax(320px, 1.45fr)
        minmax(150px, .55fr)
        minmax(190px, .65fr)
        110px;

    align-items: start;

    column-gap: 2.5rem;
    row-gap: 3rem;

    padding-top: 4rem;
    padding-bottom: 4rem;
}


/* =========================================================
   BRAND
   ========================================================= */

.footer__brand {
    min-width: 0;
    max-width: 440px;
}


/* =========================================================
   DUTCH FAMILY LOGO
   ========================================================= */

.footer__logo {
    display: inline-flex;
    align-items: center;

    gap: .9rem;

    margin-bottom: 1.25rem;

    color: var(--color-white);

    text-decoration: none;
}


/* =========================================================
   DUTCH KINGDOM LOGO
   ========================================================= */

.footer__logo-image {
    width: 82px;
    height: 68px;

    display: block;
    flex-shrink: 0;

    object-fit: cover;
    object-position: center;

    border:
        1px solid rgba(213, 170, 69, .24);

    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .24);
}


/* =========================================================
   LOGOTEKST
   ========================================================= */

.footer__logo-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.footer__logo-text strong {
    color: var(--color-white);

    font-size: 1.05rem;
    font-weight: 800;
}

.footer__logo-text small {
    margin-top: .3rem;

    color: var(--color-muted);

    font-size: .75rem;
}


/* =========================================================
   BRAND TEKST
   ========================================================= */

.footer__brand > p {
    max-width: 390px;

    margin: 0;

    color: #aebdce;

    font-size: .9rem;
    line-height: 1.75;
}


/* =========================================================
   E-MAIL
   ========================================================= */

.footer__email {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: .6rem;

    margin-top: 1.15rem;

    padding: .65rem .85rem;

    color: #c9d5e2;

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .04);

    text-decoration: none;

    font-size: .86rem;
    font-weight: 650;

    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.footer__email:hover {
    color: var(--color-gold-light);

    border-color:
        rgba(213, 170, 69, .30);

    background:
        rgba(213, 170, 69, .06);

    transform: translateX(3px);
}


/* =========================================================
   E-MAIL ICOON
   ========================================================= */

.footer__email-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background:
        rgba(213, 170, 69, .10);

    font-size: .9rem;
}


/* =========================================================
   KOLOMMEN
   ========================================================= */

.footer__column {
    min-width: 0;
}


/* =========================================================
   KOLOM TITELS
   ========================================================= */

.footer__column h3 {
    position: relative;

    margin: 0 0 1.4rem;

    padding-bottom: .7rem;

    color: var(--color-white);

    font-size: .95rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer__column h3::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 34px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--color-gold),
            var(--color-red-orange)
        );
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer__links {
    display: flex;
    flex-direction: column;

    gap: .75rem;
}

.footer__links a {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: .6rem;

    color: #b8c5d4;

    text-decoration: none;

    font-size: .9rem;
    font-weight: 600;

    transition:
        color .18s ease,
        transform .18s ease;
}

.footer__links a:hover {
    color: var(--color-gold-light);

    transform: translateX(3px);
}


/* =========================================================
   TEAM BADGES
   ========================================================= */

.footer__team-badge {
    min-width: 38px;
    height: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-sizing: border-box;

    padding: 0 .45rem;

    color: var(--color-white);

    border:
        1px solid rgba(213, 170, 69, .25);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .07);

    font-size: .65rem;
    font-weight: 900;
}


/* =========================================================
   DUTCH III LOGO KOLOM

   Deze staat direct naast "Onze teams".
   ========================================================= */

.footer__diii {
    min-width: 0;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    padding-top: .1rem;
}


/* =========================================================
   DUTCH III LINK
   ========================================================= */

.footer__diii-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: inherit;

    border-radius: 16px;

    text-decoration: none;

    transition:
        transform .2s ease,
        filter .2s ease;
}

.footer__diii-link:hover {
    transform: translateY(-3px);

    filter: brightness(1.06);
}


/* =========================================================
   DUTCH III LOGO

   Gebruik volledige afbeelding, dus contain.
   ========================================================= */

.footer__diii-logo {
    width: 100px;
    height: 100px;

    display: block;

    object-fit: contain;
    object-position: center;

    border-radius: 14px;

    border:
        1px solid rgba(213, 170, 69, .24);

    background:
        rgba(255, 255, 255, .025);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .20);
}


/* =========================================================
   ONDERSTE BALK
   ========================================================= */

.footer__bottom {
    border-top:
        1px solid rgba(255, 255, 255, .07);

    background:
        rgba(0, 0, 0, .12);
}


/* =========================================================
   ONDERSTE BALK INHOUD
   ========================================================= */

.footer__bottom-inner {
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}

.footer__bottom p {
    margin: 0;

    color: #8495a9;

    font-size: .8rem;
}


/* =========================================================
   DESKTOP - IETS SMALLER
   ========================================================= */

@media (max-width: 1100px) {

    .footer__grid {
        grid-template-columns:
            minmax(280px, 1.25fr)
            minmax(140px, .55fr)
            minmax(180px, .7fr)
            95px;

        column-gap: 1.8rem;
    }


    .footer__diii-logo {
        width: 88px;
        height: 88px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .footer__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(130px, .45fr);

        column-gap: 2rem;
        row-gap: 2.75rem;
    }


    /* =====================================================
       BRAND LINKS BOVENAAN
       ===================================================== */

    .footer__brand {
        grid-column: 1;
        grid-row: 1;

        max-width: 520px;
    }


    /* =====================================================
       DIII RECHTS NAAST BRAND
       ===================================================== */

    .footer__diii {
        grid-column: 2;
        grid-row: 1;

        align-self: start;

        justify-content: flex-end;
    }


    .footer__diii-logo {
        width: 105px;
        height: 105px;
    }


    /* =====================================================
       LINKS OP TWEEDE RIJ
       ===================================================== */

    .footer__column {
        grid-row: 2;
    }

}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 600px) {

    .footer__grid {
        grid-template-columns: 1fr;

        gap: 2.5rem;

        padding-top: 3rem;
        padding-bottom: 3rem;
    }


    /* =====================================================
       ALLES WEER ONDER ELKAAR
       ===================================================== */

    .footer__brand,
    .footer__column,
    .footer__diii {
        grid-column: auto;
        grid-row: auto;
    }


    .footer__brand {
        max-width: 100%;
    }


    /* =====================================================
       BRAND LOGO
       ===================================================== */

    .footer__logo-image {
        width: 72px;
        height: 60px;

        border-radius: 10px;
    }


    /* =====================================================
       E-MAIL
       ===================================================== */

    .footer__email {
        width: 100%;
        max-width: 320px;

        box-sizing: border-box;
    }


    /* =====================================================
       DUTCH III OP MOBIEL
       ===================================================== */

    .footer__diii {
        justify-content: flex-start;

        margin-top: -.5rem;
    }


    .footer__diii-logo {
        width: 95px;
        height: 95px;
    }


    /* =====================================================
       ONDERSTE BALK
       ===================================================== */

    .footer__bottom-inner {
        min-height: auto;

        padding-top: 1.25rem;
        padding-bottom: 1.25rem;

        flex-direction: column;
        align-items: flex-start;

        gap: .35rem;
    }

}


/* =========================================================
   KLEINE MOBIELE SCHERMEN
   ========================================================= */

@media (max-width: 420px) {

    .footer__logo {
        align-items: flex-start;

        gap: .75rem;
    }


    .footer__logo-image {
        width: 64px;
        height: 54px;
    }


    .footer__logo-text strong {
        font-size: .98rem;
    }


    .footer__logo-text small {
        font-size: .7rem;
    }


    .footer__brand > p {
        font-size: .84rem;
        line-height: 1.65;
    }


    .footer__email {
        max-width: 100%;

        padding: .6rem .7rem;

        font-size: .8rem;
    }


    .footer__email-icon {
        width: 28px;
        height: 28px;
    }


    .footer__diii-logo {
        width: 86px;
        height: 86px;
    }

}




/* =========================================================
   TEAMLOGO'S BIJ "ONZE TEAMS"
   ========================================================= */

.footer__team-badge--logo {
    width: 38px;
    min-width: 38px;
    height: 38px;

    padding: 0;

    overflow: hidden;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .05);
}

.footer__team-logo {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    border-radius: inherit;
}

.footer__links a:hover .footer__team-logo {
    transform: scale(1.04);
}

.footer__team-logo {
    transition: transform .18s ease;
}

@media (max-width: 600px) {
    .footer__team-badge--logo {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer__team-logo {
        transition: none;
    }
}

/* =========================================================
   TOEGANKELIJKHEID
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer__email,
    .footer__links a,
    .footer__diii-link {
        transition: none;
    }

}