/* =========================
   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;
}


/* =========================
   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;
}


/* =========================
   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;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    padding-bottom: 55px;

    color: white;

    background:
        radial-gradient(
            circle at 74% 30%,
            rgba(44, 131, 235, 0.22),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #041a43 0%,
            #083c84 52%,
            #1165c7 100%
        );

    overflow: hidden;
}


/* =========================
   INFOBALK
========================= */

.tournament-info {
    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;

    padding: 22px 30px;

    display: grid;

    grid-template-columns:
        1fr
        1px
        1.25fr
        1px
        0.8fr;

    align-items: center;

    background: #061f50;

    border-left:
        1px solid rgba(255, 255, 255, 0.12);

    border-right:
        1px solid rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 0 0 12px 12px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);
}

.info-item {
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    text-align: center;
}

.info-label {
    color: #3b94ff;

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

    letter-spacing: 3px;
}

.info-item strong {
    color: white;

    font-size: 16px;

    line-height: 1.4;
}

.info-divider {
    width: 1px;
    height: 44px;

    background:
        rgba(255, 255, 255, 0.18);
}


/* =========================
   HERO MAIN
========================= */

.hero-main {
    width: min(1450px, calc(100% - 70px));

    min-height: 500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 50px;

    align-items: center;
}


/* =========================
   HERO TEKST
========================= */

.hero-content {
    padding: 50px 0 45px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}

.hero-kicker {
    margin-bottom: 18px;

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

    letter-spacing: 5px;

    color: #3b94ff;
}

.hero h1 {
    max-width: 640px;

    font-size:
        clamp(50px, 4.6vw, 72px);

    line-height: 1.08;

    letter-spacing: 0.4px;

    font-weight: 800;
}

.hero h1 span {
    display: block;
}

.hero-subtitle {
    margin-top: 24px;

    font-size:
        clamp(19px, 1.6vw, 23px);

    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.9);
}


/* =========================
   KNOPPEN
========================= */

.hero-buttons {
    margin-top: 28px;

    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.button {
    min-width: 185px;

    padding: 16px 26px;

    border-radius: 6px;

    text-align: center;

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

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

    letter-spacing: 0.9px;

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

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: white;
    color: #071d49;
}

.button-primary:hover {
    background: #e9f3ff;
}

.button-secondary {
    color: white;

    border:
        2px solid rgba(255, 255, 255, 0.85);

    background: transparent;
}

.button-secondary:hover {
    background: white;
    color: #071d49;
}


/* =========================
   HERO FOTO
========================= */

.hero-visual {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;
}

.hero-image-frame {
    position: relative;

    width: 100%;
    height: 450px;

    overflow: hidden;

    border-radius:
        30px 8px 30px 8px;

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.19);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center 45%;
}


/* =========================
   PROGRAMMA SECTIE
========================= */

.program-section {
    padding:
        115px 0
        125px;

    background: #ffffff;
}

