/* ===== GLOBAL STYLES ===== */
body {
    margin: 0;
    font-family: "Arial", sans-serif;
    background-color: #f7f7f7;
    color: #2a2a2a;
}
/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #2c5f2d;
}

.logo img {
    height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
}

nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
}

nav a:hover,
nav a.active {
    background-color: #97bc62ff;
    color: #2c5f2d;
}
/* ===== HERO SECTION MET VIDEO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video full background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Donkere overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 0, 0.45);
    z-index: 2;
}

/* Tekst bovenop */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 30px 60px;
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 20px;
}

.hero-overlay {
    background: rgba(0, 100, 0, 0.55);
    padding: 40px 60px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 20px;
}

/* ===== EVENTS SECTION ===== */
.events-section {
    position: relative;
    padding: 100px 8% 60px 8%;
    background: linear-gradient(to bottom, #eaf6ea, #ffffff);
    overflow: hidden;
}

/* Golven als achtergrond met SVG */
.waves {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg width="1440" height="150" xmlns="http://www.w3.org/2000/svg"><path fill="%231d6c33" fill-opacity="0.1" d="M0,64 C360,160 1080,-32 1440,64 L1440,150 L0,150 Z"/></svg>') repeat-x;
    background-size: cover;
    z-index: 1;
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
}

.section-header h2 {
    font-size: 40px;
    color: #1d6c33;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #2a2a2a;
}

/* ===== GRID ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* ===== EVENT CARD ===== */
.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== EVENT IMAGE ===== */
.event-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

/* ===== EVENT INFO ===== */
.event-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.event-info h3 {
    margin: 0 0 12px;
    color: #185f28;
    font-size: 22px;
}

.event-info p {
    margin: 0 0 18px;
    color: #444;
    line-height: 1.5;
}

/* ===== EVENT FOOTER ===== */
.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Datum badge */
.date {
    font-weight: bold;
    color: white;
    background-color: #1d6c33;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* Knop */
.btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: #1d6c33;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #14521f;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .section-header h2 {
        font-size: 32px;
    }
    .section-header p {
        font-size: 16px;
    }
    .event-image img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding: 50px 5%;
    }
    .event-image img {
        height: 150px;
    }
    .event-info h3 {
        font-size: 20px;
    }
}
