/* Algemene styling */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h1 {
    color: #f0f4f8;
    margin: 20px 0;
    text-align: center;
}

/* De hoofdcontainer van de carrousel */
.carousel-container {
    width: 100%;
    position: relative;
    background-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* De 'viewport' die één slide toont en de rest verbergt */
.carousel-viewport {
    overflow: hidden;
}

/* De slider die alle slides naast elkaar bevat */
.carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Elke individuele slide */
.carousel-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.slide-image-wrapper {
    position: relative;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 600px; /* <-- AANGEPAST: Hoogte is nu 100% van de viewport-hoogte */
    object-fit: cover;
}

/* De statische tekstcontainer */
.carousel-text-content {
    padding: 20px;
    color: white;
    transition: opacity 0.4s ease-in-out;
    background-color: rgba(0, 0, 0, 0.25);
    max-width: 768px;
    margin: 0px auto;
    box-sizing: border-box;
}

/* De class die we toevoegen via JS om de fade te activeren */
.carousel-text-content.is-fading {
    opacity: 0;
}

.carousel-text-content .text-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.carousel-text-content .text-description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 96px; 
}

/* Styling voor de navigatieknoppen (vorige/volgende) */
.carousel-button {
    position: absolute;
    top: 300px; /* <-- AANGEPAST: Halverwege de nieuwe 100vh afbeeldingshoogte */
    transform: translateY(-50%);
    background-color: white;
    color: #008E85;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    padding-bottom: 5px;
}

.carousel-button:hover {
    background-color: #008E85;
    color: white;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}


/* Styling voor de navigatiestippen */
.carousel-dots {
    position: absolute;
    top: 570px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background-color: white;
}
