body {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    text-align: center;
    padding: 30px 20px;
    background: #c8f3d6; /* licht pastelgroen */
    color: #2d4a36; /* donkerder groen voor betere leesbaarheid */
    border-bottom: 4px solid #a6e8c2; /* iets donkerder pastelgroen */
}

.header-banner {
    width: 100%;
    height: 220px;
    background-image: url("../css/header.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 4px solid #a6e8c2;
}

.header-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.header-text h1 {
    margin: 0;
    font-size: 2.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.header-text p {
    margin: 5px 0 0;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Responsieve aanpassing */
@media (max-width: 768px) {
    .header-banner {
        height: 160px;
        background-position: right center;
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    .header-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-banner {
        height: 130px;
        background-position: right center;
    }

    .header-text h1 {
        font-size: 1.5rem;
    }

    .header-text p {
        font-size: 0.9rem;
    }
}


h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Featured (nieuwste) foto bovenaan */
.featured {
    text-align: center;
    margin: 30px auto;
    position: relative;
    max-width: 900px;
}

.featured-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    cursor: zoom-in;
}

.featured-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Thumbnail gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.photo {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

.photo img {
    width: 100%;
    display: block;
}

.timestamp {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    cursor: zoom-out;
    transition: opacity 0.25s ease;
}

.lightbox.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    animation: pop 0.25s ease;
}

/* Subtiele pop-in animatie */
@keyframes pop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Klikbare thumbnails */
.thumb {
    cursor: zoom-in;
}