/* ===============================
   EVENEMENTEN SECTION MET OVERLAY GLAS-EFFECT
================================= */
.evenementen-section {
     position: relative;
    padding: 15rem 4rem;

    background-image: url("images/Logo Erik Batstra schets v3.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
 
    color: white;
    overflow: visible;

    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Overlay boven de afbeelding, glas-effect */
.evenementen-section::before {
     content: "";
    position: absolute;
    inset: 0;
    color: white;
    background:  rgba(92, 85, 58, 0.85);
    z-index: 0;
    overflow: visible;
}

.evenementen-card.intro {
    margin-bottom: 30px;
}

/* ===============================
   EVENEMENTEN CARD
================================= */
.evenementen-card {
    position: relative;
    padding: 4rem;
    margin: 2rem auto;
    max-width: 1700px;
    width: 100%;
    border-radius: 12px;
  backdrop-filter: blur(7px);         
    color: white;                        
    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;
    margin-bottom: 1.5rem;
    color: white;

}

/* ===============================
   GALLERY GRID
================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 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);
}

/* ===============================
   LIGHTBOX
================================= */
.lightbox {
    display: none; /* standaard verborgen */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(67, 60, 37, 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;
}

.meldingen-lijst {
    list-style-type: disc;
    padding-left: 40px !important;
    font-size: 1.5rem;
}

.meldingen-lijst li {
    margin-bottom: 10px;
  
}
.event-icon {
    width: 60px;
    height: 60px;
}
/* ===============================
   CARD HEADER (AGENDA)
================================= */

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    color:white;
}


/* Klikbare link rond icoon */
.agenda-link {
    display: inline-block;
}
.agenda-tekst {
    word-wrap: break-word;
    margin-left: 2rem;
}


/* Agenda icoon */
.event-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.25s ease;
    cursor: pointer;
}

/* Hover vergroting */
.event-icon:hover {
    transform: scale(1.2);
}

/* Titel naast icoon */
.card-title {
    margin: 0;
    font-size: 2rem;
    color: rgb(252, 211, 108);
}




/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 850px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .evenementen-section {
        padding: 6rem 1rem;
    }
}
@media (max-width: 600px) {

    /* Agenda header */
    .card-header {
        gap: 10px;
    }

    .event-icon {
        width: 45px;
        height: 45px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    /* Cards */
    .evenementen-card {
        padding: 1.5rem;
        width: 95%;
    }

    /* Agenda lijst */
    .agenda-item {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .agenda-datum {
        font-weight: bold;
    }
}
