@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --navy: #162447;
    --navy-dark: #0f1a33;
    --yellow: #f4c430;
    --white: #ffffff;
    --light: #f4f6fa;
    --text: #1b2438;
    --muted: #72798a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background-color: var(--light);
    color: var(--text);
}


/* HEADER */

.hero {
    background: linear-gradient(
        rgba(15, 26, 51, 0.96),
        rgba(22, 36, 71, 0.96)
    );

    color: white;
    text-align: center;
    padding: 45px 20px 40px;
    border-bottom: 5px solid var(--yellow);
}

.logo {
    width: 180px;
    max-width: 75%;
    margin-bottom: 15px;
}

.hero h1 {
    margin: 5px 0 8px;
    font-family: "Cinzel", serif;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero p {
    margin: 0;
    color: var(--yellow);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* NAV */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: var(--navy-dark);

    text-align: center;

    padding: 16px 10px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

nav a {
    color: white;

    text-decoration: none;

    margin: 0 7px;

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

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

nav a:hover {
    color: var(--yellow);
}


/* PAGINA */

main {
    max-width: 1050px;

    margin: 35px auto;

    padding: 0 20px;
}

section {
    background-color: white;

    padding: 28px;

    margin-bottom: 24px;

    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(15, 26, 51, 0.08);
}

section h2 {
    margin-top: 0;
    margin-bottom: 22px;

    color: var(--navy);

    font-family: "Cinzel", serif;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: 1px;

    border-left: 6px solid var(--yellow);

    padding-left: 14px;
}

section p {
    line-height: 1.7;
}

.sectie-intro {
    color: var(--muted);

    margin-top: -8px;
    margin-bottom: 26px;
}


/* VOLGENDE WEDSTRIJD */

.volgende-wedstrijd-kaart {
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--navy-dark)
    );

    color: white;

    border-radius: 14px;

    padding: 32px 28px;

    margin-bottom: 30px;

    border-bottom: 5px solid var(--yellow);

    text-align: center;

    box-shadow: 0 6px 18px rgba(15, 26, 51, 0.20);
}

.volgende-label {
    color: var(--yellow);

    font-family: "Cinzel", serif;

    font-size: 20px;
    font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 18px;
}

.volgende-datum {
    color: #d7dbea;

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

    margin-bottom: 14px;
}

.volgende-teams {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    gap: 24px;

    align-items: center;

    font-size: 24px;
    font-weight: 700;
}

.volgende-teams span:first-child {
    text-align: right;
}

.volgende-teams span:last-child {
    text-align: left;
}

.volgende-vs {
    color: var(--yellow);

    font-family: "Cinzel", serif;

    font-weight: 800;
}

.volgende-locatie {
    margin-top: 16px;

    color: #d7dbea;

    font-size: 13px;
}


/* NIEUWS */

.nieuws-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.nieuws-kaart {
    background-color: #f8f9fc;

    border-radius: 12px;

    overflow: hidden;

    border-bottom: 5px solid var(--yellow);

    box-shadow: 0 4px 12px rgba(15, 26, 51, 0.08);
}

.nieuws-header {
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--navy-dark)
    );

    padding: 18px 20px;
}

.nieuws-datum {
    color: var(--yellow);

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

    margin-bottom: 7px;
}

.nieuws-titel {
    margin: 0;

    color: white;

    font-family: "Cinzel", serif;

    font-size: 20px;
}

.nieuws-inhoud {
    padding: 18px 20px;
}

.nieuws-inhoud p {
    margin: 0;

    font-size: 14px;
}


/* WEDSTRIJDEN */

.wedstrijd {
    background-color: #f8f9fc;

    border-left: 5px solid var(--yellow);

    border-radius: 10px;

    padding: 18px;

    margin-bottom: 14px;
}

.wedstrijd-datum {
    color: var(--muted);

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

    margin-bottom: 12px;

    text-align: center;
}

.wedstrijd-teams {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    gap: 20px;

    align-items: center;

    font-size: 17px;
    font-weight: 600;
}

.wedstrijd-teams span:first-child {
    text-align: right;
}

.wedstrijd-teams span:last-child {
    text-align: left;
}

.wedstrijd-teams strong {
    background-color: var(--navy);

    color: var(--yellow);

    padding: 8px 13px;

    border-radius: 7px;

    font-size: 18px;
}

.wedstrijd-locatie {
    color: var(--muted);

    text-align: center;

    margin-top: 10px;

    font-size: 13px;
}


/* ALLE UITSLAGEN */

.speelronde {
    margin-bottom: 34px;
}

.speelronde-titel {
    font-family: "Cinzel", serif;

    color: var(--navy);

    font-size: 19px;
    font-weight: 700;

    padding-bottom: 9px;

    margin-bottom: 12px;

    border-bottom: 2px solid var(--yellow);
}

.competitie-wedstrijd {
    display: grid;

    grid-template-columns: 1fr 65px 1fr;

    gap: 18px;

    align-items: center;

    padding: 12px 16px;

    margin-bottom: 7px;

    background-color: #f8f9fc;

    border-radius: 8px;

    font-size: 14px;
}

.competitie-wedstrijd .thuisteam {
    text-align: right;
}

.competitie-wedstrijd .uitteam {
    text-align: left;
}

.competitie-score {
    background-color: var(--navy);

    color: var(--yellow);

    font-weight: 800;

    text-align: center;

    padding: 7px 8px;

    border-radius: 6px;
}

.risdam-wedstrijd {
    background-color: #fff7d6;

    border-left: 4px solid var(--yellow);
}


/* SEIZOENSTATISTIEKEN */

