@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Lato:wght@300;400;700&display=swap");

:root {
    --primaire-kleur: #c6b59a;
    --secundaire-kleur: #a85b33;
    --tertiaire-kleur: #a89276;
    --accentkleur: #8b9483;
    --achtergrondkleur: #f5f0e6;
    --donkere-tekstkleur: #1e1e1e;

    --primair-lettertype: "Cormorant Garamond", serif;
    --secundair-lettertype: "Lato", sans-serif;
}

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

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--secundair-lettertype);
    background-color: var(--achtergrondkleur);
    color: var(--donkere-tekstkleur);
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

header {
    background: var(--primaire-kleur);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--donkere-tekstkleur);
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(85, 107, 47, 0.12);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.25), transparent);
    pointer-events: none;
}

body.startpagina header {
    background: rgba(245, 240, 230, 0.92);
}

header.gescrold {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

header h1 {
    font-family: var(--primair-lettertype);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

#feestdag-titel {
    color: var(--feestdag-kleur);
}

nav,
.nav-links {
    display: flex;
    align-items: center;
    margin: 0;
}

.nav-links--links {
    justify-content: flex-start;
}

.nav-links--rechts {
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

nav li {
    opacity: 0;
    animation: navInkomst 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav-links--links li:nth-child(1) {
    animation-delay: 0.05s;
}
.nav-links--links li:nth-child(2) {
    animation-delay: 0.1s;
}
.nav-links--links li:nth-child(3) {
    animation-delay: 0.15s;
}
.nav-links--links li:nth-child(4) {
    animation-delay: 0.2s;
}
.nav-links--rechts li:nth-child(1) {
    animation-delay: 0.2s;
}
.nav-links--rechts li:nth-child(2) {
    animation-delay: 0.15s;
}
.nav-links--rechts li:nth-child(3) {
    animation-delay: 0.1s;
}
.nav-links--rechts li:nth-child(4) {
    animation-delay: 0.05s;
}

nav li a {
    color: var(--donkere-tekstkleur);
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    display: block;
    font-family: var(--secundair-lettertype);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s ease;
}

nav li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 1.5px;
    background: var(--secundaire-kleur);
    transition:
        left 0.25s ease,
        right 0.25s ease;
}

nav li a:hover {
    color: var(--accentkleur);
}

nav li a:hover::after {
    left: 0.9rem;
    right: 0.9rem;
}

nav li a.cta-knop::after {
    display: none;
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.sluit-menu {
    display: none;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--donkere-tekstkleur);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.binnenlink {
    color: var(--accentkleur);
    text-decoration: none;
}

.binnenlink:hover {
    color: var(--secundaire-kleur);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

#logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    opacity: 0;
    animation: logoInkomst 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

#logo:hover {
    transform: scale(1.04);
    opacity: 0.85;
}

#logo-hoofding {
    width: 200px;
}

.hero-sectie {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dias {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-dias img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-dias img.actief {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    transition: background 1.2s ease;
}

.hero-overlay.vervaagd {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0) 70%);
}

.hero-intro {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-intro.verborgen {
    opacity: 0;
    pointer-events: none;
}

.hero-intro-titel {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.intro-naam {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.intro-versie {
    position: absolute;
    top: -0.15em;
    right: -1.6em;
    font-size: clamp(3rem, 6vw, 6.2rem);
    font-weight: 700;
    color: var(--accentkleur);
    font-style: italic;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: scale(2.5) rotate(-8deg);
    transform-origin: center center;
    transition: none;
    will-change: transform, opacity;
    padding: 0 0.5em;
}

.intro-versie.gestempeld {
    animation: stempel-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes stempel-in {
    0% {
        opacity: 0;
        transform: scale(2.8) rotate(-12deg);
    }
    40% {
        opacity: 1;
        transform: scale(0.88) rotate(-6deg);
    }
    65% {
        transform: scale(1.12) rotate(-9deg);
    }
    85% {
        transform: scale(0.97) rotate(-7deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-8deg);
    }
}

.hero-inhoud {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    width: 30vw;
    margin-right: auto;
    margin-left: 5%;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.hero-logo {
    max-width: min(300px, 100%);
    height: auto;
    margin: 0 auto 1.5rem auto;
    display: block;
    opacity: 1 !important;
    transform: none !important;
}

.hero-inhoud.zichtbaar {
    opacity: 1;
    transform: translateY(0);
}

#hero-tekst {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-sectie .cta-knop {
    background-color: var(--accentkleur);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
    padding: 1rem 2rem;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background-color 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

.hero-sectie .cta-knop::after {
    display: none !important;
}

.hero-sectie .cta-knop:hover {
    background-color: var(--secundaire-kleur) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .hero-overlay.vervaagd {
        background: rgba(0, 0, 0, 0.45);
    }

    .hero-inhoud {
        text-align: center;
        padding: 0 1.5rem;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        margin-left: 0;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
        max-width: min(300px, 60vw);
    }

    .hero-intro-titel {
        display: inline-block;
        position: relative;
        padding-bottom: 1rem;
        padding-right: 0;
    }

    .intro-versie {
        top: auto;
        bottom: -0.4em;
        right: 0;
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        transform-origin: right bottom;
    }
}

.contact-link,
.footer-link {
    text-decoration: none;
    color: var(--donkere-tekstkleur);
}

.contact-link:hover {
    color: var(--secundaire-kleur);
}

.footer-link:hover {
    color: var(--primaire-kleur);
}

section {
    text-align: center;
    padding-bottom: 20px;
}

section h2 {
    font-family: var(--primair-lettertype);
    font-size: 3rem;
    margin: 2.5rem 0 2rem 0;
    color: var(--accentkleur);
}

h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: var(--primair-lettertype);
    color: var(--accentkleur);
    font-size: 1.6rem;
}

input,
select,
textarea {
    font-family: var(--primair-lettertype);
}

.reservatieformulier,
.wijzig-reservatieformulier {
    opacity: 0;
    transform: translateY(16px);
    animation: toonFormulier 2s ease forwards;
    animation-delay: 1s;
    max-width: 500px;
    margin: 2rem auto;
    padding: 40px;
    border-radius: 24px;
    border: 4px solid var(--accentkleur);
}

@keyframes toonFormulier {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.openingsinfo {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.openingsuren ul,
.verlofperiodes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.openingsuren li,
.verlofperiodes li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--secundaire-kleur);
}

.openingsuren li:last-child,
.verlofperiodes li:last-child {
    border-bottom: none;
}

.openingsuren li.vandaag {
    font-weight: bold;
    color: var(--accentkleur);
}

.waarschuwing {
    font-weight: 700;
    font-size: 1.1rem;
    color: red;
}

#keuken-sluit {
    padding-top: 1rem;
    font-weight: 700;
}

section p {
    max-width: 800px;
    margin: auto;
}

.contact-sectie {
    padding-bottom: 80px;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 50%;
    padding: 10px;
    margin: 10px;
    background: transparent;
    border: 1px solid var(--secundaire-kleur);
    color: var(--donkere-tekstkleur);
    border-radius: 5px;
    font-size: 1rem;
}

.v-h {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-groep {
    margin-bottom: 1.5rem;
    text-align: left;
}

.honeypot {
    display: none;
}

.form-groep label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-groep input,
.form-groep textarea {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--accentkleur);
    color: var(--donkere-tekstkleur);
    border-radius: 5px;
    font-size: 1rem;
}

.form-groep select,
.gerecht-item select {
    width: 100%;
    padding: 10px;
    background-color: var(--primaire-kleur);
    border: 1px solid var(--accentkleur);
    color: var(--donkere-tekstkleur);
    border-radius: 5px;
    font-size: 1rem;
    height: 42px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"%3e%3cpath d="M7 10l5 5 5-5z"/%3e%3c/svg%3e') no-repeat right 10px
        center;
    background-size: 20px;
}

.knop {
    display: inline-block;
    background: var(--accentkleur);
    color: var(--achtergrondkleur);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 1rem;
}

.knop:hover {
    background: var(--secundaire-kleur);
}

a.knop {
    text-align: center;
}

button.knop,
input[type="submit"].knop {
    appearance: none;
    -webkit-appearance: none;
}

.annulering-vraag {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.annulering-bericht {
    margin-top: 120px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.annulering-knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accentkleur);
    color: var(--primaire-kleur);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: var(--primair-lettertype);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 55px;
    line-height: 1;
    margin: 2rem 1rem;
}

.annulering-knop:hover {
    background: var(--secundaire-kleur);
}

.sociale-media svg:hover {
    path {
        fill: var(--secundaire-kleur);
    }
}

footer {
    background: var(--secundaire-kleur);
    color: var(--donkere-tekstkleur);
    text-align: center;
    padding: 1rem 0;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Standaard verborgen */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-venster {
    background-color: var(--achtergrondkleur);
    padding: 2.5rem;
    border: 2px solid var(--accentkleur);
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.popup-container.show {
    display: flex;
}

.popup-container.show .popup-venster {
    transform: scale(1);
    opacity: 1;
}

.popup-bericht {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--donkere-tekstkleur);
}

.popup-knop {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

#datumkeuze-container {
    position: relative;
    width: 100%;
}

#toon-datum {
    cursor: pointer;
    background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"%3e%3cpath d="M7 10l5 5 5-5z"/%3e%3c/svg%3e') no-repeat right 10px
        center;
    background-size: 20px;
}

#kalender-element {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primaire-kleur);
    border: 1px solid var(--secundaire-kleur);
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transform-origin: top;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.kalender-verborgen {
    display: none;
    opacity: 0;
    transform: scaleY(0.9);
}

.kalender-zichtbaar {
    display: block;
    opacity: 1;
    transform: scaleY(1);
}

.nav-knop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nav-knop button svg {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.kalender-raster .dag {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 3px;
}

.kalender-raster .dag-geselecteerd {
    background-color: var(--accentkleur) !important;
    color: var(--primaire-kleur) !important;
    font-weight: bold;
}

.dag-leeg,
.dag-verleden,
.dag-niet-beschikbaar {
    color: #555;
    cursor: not-allowed !important;
    background-color: transparent;
    opacity: 0.5;
}

.dag-leeg:hover,
.dag-verleden:hover,
.dag-niet-beschikbaar:hover {
    background-color: transparent !important;
    color: #555 !important;
    cursor: not-allowed;
}

.dag-beschikbaar {
    opacity: 1;
    cursor: pointer;
}

.dag-fout {
    opacity: 0.5;
    background-color: #ffcccc;
    cursor: not-allowed;
}

.nav-knop .nav-knop {
    background: var(--accentkleur);
    color: var(--primaire-kleur);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 3px;
}

.nav-knop span {
    font-size: 1.2rem;
    font-family: var(--secundair-lettertype);
    color: var(--donkere-tekstkleur);
}

.kalender-weekdagen,
.kalender-raster {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.kalender-weekdagen span {
    color: var(--accentkleur);
    font-weight: bold;
    padding: 5px;
}

.kalender-raster .dag {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 3px;
}

.kalender-raster .dag:hover {
    background-color: var(--secundaire-kleur);
    color: var(--primaire-kleur);
}

.kalender-raster .dag.inactief {
    color: #555;
    cursor: not-allowed;
    background-color: transparent;
    opacity: 0.5;
}

.kalender-raster .dag.geselecteerd {
    background-color: var(--accentkleur);
    color: var(--primaire-kleur);
    font-weight: bold;
}

#tijd {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--accentkleur);
    color: var(--donkere-tekstkleur);
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"%3e%3cpath d="M7 10l5 5 5-5z"/%3e%3c/svg%3e') no-repeat right 10px
        center;
    background-size: 20px;
}

section h2,
section h3:not(.geen-animatie),
section p,
section img:not(.geen-animatie),
section form,
section svg {
    opacity: 0;
    transform: translateY(12px);
}

section h2 {
    animation: inkomst 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

section h3:not(.geen-animatie),
section p,
section svg,
section form {
    animation: inkomst 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.45s;
}

.grotere-tekst {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.menu-sectie ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-sectie li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
}

.gerecht-aantal {
    flex-shrink: 0;
    width: 70px;
}

.gerecht-naam {
    flex-grow: 1;
    text-align: left;
    font-size: 1.1rem;
    color: var(--donkere-tekstkleur);
}

.afhaal-prijs {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--secundaire-kleur);
    margin-left: 5px;
}

.onderlijnd-link {
    color: var(--donkere-tekstkleur);
}

.onderlijnd-link:hover {
    color: var(--accentkleur);
}

.bestel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}
.menukaart-sectie {
    flex: 1;
    min-width: 300px;
}
.winkelmand-sectie {
    flex: 0 0 350px;
}
.menu-categorie-blok {
    margin-bottom: 40px;
}
.menu-kaart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.item-details .naam {
    display: block;
    font-weight: bold;
}
.item-details .prijs {
    color: #666;
    font-size: 0.9em;
}
.sticky-sidebar {
    position: sticky;
    top: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.admin-style-lijst {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    border-top: 1px solid #ddd;
}
.winkelmand-item {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 0.9em;
}
.optie-select {
    width: 100%;
    margin-top: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.klantgegevens-sectie input,
.klantgegevens-sectie textarea,
.klantgegevens-sectie select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.datum-tijd-rij {
    display: flex;
    gap: 10px;
}
.bestel-knop {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
.bestel-knop:hover {
    background: #000;
}
.btn-verwijder {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    float: right;
}

@keyframes fadeInUpSmooth {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes inkomst {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navInkomst {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoInkomst {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.geen-suggesties,
.geen-evenementen {
    text-align: center;
    padding: 50px 20px;
    background: var(--primaire-kleur);
    border-radius: 8px;
    font-family: var(--primair-lettertype);
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

@keyframes softZoomInBlur {
    from {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

#menu-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: var(--secundair-lettertype);
    color: var(--donkere-tekstkleur);
}

.menu-kaart {
    background-color: var(--achtergrondkleur);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--primaire-kleur);

    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.menu-kaart.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.menu-kaart h3 {
    font-family: var(--primair-lettertype);
    font-size: 2.2rem;
    color: var(--accentkleur);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid var(--secundaire-kleur);
    display: inline-block;
    width: 100%;
    padding-bottom: 15px;
}

.categorie-omschrijving {
    font-family: var(--secundair-lettertype);
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.menu-kaart ul {
    list-style: none;
    padding: 0;
}

.gerecht-item {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.gerecht-header,
.variant-regel {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
}

.gerecht-header strong {
    font-family: var(--primair-lettertype);
    font-size: 1.25rem;
    color: var(--donkere-tekstkleur);
}

.gerecht-prijs {
    font-family: var(--secundair-lettertype);
    font-weight: 600;
    color: var(--accentkleur);
    min-width: fit-content;
}

.gerecht-beschrijving {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    max-width: 80%;
}

.variant-regel {
    margin-top: 8px;
    padding-left: 20px;
    border-left: 2px solid var(--primaire-kleur);
    font-size: 0.95rem;
}

.variant-naam {
    color: #444;
}

.bestelbevestiging {
    background: var(--achtergrondkleur);
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.25s ease-out;
    z-index: 9999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--achtergrondkleur);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.is-zichtbaar {
    display: flex;
}

.modal-inhoud {
    background: var(--tertiaire-kleur);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.modal-stuk-opties {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.opties-twee-kolommen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.modal-optie-groep-item {
    display: flex;
    flex-direction: column;
}

.modal-optie-groep-item label {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--donkere-tekstkleur);
}

.modal-optie-groep-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.winkelmand-inhoud {
    max-width: 600px;
}

#winkelmand-lijst li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

#winkelmand-lijst .knop-rood {
    margin-left: 1rem;
    cursor: pointer;
    color: #b00;
}

.winkelmand-totaal {
    font-size: 1.5rem;
}

.winkelmandje-float {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.winkelmandje-float img {
    width: 70%;
    height: auto;
}

#winkelmandje-teller {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: scale(1);
    transition: transform 0.2s ease;
}

#winkelmandje-teller.pop {
    transform: scale(1.3);
}

.event-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.event-affiche {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-datum-label {
    color: var(--primair);
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.event-naam {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
}

.event-knop-container {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.reserveer-knop {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: var(--primair);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    transition: opacity 0.2s;
}

.reserveer-knop:hover {
    opacity: 0.9;
}

.venster-event {
    all: unset;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    font-family: sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.venster-event-foto-wrap {
    all: unset;
    flex: 0 0 250px;
    width: 250px;
    min-height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.venster-event-img {
    all: unset;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venster-event-content {
    all: unset;
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    min-width: 280px;
}

.venster-event-datum {
    all: unset;
    display: block;
    color: var(--secundaire-kleur);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.venster-event-titel {
    all: unset;
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.2;
}

.venster-event-tekst {
    all: unset;
    display: block;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.statusbericht {
    border: 5px solid var(--secundaire-kleur);
    padding: 0.5rem;
    background-color: var(--primaire-kleur);
    margin-top: 5rem;
}

.knop-menu-tonen {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--secundaire-kleur);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-venster {
    background: white;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
}

.modal-sluit {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-gang {
    margin-bottom: 25px;
}

.menu-gang h4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.menu-gerechten {
    list-style: none;
    padding: 0;
}

.menu-gerechten li {
    margin-bottom: 10px;
}

.supp {
    color: #888;
    font-size: 0.9em;
    margin-left: 10px;
}

.subtitle {
    font-family: var(--primair-lettertype);
    font-size: 1.25rem;
    color: var(--accentkleur);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.tagline {
    font-family: var(--secundair-lettertype);
    font-size: 1.2rem;
    color: var(--donkere-tekstkleur);
    text-align: center;
    background-color: var(--primaire-kleur);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.nieuwsbrief-box {
    margin-top: 40px;
    padding: 25px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
}

.nieuwsbrief-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nieuwsbrief-form .naam-rij {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.nieuwsbrief-form .naam-rij input {
    flex: 1;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

.nieuwsbrief-form input[type="email"] {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box;
}

.nieuwsbrief-form .knop {
    margin: 10px 0 0 0;
    width: auto;
}

.recensies-rij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2rem;
    text-align: left;
}

.recensies-rij .recensie-kaart:nth-child(n + 7) {
    display: none;
}

.recensies-rij.alles-zichtbaar .recensie-kaart:nth-child(n + 7) {
    display: flex;
}

.recensie-kaart {
    background: var(--primaire-kleur);
    border: 1px solid var(--secundaire-kleur);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}

.recensie-kaart:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.recensie-kaart__sterren {
    font-size: 1.15rem;
    color: var(--secundaire-kleur);
    letter-spacing: 1px;
}

.recensie-kaart__tekst {
    font-family: var(--primair-lettertype);
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--donkere-tekstkleur);
    margin: 0;
    flex: 1;
    font-style: italic;
}

.recensie-kaart__voet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed var(--secundaire-kleur);
    flex-wrap: wrap;
    gap: 4px;
}

.recensie-kaart__auteur {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accentkleur);
}

.recensie-kaart__datum {
    font-size: 0.82rem;
    color: #aaa;
}

#recensies {
    padding-bottom: 3rem;
}

.nav-links--mobiel {
    display: none;
}

header .cta-knop {
    background: var(--accentkleur);
    color: white;
}

header .cta-knop:hover {
    background: var(--secundaire-kleur);
    color: white;
}

@media (max-width: 600px) {
    .recensies-rij {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    header {
        grid-template-columns: 1fr auto;
        height: 72px;
        padding: 0 1.2rem;
    }

    .nav-links--links,
    .nav-links--rechts {
        display: none !important;
    }

    .nav-links--mobiel {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100% !important;
        height: 100vh;
        background-color: var(--primaire-kleur);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease;
        z-index: 9999;
        overflow-y: auto; /* Zorgt dat je kunt scrollen in het menu als het scherm klein is */
        padding: 2rem 0;
    }

    .nav-links--mobiel.active {
        left: 0;
    }

    .nav-links--mobiel ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-links--mobiel li {
        opacity: 1; /* Schakel animatie-delay issues uit op mobiel */
        animation: none;
        width: 100%;
    }

    nav li a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
        z-index: 1002;
    }

    .sluit-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--donkere-tekstkleur);
        font-size: 2.5rem;
        cursor: pointer;
        line-height: 1;
        padding: 10px;
        z-index: 1003;
    }

    .cta-knop {
        margin: 1rem auto;
        display: inline-block !important;
        width: auto !important;
    }

    .logo {
        justify-content: flex-start;
    }

    #logo {
        height: 45px;
    }

    section h2 {
        font-size: 2rem;
    }
    section[id] {
        scroll-margin-top: 80px;
    }
    .contact-form input,
    .contact-form textarea {
        width: 80%;
    }
    .reservatieformulier,
    .wijzig-reservatieformulier {
        padding: 20px;
    }
    .gerecht-item {
        padding: 10px 5px;
        margin-left: 0;
        gap: 10px;
    }
    .gerecht-header,
    .gerecht-beschrijving,
    .variant-regel {
        padding: 0.5rem;
    }
    .gerecht-header strong {
        font-size: 1rem;
    }
    .winkelmand-sectie {
        flex: 1 0 100%;
    }
    .opties-twee-kolommen {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .gerecht-aantal {
        width: 60px;
    }
    .venster-event-foto-wrap {
        flex: 1 1 100%;
        width: 100%;
        height: auto;
    }
    .venster-event-img {
        height: auto;
        min-height: 250px;
    }
    .reservatieformulier input,
    .reservatieformulier select,
    .reservatieformulier textarea {
        font-size: 16px;
    }
    footer {
        font-size: 0.7rem;
    }

    .hamburger-menu {
        display: block;
        position: relative;
    }

    nav {
        position: fixed;
        margin-left: 0;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 90% !important;
        max-width: 300px;
        background-color: var(--primaire-kleur);
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        align-items: flex-start;
        padding-top: 100px;
        transition: left 0.5s ease-in-out;
        z-index: 1001;
        transform: none;
    }

    nav.active {
        left: 0;
    }

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

    nav li a {
        padding: 1rem 2rem;
        width: 100%;
    }

    .sluit-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--donkere-tekstkleur);
        font-size: 2rem;
        cursor: pointer;
        line-height: 1;
        padding: 10px;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .hero-inhoud h2 {
        font-size: 2.5rem;
    }

    .hero-inhoud p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    section[id] {
        scroll-margin-top: 80px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 80%;
    }

    .reservatieformulier,
    .wijzig-reservatieformulier {
        padding: 20px;
    }

    .gerecht-item {
        padding: 10px 5px;
        margin-left: 0;
    }

    .gerecht-header,
    .gerecht-beschrijving,
    .variant-regel {
        padding: 0.5rem;
    }

    .gerecht-header strong {
        font-size: 1rem;
    }

    .winkelmand-sectie {
        flex: 1 0 100%;
    }

    .opties-twee-kolommen {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gerecht-item {
        gap: 10px;
    }

    .gerecht-aantal {
        width: 60px;
    }

    .venster-event-foto-wrap {
        flex: 1 1 100%;
        width: 100%;
        height: auto;
    }

    .venster-event-img {
        height: auto;
        min-height: 250px;
    }

    .reservatieformulier input,
    .reservatieformulier select,
    .reservatieformulier textarea {
        font-size: 16px;
    }

    footer {
        font-size: 0.7rem;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    header {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        height: auto;
        padding: 0.75rem 1.5rem 0;
    }

    .logo {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: center;
        padding-bottom: 0.5rem;
    }

    .nav-links--links {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-end;
    }

    .nav-links--rechts {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }

    nav li a {
        font-size: 0.65rem;
        padding: 0.4rem 0.6rem;
    }

    .nav-links--rechts .cta-knop {
        padding: 0.4rem 0.9rem;
        font-size: 0.65rem;
    }

    .nav-links--links,
    .nav-links--rechts {
        border-top: 1px solid rgba(184, 115, 51, 0.15);
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .hamburger-menu {
        display: none !important;
    }
}
