﻿:root {
    --primary: #9b0d17;
    --primary-600: #b3121e;
    --primary-50: #fff5f6;
    --ink: #1b1b1f;
    --muted: #6b7280;
    --bg: #fff;
    --card: #fff;
    --radius: 20px;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
    --bar-bg: linear-gradient(0deg, rgba(155,13,23,.96), rgba(155,13,23,.98));
}

/* ===== Basis / Reset ===== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* voorkomt witte rand / horizontaal schuiven */
    font-family: "Overpass", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    border-bottom: 0 !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 14px 0;
}

.lead {
    color: var(--muted);
}

/* ===== Header / Nav ===== */
.site-header {
    background: #f4e7d6;
    position: relative;
    z-index: 50;
    opacity: 1;
}

    .site-header .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 14px 0 18px;
        gap: 12px;
        width: 100%;
    }

    .site-header .brand {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-header .logo {
        height: 120px;
        width: auto;
        max-width: 100%;
        display: block;
        margin: 0; /* belangrijk: geen handmatige offset */
    }

    .site-header .nav-toggle {
        display: none !important;
    }

    .site-header .nav-links {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 gelijke vakken */
        align-items: center;
        width: 100%;
        max-width: 1100px;
        margin: 0;
        padding: 0 24px;
        column-gap: 28px; /* extra witruimte */
    }

        .site-header .nav-links li {
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 0;
            margin: 0;
        }

        .site-header .nav-links a {
            color: var(--primary);
            font-family: "Overpass", sans-serif;
            font-weight: 700;
            font-size: 1.65rem;
            letter-spacing: .01em;
            text-align: center;
            display: inline-block;
        }

            .site-header .nav-links a:hover {
                color: var(--primary-600);
                text-decoration: underline;
            }
/* ===== Info ===== */
.section-info {
    background: #f4e7d6;
    padding: 8px 0 16px;
}

    .section-info .info-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 10px 8px;
        background: transparent;
        border: 0;
        text-align: left;
        cursor: pointer;
    }

.info-title {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.info-chevron {
    font-size: 1rem;
    transition: transform .2s;
    color: var(--primary);
}

.section-info.open .info-chevron {
    transform: rotate(180deg);
}

.section-info .info-body {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 0 8px;
}

    .section-info .info-body:not([hidden]) {
        display: flex;
        align-items: flex-start;
        gap: 24px;
    }

    .section-info .info-body .map-wrapper {
        flex: 0 0 600px;
        width: 600px;
        max-width: 600px;
    }

    .section-info .info-body .info-text {
        flex: 1;
        min-width: 0;
        color: var(--ink);
        line-height: 1.6;
    }

.section-info .info-text h3 {
    margin: 0 0 10px;
    color: var(--primary);
}

.section-info .info-text p {
    margin: 0 0 12px;
}

.map-wrapper {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ===== Gallery ===== */
#gallery {
    background: #f4e7d6;
    padding: 8px 0 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    padding: 0 8px;
    margin: 0 auto;
    max-width: 1100px;
}

    .gallery-grid figure {
        position: relative;
        margin: 0;
        aspect-ratio: 1/1;
        border-radius: 10px; /* mooier op mobiel */
        overflow: hidden;
        background: #000;
        transition: transform .2s ease;
    }

        .gallery-grid figure > a {
            position: absolute;
            inset: 0;
            display: block;
        }

        .gallery-grid figure img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .25s ease;
        }

        .gallery-grid figure:hover img {
            transform: scale(1.02);
            filter: brightness(1.12) saturate(0.95);
        }

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(0deg, #5e0a10 0%, #7b0f16 100%);
    color: #fff;
    padding: 20px 0;
    margin-top: 56px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Lightbox ===== */
.lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    background: rgba(0,0,0,.88);
    padding: 24px;
}

    .lb.open {
        display: grid;
    }

    .lb img {
        max-width: min(92vw, 1400px);
        max-height: 82vh;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,.5);
    }

.lb-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 24px;
    line-height: 40px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 28px;
    line-height: 46px;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: .9;
}

.lb-prev {
    left: 18px;
}

.lb-next {
    right: 18px;
}

    .lb-prev:hover, .lb-next:hover {
        opacity: 1;
    }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .section-info .info-body:not([hidden]) {
        display: block;
    }

    .section-info .info-body .map-wrapper {
        width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }
}

@media (max-width: 860px) {
    .site-header .nav-links a {
        font-size: 1.1rem;
    }
}

@media (max-width: 560px) {
    .site-header .logo {
        height: 82px;
    }

    .site-header .navbar {
        padding: 8px 0 12px;
    }

    .site-header .nav-links {
        gap: 12px;
        padding: 0 10px;
    }

        .site-header .nav-links a {
            font-size: 0.95rem;
        }

    /* 3 vakjes naast elkaar op mobiel */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 0 6px;
    }

        .gallery-grid figure {
            border-radius: 8px;
        }
}

@media (max-width: 560px) {
    .site-header .logo {
        height: 82px;
    }

    .site-header .navbar {
        padding: 10px 0 14px;
        gap: 10px;
    }

    .site-header .nav-links {
        max-width: 100%;
        padding: 0 10px;
        column-gap: 16px;
    }

        .site-header .nav-links a {
            font-size: 0.95rem;
        }
}