/* =========================
   BASIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #ffffff;
    color: #071d49;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================
   TOPBAR
========================= */

.topbar {
    background: #071d49;
    color: white;
}

.topbar-inner {
    width: min(1400px, calc(100% - 60px));
    min-height: 42px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location {
    font-size: 12px;
    font-weight: 700;
}

.location-dot {
    margin-right: 8px;
}

.socials {
    display: flex;
    gap: 18px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials img {
    width: 18px;
    height: 18px;

    display: block;
}


/* =========================
   HEADER
========================= */

.header {
    position: relative;

    z-index: 100;

    background: white;

    border-bottom: 1px solid #e7ebf1;
}

.nav-container {
    width: min(1400px, calc(100% - 60px));
    min-height: 104px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 90px;

    display: block;
}


/* =========================
   DESKTOP NAVIGATIE
========================= */

.nav {
    display: flex;
    align-items: center;

    gap: clamp(30px, 3.5vw, 58px);
}

.nav a {
    position: relative;

    color: #071d49;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 800;

    padding: 12px 0;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 3px;

    background: #1171df;

    transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: 0;

    background: transparent;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 6px;

    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 4px;

    background: #071d49;

    border-radius: 10px;

    transition: 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform:
        translateY(10px)
        rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform:
        translateY(-10px)
        rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =========================
   INTRO
========================= */

.sponsors-intro {
    color: white;

    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(63, 151, 255, 0.18),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            #041a43 0%,
            #083c84 55%,
            #1268ce 100%
        );
}

.sponsors-intro-inner {
    width: min(1100px, calc(100% - 60px));

    margin: 0 auto;

    padding: 48px 0 52px;
}

.page-kicker {
    margin-bottom: 12px;

    color: #69adff;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 5px;
}

.sponsors-intro h1 {
    max-width: 850px;

    color: white;

    font-size:
        clamp(42px, 4.5vw, 62px);

    line-height: 1.03;

    font-weight: 900;

    letter-spacing: -1.5px;
}

.sponsors-intro h1 span {
    display: block;

    color: #75b6ff;
}

.intro-text {
    max-width: 680px;

    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 15px;

    line-height: 1.65;
}


/* =========================
   SPONSORSECTIE
========================= */

.sponsors-section {
    padding: 70px 0 85px;

    background: #f5f8fc;
}

.sponsors-container {
    width: min(1120px, calc(100% - 50px));

    margin: 0 auto;
}


/* =========================
   SPONSOR GRID
========================= */

.sponsors-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================
   SPONSORKAART
========================= */

.sponsor-card {
    width: 100%;

    aspect-ratio: 1.55 / 1;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius:
        8px
        18px
        8px
        18px;

    box-shadow:
        0 10px 28px
        rgba(7, 29, 73, 0.045);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);

    border-color: #b9d7fb;

    box-shadow:
        0 18px 40px
        rgba(7, 29, 73, 0.09);
}


/* =========================
   SPONSORLOGO'S
========================= */

.sponsor-card img {
    width: 100%;
    height: 100%;

    max-width: 260px;
    max-height: 145px;

    object-fit: contain;
}


/* =========================
   SPONSOR WORDEN
========================= */

.sponsor-cta {
    padding: 52px 0;

    color: white;

    background:
        linear-gradient(
            115deg,
            #041a43,
            #0c4e9f
        );
}

.sponsor-cta-inner {
    width: min(1100px, calc(100% - 50px));

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.cta-kicker {
    margin-bottom: 8px;

    color: #69adff;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 4px;
}

.sponsor-cta h2 {
    max-width: 620px;

    font-size:
        clamp(27px, 3vw, 39px);

    line-height: 1.12;
}

.sponsor-cta-text > p:last-child {
    max-width: 560px;

    margin-top: 12px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.55;
}

.cta-button {
    min-width: 200px;

    padding: 15px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;

    background: white;

    color: #071d49;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cta-button:hover {
    background: #eaf3ff;

    transform: translateY(-2px);
}

.cta-button span {
    font-size: 20px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

    .nav {
        gap: 22px;
    }

    .nav a {
        font-size: 12px;
    }

    .sponsors-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================
   GSM
   GELIJK AAN HOME
========================= */

@media (max-width: 800px) {

    body {
        padding-top:
            env(safe-area-inset-top);
    }


    /* TOPBAR WEG OP GSM */

    .topbar {
        display: none;
    }


    /* HEADER */

    .nav-container {
        width: 100%;

        min-height: 98px;

        padding:
            10px
            max(
                22px,
                env(safe-area-inset-right)
            )
            10px
            max(
                22px,
                env(safe-area-inset-left)
            );
    }

    .brand img {
        width: 84px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }


    /* MOBIEL MENU */

    .mobile-nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding:
            8px
            24px
            24px;

        background: white;

        flex-direction: column;

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.13);
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding:
            17px
            4px;

        color: #071d49;

        text-decoration: none;
        text-transform: uppercase;

        font-size: 16px;
        font-weight: 800;

        border-bottom:
            1px solid #e8ebef;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a.active {
        color: #1474e5;
    }


    /* INTRO */

    .sponsors-intro-inner {
        width:
            calc(100% - 40px);

        padding:
            48px
            0
            52px;
    }

    .sponsors-intro h1 {
        font-size:
            clamp(38px, 10vw, 50px);
    }

    .intro-text {
        font-size: 15px;
    }


    /* SPONSORS */

    .sponsors-section {
        padding:
            55px 0
            70px;
    }

    .sponsors-container {
        width:
            calc(100% - 32px);
    }

    .sponsors-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .sponsor-card {
        padding: 14px;
    }

    .sponsor-card img {
        width: 92%;
        height: 84%;

        max-width: 180px;
        max-height: 105px;

        object-fit: contain;
    }


    /* CTA */

    .sponsor-cta {
        padding:
            45px 0;
    }

    .sponsor-cta-inner {
        width:
            calc(100% - 40px);

        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

    .cta-button {
        width: 100%;
    }

}


/* =========================
   KLEINE GSM
========================= */

@media (max-width: 500px) {

    .nav-container {
        min-height: 92px;
    }

    .brand img {
        width: 78px;
    }


    /* INTRO */

    .sponsors-intro h1 {
        font-size: 39px;
    }


    /* SPONSOR GRID */

    .sponsors-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    /* COMPACTERE KAART + GROTER LOGO */

    .sponsor-card {
        aspect-ratio: 1.35 / 1;

        padding: 6px;

        border-radius:
            6px
            14px
            6px
            14px;
    }

    .sponsor-card img {
        width: 98%;
        height: 94%;

        max-width: 180px;
        max-height: 125px;

        object-fit: contain;
    }

}


/* =========================
   ZEER KLEINE GSM
========================= */

@media (max-width: 360px) {

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

    .sponsor-card {
        aspect-ratio: 1.8 / 1;

        padding: 14px;
    }

    .sponsor-card img {
        width: 86%;
        height: 76%;

        max-width: 190px;
        max-height: 95px;
    }

}

/* =========================
   INSTAGRAM IN MOBIEL MENU
========================= */

@media (max-width: 800px) {
    .mobile-nav .mobile-instagram {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        color: #071d49;
    }

    .mobile-nav .mobile-instagram img {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        object-fit: contain;
    }

    .mobile-nav .mobile-instagram span {
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
    }
}



/* MOBIEL INSTAGRAM-ICOON ONDERAAN HAMBURGERMENU */
@media (max-width: 800px) {
    .mobile-nav .mobile-instagram {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
        padding: 22px 4px 6px;
        border-top: 1px solid #e8ebef;
        border-bottom: 0;
        gap: 0;
    }

    .mobile-nav .mobile-instagram img {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        object-fit: contain;
    }

    .mobile-nav .mobile-instagram span {
        display: none;
    }
}

/* Instagram-logo zichtbaar op witte mobiele navigatie */
@media (max-width: 800px) {
    .mobile-nav .mobile-instagram img {
        width: 44px;
        height: 44px;
        padding: 10px;
        flex: 0 0 44px;
        background: #071d49;
        border-radius: 50%;
        object-fit: contain;
    }
}


/* DEFINITIEVE MOBIELE INSTAGRAMKNOP */
@media (max-width: 800px) {
  .mobile-nav .mobile-instagram {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 22px 0 10px !important;
    border-top: 1px solid #e8ebef !important;
    border-bottom: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  .mobile-nav .mobile-instagram img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* MOBIEL INSTAGRAM - ENKELE LIJN + LINKS UITGELIJND */
@media (max-width: 800px) {
  .mobile-nav .mobile-instagram {
    justify-content: flex-start !important;
    margin: 8px 0 0 !important;
    padding: 22px 4px 10px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .mobile-nav .mobile-instagram img {
    margin: 0 !important;
  }
}
