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

/* ------------------------------------------------------- */
/* KLEURENPALET */
/* ------------------------------------------------------- */
/*
Licht petrol:       #e7f4f3
Middel petrol:      #197d7d
Donker petrol:      #0f5959
Accent petrol:      #25a3a3
Donker tekst:       #0f2f2f
Licht tekst:        #e7f4f3
*/

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background-color: #e7f4f3; /* lichte petrol */
    color: #0f2f2f;
    transition: background-color .3s, color .3s;
}

/* ------------------------------------------------------- */
/* HEADER */
/* ------------------------------------------------------- */
header {
    background: #0f5959; /* donker petrol */
    color: #fff;
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

header nav ul li a {
    color: #e7f4f3;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color .3s, transform .2s;
}

header nav ul li a:hover {
    color: #25d5d5;
    transform: translateY(-2px);
}

/* ------------------------------------------------------- */
/* MAIN */
/* ------------------------------------------------------- */
main {
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: #0f5959;
}

/* ------------------------------------------------------- */
/* CAROUSEL */
/* ------------------------------------------------------- */
#carousel {
    margin-top: 2rem;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
    height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
    background: #197d7d;
    border-radius: 4px;
}

.carousel-item {
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #cce7e6;
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
    transform: rotate(-1.0deg);
    cursor: pointer;
}

.carousel-item:hover {
    transform: scale(1.05);
    border-color: #197d7d;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    z-index: 5;
}

/* ------------------------------------------------------- */
/* LINKS */
/* ------------------------------------------------------- */
a {
    color: #197d7d;
    text-decoration: none;
    transition: color .3s, opacity .3s;
}

a:hover {
    color: #0f5959;
    opacity: 0.85;
}

/* ------------------------------------------------------- */
/* FOOTER */
/* ------------------------------------------------------- */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #0f5959;
    color: #e7f4f3;
    margin-top: 3rem;
    font-size: .9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

/* ------------------------------------------------------- */
/* BUTTONS (optioneel als je knoppen gebruikt) */
/* ------------------------------------------------------- */
button {
    background-color: #197d7d;
    color: #e7f4f3;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color .3s, transform .2s;
}

button:hover {
    background-color: #0f5959;
    transform: translateY(-2px);
}

/* ------------------------------------------------------- */
/* RESPONSIVE */
/* ------------------------------------------------------- */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .carousel {
        flex-direction: column;
        overflow-x: visible;
    }

    .carousel-item {
        min-width: 100%;
    }
}
/* Carrousel-items */
.carousel-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 220px;
    background: #ffffff; /* wit */
    border-radius: 8px;
    padding: 0.8rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #222;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.carousel-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.carousel-date {
    font-size: 0.85rem;
    color: #197d7d;
}

.carousel-intro {
    font-size: 0.9rem;
    opacity: 0.85;
}

.carousel-tags span {
    display: inline-block;
    background: #197d7d;
    color: #e7f4f3;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.3rem;
}
