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

body {
  font-family: Arial, sans-serif;
  background-color: #fffdf9;
  color: #333;
}

.hidden {
  display: none;
}

a{
    text-decoration: none;
}

.admin-settings {
  position: fixed;       /* blijft zweven bij scrollen */
  bottom: 20px;          /* afstand van onderkant */
  right: 20px;           /* afstand van rechterkant */
  background: #fff;
  border: 2px solid #5b2b82;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 9999;
  transition: background 0.3s ease, transform 0.2s ease;
}

.admin-settings a {
  text-decoration: none;
  font-size: 24px;
  color: #5b2b82;
}

.admin-settings:hover {
  background: #f2ebf9;
  transform: scale(1.1);
}

/* ---------- HEADER ---------- */
.topbar {
  background-color: #B57ACC;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.navbar {
  background-color: #8E4FB0;
  color: white;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 15px;
}

.nav-left .insta {
  font-weight: bold;
  font-size: 14px;
}

.nav-center {
  display: flex;
  align-items: center;
}

.nav-center a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0 12px;
  font-size: 15px;
}

.nav-center a:hover {
  text-decoration: underline;
}

.nav-right {
  margin-left: auto;
}

#winkelmand-knop {
  background: #a573c3;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#winkelmand-knop:hover {
  background: #9e60b8;
}

.insta {
  display: flex;
  align-items: center; /* verticaal centreren */
  gap: 6px; /* ruimte tussen icoon en tekst */
}

.insta img {
  width: 20px; /* pas aan naar gewenste grootte */
  height: auto;
}

.insta span,
.insta {
  font-weight: bold;
  color: white; /* zelfde als de rest van je header */
}

/* ---------- WINKELMAND POPUP ---------- */
#winkelmand-popup {
  position: absolute;
  right: 10px;
  top: 60px;
  background: white;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
  min-width: 280px;
}

#winkelmand-popup.visible {
  display: block;
  opacity: 1;
}

#mandje-items {
  margin-bottom: 10px;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  padding: 10px 0;
}

.mandje-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
}

.mandje-item span {
  flex: 1;
  font-size: 14px;
}

.mandje-item button {
  margin-left: 4px;
}

.mandje-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed #eee;
  padding: 6px 0;
  gap: 10px;
}

