/* Base styles */


@font-face {
    font-family: 'JD';
    src: url('../fonts/JournalDingbats2.ttf') format('truetype');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}

@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}

/* Medium Weight */
@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    /* Medium weight */
    font-style: normal;
}

/* Bold Weight */
@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    /* Bold weight */
    font-style: normal;
}


/* Default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #666666;
    /* Dark Blue */
    --accent-color: #e0e0e0;
    /* Bright Red */
    --background-color: #ffffff;
    /* Dark Background */
    --text-color: #000000;
    /* Light Text */
    --border-color: #e4e4e4;
    /* Light Gray */
    --border-size: 1px;
}

body,
html {
    font-family: 'Monument', sans-serif;
    /* Set the custom font */
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1.3rem;
    letter-spacing: -0.015rem;
    color: var(--text-color);
    margin: 0;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body img,
video {
    border-radius: 0.3rem;
}

h1 {
    text-indent: 0rem;
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    font-weight: normal;
    line-height: 1.1;
    padding-bottom: 1rem;
}

h2 {
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    font-weight: normal;
    line-height: 1.1;
}

h3 {
    padding-bottom: 0.7rem;
    font-weight: 500;
    line-height: 1.1 !important;
    font-size: 1.4em;
    text-decoration: none;
    width: 100%;
    margin-top: 0;
}

h4 {
    line-height: 1.3 !important;
    font-size: 1.1rem;
    font-weight: 500;
}

h5 {
    font-size: clamp(1rem, 2vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    padding-right: 0.5rem;
}

h6 {
    font-weight: 300;
    font-size: clamp(0.9rem, 1vw, 3rem);
    font-weight: normal;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.8rem;

}

.eyebrow {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #868686;
}



a:link,
a:visited {
    color: var(--text-color);
}

a:hover,
a:active {
    color: var(--accent-color);
}

/* Main Structure */

.container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0rem;
    flex-wrap: wrap;

}

#mainwrapper {
        padding: 1rem;
    width: clamp(360px, 96vw, 1200px);
    margin:auto;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background-color: var(--text-color);
    width: 0%;
    z-index: 10;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        /* Final state */
    }
}

.introcontainer {
    width: 99%;
    padding-top: 2rem;
}

.introcontainer p {
    padding-bottom: 1rem;

}

#nav {
    width: clamp(360px, 96vw, 1200px);
    margin: auto;
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    text-align: center; /* center content inside */
}

#nav img {
    width: 200px;      /* fixed width */
    height: auto;      /* maintain aspect ratio */
    display: inline-block; /* makes it behave like text */
        transition: opacity 0.5s ease; /* smooth fade */
    opacity: 1; /* fully visible by default */
}


/* normal buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 999px;
    background-color: #000;
    color: #fff !important;
    padding: 0.6rem 1rem;
    margin-right: 0.3rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #1300bc;
    color: #fff;
}

/* only for the sticky floating button */
.btn-floating {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: #000;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 999px;
}

.btn-floating.in-about {
    background-color: #fff;
    color: #000 !important;
}





.image-container {
    width: 100%;
    /* Set the div to be 100% of the width */
    height: 340px;
    /* Set initial height to zero */
    background-color: #2ecc71;
    background-size: cover;
    /* Make the image cover the div while maintaining aspect ratio */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Avoid repeating the image */
}



.fixed a:visited:hover {
    color: black;
}

.top-mobile {
    display: none;
}



/* Portfolio Block */

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.portfolioitemcontainer {
    transition: background-color 0.7s ease;
}

.portfolioitemcontainer p {
    font-weight: 500;
    font-size: 0.92rem;
}

.portfolioitemcontainer.active {
    background-color: #ff0000;
    /* Change to your desired active color */
}

.portfolioitemcontainer.inactive {
    background-color: #2ecc71;
}

.left {
    flex: 1.4;
    padding: 0;
    order: 0;
}

.left img,
.left video {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
    margin-top: var(--border-size);
}

.center {
    flex: 1;
    padding: 0 0rem 0 0;
    overflow-y: none;
    order: -1;
}

.center p {
    padding-bottom: 1rem;
}

.center a {
    font-size: 0.75rem;
}

.right {
    width: 100%;
    padding-top: 1.2rem;
    display: flex;
    flex-direction: row;
    text-transform: uppercase;
}


.container-opzet {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 2rem;
}

.block-opzet {
    flex: 1;
    min-width: 25%;
    /* Ensures each block takes 25% width on larger screens */
    text-align: center;
    padding: 1px;
}

.block-opzet img {
    width: 100%;
    height: auto;
    /* Maintains aspect ratio */
}

.block-opzet p {
    margin-top: 10px;
    font-size: 0.8rem;
}

.divider {
    width: 100%;
    height: 7rem;
    background-color: #fff;
}

.divider-thin {
    width: 100%;
    height: 1px;
    background-color: #c9c9c9;
    margin: 3rem 0 3rem 0;
}


