/* ============================================================
   DE MEIDEN VAN... — Lunchroom Ridderkerk
   Palette: Gold #B8860B | Off-white #F5F5F0 | Dark #2C3E50
   Fonts: Playfair Display + DM Sans
   ============================================================ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #B8860B;
  --gold-light: #D4A820;
  --gold-dark:  #8B6608;
  --bg:         #F5F5F0;
  --bg-warm:    #EDE8DC;
  --dark:       #2C3E50;
  --text:       #3D3529;
  --text-light: #6B5E4E;
  --white:      #FFFFFF;
  --border:     #DDD5C0;
  --shadow-sm:  0 2px 8px rgba(44,40,30,.08);
  --shadow-md:  0 8px 32px rgba(44,40,30,.12);
  --shadow-lg:  0 16px 48px rgba(44,40,30,.16);
  --radius:     12px;
  --radius-lg:  20px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --transition: 0.25s ease;
  --max-width:  1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

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

/* Image fill utility */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card__media img, .hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

em { font-style: italic; color: var(--gold); }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-desc { color: var(--text-light); font-size: 1.05rem; }

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  padding: .85rem 1.75rem; border-radius: 6px;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  min-height: 48px; white-space: nowrap;
}
.btn--gold {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--ghost {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn--white {
  background: var(--white); color: var(--dark); border-color: var(--white);
}
.btn--white:hover { background: var(--bg); }
.btn--full { width: 100%; justify-content: center; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(245,245,240,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto;
  padding: .85rem 1.5rem;
}

.logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  color: var(--dark); text-decoration: none;
}
.logo-mark {
  background: var(--gold); color: var(--white);
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.logo-dots { color: var(--gold); }

.desktop-nav ul {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.desktop-nav a {
  font-size: .9rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color var(--transition);
}
.desktop-nav a:hover { color: var(--gold); }
.desktop-nav .nav-cta {
  background: var(--gold); color: var(--white);
  padding: .5rem 1.1rem; border-radius: 6px;
}
.desktop-nav .nav-cta:hover { background: var(--gold-dark); color: var(--white); }

/* hamburger */
.mobile-menu__trigger {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span {
  display: block; height: 2px; background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.mobile-menu__trigger[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu__overlay {
  position: fixed; inset: 0;
  width: 100vw; height: 100svh; height: 100dvh;
  background: var(--bg);
  z-index: 1000;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu__overlay[aria-hidden="false"] {
  transform: translateX(0);
}
.mobile-menu__panel { flex: 1; display: flex; flex-direction: column; }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-logo {
  font-family: var(--font-serif); font-size: 1.1rem;
  font-weight: 700; color: var(--dark);
}
.mobile-menu__close {
  background: none; border: none; cursor: pointer;
  color: var(--text); padding: .5rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; transition: background var(--transition);
}
.mobile-menu__close:hover { background: var(--bg-warm); }

.mobile-menu__list {
  padding: 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
}
.mobile-menu__item {
  display: block; font-size: 1.3rem; font-weight: 500;
  font-family: var(--font-serif); color: var(--dark);
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: color var(--transition);
}
.mobile-menu__item:hover { color: var(--gold); }
.mobile-menu__item--cta {
  background: var(--gold); color: var(--white) !important;
  padding: 1rem 1.5rem; border-radius: 8px;
  border: none; text-align: center; margin-top: .5rem;
  font-family: var(--font-sans); font-size: 1.1rem;
}
.mobile-menu__item--cta:hover { background: var(--gold-dark); }

.mobile-menu__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .75rem;
}
.mobile-menu__footer p {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-light); font-size: .9rem;
}
.mobile-menu__footer .icon { color: var(--gold); flex-shrink: 0; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden; padding: 0;
}
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,30,10,.72) 0%,
    rgba(44,30,10,.35) 60%,
    rgba(184,134,11,.25) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  width: 100%; padding-top: 80px;
}
.hero__tagline {
  display: inline-block;
  background: rgba(184,134,11,.85); color: var(--white);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: .35rem .9rem;
  border-radius: 4px; margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white); font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700; max-width: 700px; line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero__sub {
  color: rgba(255,255,255,.9); font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 520px; margin-bottom: 2rem;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white); font-size: .8rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ── PERKS STRIP ── */
.perks-strip {
  background: var(--dark); padding: 2rem 0;
}
.perks-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem 3rem; list-style: none;
}
.perk {
  display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
}
.perk__icon {
  color: var(--gold-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ── ABOUT ── */
.about { background: var(--bg); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__img-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about__img-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about__stamp {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); color: var(--white);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-md);
  min-width: 130px;
}
.stamp__year {
  display: block; font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700; line-height: 1;
  margin-bottom: .25rem;
}
.stamp__label {
  display: block; font-size: .7rem; opacity: .85;
  letter-spacing: .05em; text-transform: uppercase;
}
.about__copy h2 { margin-bottom: 1.25rem; }
.about__copy p { color: var(--text-light); margin-bottom: 1rem; }
.about__signature {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--dark) !important;
  margin-bottom: 1.75rem !important;
}

/* ── AANBOD ── */
.aanbod { background: var(--bg-warm); }
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card--highlight {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(184,134,11,.18);
}
.card--highlight .card__icon-wrap { background: var(--gold); color: var(--white); }
.card__icon-wrap {
  background: var(--bg-warm); color: var(--gold);
  padding: 1.5rem 1.5rem .5rem;
  display: flex; align-items: center;
}
.card__media {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 1.5rem; flex: 1; display: flex; flex-direction: column;
}
.card__body h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.card__body > p { color: var(--text-light); font-size: .95rem; margin-bottom: 1rem; flex: 1; }
.card__features {
  display: flex; flex-direction: column; gap: .4rem; list-style: none;
}
.card__features li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--text-light);
}
.card__features svg { color: var(--gold); flex-shrink: 0; }

/* ── BOOKING / HOURS ── */
.booking-section { background: var(--bg); }
.booking-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 2rem; align-items: start;
}

