﻿/* Author: TedSite Date: 21-09-2025 Description: Succeed InfoItem Stylesheet */ /* ===== Container ===== */

.container-1, .container-2 {
    position: relative;
    width: 100%;
    min-height: 100vh; /* hero-gevoel op desktop */
    margin: 0 auto;
    background-color: var(--purple-color);
    padding-bottom: 3rem;
}

.container-2 {
    background-color: var(--pink-color);
    padding-bottom: 5rem;
}

.background-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* vult zonder rek */
    object-position: center 30%; /* focus iets hoger (gezicht) */
    z-index: 1; /* onder overlay/tekst */
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.2);
    z-index: 2;
}
/* Tekst/CTA bovenop alles */

.container-1 .overlay-text, .container-2 .overlay-text {
    position: relative; /* ← geen absolute nodig */
    left: auto;
    top: auto;
    transform: none;
    z-index: 3;
    width: 90%;
    margin: 0 auto;
    color: #fff;
    letter-spacing: .05em;
    padding: 120px 5% 0 5%; /* gelijk aan je title-block */
}
/* Titel */

.container-1 h2 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    color: var(--orange-color, --light-orange-color);
    margin: 0 0 5rem 0;
}

.container-2 h2 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    color: var(--orange-color, --light-orange-color);
    margin: 0;
}
/* "Laatst bewerkt" */

.container-1 > p:first-of-type {
    color: #a9b6c9;
    font-size: .95rem;
    margin: 0 0 1.5rem 0;
}
/* Body copy */

.container-1 .title-block, .container-2 .title-block {
    padding: 120px 5% 0 5%;
}

.container-1a {
    padding: 0 5%;
}

.container-1 .wave-divider svg, .container-2 .wave-divider svg {
    height: 96px;
    width: 100%;
}

.container-1 .title-block p {
    color: #fff;
}

.container-1a p {
    color: #e9eef5;
    font-size: clamp(1rem, 1.2vw, 1.075rem);
    line-height: 1.75;
    margin: 0 0 1rem 0;
    max-width: 75ch;
}

    .container-1a p strong {
        color: var(--orange-color, #f3c846);
    }

.container-1a.two-col {
    column-count: 2;
    column-gap: 48px;
}

    .container-1a.two-col p {
        break-inside: avoid;
    }

.container-1b {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: flex-start;
}

.container-1c {
    width: 70%;
}

.container-1d {
    width: 30%;
    align-self: flex-start;
    position: sticky;
    position: -webkit-sticky; /* Safari fix */
    top: 50%; /* marge vanaf top viewport */
    z-index: 2;
    right: 5%;
}

    .container-1d .wave-green {
        margin-left: auto;
    }
/* Lijsten in de over-ons sectie */

.container-1a ul {
    color: #e9eef5; /* wit/lichtgrijs */
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    list-style-type: disc; /* standaard bullets */
}

.container-1a li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.container-1a ul li::marker {
    color: var(--orange-color, #f3c846);
}
/* ===== Info grid ===== */

.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 100; /* maak alleen scrollbaar als je een kader wilt */ /* max-height: 60vh; */ /* overflow-y: auto; */
    -webkit-overflow-scrolling: touch;
}

.info {
    flex: 0 0 calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--purple-color);
    box-shadow: 7px 7px 4px 3px rgba(90, 58, 85, 0.58);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .info:hover {
        transform: translateY(-3px);
        border-color: #ffd95e;
    }
    /* Afbeelding */

    .info img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }
    /* Klikbare titel */

    .info a, .menu-item a {
        text-decoration: none;
        color: inherit;
        display: block;
    }
/* Titelblok */

.info-block {
    padding: 1rem 18px 16px 18px;
}
    /* Korte gouden streep onder titel */

    .info-block hr {
        height: 3px;
        width: 72px;
        background: var(--orange-color, #f3c846);
        border: none;
        margin: .25rem 0 1.5rem 0; /* links uitgelijnd */
    }

    .info-block h5 {
        font-family: Poppins;
        color: var(--pink-color);
        font-size: 2rem;
        margin: 0;
    }
/* Hover effect op titel */

.info a:hover .info-block h5 {
    color: var(--light-orange-color);
}
/* Tekst + knop-container */

.info-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 18px 18px;
    gap: 16px;
}
/* Tekst */

