/* Globale Stijlen & Variabelen */
:root {
    --primary-color: #8D5B4C; /* Rijkere koffiekleur */
    --secondary-color: #A5A58D; /* Salie-groen/grijs */
    --background-color: #fdfcf9; /* Zacht wit/creme */
    --text-color: #3d405b; /* Donkergrijs/blauw */
    --white-color: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--white-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

header .logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    margin-left: 30px;
    position: relative;
    padding-bottom: 5px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Hero Sectie */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1495474472287-4d713b20e5e3?auto=format&fit=crop&q=80&w=1740');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Galerij Sectie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Menu Sectie */
.menu-category-title {
    font-size: 2.2rem;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}
.menu-category-title:first-of-type {
    margin-top: 0;
}

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

.menu-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-body h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.menu-card-body p {
    margin-bottom: 20px;
    flex-grow: 1;
}
.menu-card-body .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
}

/* Over Ons Sectie */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.about-text {
    flex: 1.2;
}
.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* Contact Sectie */
#contact h2 {
    margin-bottom: 60px;
}
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.contact-block i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.contact-block h3 {
    margin-bottom: 10px;
}
.contact-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.contact-block a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: #a9a9a9;
    text-align: center;
    padding: 40px 0;
}
footer .social-links a {
    color: var(--white-color);
    font-size: 1.3rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}
footer .social-links a:hover {
    color: var(--primary-color);
}
footer p {
    margin-top: 20px;
    font-size: 0.9rem;
}
footer p a {
    color: var(--white-color);
    text-decoration: none;
}
footer p a:hover {
    text-decoration: underline;
}

/* --- Stijlen voor Fade-in Animatie --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsiviteit & Mobiele Aanpassingen --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-nav-toggle {
    display: none;
}

@media (max-width: 800px) {
    h2 {
        font-size: 2.5rem;
    }
    section {
        padding: 60px 0;
    }
    header nav ul {
        display: none;
    }
    #primary-navigation {
        position: fixed;
        inset: 0 0 0 35%;
        background: rgba(253, 252, 249, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 999;
        overflow-y: auto; /* Zorgt voor een scrollbar indien nodig */
    }
    #primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }
    #primary-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        margin: 0;
    }
    header nav ul li a {
        font-size: 1.2rem;
        margin-left: 0;
    }

    /* --- NIEUWE, VERBETERDE HAMBURGER ICON STIJL --- */
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 1001;
        top: 1.5rem;
        right: 1.5rem;
        width: 2rem;
        aspect-ratio: 1;
        background: transparent;
        border: 0;
        padding: 0.5em;
        cursor: pointer;
    }

    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        left: 0.5rem;
        right: 0.5rem;
        height: 2px;
        background: var(--primary-color);
        transition: transform 350ms ease;
    }

    .mobile-nav-toggle::before {
        transform: translateY(-6px);
    }
    .mobile-nav-toggle::after {
        transform: translateY(6px);
    }

    .mobile-nav-toggle[aria-expanded="true"]::before {
        transform: rotate(45deg);
    }
    .mobile-nav-toggle[aria-expanded="true"]::after {
        transform: rotate(-45deg);
    }

    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .about-text h2 {
        text-align: center;
    }
    .hero {
        height: 80vh;
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
}