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

.hero {
    position: relative;
    min-height: 72vh;

    display: grid;
    align-items: center;

    overflow: hidden;

    color: var(--color-white);

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(200, 79, 50, .30),
            transparent 32%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(213, 170, 69, .16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--color-blue-deep),
            var(--color-blue)
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255, 255, 255, .025) 45%,
            transparent 70%
        );
}

.hero__content {
    position: relative;
    z-index: 1;

    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero__eyebrow {
    margin: 0 0 .8rem;

    color: var(--color-gold-light);

    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;

    margin-bottom: 1.25rem;

    color: var(--color-white);
}

.hero__intro {
    max-width: 720px;

    margin-bottom: 2rem;

    color: #dce6f1;

    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: .75rem;
}

.hero__actions .button {
    min-width: 175px;
}


/* =========================================================
   ALGEMENE HOME-SECTIES
   ========================================================= */

.section-heading {
    max-width: 780px;

    margin-bottom: 2.5rem;
}

.section-heading h2 {
    margin-bottom: 1rem;
}

.section-heading p:last-child {
    max-width: 700px;

    margin-bottom: 0;

    color: #5c6674;
}

.section-heading--center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading--center p:last-child {
    margin-left: auto;
    margin-right: auto;
}

.section-action {
    margin-top: 2rem;

    text-align: center;
}


/* =========================================================
   ONZE TEAMS
   ========================================================= */

.home-teams {
    background: var(--color-light);
}

.team-grid {
    display: grid;

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

    gap: 1.5rem;
}

.team-card {
    position: relative;

    min-height: 315px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-top: 4px solid var(--color-gold);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.team-card:nth-child(2) {
    border-top-color: var(--color-red-orange);
}

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

    box-shadow:
        0 24px 55px rgba(0, 0, 0, .16);
}

.team-card h3 {
    margin-bottom: .8rem;

    color: var(--color-blue-deep);

    font-size: 1.4rem;
}

.team-card p {
    margin-bottom: 1.25rem;

    color: #616b78;
}

.team-card .text-link {
    margin-top: auto;
}

.team-card__badge {
    width: fit-content;

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

    margin-bottom: 1rem;

    padding: .35rem .7rem;

    border-radius: 999px;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-blue),
            var(--color-blue-dark)
        );

    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.team-card__details {
    margin: 0 0 1.5rem;
    padding: 0;

    list-style: none;
}

.team-card__details li {
    padding: .45rem 0;

    color: #65707d;

    border-bottom: 1px solid #edf0f4;

    font-size: .9rem;
}

.team-card__details li:last-child {
    border-bottom: 0;
}

.team-card__details strong {
    color: var(--color-blue-deep);
}


/* =========================================================
   DUTCH FAMILY IN CIJFERS
   ========================================================= */

.family-stats {
    color: var(--color-white);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(213, 170, 69, .12),
            transparent 35%
        ),
        var(--color-blue-deep);
}

.family-stats .section-heading h2 {
    color: var(--color-white);
}

.family-stats .section-heading p:last-child {
    color: var(--color-muted);
}

.stats-grid {
    display: grid;

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

    gap: 1rem;
}

.stat-card {
    position: relative;

    padding: 2rem 1rem;

    overflow: hidden;

    text-align: center;

    border: 1px solid rgba(213, 170, 69, .18);
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, .04);
}

.stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 25%;
    right: 25%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--color-gold),
            transparent
        );
}

.stat-number {
    display: block;

    margin-bottom: .3rem;

    color: var(--color-gold-light);

    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    display: block;

    color: #d8e0ea;

    font-size: .9rem;
    font-weight: 700;
}


/* =========================================================
   LAATSTE NIEUWS / PRESTATIES
   ========================================================= */

.home-news {
    background: #f8f9fb;
}

.news-grid {
    display: grid;

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

    gap: 1.25rem;
}

.news-card {
    display: flex;
    align-items: flex-start;

    gap: 1rem;

    padding: 1.5rem;

    border-radius: var(--radius-md);

    background: var(--color-white);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, .08);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, .11);
}

.news-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: #fff7df;

    font-size: 1.55rem;
}

.news-content {
    min-width: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .45rem;

    margin-bottom: .35rem;
}

.news-team {
    color: var(--color-red-orange);

    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.news-new {
    display: inline-flex;
    align-items: center;

    padding: .15rem .45rem;

    color: #7a5500;

    border-radius: 999px;

    background: #fff1b8;

    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .05em;

    animation: newPulse 1.6s ease-in-out infinite;
}

.news-card h3 {
    margin-bottom: .6rem;

    color: var(--color-blue-deep);

    font-size: 1.12rem;
}

.news-card p {
    margin-bottom: .7rem;

    color: #65707d;

    font-size: .93rem;
}

.news-date {
    color: #929ba7;

    font-size: .78rem;
}

@keyframes newPulse {
    0%,
    100% {
        opacity: .75;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(213, 170, 69, 0);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
        box-shadow: 0 0 12px rgba(213, 170, 69, .35);
    }
}


/* =========================================================
   AGENDA / DEZE MAAND
   ========================================================= */

.home-calendar {
    background: var(--color-white);
}

.calendar-layout {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 3rem;

    align-items: start;
}

.calendar-intro {
    position: sticky;
    top: 120px;
}

.calendar-intro h2 {
    margin-bottom: 1rem;
}

.calendar-intro p:last-child {
    max-width: 420px;

    margin-bottom: 0;

    color: #626d79;
}

.calendar-list {
    display: grid;

    gap: 1rem;
}

.calendar-item {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 1.25rem;

    padding: 1.35rem;

    border: 1px solid #e8ebef;
    border-radius: var(--radius-md);

    background: #fbfcfd;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.calendar-item:hover {
    transform: translateX(3px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .07);
}

.calendar-date {
    width: 68px;
    height: 72px;

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

    flex-shrink: 0;

    color: var(--color-blue-deep);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--color-gold-light),
            var(--color-gold)
        );

    box-shadow:
        0 6px 18px rgba(213, 170, 69, .18);
}

