/* ===============================
   EVENEMENTEN SECTION MET OVERLAY GLAS-EFFECT
================================= */
.evenementen-section {
    position: relative;
    padding: 8rem 2rem;  
   
    /* Basis achtergrond + bruine tint voor de hele sectie */
    background-image:
        linear-gradient(
            rgba(122, 90, 48, 0.35),
            rgba(122, 90, 48, 0.35)
        ),
        url("images/Logo Frank achtergrond meisje zwart.png");
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    color: #3A2A1A;
    border-radius: 12px;

     box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.85),
        0 12px 30px rgba(0, 0, 0, 0.65);
    min-height: 700px;
}

/* Overlay voor glas-effect op de section */
.evenementen-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(248, 231, 192, 0.35);
    border-radius: 12px;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.evenementen-card.intro {
    background-color: rgba(248, 231, 192, 0.7);
    margin-bottom: 30px;
}

/* ===============================
   EVENEMENTEN CARD
================================= */
.evenementen-card {
    position: relative;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    width: 90%;
    border-radius: 12px;
    background-color: rgba(248, 231, 192, 0.85);
    color: #3A2A1A;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.85),
        0 12px 30px rgba(0,0,0,0.65);
}

/* Titel */
.card-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #3A2A1A;
}

/* ===============================
   GALLERY GRID
================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* ===============================
   GALLERY ITEMS & THUMBNAILS
================================= */
.gallery-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;         /* verticale centrering */
    border-radius: 8px;
    background-color: rgba(229,212,179,0.4);
    overflow: hidden;
}

/* Afbeeldingen */
.gallery-item img {
    width: 100%;            /* past in de wrapper */
    height: auto;             /* past horizontaal */
    object-fit: contain;         /* hele afbeelding zichtbaar */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}
/* ===============================
   VIDEO'S IN GALLERY
================================= */
.gallery-item:has(video) {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;        /
}

.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    
}

/* ===============================
   LIGHTBOX
================================= */
.lightbox {
    display: none; /* standaard verborgen */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
    background-color: rgba(0,0,0,0.5);  /* donkere achtergrond */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.meldingen-lijst {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    font-size: 1.4rem;
}

.meldingen-lijst li {
    margin-bottom: 10px;
}

/* ===============================
   CARD HEADER (AGENDA)
================================= */

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

/* Klikbare link rond icoon */
.agenda-link {
    display: inline-block;
}
.agenda-tekst {
    word-wrap: break-word;
}


/* Agenda icoon */
.event-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    cursor: pointer;
}


/* Hover vergroting */
.event-icon:hover {
    transform: scale(1.1);
}

/* Titel naast icoon */
.card-title {
    margin: 0;
    font-size: 2rem;
}
.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}



/* ===============================
   RESPONSIVE MOBIEL
================================= */
@media (max-width: 600px) {
    .evenementen-section {
        padding: 2rem 0.5rem;
        border-radius: 8px;
    }

    .evenementen-card {
        width: 98%;
        padding: 1.2rem;
        margin: 1rem auto;
        border-radius: 8px;
    }

    .card-header {
        gap: 10px;
    }

    .event-icon {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .agenda-item {
        flex-direction: column;
        gap: 3px;
        font-size: 15px;
    }

    .agenda-datum {
        min-width: unset;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    /* Video volle breedte op mobiel */
    .gallery-item:has(video) {
        grid-column: span 2;
    }
}