/* --- CSS Variabelen --- */
:root {
    --primary-color: #ffb703;
    --secondary-color: #3d2b24;
    --background-color: #211a16;
    --text-color: #fdfcdc;
    --card-background: linear-gradient(145deg, rgba(61, 43, 36, 0.7), rgba(43, 33, 24, 0.8));
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    --border-radius: 15px;
}

/* --- Globale Stijlen & Custom Cursor --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    /* Custom cursor: verberg standaard cursor */
    cursor: none;
}

body.no-scroll {
    overflow: hidden;
}

/* De aangepaste cursor elementen */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}

.cursor-dot {
    width: 100px;
    height: 100px;
    background-image: url('img/spatel.png');
    /* Veronderstelde naam/pad van uw spatel-afbeelding */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border-radius: 0;
}

.cursor-outline {
    /* AANGEPAST: De ring verbergen */
    display: none;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    margin-top: 4rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a,
button {
    /* Custom cursor: verberg standaard cursor op klikbare elementen */
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: white;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 10;
}

.text-center {
    text-align: center;
}

#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: var(--primary-color);
    width: 0%;
    z-index: 9998;
    transition: width 0.05s linear;
}

/* --- Hero Sectie --- */
.hero {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(rgba(29, 24, 21, 0.3), rgba(29, 24, 21, 0.2)), url('img/homepageFotoOverlay.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    color: white;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    z-index: 2;
}

.hero-logo {
    max-width: 320px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 183, 3, 0.5));
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.8rem, 7vw, 5rem);
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navbar.scrolled {
    background-color: rgba(33, 26, 22, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0 !important;
}

.nav-logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 700;
    color: white;
    padding-bottom: 0.5rem;
    position: relative;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.hamburger {
    display: none;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* --- Knoppen --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: -1;
}

.btn-primary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover span {
    color: var(--secondary-color);
}

/* --- Algemene Sectie & Card Stijlen --- */
section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.content-card {
    background: var(--card-background);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.about-image.content-card {
    padding: 0;
}

.content-card img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
}

.content-card:hover img {
    transform: scale(1.05);
}

.about-section {
    padding-bottom: 8rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding-left: 0;
}

/* --- Promise Sectie --- */
.promise-section {
    background: var(--secondary-color);
}

.promise-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.promise-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background 0.3s ease;
}

.promise-card:hover {
    transform: translateY(-15px);
    background: var(--card-background);
}

.promise-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.promise-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* --- Menu Sectie --- */
.menu-section {
    background-color: var(--background-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.menu-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.menu-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img {
    transform: scale(1.1);
}

.menu-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.menu-card-title {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.menu-card-price {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.menu-card-allergens {
    font-size: 0.85rem; 
    color: #555;
    margin-top: 0.5rem; 
}

/* --- Galerij Sectie --- */
.gallery-section {
    background-color: var(--secondary-color);
    padding: 7rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* --- Tips Sectie --- */
.tips-section {
    background-color: var(--background-color);
}

.tips-content {
    display: flex; 
    gap: 30px; 
    margin-top: 50px;
    flex-wrap: wrap;
}

.tip-card {
    flex: 1; 
    min-width: 100px; 
    padding: 15px;
    border-radius: 10px;
}

.tip-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid #ccc; 
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.tips-content h3:first-of-type {
    margin-top: 0;
}

.tips-content p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* --- FAQ Sectie --- */
.faq-section {
    background-color: var(--secondary-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.active .faq-question i {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #ccc;
}

/* --- CTA Sectie --- */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(rgba(29, 24, 21, 0.8), rgba(29, 24, 21, 0.9)), url('img/achtergrond.jpg') center/cover fixed;
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: white;
}

.cta-subtitle {
    font-size: 1.4rem;
    margin: 1rem 0 2.5rem;
    opacity: 0.9;
}

/* --- Visit & Contact Sectie --- */
.visit-section {
    background-color: var(--background-color);
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    margin-right: 1rem;
}

#open-status-message .status {
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
}

#open-status-message .status.open {
    color: #9ef01a;
    background-color: rgba(158, 240, 26, 0.1);
}

#open-status-message .status.closed {
    color: #f94144;
    background-color: rgba(249, 65, 68, 0.1);
}

.hours-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-table tr.today {
    background-color: rgba(255, 183, 3, 0.1);
    color: var(--primary-color);
    font-weight: 700;
}

.opening-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 1.5rem;
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background-color: #110d0b;
    padding: 5rem 0 2rem;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    padding-left: 5px;
    color: white;
}

.social-links a {
    color: #aaa;
    font-size: 1.5rem;
    margin-right: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2) translateY(-3px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Wave Dividers --- */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider.wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.wave-divider.wave-bottom {
    bottom: -1px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: scaleY(-1);
}

.wave-divider .shape-fill {
    fill: var(--background-color);
}

#menu .wave-divider.wave-top .shape-fill {
    fill: var(--secondary-color);
}

#faq .wave-divider.wave-top .shape-fill {
    fill: var(--tips-section-bg, var(--background-color));
}

#menu .wave-divider.wave-bottom .shape-fill {
    fill: var(--gallery-section-bg, var(--secondary-color));
}

#faq .wave-divider.wave-bottom .shape-fill {
    fill: var(--cta-section-bg, var(--background-color));
}

/* --- Animaties & Responsive Media Queries --- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobiele optimalisatie */
@media (max-width: 992px) {
    section {
        padding: 5rem 0;
    }

    .about-container,
    .visit-container,
    .promise-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .about-text {
        text-align: center;
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-row: auto;
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    /* Zorgt ervoor dat de aangepaste spatel-cursor verdwijnt op mobiele apparaten */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    /* Hero foto beter zichtbaar maken op mobiel */
    .hero {
        background-image: linear-gradient(rgba(29, 24, 21, 0.1), rgba(29, 24, 21, 0.3)), url('img/homepageFotoOverlay.png');
        background-attachment: scroll;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(33, 26, 22, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s cubic-bezier(0.7, 0, 0.3, 1);
        justify-content: center;
        gap: 1rem;
    }

    .tips-content {
        flex-direction: column;
        gap: 15px; 
    }

    .tip-card {
        min-width: 100%; 
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        text-align: center;
    }

    .slider-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .slider-dots {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .promise-container {
        gap: 1rem;
    }

    .promise-card {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .footer-container {
        gap: 2rem;
    }
}