/* Algemene container voor de projectenpagina */
.projecten-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4em 2em;
    flex-grow: 1;
    overflow: hidden; /* Voorkomt horizontale scrollbalk */
}

/* CAROUSEL STIJLEN */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* Breedte van het centrale item */
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    perspective: 1000px; /* Essentieel voor het 3D-effect */
}

.carousel-track {
    display: flex;
    gap: 32px; /* Ruimte tussen de kaarten */
    position: relative;
    /* De 'transform' wordt door JavaScript beheerd */
    transition: transform 0.3s ease-out;
}

.carousel-item {
    width: 350px; /* Vaste breedte van een kaart */
    height: 450px;
    flex-shrink: 0;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    cursor: grab;
    transition: transform 0.3s ease-out; /* Soepele rotatie */
}

.carousel-item:active {
    cursor: grabbing;
}

.carousel-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.carousel-item-content {
    padding: 1.5em;
    text-align: left;
}

.carousel-item-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #FEE9E7;
    margin-bottom: 0.5em;
}

.carousel-item-description {
    font-size: 1em;
    color: #B0B0B0;
}

/* Indicatoren */
.carousel-indicators-container {
    display: flex;
    justify-content: center;
    margin-top: 2em;
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #444;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #FEE9E7;
}