/* ----------GENERAL---------- */
:root {
    font-family: sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: oklch(0.252 0 0);

    --green: oklch(61.6% 0.10416 183.225);
    --pink: oklch(58.286% 0.15228 3.178);
    --blue: oklch(50.512% 0.1918 258.573);
    --white: oklch(100% 0.00011 271.152);
    --yellow: oklch(95.788% 0.13118 104.427);
    --yellow-light: oklch(97.5% 0.10226 106.386);
    --dark-blue: oklch(0.25 0.09 259);

    --width-box-shadow: 0.625rem;
    --cards-border-weight: 0.1875rem;
    --border-radius: 0.3125rem;
}


@font-face {
    font-family: 'BBHBogle';
    src: url('../font/BBHBogle-Regular.woff2') format('woff2'); 
    font-weight: 400; 
    font-style: normal;  
}


h1, h2
{
    font-family: 'BBHBogle', sans-serif;
}

h1 {
    font-size: 5rem
}



ul {
    list-style-type: none;
}

body {
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

section {
    padding: 1rem 0;
    margin: 0.5rem 0;
}

.visually-hidden {
    border: 0;
    clip-path: inset(50%);
    height: 0.0625rem;
    margin: 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 0.0625rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: initial;
    background-color: var(--yellow);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.2s ease;

    &:hover,
    &:focus-visible {
        color: var(--blue);
        background-color: var(--yellow-light);
    }
}

a {
    text-decoration: none;
    color: var(--pink);

    &:hover,
    &:focus-visible {
        color: var(--blue);
    }
}

h2 {
    margin-block-start: 0;
    margin-block-end: 1.5rem;
    display: inline-block;
    padding-block-end: 0.15rem;
}



.heading {
    margin-top: 2rem;
    background-color: var(--pink);
    color: var(--white);
    position: relative; 
    margin-bottom: 5rem;

    & > div {
        position: relative;
        display: flex;      
        align-items: center;
        min-height: 20rem; 

        & h1, p {
            margin: 0;
        }   

        & img {
            position: absolute;
            right: 1rem;
            bottom: 0;  
            transform: translateY(5rem); 
            height: 100%;    
            width: auto;
            object-fit: cover;
            z-index: 10;
            border-radius: var(--border-radius);
        }
    }
}


/* ----------HEADER---------- */
header {
    background-color: var(--blue);
    border-block-end: 0.25rem solid var(--pink);

    & div {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-block: 1rem;

        & .logo img {
            display: block;
            block-size: 3.5rem;
            inline-size: auto;
        }

        & nav ul {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            list-style: none;
            margin: 0;
            padding: 0;

            & a {
                display: block;
                padding-block: 0.75rem;
                padding-inline: 1.25rem;
                border-block-end: 0.3rem solid oklch(0% 0 0 / 0);
                background-color: var(--yellow);
                color: var(--blue);
                font-weight: bold;
                text-decoration: none;
                transition: background-color 0.2s ease-in-out;

                &:hover,
                &:focus-visible {
                    color: var(--blue);
                    background-color: var(--yellow-light);
                }
            }
        }
    }
}

/* ---------- FOOTER ---------- */
footer {
    padding: 1.875rem 1.25rem;
    background-color: var(--blue);
    border-block-start: 0.25rem solid var(--pink);

    & > div {
        background-color: var(--white);
    }

    & ul li {
        margin-bottom: 0.75rem;
    }

    & section {
        width: max-content;
    }

    & .footer_top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
        padding-top: 2.5rem;

        & section {
            margin: 0;
            padding-top: 0;
        }

        & > section:first-child {
            flex: 1;
            min-width: 15.625rem;

            & img {
                max-width: 9.375rem;
                margin-bottom: 1.25rem;
            }
        }

        & > div {
            display: flex;
            gap: 3.75rem;
            flex-wrap: wrap;
        }
    }

    & .footer_bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1.25rem;
        flex-wrap: wrap;
        gap: 1.25rem;
        border-top: 0.0625rem solid var(--blue);

        & section {
            display: flex;
            gap: 1rem;
            align-items: flex-end;
            margin: 0;
            padding: 0;

            &:nth-child(1) p {
                font-size: 0.9rem;
            }

            & .social-media {
                display: flex;
                gap: 0.9375rem;
                align-items: flex-end;

                & a {
                    display: inline-block;
                    line-height: 2rem;
                    border-radius: 50%;
                }

                & img {
                    width: 1.875rem;
                    aspect-ratio: 1/1;
                }
            }
        }
    }
}