.logos {
    display: flex; /* Centers content horizontally and vertically */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    width: 55%; /* 50% of the page width */
    margin: 0 auto; /* Centers the div itself within the page */
    height: auto; /* Optional: set a height if needed */
}

.logos img {
    width: 100%; /* Makes the image scale with the parent container's width */
    height: auto; /* Maintains the aspect ratio of the image */
}

/* Ensure the SVG images are sized correctly */




@media (max-width: 800px) {

    body,
    html {
        font-size: 1rem;
    }

    #nav img {
    width: 170px;      /* fixed width */
    height: auto;      /* maintain aspect ratio */
    display: inline-block; /* makes it behave like text */
        transition: opacity 0.5s ease; /* smooth fade */
    opacity: 1; /* fully visible by default */
}


    .block-opzet {
        min-width: 50%;
        /* Full width on smaller screens */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: clamp(1rem, 2vw, 4rem);
        font-weight: normal;
    }

    .introcontainer {
        width: 99%;
    }

    .portfolioitemcontainer {
        transition: background-color 0.7s ease;
    }

    .scrollable {
        padding: 0rem;
    }


    .container {
        gap: 1rem;
        padding: 0rem;
        padding-top: 50px;
    }

    .scrollable {
        width: 100%;
        height: auto;
        position: static;
    }

    .portfolioitemcontainer {
        flex-direction: row;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }


    .left {
        order: -1;
    }

    .center {
        width: 100%;
        max-width: 1000px;
        order: 0;
    }

.divider {
    width: 100%;
    height: 3rem;
    background-color: #fff;
}

.divider-thin {
    width: 100%;
    height: 1px;
    background-color: #c9c9c9;
    margin: 1rem 0 1rem 0;
}


    .logos {
        display: flex; /* Centers content horizontally and vertically */
        justify-content: center; /* Horizontal centering */
        align-items: center; /* Vertical centering */
        width: 100%; /* 50% of the page width */
        margin: 0 auto; /* Centers the div itself within the page */
        height: auto; /* Optional: set a height if needed */
    }
    .card {
        flex: 0 0 80%; /* 80% of the container's width */
        max-width: 300px !important; /* Maximum width for larger screens */
        border: 0px solid #ddd; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        overflow: hidden; /* Prevent content overflow */
        padding: 0rem;
        scroll-snap-align: center; /* Ensure each card snaps to center */
    }

    #about-section p {
    width: 90% !important;
    }
}


/* Container for the entire slider */
.slider-container {
    overflow-x: auto; /* Allow horizontal scrolling */
    width: 100%; /* Full-width container */
    position: relative; /* Allows for better layout control */
    scroll-snap-type: x mandatory; /* Enable snap-to-item behavior */
    display: flex; /* Flex container for consistent alignment */
}

/* Inner slider track */
.slider {
    display: flex; /* Arrange cards in a row */
    gap: 15px; /* Space between cards */
    scroll-snap-align: start; /* Ensure cards align at start */
}

/* Individual cards */
.card {
    flex: 0 0 80%; /* 80% of the container's width */
    max-width: 400px; /* Maximum width for larger screens */
    border: 0px solid #ddd; /* Optional border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Prevent content overflow */
    padding: 0rem;
    scroll-snap-align: center; /* Ensure each card snaps to center */
}

/* Card image */
.card img {
    width: 100%; /* Full width of the card */
    height: auto; /* Maintain aspect ratio */
}

/* Card description */
.card p {
    padding: 10px; /* Space around the text */
    font-size: 16px; /* Readable text size */
    text-align: center; /* Center-align the description */
}



#about-section {
    margin-top: 3rem;
    width: 100%;             /* 100% van de viewport breedte */
    background-color: #000;  /* zwarte achtergrond */
    color: #fff;             /* witte tekst voor contrast */
    padding: 2rem 1rem;      /* wat ruimte rondom de content */
    box-sizing: border-box;  /* zorgt dat padding wordt meegenomen in width */
    text-align: center;
    padding-bottom: 120px;
}

#about-section .content {
    max-width: 1200px;       /* optioneel: content centreren */
    margin: 0 auto;
    padding-top: 2rem;
}

#about-section p {
    width: clamp(390px, 50vw, 800px);
    margin: auto;
    padding: 3rem 0 3rem 0;
}


.grid-item-top {
        aspect-ratio: 2 / 1.3 !important;
}


.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}

/* Bovenste afbeelding full-width */
.grid-item-top,
.grid-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;   /*  */
    background-color: #ccc; /* fallback kleur grijs */
    overflow: hidden;
}

.grid-item-top img,
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Als afbeelding ontbreekt of load error: laat container zichtbaar */
.grid-item img {
    display: block;
}

/* Twee onderste afbeeldingen naast elkaar op grotere schermen */
@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "top top"
            "left right";
    }

    .grid-item-top {
        grid-column: 1 / -1;
    }
}
