@import url("https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&family=Scope+One&display=swap");

:root {
    --primaire-kleur: #bdab68;
    --secundaire-kleur: #f2f2f2;
    --secundaire-kleur-transparant: rgba(242, 242, 242, 0.8);
    --achtergrondkleur: #fafafa;
    --donkere-tekstkleur: #0a0a0a;
    --accentkleur: #b89a69;
    --feestdag-kleur: red;
    --primair-lettertype: "Commissioner", sans-serif;
    --secundair-lettertype: "Scope One", serif;
}

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

html,
body {
    height: 100%;
}

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(--secundaire-kleur-transparant);
    color: var(--donkere-tekstkleur);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body.startpagina header {
    background: var(--secundaire-kleur);
}

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

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

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: auto;
    margin-left: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-right: auto;
}

nav li a {
    color: var(--donkere-tekstkleur);
    padding: 1rem;
    text-decoration: none;
    display: block;
    font-family: var(--secundair-lettertype);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav li a:hover,
#feestdag-titel:hover {
    color: var(--primaire-kleur);
}

.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(--primaire-kleur);
    text-decoration: none;
}

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

.logo {
    line-height: 1;
}

#logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 20px;
}

.hero-sectie {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dias {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-inhoud {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-inhoud h2 {
    margin: 0 0 2rem;
}

.hero-inhoud .cta-knop {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSmooth 1s ease forwards;
    animation-delay: 1s;
}

.cta-knop {
    background-color: var(--primaire-kleur);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.cta-knop:hover {
    background-color: var(--accentkleur);
    color: #fff;
}

#hero-tekst {
    font-size: 1.5rem;
}

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

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

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

section {
    padding: 100px 0;
    text-align: center;
}

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

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

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

.openingsinfo,
.reservatieformulier,
.wijzig-reservatieformulier {
    opacity: 0;
    transform: translateY(16px);
    animation: toonFormulier 2s ease forwards;
    animation-delay: 1s;
}

@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(--accentkleur);
}

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

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

.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(--accentkleur);
    color: var(--donkere-tekstkleur);
    border-radius: 5px;
    font-size: 1rem;
}

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

.reservatieformulier,
.wijzig-reservatieformulier {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--secundaire-kleur);
    padding: 40px;
    border-radius: 8px;
}

.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(--secundaire-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(--primaire-kleur);
    color: var(--secundaire-kleur);
    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(--accentkleur);
}

button.knop {
    font-family: inherit;
    line-height: normal;
    background: var(--primaire-kleur);
    color: 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(--primaire-kleur);
    color: var(--secundaire-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(--accentkleur);
}

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

footer {
    background: var(--accentkleur);
    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(--primaire-kleur);
    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(--secundaire-kleur);
    border: 1px solid var(--accentkleur);
    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;
}

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

.kalender-raster .dag-geselecteerd {
    background-color: var(--primaire-kleur) !important;
    color: var(--secundaire-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(--primaire-kleur);
    color: var(--secundaire-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(--primaire-kleur);
    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(--accentkleur);
    color: var(--secundaire-kleur);
}

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

.kalender-raster .dag.geselecteerd {
    background-color: var(--primaire-kleur);
    color: var(--secundaire-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(20px);
}

.menu-sectie h2,
.menu-sectie p {
    transform: none;
    opacity: 1;
}

.categorie-omschrijving {
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 1rem;
}

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

.opvulfoto {
    margin: 2rem 0 0 0;
    max-height: 300px;
    animation: fadeInUpSmooth 1.2s ease forwards;
    animation-delay: 0.8s;
}

.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-item {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1rem 5rem;
    margin: 0 auto 0.5rem auto;
    list-style: none;
}

.gerecht-naam {
    text-align: left;
    width: 100%;
}

.gerecht-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    padding: 0 5rem;
}

.gerecht-prijs {
    font-size: 1rem;
    color: var(--primaire-kleur);
    margin-left: 20px;
    flex-shrink: 0;
}

.gerecht-beschrijving {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #aaa;
    text-align: left;
    padding: 0 5rem;
}

/* Jouw extra regels voor de varianten */
.variant-regel {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.9rem;
    color: #888;
    margin-top: 2px;
    padding: 0 5rem;
}

.variant-naam {
    text-align: left;
}

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

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

.bestel-form {
    max-width: 600px;
    margin: 0 auto;
}

.afhaal-intro {
    margin-bottom: 1rem;
}

.afhaal-intro p {
    text-align: center;
}

.afhaal-categorie {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primaire-kleur);
    margin: 1rem;
}

.afhaal-prijs {
    font-style: italic;
    color: #aaa;
}

#afhaal-tijd {
    width: 50%;
    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;
    display: block;
    margin: 0 auto 1rem;
}

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

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

section h2 {
    animation: fadeInUpSmooth 1s ease forwards;
    animation-delay: 0.3s;
}

section h3:not(.geen-animatie),
section p,
section svg,
section form {
    animation: fadeInUpSmooth 1.2s ease forwards;
    animation-delay: 0.8s;
}

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

.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(--secundaire-kleur-transparant);
    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 .verwijder-knop {
    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);
}

@media (max-width: 1000px) {
    .hamburger-menu {
        display: block;
        position: relative;
    }

    .cta-knop {
        background-color: var(--primaire-kleur);
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        border-radius: 8px;
        text-align: center;
        margin: 2rem auto 0 auto;
        width: 50%;
    }

    nav {
        position: fixed;
        margin-left: 0;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 90% !important;
        max-width: 300px;
        background-color: var(--secundaire-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;
    }

    .winkelmandje-float {
        top: 25px;
        right: 57px;
    }

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

    footer {
        font-size: 0.7rem;
    }
}