/* ---------- HOME ---------- */
.home main {
    & section:first-of-type {
        margin-top: 0;
        background-color: oklch(47.848% 0.11796 2.703);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='oklch(25.2% 0 0)' stroke-width='10' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");

        & div:has(.intro-content) {
            max-width: 80rem;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            background-color: var(--white);
            padding: 2rem;

            & .intro-content {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }

            & img {
                flex: 1;
                max-width: 100%;
                height: auto;
                border-radius: var(--border-radius);
                min-width: 17.5rem;
            }
        }
    }

    .cards {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;

        & > li {
            flex-basis: 18rem;
            position: relative;
            display: flex;
            flex-direction: column-reverse;
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 0 0.2rem oklch(0 0 0 / 0.2), 0 0 2rem oklch(0 0 0 / 0.1);
            transition: box-shadow 0.3s ease-in-out;

            &:hover {
                box-shadow: 0 0 0.4rem oklch(0 0 0 / 0.3), 0 0 3rem oklch(0 0 0 / 0.2);
            }

            & img {
                width: 100%;
                height: 9.375rem;
                display: block;
                object-fit: cover;
            }

            & .content {
                padding: 1.5rem;
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                & a::after {
                    content: "";
                    position: absolute;
                    inset: 0;
                }
            }
        }
    }
}

/* ---------- MAP PAGE ---------- */
.map-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--white);
    

    & main {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    & label {
        display: block;
        margin-bottom: 0.625rem;
        cursor: pointer;
        font-size: 0.95rem;
    }
}

#map-container {
    display: flex;
    width: 100%;
    max-width: 81.25rem;
    height: 100%;
    max-height: 40rem;
    background:  oklch(100% 0 0);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem oklch(0 0 0 / 0.1);
    overflow: hidden;
}

#sidebar {
    width: 17.5rem;
    padding: 1.5rem;
    background: oklch(98% 0.002 240);
    border-right: 0.0625rem solid oklch(85% 0 0);
}

#map {
    flex: 1;
    height: 100%;
}

.filter-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.625rem;
    cursor: pointer;
    font-size: 0.95rem;
}


/*---------- ONTDEK GENT ----------*/
.ontdek-gent {
    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 80%;
        list-style: none;

        & > li {
            transition: box-shadow 0.2s ease;

            .card {
                padding: 20px;
                aspect-ratio: 1/1;
                position: relative;

                & ul li {
                    margin-bottom: 1rem;
                }

                & div:has(img) {
                    position: relative;
                    
                    & img {
                        aspect-ratio: 1/1;
                        object-fit: cover;
                        max-width: 100%;
                        border-radius: var(--border-radius);
                        transition: filter 0.3s ease;
                        border: solid 0.2rem var(--pink);

                    }
                    &:hover img {
                        filter: brightness(75%);
                    }

                    & a::after {
                        content: "";
                        position: absolute;
                        inset: 0;
                    }

                    & div {
                        position: absolute;
                        height: 100%;
                        width: 100%;
                        top: 0;
                        left: 0;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        opacity: 0;
                        transition: all 0.3s ease;
                        pointer-events: none;

                        & p {
                            background-color: var(--blue);
                            color: var(--white);
                            padding: 0.2rem 0.5rem;
                            border-radius: var(--border-radius);
                            text-align: center;
                        }
                    }
                    &:hover div {
                        opacity: 1;
                    }
                }
            }
        }

        & > li:nth-of-type(1) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--blue); 
            border: var(--cards-border-weight) solid var(--blue);

            &:hover {
                box-shadow: 0px 0px 0px var(--blue); 
            }
        }

        & > li:nth-of-type(2) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--green); 
            border: var(--cards-border-weight) solid var(--green);
            
            &:hover {
                box-shadow: 0px 0px 0px var(--green); 
            }
        }

        & > li:nth-of-type(3) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--pink); 
            border: var(--cards-border-weight) solid var(--pink);

            &:hover {
                box-shadow: 0px 0px 0px var(--pink); 
            }
        }

        & > li:nth-of-type(4) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--yellow); 
            border: var(--cards-border-weight) solid var(--yellow);

            &:hover {
                box-shadow: 0px 0px 0px var(--yellow); 
            }
        }

        & > li:nth-of-type(5) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--blue); 
            border: var(--cards-border-weight) solid var(--blue);
            grid-column: span 2;

            &:hover {
                box-shadow: 0px 0px 0px var(--blue); 
            }

            & .card {
                aspect-ratio: auto;
                min-height: 100px;
            }
        }

    }

}