.program-container {
    width:
        min(1320px, calc(100% - 70px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 90px;

    align-items: center;
}


/* =========================
   PROGRAMMA FOTO
========================= */

.program-visual {
    position: relative;
}

.program-image {
    width: 100%;
    height: 550px;

    overflow: hidden;

    border-radius:
        8px 32px 8px 32px;

    box-shadow:
        0 25px 60px
        rgba(7, 29, 73, 0.16);
}

.program-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* DATUM BADGE OP FOTO */

.program-photo-label {
    position: absolute;

    right: -28px;
    bottom: 38px;

    width: 135px;
    height: 135px;

    border-radius: 50%;

    background: #071d49;

    color: white;

    display: flex;
    flex-direction: column;

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

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

    letter-spacing: 2px;

    box-shadow:
        0 15px 35px
        rgba(7, 29, 73, 0.25);
}

.program-photo-label span {
    display: block;

    margin-bottom: 4px;

    font-size: 26px;

    letter-spacing: 0;
}


/* =========================
   PROGRAMMA TEKST
========================= */

.program-content {
    max-width: 610px;
}

.section-kicker {
    margin-bottom: 18px;

    color: #1171df;

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

    letter-spacing: 5px;
}

.program-content h2 {
    color: #071d49;

    font-size:
        clamp(43px, 4vw, 62px);

    line-height: 1.05;

    font-weight: 800;
}

.program-content h2 span {
    display: block;

    color: #1171df;
}

.program-intro {
    max-width: 560px;

    margin-top: 26px;

    color: #657287;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================
   PROGRAMMA DAGEN
========================= */

.program-days {
    margin-top: 38px;

    border-top:
        1px solid #dce4ee;
}

.program-day {
    min-height: 105px;

    padding: 22px 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 30px;

    border-bottom:
        1px solid #dce4ee;
}


/* DATUM */

.program-date {
    display: flex;
    align-items: center;

    gap: 18px;
}

.program-number {
    min-width: 62px;

    color: #1171df;

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

    line-height: 1;
}

.program-month,
.program-weekday {
    display: block;
}

.program-month {
    margin-bottom: 5px;

    color: #071d49;

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

    letter-spacing: 2px;
}

.program-weekday {
    color: #718096;

    font-size: 14px;
}


/* CATEGORIE */

.program-category {
    padding-left: 30px;

    border-left:
        1px solid #dce4ee;
}

.program-label {
    display: block;

    margin-bottom: 6px;

    color: #1171df;

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

    letter-spacing: 2px;
}

.program-category strong {
    color: #071d49;

    font-size: 20px;

    line-height: 1.3;
}


/* OPMERKING */

.program-note {
    margin-top: 25px;

    color: #8a96a8;

    font-size: 13px;

    line-height: 1.6;
}


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

@media (max-width: 1050px) {

    .nav {
        gap: 22px;
    }

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

    .hero-main {
        gap: 32px;
    }

    .program-container {
        gap: 55px;
    }

    .program-image {
        height: 470px;
    }

}


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

@media (max-width: 800px) {

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


    /* TOPBAR WEG */

    .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;
    }


    /* INFOBALK */

    .tournament-info {
        width: calc(100% - 32px);

        margin: 0 auto;

        padding: 0 16px;

        display: flex;
        flex-direction: column;

        border-radius:
            0 0 12px 12px;
    }

    .info-item {
        width: 100%;

        padding: 18px 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.15);
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-divider {
        display: none;
    }


    /* HERO */

    .hero-main {
        width: 100%;

        min-height: auto;

        display: flex;
        flex-direction: column;

        gap: 0;
    }

    .hero-visual {
        order: 1;

        width: 100%;

        margin-top: 28px;
    }

    .hero-image-frame {
        width: calc(100% - 32px);

        height: 300px;

        margin: 0 auto;

        border-radius:
            18px 5px 18px 5px;
    }

    .hero-content {
        order: 2;

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

        align-items: flex-start;

        text-align: left;
    }

    .hero h1 {
        font-size:
            clamp(42px, 11.5vw, 56px);

        line-height: 1.08;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .button {
        width: 100%;
    }


    /* =========================
       PROGRAMMA GSM
    ========================= */

    .program-section {
        padding:
            65px 0
            78px;
    }

    .program-container {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 42px;
    }


    /* FOTO OP GSM */

    .program-visual {
        width: 100%;

        padding: 0 22px;
    }

    .program-image {
        height: 310px;

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

    .program-photo-label {
        right: 8px;
        bottom: -28px;

        width: 100px;
        height: 100px;

        font-size: 8px;
    }

    .program-photo-label span {
        font-size: 20px;
    }


    /* TEKST */

    .program-content {
        width: 100%;
        max-width: none;

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

    .section-kicker {
        margin-bottom: 13px;

        font-size: 10px;

        letter-spacing: 4px;
    }

    .program-content h2 {
        font-size:
            clamp(34px, 9.5vw, 44px);

        line-height: 1.06;
    }

    .program-intro {
        margin-top: 18px;

        font-size: 16px;

        line-height: 1.6;
    }


    /* PROGRAMMALIJST */

    .program-days {
        margin-top: 28px;
    }

    .program-day {
        min-height: auto;

        padding: 20px 0;

        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;
    }


    /* DATUM */

    .program-date {
        gap: 14px;
    }

    .program-number {
        min-width: 54px;

        font-size: 40px;
    }

    .program-month {
        margin-bottom: 3px;

        font-size: 11px;
    }

    .program-weekday {
        font-size: 14px;
    }


    /* LEEFTIJDEN DICHTER BIJ DATUM */

    .program-category {
        padding-left: 68px;

        border-left: 0;
    }

    .program-label {
        margin-bottom: 4px;

        font-size: 9px;
    }

    .program-category strong {
        font-size: 19px;

        line-height: 1.25;
    }


    /* ONDERSTE OPMERKING */

    .program-note {
        margin-top: 20px;

        font-size: 12px;
    }

}


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

@media (max-width: 430px) {

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

    .brand img {
        width: 78px;
    }

    .hero-image-frame {
        height: 270px;
    }

    .hero h1 {
        font-size: 40px;
    }


    /* PROGRAMMA */

    .program-section {
        padding-top: 58px;
    }

    .program-image {
        height: 280px;
    }

    .program-content h2 {
        font-size: 36px;

        line-height: 1.07;
    }

    .program-days {
        margin-top: 24px;
    }

    .program-day {
        padding: 18px 0;
    }

    .program-number {
        font-size: 38px;
    }

    .program-category {
        padding-left: 66px;
    }

    .program-category strong {
        font-size: 18px;
    }

}

/* =========================
   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;
  }
}
