:root {
    --warm-bg: #f6f4f1;
    --accent: #6b7f6a;
    --dark: #2f2f2f;
    --light: #ffffff;
    --cta: #b89b6c;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--warm-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= NAV ================= */

.site-header {
    position: sticky;
    top: 0;
    background: var(--light);
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    align-items: center;
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
}

.nav a,
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
}

.nav-cta,
.nav a.cta,
.nav-links a.cta {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: var(--cta);
    color: #fff !important;
}

/* ================= HERO ================= */

.hero,
.hero-small {
    position: relative;
    background-image: url("../images/hero.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero {
    height: 45vh;
    min-height: 220px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--cta);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
}

/* ================= CONTENT ================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 1.5rem;
}

.intro {
    max-width: 700px;
    margin-bottom: 3rem;
    margin-top: -40px;
}

.intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-info p,
.contact-form label {
    display: block;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    padding: 0.7rem 1.5rem;
    background: var(--cta);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery img {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}

/* Foto's pagina: 1 grote foto + thumbnails */
.photo-gallery {
    margin-bottom: 2rem;
}

.gallery-featured {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-featured img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: 55vh !important;
    object-fit: cover !important;
    cursor: pointer;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.gallery-thumbs img {
    width: 100% !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    object-fit: cover !important;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-thumbs img:hover {
    opacity: 0.9;
}

.hero-small {
    height: 28vh;
    min-height: 180px;
}

/* ================= LIGHTBOX ================= */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex !important;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem 1.2rem;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* ================= FOOTER ================= */

footer {
    background: var(--accent);
    color: white;
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
}

footer p {
    text-align: center;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav a,
    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        text-align: center;
        font-size: 1.05rem;
        min-height: 48px;
        line-height: 1.4;
        box-sizing: border-box;
        -webkit-tap-highlight-color: rgba(0,0,0,0.05);
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav a.cta,
    .nav-links a.cta {
        padding: 0.9rem 1.5rem;
        margin-top: 0.5rem;
        border-bottom: none;
        border-radius: 25px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        height: 35vh;
    }

    .hero-small {
        height: 22vh;
        min-height: 150px;
    }

    .container {
        padding: 2rem 1rem;
    }

    .intro {
        margin-top: -20px;
    }

    .intro h3 {
        font-size: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery img {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
        padding: 0.8rem 1rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .lightbox-img {
        max-width: 95%;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }

    .gallery-thumbs img {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }

    .gallery-featured img {
        max-height: 40vh !important;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .reserveren-main,
    .reserveren-intro {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .huurkalender-embed,
    .huurkalender-embed iframe {
        width: 100% !important;
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
}


/* =========================================================
   Fennebosch mobiel menu - werkt zonder JavaScript
   ========================================================= */

.logo {
    color: var(--dark);
    text-decoration: none;
}

.nav-toggle-checkbox {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2f2f2f;
    border-radius: 999px;
}

@media screen and (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #fff;
    }

    .nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
    }

    .logo {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
    }

    .menu-toggle {
        display: inline-flex !important;
    }

    .nav-links {
        display: none !important;
        flex-basis: 100% !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        margin-top: 0.75rem !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
    }

    .nav-toggle-checkbox:checked ~ .nav-links,
    .nav-links.open {
        display: flex !important;
    }

    .nav-links a,
    .nav a {
        display: block !important;
        width: 100% !important;
        padding: 0.95rem 1rem !important;
        text-align: center !important;
        border-bottom: 1px solid #eee !important;
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }

    .nav-links a.cta,
    .nav a.cta,
    .nav-cta {
        width: calc(100% - 2rem) !important;
        margin: 0.75rem auto !important;
        border-radius: 25px !important;
        border-bottom: 0 !important;
        background: #b89b6c !important;
        color: #fff !important;
    }

    .nav-toggle-checkbox:checked + .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle-checkbox:checked + .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-checkbox:checked + .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-toggle span {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
}

@media screen and (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}