/* ---------- OVER ONS ---------- */
.over-ons {
    .about-intro {
        border-radius: var(--border-radius);

        .about-intro-bottom {
            display: flex;
            align-items: center;
            gap: 2.5rem;
            flex-wrap: wrap;

            & img {
                inline-size: 11rem;
                block-size: auto;
                flex-shrink: 0;
            }
        }
    }

    /* Team Grid (4 kaarten in 2x2) */
    .team-section {
        margin-block: 3rem;

        h2 {
            margin-bottom: 1.5rem;
        }
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        list-style: none;
        padding: 0;
        margin: 0;

        & > li {
            position: relative;
            display: flex;
            flex-direction: column;
            transition: box-shadow 0.2s ease;
            background-color: var(--white);
            border-radius: var(--border-radius);
        }

        & > li:nth-child(1) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--blue);
            border: var(--cards-border-weight) solid var(--blue);
            &:hover { box-shadow: 0px 0px 0px var(--blue); }
        }

        & > li:nth-child(2) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--green);
            border: var(--cards-border-weight) solid var(--green);
            &:hover { box-shadow: 0px 0px 0px var(--green); }
        }

        & > li:nth-child(3) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--pink);
            border: var(--cards-border-weight) solid var(--pink);
            &:hover { box-shadow: 0px 0px 0px var(--pink); }
        }

        & > li:nth-child(4) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--yellow);
            border: var(--cards-border-weight) solid var(--yellow);
            &:hover { box-shadow: 0px 0px 0px var(--yellow); }
        }

        .team-card {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            align-items: center;
            height: 100%;

            img {
                width: 140px;
                height: 140px;
                object-fit: cover;
                border-radius: 50%;
                flex-shrink: 0;
                border: 2px solid var(--blue);
            }

            .team-content {
                display: flex;
                flex-direction: column;
                gap: 0.4rem;
                flex-grow: 1;

                h3 {
                    margin: 0;
                    font-size: 1.25rem;
                }

                .role {
                    font-weight: bold;
                    font-size: 0.9rem;
                    color: var(--blue);
                    margin: 0;
                }

                p {
                    margin: 0;
                    font-size: 0.95rem;
                }

                .btn {
                    align-self: flex-start;
                    padding: 0.45rem 1rem;
                    font-size: 0.85rem;
                    margin-top: auto;
                }
            }
        }
    }

    /* Het blauwe contactvak onder de teamkaarten */
    .contact-footer-box {
        background-color: var(--blue);
        border-radius: var(--border-radius);
        padding: 2.5rem;
        margin-block: 3rem;
        color: var(--white);

        .contact-box-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;

            .contact-info {
                flex: 1;
                min-width: 250px;

                h3 {
                    margin-top: 0;
                    color: var(--yellow);
                    margin-bottom: 0.5rem;
                }

                p {
                    margin-bottom: 1rem;
                }

                ul {
                    padding: 0;
                    margin: 0;
                    display: flex;
                    flex-direction: column;
                    gap: 0.5rem;

                    a {
                        color: var(--yellow);
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }

            .contact-qr img {
                width: 120px;
                height: 120px;
                display: block;
                padding: 6px;
                background-color: var(--white);
                border-radius: var(--border-radius);
            }
        }
    }

    /* Kaarten Grid (6 kaarten onderaan) */
    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        list-style: none;
        margin: 0;
        padding: 0;

        & > li {
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
            transition: box-shadow 0.2s ease;
        }

        & > li:nth-child(1) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--blue);
            border: var(--cards-border-weight) solid var(--blue);
            &:hover { box-shadow: 0px 0px 0px var(--blue); }
        }

        & > li:nth-child(2) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--green);
            border: var(--cards-border-weight) solid var(--green);
            &:hover { box-shadow: 0px 0px 0px var(--green); }
        }

        & > li:nth-child(3) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--pink);
            border: var(--cards-border-weight) solid var(--pink);
            &:hover { box-shadow: 0px 0px 0px var(--pink); }
        }

        & > li:nth-child(4) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--yellow);
            border: var(--cards-border-weight) solid var(--yellow);
            &:hover { box-shadow: 0px 0px 0px var(--yellow); }
        }

        & > li:nth-child(5) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--dark-blue);
            border: var(--cards-border-weight) solid var(--dark-blue);
            &:hover { box-shadow: 0px 0px 0px var(--dark-blue); }
        }

        & > li:nth-child(6) {
            box-shadow: var(--width-box-shadow) var(--width-box-shadow) 0px var(--blue);
            border: var(--cards-border-weight) solid var(--blue);
            &:hover { box-shadow: 0px 0px 0px var(--blue); }
        }

        .card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            flex-grow: 1;
            height: 100%;
            gap: 1rem;
            overflow: hidden;
            border-radius: var(--border-radius);
            background-color: oklch(1 0 0);

            & .content {
                padding: 1rem;
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                & div:has(.btn) {
                    display: flex;
                    justify-content: flex-end;
                    margin-top: auto;
                }
            }

            img {
                order: -1;
                inline-size: 100%;
                height: 220px;
                object-fit: cover;
                display: block;
            }

            a::after {
                content: "";
                position: absolute;
                inset: 0;
            }
        }
    }
}

