/* --- General & Base Styles --- */
html {
  overflow-x: hidden;
  width: 100vw;
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

main {
  flex: 1;
}

header {
    background: none;
    color: inherit;
    padding: 0;
    text-align: inherit;
}

p {
    margin: 0 0 0.2em 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

h1 {
    margin: 2px 0 6px;
    font-weight: 600;
    font-size: 2rem;
    color: #2c3e50;
    padding-left: 2%;
    padding-bottom: 10px;
    border-bottom: 5px solid RGB(44, 62, 80);
    margin-bottom: 50px;
}

h2 {
    display: block;
    font-size: 1.4em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #2c3e50;
}

h3 {
    display: block;
    font-size: 1.40em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.styled-list li {
    position: relative;
    padding-left: 20px; /* Ruimte voor de bullet */
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
    line-height: 1.4;
}

.styled-list li::before {
    content: '•'; /* Bullet character */
    position: absolute;
    left: 0;
    top: 0;
    color: #2c3e50; /* Kleur van de bullet */
    font-weight: bold;
    font-size: 1.2em; /* Grootte van de bullet */
}

/* --- Reusable Layout Components --- */
.page-container, .fw-container, .hapjes-container, .catering-container, .hors-doeuvre-container, .walking-dinner-container, .buffetten-container, .cat-container, .contact-container {
    width: 90%;
    max-width: 1440px;
    margin: 2rem auto;
    background: rgba(255,255,255,0.65);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    backdrop-filter: blur(4px);
    padding: 20px;
    box-sizing: border-box;
}

.page-intro, .fw-top, .hapjes-top, .catering-top, .hors-doeuvre-top, .walking-dinner-top, .buffetten-top, .cat-top, .contact-intro {
    width: 100%;
    margin: 0 auto 20px auto;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 20px;
    box-sizing: border-box;
}

.content-grid, .fw-bottom, .hapjes-bottom, .catering-bottom, .wd-columns, .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.content-box, .fw-col, .hapjes-col, .catering-col, .wd-box, .contact-box, .hors-doeuvre-bottom {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 20px;
    box-sizing: border-box;
}

/* --- Navbar --- */
.navbar {
    width: 90%;
    max-width: 1440px;
    margin: 2rem auto 0 auto;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    z-index: 100;
    box-sizing: border-box;
}
.navbar-logo img { height: 48px; vertical-align: middle; }
.navbar-links { list-style: none; display: flex; gap: 0.9rem; margin: 0; padding: 0; }
.navbar-links li { display: flex; align-items: center; position: relative; }
.navbar-links a { text-decoration: none; color: #222; font-size: 1.1rem; font-weight: 500; padding: 0.5rem 0.8rem; border-radius: 6px; transition: background 0.2s, color 0.2s; display: flex; align-items: center; }
.navbar-links a:hover { background: #e0e7ff; color: #2c3e50; }
.navbar-links a.active { color: #2c3e50; font-weight: bold; }
.navbar-dropdown { position: relative; }
.navbar-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu { display: none; position: absolute; left: 0; top: 100%; background: #f8f8f8; box-shadow: 0 2px 8px rgba(0,0,0,0.10); border-radius: 8px; min-width: 220px; z-index: 100; padding: 0.5rem 0; }
.dropdown-menu li { list-style: none; padding: 0.5rem 1.5rem; }
.dropdown-menu li a { color: #222; text-decoration: none; display: block; font-size: 1rem; }
.dropdown-menu li a:hover { background: #e0e7ff; color: #1a237e; border-radius: 4px; }
.dropdown-caret { margin-left: 0.5em; font-size: 1.2em; transition: transform 0.2s; display: inline-block; user-select: none; }
.navbar-dropdown.open .dropdown-caret { transform: rotate(90deg); }
.hamburger { display: none; flex-direction: column; justify-content: center; width: 36px; height: 36px; cursor: pointer; z-index: 200; }
.hamburger span { height: 4px; width: 100%; background: #2c3e50; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* --- Footer --- */
.footer { width: 100%; max-width: none; margin: 2rem auto 0 auto; background: rgba(255,255,255,0.85); box-shadow: 0 4px 24px rgba(0,0,0,0.12); padding: 0.5rem 5% 0.2rem 5%; z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; box-sizing: border-box; padding-bottom: 2.5rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; width: 100%; flex-wrap: wrap; }
.footer-logo img { height: 60px; vertical-align: middle; }
.footer-info { display: flex; flex-direction: row; gap: 2.5rem; }
.footer-contact { color: #2c3e50; font-size: 1.05rem; line-height: 1.4; text-align: left; }
.footer-copy { color: #2c3e50; font-size: 1rem; text-align: left; width: 100%; margin-top: -1.8rem; margin-bottom: 0.2rem; margin-left: 225px; }
.footer-copy-mobile { display: none; }
.footer-copy-desktop { display: inline; }

/* --- Homepage Specific --- */
.carousel-box { width: 90%; max-width: 1440px; margin: 2rem auto 0 auto; background: rgba(255,255,255,0.65); border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.18); backdrop-filter: blur(4px); display: flex; gap: 20px; padding: 20px; box-sizing: border-box; }
.carousel-container { width: 77%; position: relative; }
.carousel { width: 100%; height: 460px; overflow: hidden; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.18); position: relative; }
.carousel-images { width: 100%; height: 100%; position: relative; }
.carousel-item { display: none; position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.carousel-item.active { display: block; }
.carousel img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.info-box { position: absolute; top: 75%; left: 0; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.7); padding: 15px 25px; border-radius: 0 8px 8px 0; max-width: 40%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); z-index: 1; border-right: 5px solid #2c3e50; }
.carousel-controls { display: flex; justify-content: center; position: absolute; bottom: 10px; width: 100%; z-index: 2; }
.carousel-dot { height: 12px; width: 12px; margin: 0 5px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; display: inline-block; cursor: pointer; transition: background-color 0.3s ease; }
.carousel-dot.active { background-color: #fff; }
.extra-text-box { background: rgba(255, 255, 255, 0.9); border-radius: 12px; padding: 1.2rem 1rem; display: flex; flex-direction: column; }
.extra-text-box h2 { margin-top: 0; font-size: 2rem; color: #2c3e50; font-weight: 400; border-bottom: 2px solid #2c3e50; padding-bottom: 0.5rem; margin-bottom: 1rem; }
.extra-text-box p { margin: 0.5rem 10px; color: #444; font-size: 1.15rem; line-height: 0.75; }
.categories-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; width: 90%; max-width: 1440px; margin: 2rem auto; }
.category { display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255, 255, 255, 0.9); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.10); padding: 20px; transition: box-shadow 0.2s; }
.category:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.category-img { width: 100%; margin-bottom: 0.5rem; }
.category img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; }
.category-text { flex-grow: 1; padding-top: 20px; }

/* --- Party Catering Specific --- */
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; width: 90%; max-width: 1440px; margin: 2rem auto; }
.category_catering { display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255, 255, 255, 0.9); border-radius: 12px; padding: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.category_catering .category-img { width: 100%; max-width: 360px; margin-bottom: 12px; }
.category_catering .category-img img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }
.category_catering h3 { margin: 10px 0 8px; font-size: 1.15rem; color:#163353; }
.category_catering .category-text { flex-grow: 1; }

/* --- Menukaart Specific --- */
#menu-root { width: 90%; max-width: 1440px; margin: 2rem auto; font-size: 0.85rem; box-sizing: border-box; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.menu-title { grid-column: 1 / -1; margin: 0 0 8px 0; }
.menu-category { background: rgba(255,255,255,0.9); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); padding: 8px; display: flex; flex-direction: column; }
.menu-category h2 { margin: 2px 0 6px; font-weight: 600; font-size: 1.5rem; color: #2c3e50; border-bottom: 1px solid #e9eef5; padding-bottom: 3px; }
.menu-item { padding: 3px 0; border-top: 1px solid #eee; }
.menu-item:first-of-type { border-top: 0; }
.menu-item-header { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 2px; }
.menu-item h3 { margin: 0; font-size: 0.95rem !important; flex: 1; }
.menu-item-price { color: #1a237e; font-weight: 600; margin-left: 6px; white-space: nowrap; font-size: 0.75rem; }
.menu-item .muted { color: #666; margin: 0 0 2px; font-size: 0.7rem; }
.menu-item .variants { list-style: none; padding: 0; margin: 0; }
.menu-item .variants li { padding: 0; display:flex; justify-content:space-between; gap:6px; font-size: 0.75rem; }
.menu-item .variants li .label { color:#333; }
.menu-item .variants li .price { color:#1a237e; font-weight:600; }

/* --- Openingstijden Widget --- */
.openingstijden { font-family: 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.6; }
.openingstijden .regel { display: flex; justify-content: space-between; padding: 4px 0; }
.openingstijden .dag { min-width: 80px; font-weight: 500; color: #2c3e50; }
.openingstijden .tijd { color: #555; text-align: left; }
.openingstijden .gesloten { color: #d32f2f !important; font-weight: bold; }
.openingstijden .vandaag { background-color: #f9f9f9; padding-left: 8px; border-radius: 4px; }
.openingstijden .open-nu { border-left: 4px solid #0a7d18; }
.openingstijden .gesloten-nu { border-left: 4px solid #d32f2f; }

/* --- Contact Pagina --- */
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
.contact-form .form-button { background: #2c3e50; color: white; padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-size: 1.1rem; }
.contact-success { color: #0a7d18; background: #e8f5e9; padding: 1rem; border-radius: 6px; margin-bottom: 1rem; }
.contact-error { color: #d32f2f; background: #ffebee; padding: 1rem; border-radius: 6px; margin-bottom: 1rem; }

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
/* --- Desktop First: Larger Screens --- */
/* --- Hamburger menu tonen vanaf 1024px en lager --- */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 5%;
    width: 90%;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    padding: 1rem 0;
    gap: 0;
    z-index: 90;
  }
  .navbar-links.active {
    display: flex;
  }
  .navbar-links li {
    width: 100%;
    text-align: left;
    display: block;
  }
  .navbar-links a, .navbar-dropdown > a {
    padding: 0.8rem 1rem;
    width: 90%;
    margin: 0 auto;
    display: block;
  }
  .navbar-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .dropdown-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: rgba(230,230,230,0.9);
    padding: 0 0 0 5px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .navbar-dropdown.open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }
  .dropdown-menu li a {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
  .dropdown-caret {
    font-size: 1.6rem;
    padding: 1rem;
  }
}
/* --- Desktop breed: vanaf 1201px --- */
@media (min-width: 1201px) {
  html { overflow-y: scroll; }
  /* Desktop-specifieke stijlen hier */
}

/* --- Grote tablets & kleine desktops: 1025px – 1200px --- */
@media (min-width: 1025px) and (max-width: 1200px) {
  .menu-grid { display: block !important; }
  .footer-copy-mobile { display: inline; }
  .footer-copy-desktop { display: none; }
  body { background-attachment: fixed; }
  /* openingstijden styles... */
}

/* --- Tablets portrait & iPads: 901px – 1024px --- */
@media (min-width: 901px) and (max-width: 1024px) {
  .page-container,
  .carousel-box,
  .categories-home,
  .fw-container,
  .hapjes-container,
  .catering-container,
  .hors-doeuvre-container,
  .cat-container,
  .menu-grid,
  #menu-root,
  .categories,
  .contact-container,
  .walking-dinner-container,
  .buffetten-container {
    width: 95%;
    max-width: 100%;
    margin: 0;
    margin-left: 2.5%;
    padding-top: 15px;
    border-radius: 0;
  }
  .navbar { width: 90%; margin: 1rem auto; }
  .footer { width: 100%; margin: 0; border-radius: 0; padding-bottom: 3.5rem; }
  .footer-copy-mobile { 
    display: inline; 
    padding-left: 0px;
    text-align: left;
  }
  .footer-copy-desktop { display: none; }
  /* overige tablet styles... */
}

/* --- Mobiel landscape & kleine tablets: 701px – 900px --- */
@media (min-width: 701px) and (max-width: 900px) {
  .carousel-box { flex-direction: column; }
  .carousel-container { width: 100%; }
  .carousel { height: 280px; }
  .extra-text-box { padding: 1.5rem; }
  .extra-text-box h2 { font-size: 1.7rem; }
  .extra-text-box p { font-size: 1rem; }

  .navbar,
  .carousel-box,
  .categories,
  .categories-home,
  .fw-container,
  .hapjes-container,
  .catering-container,
  .hors-doeuvre-container,
  .buffetten-container,
  .cat-container,
  .menu-grid,
  #menu-root {
    width: 95%;
    margin-left: 2.5%;
    box-sizing: border-box;
  }
  .menu-grid {
    display: block !important;
  }
  .menu-category {
    width: 100%;
    margin-bottom: 10px;
  }
  .footer-copy-mobile { 
    display: inline; 
    padding-left: 12px;
    text-align: left;
  }
  .footer-copy-desktop { display: none; }
  .footer {
    padding-bottom: 3.5rem; /* extra ruimte op kleine tablets */
  }
}

/* --- Mobiel portrait (iPhone 14 inbegrepen): 390px – 700px --- */
@media (min-width: 390px) and (max-width: 700px) {
  .navbar,
  .carousel-box {
        flex-direction: column;
    }
  .categories,
  .categories-home,
  .fw-container,
  .hapjes-container,
  .catering-container,
  .hors-doeuvre-container,
  .buffetten-container,
  .cat-container,
  .menu-grid,
  #menu-root {
    width: 95%;
    margin-left: 2.5%;
    box-sizing: border-box;
  }

  .page-intro,
  .fw-top,
  .hapjes-top,
  .catering-top,
  .hors-doeuvre-top,
  .walking-dinner-top,
  .buffetten-top,
  .cat-top,
  .contact-intro {
    width: 100%;
    margin: 0 auto 20px auto;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 20px;
    box-sizing: border-box;
  }

  .carousel-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: -2.5vw;
    margin-right: -2.5vw;
    padding: 0;
  }
  .carousel {
    width: 80vw;
    max-width: 100vw;
    height: 260px;
    border-radius: 0;
    margin: 0;
    margin-left: 20px;
  }

  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    padding: 0.5rem 1rem;
  }
  .navbar-logo {
    order: 1;
    margin-right: auto;
    display: flex;
    align-items: center;
  }
  .hamburger {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .menu-grid {
    display: block !important;
  }
  .menu-category {
    width: 90%;
    margin-bottom: 10px;
  }
  .footer-copy-mobile { 
    display: inline; 
    padding-left: 12px;
    text-align: left;
  }
  .footer-copy-desktop { display: none; }
  .footer-copy-mobile { 
    display: inline; 
    padding-left: 0px;
    text-align: left;
  }
}

/* --- Extra klein: onder 390px --- */
@media (max-width: 389px) {
  /* Eventuele aanpassingen voor oudere of kleinere toestellen */
}