.hours-card, .reserve-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 2.5rem;
  border: 1px solid var(--border);
}
.hours-card__header, .reserve-card__header {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.75rem; color: var(--gold);
}
.hours-card__header h2, .reserve-card__header h2 {
  font-size: 1.5rem; color: var(--dark); margin: 0;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  padding: .75rem 0; font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.hours-table th {
  text-align: left; font-weight: 500; color: var(--text);
  font-family: var(--font-sans); padding-right: 1rem;
}
.hours-table td { text-align: right; color: var(--text-light); }
.hours-table .open-row td { color: var(--dark); font-weight: 500; }
.friday-row th { color: var(--gold); }
.friday-row td { color: var(--gold); font-weight: 700; }
.tag-avond {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .2rem .5rem; border-radius: 4px;
  margin-left: .4rem; vertical-align: middle;
}
.closed { color: var(--border); font-style: italic; }

.hours-card__contact {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .75rem;
}
.contact-link {
  display: flex; align-items: center; gap: .6rem;
  color: var(--gold); font-weight: 500; font-size: .95rem;
  text-decoration: none; transition: color var(--transition);
}
.contact-link:hover { color: var(--gold-dark); }
.contact-link svg { flex-shrink: 0; }

/* Form */
.reserve-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row--half { flex-direction: row; gap: 1rem; }
.form-row--half .form-field { flex: 1; min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label {
  font-size: .85rem; font-weight: 600; color: var(--dark);
}
.form-field label span { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,.15);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-note {
  font-size: .8rem; color: var(--text-light); text-align: center;
  margin-top: -.25rem;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--gold); padding: 4rem 0;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band__copy h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band__copy p { color: rgba(255,255,255,.85); }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer-kit {
  background: var(--dark); color: rgba(255,255,255,.8); padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-serif); font-size: 1.05rem;
  font-weight: 700; color: var(--white); margin-bottom: 1rem;
}
.footer-logo .logo-mark { background: var(--gold); }
.footer-tagline {
  font-size: .9rem; line-height: 1.6; max-width: 260px;
  color: rgba(255,255,255,.65); margin-bottom: .75rem;
}
.footer-kvk { font-size: .75rem; color: rgba(255,255,255,.4); }

.footer-col h3 {
  font-family: var(--font-sans); font-size: .8rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem;
}

.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: rgba(255,255,255,.7);
}
.footer-contact-list li svg { color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--gold-light); }

.footer-hours { display: flex; flex-direction: column; gap: .5rem; }
.footer-hours li {
  display: flex; justify-content: space-between; gap: .5rem;
  font-size: .85rem; color: rgba(255,255,255,.65);
  padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-hours .friday span:last-child { color: var(--gold-light); font-weight: 600; }
.closed-sm { color: rgba(255,255,255,.3); font-style: italic; }

.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a {
  font-size: .9rem; color: rgba(255,255,255,.65);
  text-decoration: none; transition: color var(--transition);
  padding: .25rem 0;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0;
}
.footer-bottom__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-credit a { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about__grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu__trigger { display: flex; }

  section { padding: 3.5rem 0; }

  .hero__content { padding-top: 90px; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .about__grid { grid-template-columns: 1fr; }
  .about__image-wrap { max-width: 500px; margin: 0 auto; }
  .about__stamp { right: 0; bottom: -1rem; }

  .card-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

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

  .form-row--half { flex-direction: column; }

  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }

  .perks-list { gap: .75rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__badges { gap: .5rem; }
  .badge { font-size: .75rem; }
  .about__stamp { display: none; }
  .hours-card, .reserve-card { padding: 1.75rem 1.25rem; }
}

/* ── ACCESSIBILITY & UTILS ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Body lock when menu open */
body.menu-open { overflow: hidden; }

/* No horizontal scroll safeguard */
html, body { max-width: 100%; overflow-x: hidden; }