/* ---------- ALT TEMPLATE ---------- */
.alt-home {
    font-family: 'Times New Roman', Times, serif;
    background-color: oklch(50.51% 0.1917 258.56);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='oklch(25.2% 0 0)' stroke-width='10' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
    color: oklch(25.2% 0 0);

    & header {
        background-color: oklch(82.6% 0.1679 81.75);
        border-bottom: 0.0625rem solid oklch(89.75% 0 0);
        position: sticky;
        top: 0;
        z-index: 1000;

        & .container nav ul {
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            margin: 0;
            padding: 1rem 0;

            & li img {
                height: 2.5rem;
                width: auto;
            }

            & li a {
                text-decoration: none;
                color: inherit;
                background-color: oklch(0% 0 0 / 0);
                padding: 0;

                &:hover {
                    color: oklch(47.08% 0.1121 50.85);
                    background-color: oklch(0% 0 0 / 0);
                }
            }
        }
    }

    & section:nth-of-type(1) {
        background-color: oklch(50.51% 0.1917 258.56);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='oklch(25.2% 0 0)' stroke-width='10' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
        padding: 2rem 0;
        margin: 0;
    }

    & .intro-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        & h2 {
            margin-top: 0;
            font-size: 2rem;
            color: oklch(0% 0 0);
        }

        & p {
            margin-bottom: 1.5rem;
        }
    }

    & .btn {
        background-color: oklch(85.41% 0.1706 86.92);
        color: oklch(0% 0 0);
        border-radius: 0.5rem;

        &:hover {
            background-color: oklch(96.8% 0.211 109.77);
        }
    }

    & section:nth-of-type(2) {
        background-color: oklch(96.53% 0.0069 247.9);
        padding: 4rem 1rem;
        margin: 0;
    }

    & .cards {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;

        & > li {
            flex-basis: 18rem;
            flex-grow: 1;
            position: relative;
            display: flex;
            flex-direction: column-reverse;
            background-color: oklch(100% 0 0);
            border-radius: 0.5em;
            overflow: hidden;
            box-shadow: 0 0 0.2rem oklch(0 0 0 / 0.2), 0 0 2rem oklch(0 0 0 / 0.1);
            transition: box-shadow 0.3s ease-in-out;

            &:hover {
                box-shadow: 0 0 0.4rem oklch(0 0 0 / 0.3), 0 0 3rem oklch(0 0 0 / 0.2);
            }

            & img {
                width: 100%;
                height: 9.375rem;
                display: block;
                object-fit: cover;
            }

            & .content {
                padding: 1.5rem;
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                & a::after {
                    content: "";
                    position: absolute;
                    inset: 0;
                }
            }
        }
    }

    & footer {
        background-color: oklch(82.6% 0.1679 81.75);
        border-top: 0.0625rem solid oklch(89.75% 0 0);
        padding: 2rem 0;

        & .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: oklch(0% 0 0 / 0);
        }
    }
}