.statistieken {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(120px, 1fr));

    gap: 15px;
}

.stat-box {
    background: linear-gradient(
        145deg,
        var(--navy),
        var(--navy-dark)
    );

    color: white;

    padding: 22px 10px;

    border-radius: 11px;

    text-align: center;

    border-bottom: 4px solid var(--yellow);
}

.stat-box strong {
    display: block;

    color: var(--yellow);

    font-family: "Cinzel", serif;

    font-size: 28px;

    margin-bottom: 6px;
}

.stat-box span {
    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;
}


/* STAND */

.stand-wrapper {
    width: 100%;

    overflow-x: auto;
}

.stand-tabel {
    width: 100%;

    border-collapse: collapse;

    font-size: 14px;
}

.stand-tabel th {
    background-color: var(--navy);

    color: var(--yellow);

    padding: 12px 8px;

    text-align: center;
}

.stand-tabel td {
    padding: 11px 8px;

    border-bottom: 1px solid #e6e8ee;

    text-align: center;
}

.stand-tabel .teamnaam {
    text-align: left;

    font-weight: 600;
}

.risdam-rij {
    background-color: #fff7d6;
}

.risdam-rij td {
    font-weight: 700;
}


/* SPELERS */

.spelers-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 22px;
}

.speler-kaart {
    overflow: hidden;

    background-color: #f8f9fc;

    border-radius: 14px;

    border-bottom: 5px solid var(--yellow);

    box-shadow: 0 5px 14px rgba(15, 26, 51, 0.10);
}

.speler-foto {
    height: 240px;

    background: linear-gradient(
        145deg,
        var(--navy),
        var(--navy-dark)
    );

    display: flex;

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

    overflow: hidden;
}

.speler-foto img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.speler-placeholder {
    width: 95px;
    height: 95px;

    border-radius: 50%;

    display: flex;

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

    border: 3px solid var(--yellow);

    color: var(--yellow);

    font-family: "Cinzel", serif;

    font-size: 34px;
    font-weight: 800;
}

.speler-info {
    padding: 20px;

    text-align: center;
}

.speler-naam {
    margin: 0 0 16px;

    font-family: "Cinzel", serif;

    color: var(--navy);

    font-size: 22px;
}

.speler-stats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.speler-stat {
    background-color: white;

    border-radius: 8px;

    padding: 11px 6px;
}

.speler-stat strong {
    display: block;

    color: var(--navy);

    font-size: 20px;
}

.speler-stat span {
    color: var(--muted);

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

    text-transform: uppercase;
}


/* TOPSCORERS */

.ranking-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.ranking-kaart {
    background-color: #f8f9fc;

    border-radius: 14px;

    padding: 20px;

    border-top: 5px solid var(--yellow);
}

.ranking-kaart h3 {
    margin-top: 0;

    color: var(--navy);

    font-family: "Cinzel", serif;

    font-size: 20px;
}

.ranking-rij {
    display: grid;

    grid-template-columns: 38px 1fr auto;

    gap: 10px;

    align-items: center;

    padding: 11px 8px;

    border-bottom: 1px solid #e4e6ec;
}

.ranking-positie {
    width: 30px;
    height: 30px;

    border-radius: 50%;

    background-color: var(--navy);

    color: var(--yellow);

    display: flex;

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

    font-weight: 800;
}

.ranking-naam {
    color: var(--navy);

    font-weight: 700;
}

.ranking-aantal {
    color: var(--navy);

    font-size: 20px;
    font-weight: 800;
}


/* SPONSORS */

.sponsors-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.sponsor-kaart {
    overflow: hidden;

    background-color: #f8f9fc;

    border-radius: 14px;

    border-bottom: 5px solid var(--yellow);

    box-shadow: 0 5px 16px rgba(15, 26, 51, 0.10);

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

.sponsor-kaart:hover {
    transform: translateY(-5px);

    box-shadow:
        0 9px 22px rgba(15, 26, 51, 0.16);
}

.sponsor-logo-vak {
    height: 230px;

    background-color: white;

    display: flex;

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

    padding: 28px;
}

.sponsor-logo {
    display: block;

    max-width: 100%;
    max-height: 175px;

    object-fit: contain;
}

.sponsor-info {
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--navy-dark)
    );

    padding: 20px;

    text-align: center;
}

.sponsor-naam {
    margin: 0 0 14px;

    color: white;

    font-family: "Cinzel", serif;

    font-size: 21px;
}

.sponsor-link {
    display: inline-block;

    background-color: var(--yellow);

    color: var(--navy-dark);

    padding: 10px 16px;

    border-radius: 7px;

    text-decoration: none;

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

    text-transform: uppercase;
}

.sponsor-link:hover {
    background-color: #ffd84d;
}


/* FOOTER */

footer {
    background-color: var(--navy-dark);

    color: white;

    text-align: center;

    padding: 24px 20px;

    margin-top: 40px;

    border-top: 5px solid var(--yellow);
}


/* MOBIEL */

@media (max-width: 700px) {

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

    nav a {
        display: inline-block;

        margin: 5px 6px;

        font-size: 10px;
    }

    main {
        padding: 0 12px;
    }

    section {
        padding: 20px;
    }

    .volgende-teams {
        gap: 7px;

        font-size: 13px;
    }

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

    .wedstrijd-teams {
        gap: 7px;

        font-size: 12px;
    }

    .competitie-wedstrijd {
        grid-template-columns: 1fr 50px 1fr;

        gap: 7px;

        font-size: 11px;
    }

    .stand-tabel {
        min-width: 700px;
    }

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

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

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