.info-text p {
    color: #e9eef5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
/* Knop */

.info .btn, .menu-item .btn {
    margin-top: 1rem; /* altijd onderaan */
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    color: white;
    background: transparent;
    padding: 0.5rem 4rem;
    border: 2px solid var(--orange-color, #f3c846);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 6px;
    transition: all 300ms ease;
}

    .info .btn:hover, .menu-item .btn:hover {
        background: var(--orange-color, #f3c846);
        box-shadow: 0 0 12px rgba(237, 106, 67, 0.25);
    }
/* ===== Profile/Info rows ===== */

.info-profile {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

    .info-profile img {
        margin-bottom: 10px;
        border-radius: 8px;
    }

.info-info i, .menu-item i {
    color: var(--orange-color, #f3c846);
}

.info-info h3, .info-profile h3 i {
    font-family: Poppins;
    font-size: 2rem;
    margin: 0;
    color: #f3f3f3;
    letter-spacing: .5px;
}

.info-info h4, .info-profile h4 i, .info-info p {
    font-size: 1.05rem;
    color: #dbe4ee;
    margin: .25rem 0;
}

    .info-info p i {
        font-size: 1.2rem;
        color: var(--orange-color, #f3c846);
    }

.info-profile h3, .info-profile h4 {
    text-transform: uppercase;
}

.info-profile div p {
    margin: 0 0 20px 0;
}
/* ===== Text blocks ===== */

.info-text p {
    font-size: 1rem;
    color: #e9eef5;
    line-height: 1.65;
}

.info-text .bold {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 1.5rem;
    color: #f3f3f3;
}

    .info-text .bold a {
        text-decoration: none;
        color: var(--orange-color, #f3c846);
    }

        .info-text .bold a:hover {
            color: #ffd95e;
        }

.facility-icon {
    width: 96px !important;
    height: 96px !important;
}
/* ===== Menu Box ===== */

.menu-box {
    display: flex;
    justify-content: space-between;
}

.menu-item {
    display: flex;
    flex-direction: row;
    width: 50%;
    background-color: var(--purple-color);
    box-shadow: 7px 7px 4px 3px rgba(90, 58, 85, 0.58);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .menu-item:hover {
        transform: scale(1.05) translateY(-5px); /* iets groter en omhoog */
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(236, 106, 66, 0.6); /* diepe schaduw + gekleurde glow */
    }

    .menu-item .img-block img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* snijdt netjes af zodat het hele vlak gevuld is */
        display: block;
    }

    .menu-item .menu-block {
        display: flex;
        height: 100%;
        flex-direction: column;
        align-self: center;
        justify-content: space-between;
    }

    .menu-item .info-block {
        width: 80%;
        margin: auto auto 0 auto;
    }

    .menu-item .img-block {
        flex: 0 0 50%;
    }

    .menu-item h2 {
        margin: 2rem 0 0 0;
        font-size: 2.25rem;
    }

    .menu-item h5 {
        font-size: 1.5rem;
    }

    .menu-item p {
        font-size: 1.25rem;
    }

    .menu-item:first-child {
        width: 50%;
    }

        .menu-item:first-child .img-block:last-child {
            display: none;
        }

        .menu-item:first-child .info-block {
            margin-left: auto;
        }

    .menu-item:last-child .info-block {
        margin-right: auto;
    }

    .menu-item:last-child .img-block:first-child {
        display: none;
    }

    .menu-item:last-child {
        width: 45%;
        text-align: right;
    }

.container-1 .menu-text {
    position: relative; /* ← niet meer absolute */
    left: auto;
    top: auto;
    transform: none;
    z-index: 3;
    width: 100%;
    color: #fff;
    letter-spacing: .05em;
    padding: 5% 0 0 0;
    margin: 0 auto;
}

    .container-1 .menu-text > h2 {
        padding: 5% 5% 0 5%;
    }

.facility-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kolommen desktop */
    gap: 2rem;
    position: relative;
    z-index: 100;
    justify-items: stretch;
    align-items: stretch;
    padding: 2rem 5%;
    margin: 0 auto;
    box-sizing: content-box;
}

/* reset oude flex-basis van .facility zodat grid leidend is */
.facility {
    flex: initial !important;
    width: auto !important;
    min-height: 220px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background-color: var(--green-color);
    box-shadow: 7px 7px 4px 3px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    word-wrap: break-word;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


    .facility .facility-icon {
        width: 96px;
        height: 96px;
        margin: 0 auto .75rem;
        object-fit: contain;
    }

    .facility h5 {
        color: var(--orange-color);
        margin: .25rem 0 0;
    }

/*================================== MEDIA QUERIES ==================================*/ /* 1024–1459px */

@media (min-width: 1024px) and (max-width: 1459px) { /* geen top: meer op .menu-text */

    .info-list {
        display: block;
    }

    .info {
        flex: none;
        width: 100%;
        margin: 0 0 2rem 0;
    }

    /* facility-list: 3 kolommen */
    .facility-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
        padding: 2rem 5%;
    }

    .facility .facility-icon {
        width: 88px;
        height: 88px;
    }
}
/* 768–1023px */

@media (min-width: 768px) and (max-width: 1023px) {
    .info-list {
        display: block;
    }

    .info {
        flex: none;
        width: 100%;
        margin: 0 0 2rem 0;
    }

    .menu-box {
        display: block;
    }

    .menu-item:first-child, .menu-item:last-child {
        width: 90%;
        margin: 0 auto 2rem auto;
    }

    /* facility-list: 2 kolommen */
    .facility-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        padding: 1.5rem 5%;
    }

    .facility {
        min-height: 200px;
        padding: .875rem;
    }

    .facility .facility-icon {
        width: 80px;
        height: 80px;
    }
}
/* <= 767px */

@media (max-width: 767px) {
    .container-1 {
        min-height: auto;
        padding-bottom: 8rem;
    }

        .container-1 .overlay-text { /* blijft in flow */
            margin: 0 auto;
        }

            .container-1 .overlay-text h2 {
                margin-bottom: 2rem;
            }


    .info-list, .menu-box {
        display: block;
    }

    .info, .menu-item {
        flex: none;
        width: 90%;
        margin: 0 auto 2rem auto;
    }

    .container-1 .menu-text {
        padding-top: 10%;
    }

    .menu-item {
        display: block;
    }

        .menu-item:first-child, .menu-item:last-child {
            width: 90%;
            margin: 2rem auto;
        }

    .container-1 .title-block, .container-2 .title-block {
        padding: 15% 5%;
    }

    .container-1c {
        width: 100%;
    }

    .container-1b {
        display: block;
    }

    /* facility-list: 1 kolom, volle breedte tegels */
    .facility-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem 5%;
        max-width: 640px; /* optioneel: prettige leesbreedte */
    }

    .facility {
        margin: 0; /* grid regelt de spacing */
        box-shadow: 4px 4px 10px rgba(0,0,0,.18);
    }

        .facility .facility-icon {
            width: 72px;
            height: 72px;
        }
}