/*---------- RESPONSIVE GRID ----------*/

@media (max-width: 900px) {
    .heading > div.container {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        padding-top: 2rem;

        & div:has(img) {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: flex-end;
            
            & img {
                position: relative;
                width: 70%;
                transform: translateY(3rem); 

            }
        }
    }

    .ontdek-gent {
        .grid {
            grid-template-columns: repeat(2, 1fr);

            & li {

                .card {
                    width: 100%;
                    display: flex;
                    height: 100%;
                    flex-direction: column;
                    align-items: flex-start;
                    aspect-ratio: unset;

                    & div:has(img) {
                        position: relative;
                        flex-grow: 1;
                        height: 100%;
                        display: flex;

                        & a {
                            display: block;
                            height: 100%;

                            & img {
                                height: 100%;
                            }
                        }
                    }
                }
            }

            & > li:last-of-type {
                grid-column: span 2;

                .card {
                    aspect-ratio: auto;
                    min-height: 200px;
                }
            }
        }
    }
}


@media (max-width: 768px) {
    .over-ons .team-grid {
        grid-template-columns: 1fr;
    }

    .over-ons .team-card {
        flex-direction: column;
        text-align: center;
        align-items: center;

        .team-content {
            align-items: center;
        }
    }
}


@media (max-width: 550px) {
    .ontdek-gent {
        .grid {
            grid-template-columns: 1fr;

            & li {

                .card {
                    width: 100%;
                    height: min-content;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                }
            }

            & > li:last-of-type {
                grid-column: span 1;

                .card {
                    aspect-ratio: auto;
                    min-height: 100px;
                }
            }
        }
    }

    .over-ons {
        & .cards {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}




/* ---------- HAMBURGER MENUS ( HONES & TABLETS) ---------- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--white);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.hamburger {
    visibility: hidden;
}

@media (max-width: 64rem) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        visibility: visible;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.875rem;
        height: 1.3125rem;
        background: inherit;
        border: none;
        padding: 0;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 0.1875rem;
        background-color: var(--pink);
    }

    .mobile-overlay {
        display: flex;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .close-btn {
        position: absolute;
        top: 1.5rem;
        right: 1.75rem;
        background: oklch(0% 0 0 / 0);
        border: none;
        font-size: 2.5rem;
        line-height: 1;
        color: var(--pink);
        cursor: pointer;
    }

    .mobile-overlay ul {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mobile-overlay .btn {
        font-size: 1.5rem;
    }
}