/* ============================================
   ROOT & GENERAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #DC4520;       /* Chili Red */
    --secondary: #AB6C3E;     /* Cacao */
    --accent: #7B2D0E;        /* Warm Dark Brown */
    --dark: #1F1F1F;          /* Charcoal Black */
    --light: #F5EDD4;         /* Coconut Cream */
    --gray: #6B6B6B;
    --border: #E0D8CC;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    cursor: pointer;
}

.logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2D1206 60%, var(--accent) 100%);
    color: white;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(220, 69, 32, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Desktop: schuif hero-tekst naar het midden toe (links uitgelijnd, blok meer naar rechts) */
@media (min-width: 769px) {
    .hero-content {
        padding-left: 18%;
    }
}

.hero-image {
    position: relative;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
    display: block;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: darken(var(--primary), 10%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome {
    padding: 80px 20px;
    background: var(--light);
}

.welcome-content {
    max-width: 600px;
    margin-bottom: 50px;
}

.welcome-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-transform: uppercase;
    line-height: 1.1;
}

.welcome-content h2 span {
    color: var(--primary);
}

.welcome-content p {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.8;
}

.welcome-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.highlight p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   POPULAR DISHES SECTION
   ============================================ */

.popular-dishes {
    padding: 80px 20px;
    background: var(--light);
    border-top: 1px solid rgba(0,0,0,0.07);
}

.popular-dishes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dish-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.dish-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.dish-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
}

.dish-card h3 {
    padding: 15px 15px 5px;
    color: var(--dark);
}

.dish-card p {
    padding: 0 15px 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.price {
    display: block;
    padding: 10px 15px 15px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   WAAROM SECTION
   ============================================ */

.waarom {
    padding: 80px 20px;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Kaart en tekst aanpassen voor donkere achtergrond */
.waarom .benefits-box {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Individuele vakjes — zelfde stijl als review-kaarten */
.waarom .benefit {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.waarom .benefit:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(220,69,32,0.4);
}

.waarom .benefit p {
    color: rgba(255,255,255,0.65);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 80px 20px;
    background: var(--dark);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255,255,255,0.06);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    height: 260px;          /* vaste hoogte — schrijver staat altijd op dezelfde positie */
    overflow: hidden;
}

.stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.testimonial p {
    /* GEEN flex: 1 — groeit niet mee, zodat margin-top: auto op strong wél ruimte heeft */
    flex-shrink: 0;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;       /* ruimte via padding-top op strong, niet margin-bottom hier */
    /* Afkappen met '...' als de tekst niet past */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial strong {
    color: var(--primary);
    display: block;
    flex-shrink: 0;
    margin-top: auto;       /* duwt schrijver altijd naar de onderkant van de kaart */
    padding-top: 1em;       /* 1 regel witruimte boven de schrijversnaam */
}

/* ============================================
   MENU SECTION
   ============================================ */

.menu {
    padding: 80px 20px;
    background: var(--dark);
}

.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.menu-category h3 {
    color: var(--primary);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.menu-item strong {
    color: rgba(255,255,255,0.9);
}

.menu-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
}

.custom-menu-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.custom-menu-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.custom-menu-box p {
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Prijs verborgen toelichting */
.price-hidden-notice {
    background: rgba(220,69,32,0.08);
    border: 1px solid rgba(220,69,32,0.25);
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* Verberg prijs-spans wanneer show_prices uit staat */
.prices-hidden .price { display: none !important; }
.prices-hidden .item-header { justify-content: flex-start; }

/* ============================================
   EVENTS SECTION
   ============================================ */

.events {
    padding: 80px 20px;
    background: var(--light);
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.event-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.event-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefits-box h3 {
    text-align: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 35px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit {
    text-align: center;
}

.benefit strong {
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.benefit p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 80px 20px;
    background: var(--light);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    text-transform: uppercase;
}

/* Vaste 3-kolommen grid — altijd gelijke formaten */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #111;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-media-unavailable {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    text-align: center;
    padding: 8px;
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
    z-index: 9001;
}

.lightbox-close:hover { background: var(--primary); }

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 3rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, opacity 0.2s;
    z-index: 9001;
    user-select: none;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--primary); }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 9001;
    pointer-events: none;
}

@media (max-width: 480px) {
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
    .lightbox-prev,
    .lightbox-next { width: 42px; height: 42px; font-size: 2.2rem; }
}

/* ── Aftermovies sectie ── */
.aftermovies {
    padding: 80px 20px;
    background: var(--light);
    color: var(--dark);
    border-top: 1px solid rgba(0,0,0,0.07);
}

.aftermovies h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.aftermovies .section-subtitle {
    color: var(--gray);
    margin-bottom: 50px;
}

.aftermovies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.aftermovie-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aftermovie-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.aftermovie-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.aftermovie-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.aftermovies-empty {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    grid-column: 1 / -1;
    padding: 40px 0;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 20px;
    background: var(--light);
    border-top: 1px solid rgba(0,0,0,0.07);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-transform: uppercase;
}

.contact-wrapper {
    max-width: 500px;
    margin: 50px auto 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 98, 62, 0.1);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

/* <address> erft browser-italic — reset */
.footer-section address {
    font-style: normal;
}

.footer-section a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.brand-tagline-bar {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        gap: 0;
        border-bottom: 2px solid var(--primary);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        max-height: 300px;
        padding: 20px;
    }

    .nav-menu.active li {
        margin-bottom: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        height: 280px;
    }

    .popular-dishes h2,
    .menu h2,
    .events h2,
    .testimonials h2,
    .gallery h2,
    .contact h2 {
        font-size: 2rem;
    }

    .welcome-content h2 {
        font-size: 1.8rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        display: block;
        text-align: center;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .welcome-highlights {
        grid-template-columns: 1fr;
    }

    .custom-menu-box {
        padding: 25px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .carousel-wrapper {
        gap: 8px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .gallery-events-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    /* Aftermovies: 1 kolom op mobiel */
    .aftermovies-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* ── Agenda compact op mobiel ── */
    .calendar-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 12px;     /* geen extra rechter padding — status zit inline in cal-meta */
        position: static;       /* absolute positionering uitschakelen op mobiel */
        cursor: pointer;        /* geeft aan dat het item klikbaar is */
        -webkit-tap-highlight-color: transparent;
    }

    .calendar-status {
        position: static;           /* inline naast cal-tag, niet absoluut */
        transform: none;
        font-size: 0.6rem;          /* zelfde schaal als cal-tag op mobiel */
        padding: 2px 7px;
    }

    .calendar-date {
        padding: 6px 0;
        width: 46px;   /* vaste breedte ook op mobiel */
    }

    .cal-day {
        font-size: 1.2rem;
    }

    .cal-month {
        font-size: 0.6rem;
    }

    .calendar-info h3 {
        font-size: 0.85rem;
        margin-bottom: 1px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: white-space 0s;
    }

    .calendar-info p {
        font-size: 0.72rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Chevron als subtiele hint dat het item klikbaar/uitklapbaar is */
    .calendar-info::after {
        content: '▾';
        display: block;
        text-align: center;
        color: rgba(255,255,255,0.2);
        font-size: 0.65rem;
        margin-top: 5px;
        transition: transform 0.25s ease, color 0.2s;
        line-height: 1;
    }

    /* Uitgeklapt: volledige tekst zichtbaar */
    .calendar-item.expanded .calendar-info h3,
    .calendar-item.expanded .calendar-info p {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .calendar-item.expanded .calendar-info::after {
        transform: rotate(180deg);
        color: rgba(220,69,32,0.7);
    }

    /* Lichte highlight bij uitklapanimatie */
    .calendar-item.expanded {
        background: rgba(220,69,32,0.1) !important;
        border-color: rgba(220,69,32,0.35) !important;
    }

    .cal-tag {
        font-size: 0.6rem;
        padding: 2px 7px;
    }

    .calendar-list {
        gap: 6px;
    }

    /* ── Testimonials op mobiel ── */
    .testimonial {
        padding: 16px 14px;
        height: 210px;
    }

    .testimonial p {
        font-size: 0.82rem;
        -webkit-line-clamp: 3;  /* 3 regels op klein scherm */
    }

    .testimonial strong {
        font-size: 0.82rem;
        padding-top: 0.8em;
    }

    .stars {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    /* ── Carousel wrapper minder zijruimte ── */
    .carousel-wrapper {
        gap: 4px;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .event-calendar h2,
    .gallery h2 {
        font-size: 2rem;
    }
}

/* ── Witte balk onderaan + overflow fix (mobiel) ── */
/* overflow-x: clip breekt position:sticky NIET (in tegenstelling tot overflow:hidden) */
html {
    overflow-x: clip;
    background: var(--dark); /* voorkomt witte flits bij overscroll */
}

body {
    overflow-x: clip;
    overscroll-behavior-y: none; /* voorkomt witte ruimte bij doorscrollen onderaan op iOS/Android */
}

/* (480px agenda-stip verwijderd — status wordt nu via linker rand getoond op alle mobiel) */

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    /* transition set by JS */
}

.carousel-track .testimonial {
    display: block;
    flex-shrink: 0;
    min-width: 0;
    /* width is set by JS based on viewport */
}

.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots button.active {
    background: var(--primary);
}

/* ============================================
   EVENT GALLERY
   ============================================ */

.gallery-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-event-card {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.gallery-event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(220,69,32,0.15);
    transform: translateY(-4px);
}

.gallery-event-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding: 12px;
}

.gallery-thumb-placeholder {
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

.gallery-event-thumb .thumb-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
}

.gallery-event-info {
    padding: 16px 18px 18px;
}

.gallery-event-info h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.gallery-event-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.gallery-event-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-detail {
    display: none;
}

.gallery-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.gallery-back-btn {
    background: none;
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.gallery-back-btn:hover {
    background: var(--dark);
    color: white;
}

.gallery-event-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-event-nav-btn {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-event-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery-detail-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* ============================================
   EVENT CALENDAR
   ============================================ */

.event-calendar {
    padding: 80px 20px;
    background: var(--dark);
    color: white;
}

.event-calendar h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
}

.event-calendar .section-subtitle {
    color: rgba(255,255,255,0.65);
    margin-bottom: 50px;
}

.calendar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.calendar-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px 130px 20px 24px; /* right padding reserves space for absolute status badge */
    position: relative;
    transition: var(--transition);
}

.calendar-item:hover {
    background: rgba(220,69,32,0.15);
    border-color: var(--primary);
}

.calendar-date {
    flex-shrink: 0;
    text-align: center;
    background: var(--primary);
    border-radius: 8px;
    padding: 10px 0;
    width: 64px;       /* vaste breedte — ongeacht cijfer-count */
}

.cal-day {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.cal-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
}

.calendar-info {
    flex: 1;
    min-width: 0; /* laat tekst krimpen in flexbox zodat status-badge zichtbaar blijft */
}

.calendar-info h3 {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 4px;
}

.calendar-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.cal-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(171,108,62,0.3);
    color: var(--light);
    border: 1px solid rgba(171,108,62,0.5);
}

.cal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.calendar-status {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.calendar-status.gepland {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}

.calendar-status.geweest {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Strikethrough effect for past events */
.calendar-item:has(.calendar-status.geweest) .calendar-info h3,
.calendar-item:has(.calendar-status.geweest) .calendar-info p {
    text-decoration: line-through;
    opacity: 0.55;
}

.calendar-item:has(.calendar-status.geweest) {
    opacity: 0.7;
}

/* Fallback for browsers without :has() support */
.calendar-item.status-geweest .calendar-info h3,
.calendar-item.status-geweest .calendar-info p {
    text-decoration: line-through;
    opacity: 0.55;
}
.calendar-item.status-geweest {
    opacity: 0.7;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55);
    color: white;
}

.whatsapp-float svg {
    flex-shrink: 0;
}

.whatsapp-float .wa-label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .whatsapp-float .wa-label {
        display: none;
    }
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
}