.mandje-item > div:first-child {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.mandje-item strong {
  display: block;
  font-size: 15px;
  color: #8e4fb0;
  margin-bottom: 2px;
}

.mandje-item small {
  font-size: 12px;
  color: #666;
}

.mandje-item .extras {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.mandje-item .aantallen {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mandje-item .aantallen button {
  background: #f0f0f0;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.mandje-item .aantallen span {
  min-width: 20px;
  text-align: center;
}

.mandje-item small {
  font-size: 12px;
  color: #555;
}

.mandje-item .subtotaal {
  font-weight: bold;
  color: #000;
}

.mandje-lijst {
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fdfdfd;
  padding: 15px;
}

.mandje-lijst .mandje-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.mandje-lijst .mandje-item:last-child {
  border-bottom: none;
}

.mandje-totaal {
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
  color: #333;
}

/* 📤 Knop */
.btn-verzend {
  padding: 14px;
  background-color: #f38e00;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}

.btn-verzend,
.btn-leeg,
#sluit-mandje {
  background-color: #9b4caf;
  color: white;
  border: none;
  padding: 8px 14px;
  margin: 4px 2px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-verzend {
  background-color: #9b4caf !important;
  color: white !important;
  font-weight: normal;
  border-radius: 6px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
}

.btn-verzend:disabled,
.btn-leeg:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.divider {
  color: #DABEEB;
  font-weight: normal;
}

/* --- HERO FOTO + LOGO SECTIE --- */
.hero-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.hero-image .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 160px;
  height: auto;
  border-radius: 50%;
  background-color: white;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ---------- FOOTER ---------- */
footer {
  background-color: #8e4fb0;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 30px;
}

.footer-left,
.footer-right {
  width: 300px;
  margin-bottom: 20px;
}

footer h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

footer ul {
  list-style: none;
}

footer li,
footer p {
  font-size: 14px;
  line-height: 1.5;
}
/* === INDEX.HTML === */
/* Hero image */
.hero-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  text-align: center;
}

.hero-logo {
  max-width: 140px;
}

/* Daily Menu */
.hero-daily {
  background-color: #f4eef9;
  padding: 40px 10px;
}

.menu-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menu-grid > div {
  width: 250px;
  margin: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
}

/* Carousel */
.carousel {
  background: #7f42aa;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn {
  background: white;
  color: #7f42aa;
  border: none;
  font-size: 20px;
  width: 30px;
  height: 30px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-slide blockquote {
  width: 300px;
  font-style: italic;
}

/* Over Soraya */
.over-sandra {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  align-items: center;
  background-color: #fff5f8;
}

.over-sandra .text {
  flex: 1 1 300px;
  padding: 10px 20px;
}

.over-sandra .image {
  flex: 1 1 300px;
  padding: 10px 20px;
  text-align: center;
}

.over-sandra img {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
}

.icon-buttons span {
  display: inline-block;
  background: #7f42aa;
  color: white;
  padding: 6px 14px;
  margin: 6px 4px;
  border-radius: 5px;
}

/* Catering Teaser */
.catering-teaser {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  background-color: #f6f6ff;
  align-items: center;
}

.catering-teaser .image,
.catering-teaser .text {
  flex: 1 1 300px;
  padding: 10px 20px;
}

.catering-teaser img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.catering-teaser ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

/* Restaurant Carousel */
.carousel.restaurant {
  background: #f0e4f7;
  padding: 40px 20px;
}

.carousel.restaurant h2 {
  margin-bottom: 20px;
    color: black;
}

.carousel.restaurant img {
  max-width: 80%;
  border-radius: 10px;
}
/* ===================== */
/*        MENU PAGINA     */
/* ===================== */

.hero-daily {
  background-color: #f4f0f8;
  padding: 40px 20px;
  text-align: center;
}

.hero-daily h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #5b2b82;
}

.hero-daily p {
  font-size: 16px;
  color: #333;
}

.menu-overzicht {
  padding: 40px 20px;
  background-color: #fff;
}

.menu-overzicht h1 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #5b2b82;
  text-align: center;
}

.menu-categorie {
  margin-bottom: 50px;
}

.menu-categorie h2 {
  font-size: 22px;
  color: #5b2b82;
  margin-bottom: 15px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.menu-items-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.menu-item {
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 16px;
  width: 260px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.menu-item:hover {
  transform: scale(1.02);
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.menu-item h3 {
  font-size: 18px;
  color: #5b2b82;
  margin-bottom: 8px;
}

.menu-item p {
  font-size: 14px;
  color: #444;
}

.menu-item .prijs {
  font-weight: bold;
  color: #111;
  margin-top: 8px;
}

/* ===== Winkelmand melding (vinkje) ===== */
#winkelmand-confirm {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #22c55e;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
#winkelmand-confirm.show {
  display: block;           /* wordt door JS gezet */
  opacity: 1;
  transform: translateY(0);
}

/* ===== Bedankt pagina ===== */
/* Alleen voor bedankt.html — zet in style.css */
body.bedankt-page .page-centered {
  min-height: 600px; /* vaste hoogte in px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
}

body.bedankt-page .card {
  background: #fff;
  width: 560px;
  max-width: 92%;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  margin: 40px auto; /* ruimte boven/onder als scherm hoger is */
}

body.bedankt-page .card h1 {
  margin: 0 0 8px 0;
  color: #22c55e;
  font-size: 28px;
}

body.bedankt-page .card p {
  margin: 8px 0 0 0;
  color: #444;
}

body.bedankt-page .badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-weight: 600;
  margin: 14px 0 10px 0;
}

body.bedankt-page .badge span {
  margin-left: 8px; /* vervanger voor gap */
}

body.bedankt-page .details {
  display: flex;
  flex-direction: column;
  margin: 14px 0 6px 0;
  color: #222;
}

body.bedankt-page .details .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
  font-variant-numeric: tabular-nums;
}

body.bedankt-page .details .row + .row {
  margin-top: 8px; /* vervanger voor gap */
}

body.bedankt-page .btn-primary {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform .08s ease, background .2s ease;
}

body.bedankt-page .btn-primary:hover {
  background: #16a34a;
}

body.bedankt-page .btn-primary:active {
  transform: translateY(1px);
}

/* --- Fix: order details zichtbaar op bedankt.html --- */
body.bedankt-page #order-details {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 20px 0 14px !important;
  position: relative;
  z-index: 1;
  color: #222 !important;
}

body.bedankt-page #order-details .row {
  display: flex !important;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

body.bedankt-page #order-details .row + .row { margin-top: 8px; }

body.bedankt-page #order-details span,
body.bedankt-page #order-details strong {
  color: #1f2937 !important;
}

