:root {
    --Coquille: #f6ebe2;       /* De zachte basis zandkleur */
    --Olive: #4d3528;          /* Het diepe, luxe donkerbruin */
    --Toile: #d7beaa;          /* De warmere, donkerdere zandkleur */
    
    /* Luxe gouden accenten */
    --Gold: #C5A880;           /* Mat, elegant champagnegoud */
    --Gold-Light: #EADBC8;     /* Heel zacht goud voor subtiele highlights */
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(0, 0, 0) rgb(255, 255, 255);
}

/* 1. Voeg box-sizing toe zodat padding de breedte niet beïnvloedt */
* {
    box-sizing: border-box;
}

body {
    /* Alleen de naam van het font tussen quotes, daarna de fallback */
    font-family: "Poppins", sans-serif; 
    background:
    var(--Toile);
    color: black;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    color: var(--Olive);
    text-decoration: none;
}
:root {
    --Coquille: #f6ebe2;       /* De zachte basis zandkleur */
    --Olive: #4d3528;          /* Het diepe, luxe donkerbruin */
    --Toile: #d7beaa;          /* De warmere, donkerdere zandkleur */
    
    /* Luxe gouden accenten */
    --Gold: #C5A880;           /* Mat, elegant champagnegoud */
    --Gold-Light: #EADBC8;     /* Heel zacht goud voor subtiele highlights */
}

a {
    color: var(--Olive);
    text-decoration: none;
}


.hero {
        width: 100%;
    height: 80vh;
    
    background: 
        /* linear-gradient(rgba(77, 53, 40, 0.3), rgba(77, 53, 40, 0.3)), */
        url('../src/img15.jpeg');
    background-size:cover;
    background-position: center;
}

/* .hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
animation: letterAppear 0.5s ease-in-out;
    margin: 0;
} */
.hero h1 {
    /* Positionering over de afbeelding */
    position: absolute;
    top: 50%;
    left: 50%;
    /* Perfect centreren */
    transform: translate(-50%, -50%);
    
    /* Zorg dat letters naast elkaar blijven staan */
    display: flex;
    white-space: nowrap; 
    margin: 0;
    z-index: 10; /* Zorgt dat de tekst bovenop de afbeelding ligt */
}

.hero h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterAppear 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
    
    /* Optioneel: Voeg een kleine schaduw toe voor leesbaarheid op foto's */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white; 
}

/* .hero img {
    
    width: 100%;
    height: 80vh;
    object-fit: cover;
    
    display: block; 
} */

.text-container-ons {
    width: 100%;
    height: auto;
}

.info-section {
    width: 100%;
    padding: 100px 10%;
    background: 
    linear-gradient(0deg, var(--Toile)0%, var(--Coquille) 100%);
    /* border-bottom: 3px solid rgb(0, 0, 0); */
    opacity: 1;
    /* transform: translateY(20px); */
    transition: all 0.5s ease;
}


.info-grid {
    max-width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Twee gelijke kolommen */
    gap: 50px;
    align-items: center; /* Centreert de tekst verticaal t.o.v. de foto-groep */
}

/* De container voor de twee foto's */
.image-container {
    opacity: 1;
    position: relative;
    height: 600px; /* Geef de container genoeg hoogte voor de verschuiving */
    display: flex;
    align-items: flex-start;
}

.img-wrapper {
    position: relative;
    width: 280px; /* Breedte van de individuele foto's */
}

.img-wrapper img {
    width: 100%;
    height: auto;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15);
}

/* De linker foto (lager en op de voorgrond) */
.left-img {
    margin-top: 120px;
    z-index: 2;
}

/* De rechter foto (hoger en naar links geschoven voor overlap) */
.right-img {
    margin-left: -100px; /* De overlap */
    z-index: 1;
}

/* De basis grid layout */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Links foto's, rechts tekst */
    gap: 40px;
    align-items: center; /* Zorgt dat tekst en foto's verticaal uitlijnen */
    padding: 20px;
}

/* De container voor de twee foto's */
.image-container2 {
    display: flex; /* Gebruik flexbox om ze naast elkaar te zetten */
    gap: 15px;     /* Ruimte tussen de twee foto's */
}

/* Zorg dat de foto's binnen hun wrapper goed schalen */
.img-wrapper {
    flex: 1; /* Beide foto's nemen evenveel ruimte in */
}

.img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px; /* Optioneel: voor een nettere look */
}

/* Tekst styling */
.info2 {
    padding: 20px;
}

.grid img {
    /* width: 100%; */
    height: auto;
    object-fit: cover;
    border-radius: 8px; /* Optioneel: voor een nettere look */
}

.lower-half {
    background:
    linear-gradient(0deg, var(--Coquille)0%,var(--Toile)  100%)
}

.image-container2 {
    justify-content: center;
}

.yaya {
    width: 60%;
}


@keyframes letterAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr; /* Foto's en tekst onder elkaar op mobiel */
        margin-top: 300px;
    }
    
    .image-container {
        height: 500px;
        justify-content: center;
    }
}