.calendar-day {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
}

.calendar-month {
    margin-top: .2rem;

    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.calendar-team {
    display: block;

    margin-bottom: .25rem;

    color: var(--color-red-orange);

    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.calendar-info h3 {
    margin-bottom: .4rem;

    color: var(--color-blue-deep);

    font-size: 1.1rem;
}

.calendar-info p {
    margin-bottom: 0;

    color: #697481;

    font-size: .9rem;
}


/* =========================================================
   RECORDS PREVIEW
   ========================================================= */

.home-records {
    background: #f6f8fa;
}

.records-grid {
    display: grid;

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

    gap: 1.25rem;
}

.record-card {
    position: relative;

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

    padding: 2rem 1.25rem;

    overflow: hidden;

    text-align: center;

    border: 1px solid #e7eaf0;
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f9fafc
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

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

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .10);
}

.record-card::after {
    content: "";

    position: absolute;

    left: 18%;
    right: 18%;
    bottom: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--color-gold),
            transparent
        );
}

.record-icon {
    margin-bottom: .8rem;

    font-size: 2rem;
}

.record-label {
    margin-bottom: .35rem;

    color: #717b88;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.record-value {
    margin-bottom: .6rem;

    color: var(--color-blue-deep);

    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
}

.record-holder {
    color: var(--color-dark);

    font-weight: 800;
}

.record-team {
    margin-top: .2rem;

    color: var(--color-muted);

    font-size: .82rem;
}


/* =========================================================
   EREGALERIJ
   ========================================================= */

.hall-of-fame-preview {
    background: var(--color-white);
}

.hall-of-fame-box {
    display: grid;

    grid-template-columns: auto 1fr;

    align-items: center;

    gap: 2rem;

    padding: 3rem;

    overflow: hidden;

    color: var(--color-white);

    border-radius: var(--radius-lg);

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(200, 79, 50, .22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--color-blue-deep),
            var(--color-blue-dark)
        );

    box-shadow:
        0 24px 55px rgba(0, 0, 0, .16);
}

.hall-of-fame-icon {
    width: 110px;
    height: 110px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff3ad,
            var(--color-gold-light) 28%,
            var(--color-gold) 68%,
            #9c711c
        );

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .25);

    font-size: 3.4rem;
}

.hall-of-fame-content {
    max-width: 760px;
}

.hall-of-fame-content .eyebrow {
    color: var(--color-gold-light);
}

.hall-of-fame-content h2 {
    margin-bottom: 1rem;

    color: var(--color-white);
}

.hall-of-fame-content p {
    max-width: 680px;

    margin-bottom: 1.5rem;

    color: #d7e0ea;
}


/* =========================================================
   SPEEL JIJ ROYAL KINGDOM?
   ========================================================= */

.join-family {
    background: #f5f7fa;
}

.join-family__box {
    display: grid;

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

    align-items: center;

    gap: 2rem;

    padding: 2.75rem 3rem;

    border: 1px solid rgba(22, 63, 115, .10);
    border-radius: var(--radius-lg);

    background: var(--color-white);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .08);
}

.join-family__content {
    max-width: 780px;
}

.join-family__content h2 {
    margin-bottom: 1rem;

    color: var(--color-blue-deep);
}

.join-family__content p {
    max-width: 720px;

    color: #626d79;
}

.join-family__content p:last-child {
    margin-bottom: 0;
}

.join-family__action {
    flex-shrink: 0;
}


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

@media (max-width: 950px) {

    .hero {
        min-height: 65vh;
    }

    .hero__content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

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

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

    .calendar-layout {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .calendar-intro {
        position: static;
    }

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

    .record-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .join-family__box {
        grid-template-columns: 1fr;
    }

    .join-family__action {
        justify-self: start;
    }
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 700px) {

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .hero__intro {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

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

    .team-card {
        min-height: auto;
    }

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

    .news-card {
        padding: 1.25rem;
    }

    .calendar-item {
        grid-template-columns: 1fr;

        gap: .9rem;
    }

    .calendar-date {
        width: 62px;
        height: 66px;
    }

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

    .record-card:nth-child(3) {
        grid-column: auto;
    }

    .hall-of-fame-box {
        grid-template-columns: 1fr;

        padding: 2rem;

        text-align: center;
    }

    .hall-of-fame-icon {
        width: 90px;
        height: 90px;

        margin-inline: auto;

        font-size: 2.7rem;
    }

    .hall-of-fame-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .join-family__box {
        padding: 2rem;
    }
}


/* =========================================================
   KLEINE MOBIELE SCHERMEN
   ========================================================= */

@media (max-width: 450px) {

    .hero__content {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .hero__eyebrow {
        font-size: .72rem;
    }

    .stats-grid {
        gap: .75rem;
    }

    .stat-card {
        padding: 1.5rem .6rem;
    }

    .stat-label {
        font-size: .8rem;
    }

    .news-card {
        display: block;
    }

    .news-icon {
        margin-bottom: .9rem;
    }

    .hall-of-fame-box {
        padding: 1.5rem;
    }

    .join-family__box {
        padding: 1.5rem;
    }
}