/* zorg dat de knop niet erboven zweeft */
body.bedankt-page .btn-primary { position: static !important; z-index: 0; }


/* 📦 BESTELPAGINA STIJL */

.bestelpagina {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-family: Arial, sans-serif;
}

.bestelpagina h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #782c91;
  text-align: center;
}

.bestelgegevens label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
}

.bestelgegevens input,
.bestelgegevens textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
}

.bestelgegevens textarea {
  resize: vertical;
}

.bestel-items {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.bestel-totaal {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  text-align: right;
  color: #333;
}

.bestel-knop {
  background-color: #782c91;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bestel-knop:hover {
  background-color: #5a2070;
}

.bestel-bevestiging {
  background-color: #e0f5e9;
  border: 1px solid #a5d6a7;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  color: #2e7d32;
}

/* === HERO === */
.hero-catering {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.hero-catering img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-catering .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-catering .hero-logo {
  width: 140px;
  border-radius: 50%;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === BUFFETTEN SECTION === */
.buffetten {
  background-color: #fffafc;
  padding: 40px 20px;
  text-align: center;
}

.buffetten h2 {
  font-size: 32px;
  color: #5b2b82;
  margin-bottom: 20px;
}

.cta-buttons {
  margin-bottom: 30px;
}

.cta-buttons .btn {
  background: #5b2b82;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  margin: 0 5px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.cta-buttons .btn:hover {
  background: #431c65;
}

.cta-buttons .btn.secondary {
  background: white;
  color: #5b2b82;
  border: 2px solid #5b2b82;
}

@media (max-width: 1024px) {
  .buffetten-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .buffetten-grid {
    grid-template-columns: 1fr;
  }
}

.buffetten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.buffet-card {
  background: transparent;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.card-top {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card-top img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.overlay {
  background: #5b2b82;
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.plus {
  background: white;
  color: #5b2b82;
  border: 2px solid #5b2b82;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  line-height: 28px;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plus:hover {
  background: #431c65;
  color: white;
}

.details {
  background: #f7f2fa;
  margin-top: 5px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 15px;
  font-size: 14px;
  opacity: 0;
}

.buffet-card.open .details {
  max-height: 400px;
  padding: 15px;
  opacity: 1;
}

.details ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.details li {
  margin-bottom: 5px;
}

/* === REVIEWS CAROUSEL === */
.carousel.quote {
  background: #f3e9f9;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}
.carousel.quote blockquote {
  display: none;
  font-style: italic;
  font-size: 18px;
  color: #4b2c5e;
}
.carousel.quote blockquote.active {
  display: block;
}
.carousel-btn {
  background: #5b2b82;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* === VOORWAARDEN ACCORDION === */
/* Sectie styling */
.voorwaarden {
  background: #faf6fd;
  padding: 40px 20px;
  text-align: center;
}
.voorwaarden h2 {
  font-size: 28px;
  color: #5b2b82;
  margin-bottom: 20px;
}

/* Kaartjes */
.accordion .item {
  background: #fff;
  margin: 10px auto;
  width: 80%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* Kop / knop */
.accordion .toggle,
.voorwaarden .accordion .toggle {         /* samengevoegd, 1 bron van waarheid */
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  background: #e9d8f2;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;         /* tekst links, +/– rechts */
}

/* Afstand tussen items */
.voorwaarden .accordion .item + .item { margin-top: 8px; }

/* Inhoudpaneel – GEEN display:none; gebruik max-height animatie */
.accordion .content,
.voorwaarden .accordion .content {
  max-height: 0;                          /* start dicht */
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 15px;                         /* horizontale padding zichtbaar in dicht toestand */
  background: #fafafa;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0 0 8px 8px;
}

/* Open toestand – hoogte animeren, padding tonen */
.accordion .item.open .content,
.voorwaarden .accordion .item.open .content {
  /* de JS zet max-height dynamisch op scrollHeight; CSS hoeft alleen padding te tonen */
  padding: 12px 15px;
}

/* Als open, laat de bovenste hoeken van de knop aansluiten */
.voorwaarden .accordion .item.open .toggle {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.voorwaarden .accordion .content {
  display: block !important;
  overflow: hidden !important;
  max-height: 0; /* start dicht, JS regelt open */
  opacity: 1 !important;  
    text-align: left;/* neutraliseer evt. globale opacity:0 */
}

/* Open toestand: JS zet max-height tijdelijk en daarna 'none' */
.voorwaarden .accordion .item.open .content {
  /* niets nodig in CSS; JS regelt max-height */
}

/* Zorg dat toggle-balk mooi aansluit in open toestand */
.voorwaarden .accordion .item.open .toggle {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
/* === FOTO CAROUSEL === */
.carousel.restaurant {
  position: relative;
  padding: 30px;
  background: #fff;
  text-align: center;
}
.carousel.restaurant img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
}
.carousel.restaurant img.active {
  display: block;
}
.carousel-btn.rest-prev,
.carousel-btn.rest-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(91, 43, 130, 0.7);
  color: white;
  border: none;
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}
.carousel-btn.rest-prev { left: 10px; }
.carousel-btn.rest-next { right: 10px; }

.carousel.restaurant .carousel-wrapper{
  position: relative;
  height: 360px;          /* kies jouw hoogte */
  overflow: hidden;
text-decoration-color: black;
}
.carousel.restaurant .carousel-wrapper img{
  width: 60%;
  height: 100%;
  object-fit: cover;      /* vult het vlak */
  display: block;
}

/* === REVIEWS CAROUSEL === */
.carousel.quote {
  background: #f3e9f9;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}
.carousel.quote blockquote {
  display: none;
  font-style: italic;
  font-size: 18px;
  color: #4b2c5e;
}
.carousel.quote blockquote.active {
  display: block;
}
.carousel-btn {
  background: #5b2b82;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* === VOORWAARDEN ACCORDION === */
.voorwaarden {
  background: #faf6fd;
  padding: 40px 20px;
  text-align: center;
}
.accordion .item {
  background: white;
  margin: 10px auto;
  width: 80%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.accordion .toggle {
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  background: #e9d8f2;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.accordion .content {
  display: none;
  padding: 15px;
  font-size: 14px;
}
.accordion .item.active .content {
  display: block;
}

/* === FOTO CAROUSEL === */
.carousel.restaurant {
  position: relative;
  padding: 30px;
  background: #fff;
  text-align: center;
}
.carousel.restaurant img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: none;
  border-radius: 10px;
}
.carousel.restaurant img.active {
  display: block;
}
.carousel-btn.rest-prev,
.carousel-btn.rest-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(91, 43, 130, 0.7);
  color: white;
  border: none;
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}
.carousel-btn.rest-prev { left: 10px; }
.carousel-btn.rest-next { right: 10px; }

/* OFFERTE – BASIS */
.offerte-hero {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Topgedeelte: USP + formulier */
.offerte-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.offerte-usp {
  flex: 1 1 300px;
}

.offerte-usp h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #4B2C5E;
}

.offerte-usp p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

/* Formulierkaart */
.offerte-form-card {
  flex: 1 1 400px;
  background: #f7f1f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.offerte-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4B2C5E;
}

.offerte-form-card label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

.offerte-form-card input,
.offerte-form-card select,
.offerte-form-card textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.offerte-form-card button {
  margin-top: 1.5rem;
  width: 100%;
  background-color: #6f4480;
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.offerte-form-card button:hover {
  background-color: #5b3771;
}

/* Bevestiging */
#offerteBevestiging {
  margin-top: 1rem;
  font-weight: bold;
  color: green;
  font-size: 1.1rem;
}

/* FAQ */
.offerte-faq h2 {
  font-size: 1.8rem;
  color: #4B2C5E;
  margin-bottom: 1rem;
}

.offerte-faq details {
  margin-bottom: 1rem;
  background: #f0e6f4;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.offerte-faq summary {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.offerte-faq p {
  margin-top: 0.5rem;
  color: #555;
}

/* ================================
   ADMIN LAYOUT
================================ */
.admin-body {
  display: flex;
  background: #f9f6fb;
  color: #333;
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  background: #5b2b82;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-sidebar h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.admin-sidebar ul {
  list-style: none;
  padding: 0;
}

.admin-sidebar ul li {
  margin-bottom: 15px;
}

.admin-sidebar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-sidebar ul li a:hover {
  text-decoration: underline;
}

.counter {
  background-color: #e63946;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logout {
  color: #fff;
  margin-top: 20px;
  display: inline-block;
}

.admin-main {
  flex: 1;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ================================
   TABLES
================================ */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.admin-table th, .admin-table td {
  border-bottom: 1px solid #eee;
  padding: 12px 15px;
  text-align: left;
}

.admin-table th {
  background: #f2ebf9;
  font-weight: bold;
}

.admin-table tr:hover {
  background: #faf6fd;
}

.admin-table thead th { user-select: none; }
.admin-table thead th .sort-icon { font-size: .9em; margin-left: .25rem; opacity: .6; }
.admin-table thead th:hover .sort-icon { opacity: 1; }

/* Status dropdown */
.status-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.status-select:focus {
  outline: none;
  border-color: #5b2b82;
}

/* ================================
   SEARCH FIELDS
================================ */
#zoek-bestelling,
#zoek-offerte {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

#zoek-bestelling:focus,
#zoek-offerte:focus {
  border-color: #5b2b82;
  box-shadow: 0 0 5px rgba(91, 43, 130, 0.2);
}

/* ================================
   POPUP
================================ */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.popup-content h3 {
  margin-top: 0;
  font-size: 20px;
}

.popup-content button {
  background: #5b2b82;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  width: 100%;
}

.popup-content button:hover {
  background: #4a226a;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Buffetten popup styling */
.popup-buffet {
  width: 450px;
  max-width: 95%;
}

.popup-buffet label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.popup-buffet input,
.popup-buffet textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.popup-buffet textarea {
  resize: vertical;
  min-height: 80px;
}

.popup-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.popup-actions button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  background: #5b2b82;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-actions button:hover {
  background: #7d4b9f;
}

/* ================================
   🟣 Popup voor Menu & Extra's
   ================================ */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 500px;
  max-width: 95%;
  max-height: 85%;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.popup-content h3 {
  margin-top: 0;
  color: #5b2b82;
  text-align: center;
}

.popup-content label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

.popup-content input[type="text"],
.popup-content input[type="number"],
.popup-content textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.popup-content textarea {
  resize: vertical;
}

.popup-content button {
  background: #5b2b82;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
}

.popup-content button:hover {
  background: #4a1e70;
}

/* ================================
   🔹 Extra’s management
   ================================ */
#extras-container {
  margin-top: 10px;
  background: #f9f6fb;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.extra-item input {
  flex: 1;
}

.delete-extra {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.delete-extra:hover {
  background: #c0392b;
}

#add-extra {
  background: #3498db;
  margin-top: 10px;
}

#add-extra:hover {
  background: #2980b9;
}

/* ================================
   ✨ Animaties
   ================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Mobile nav === */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:22px;
  line-height:1;
  padding:8px;
  cursor:pointer;
}

/* Globale mobile tweaks */
@media (max-width: 768px){
  .topbar{ font-size:12px; padding:8px 10px; }
  .navbar{ padding:0 12px; height:56px; position:relative; }
  .nav-toggle{ display:block; }

  /* Menu inklappen tot hamburger */
  .nav-center{
    position:absolute;
    top:56px; left:0; right:0;
    background:#8E4FB0;       /* zelfde balkkleur */
    display:none;
    flex-direction:column;
    padding:10px 12px;
    border-top:1px solid rgba(255,255,255,.25);
    z-index:999;
  }
  .nav-center a{ padding:12px 6px; }
  .divider{ display:none; }   /* geen verticale streepjes op mobiel */

  /* Open state */
  body.nav-open .nav-center{ display:flex; }

  #winkelmand-knop{ padding:6px 10px; }

  /* Hero compacter */
  .hero-image{ height:220px; }
  .hero-bg{ height:220px; }
  .hero-logo{ max-width:100px; }

  /* Grids stacken */
  .menu-grid > div,
  .menu-item{ width:100%; max-width:520px; }

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

  /* Bestelpagina & forms */
  .bestelpagina{ margin:16px 10px; padding:16px; }
  .bestel-totaal{ text-align:left; }

  /* Winkelmand popup breder en fixed */
  #winkelmand-popup{
    position:fixed;
    top:56px; left:8px; right:8px;
    min-width:0;
  }

  /* Footer stapelt */
  footer{ padding:24px 16px; }
  .footer-left, .footer-right{ width:100%; }
  
  /* Admin-instellingen knop iets kleiner */
  .admin-settings{ width:44px; height:44px; right:12px; bottom:12px; }
}
