/* ============================================================
   Restaurant de Landerij — Stylesheet
   Palette: #2d5a27 (deep green) | #f5f0e8 (cream) | #1a1a1a (dark)
   Fonts: Playfair Display (serif) + Lato (sans)
   ============================================================ */

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

:root {
  --green:        #2d5a27;
  --green-dark:   #1e3d1a;
  --green-light:  #3d7a35;
  --cream:        #f5f0e8;
  --cream-dark:   #ece5d5;
  --gold:         #c8a96e;
  --dark:         #1a1a1a;
  --dark-mid:     #333;
  --text:         #3a3028;
  --text-light:   #7a6e62;
  --white:        #fff;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Lato', system-ui, sans-serif;

  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,.12);
  --shadow-card:  0 2px 16px rgba(45,90,39,.10);

  --container:    1200px;
  --section-py:   5rem;
  --transition:   .25s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

/* ---------- MEDIA / IMG-FILL SAFEGUARD ---------- */
.media, .img-fill, figure.photo {
  position: relative;
  overflow: hidden;
}
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card img, .hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- SECTION ---------- */
.section { padding-block: var(--section-py); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.section-label--light { color: var(--cream-dark); }

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn--secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--secondary:hover { background: var(--green); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover { background: rgba(255,255,255,.15); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.25); }

.btn--lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding-block: 1rem;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(26, 26, 26, .97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding-block: .65rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo__leaf { color: var(--gold); flex-shrink: 0; }
.logo__text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}
.desktop-nav a {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--gold); }

.header__cta { display: none; }

/* ---------- MOBILE MENU TRIGGER ---------- */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--white);
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- FULLSCREEN MOBILE MENU ---------- */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  width: 100%;
  z-index: 1000;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}
.mobile-menu__overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__overlay { transition: opacity .15s ease, visibility .15s ease; transform: none; }
}

.mobile-menu__panel { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; }
.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: .5rem;
  margin-bottom: 1rem;
}
.mobile-menu__list { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.mobile-menu__item {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--white);
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu__item:hover { color: var(--gold); padding-left: .5rem; }
.mobile-menu__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.25) 50%,
    rgba(0,0,0,.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}
.hero__label {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- OVER ONS ---------- */
.over-ons { background: var(--cream); }

.over-ons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.over-ons__text { max-width: 540px; }
.over-ons__text h2 { color: var(--dark); margin-bottom: 1rem; }
.over-ons__text .lead {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.over-ons__text p {
  color: var(--text);
  margin-bottom: 1rem;
}
.over-ons__text .btn { margin-top: .5rem; }

.over-ons__image { position: relative; }
.over-ons__image figure.photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.over-ons__badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--green);
  color: var(--white);
  padding: .65rem 1.1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
  box-shadow: var(--shadow);
}

/* ---------- USP STRIP ---------- */
.usp-strip {
  background: var(--green);
  padding-block: 2rem;
}
.usp-strip__grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.usp-strip__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  flex: 1;
  min-width: 180px;
  justify-content: center;
  padding: .5rem 1rem;
}
.usp-strip__item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- MENU SECTION ---------- */
.menu-section { background: var(--dark); }
.menu-section .section-header h2,
.menu-section .section-header .section-sub {
  color: var(--cream);
}
.menu-section .section-sub { color: rgba(245,240,232,.65); }

/* ---------- CARD GRID ---------- */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--dark-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.22); }

.card--dish.card--featured {
  background: var(--green-dark);
  border: 1px solid var(--green-light);
}

.card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card:hover .card__img { transform: scale(1.04); }

.card__course-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--gold);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 3px;
}

.card__body { padding: 1.25rem 1.5rem 1.5rem; }
.card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.card__desc {
  font-size: .875rem;
  color: rgba(245,240,232,.65);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card__price { display: flex; align-items: center; }
.price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.menu-disclaimer {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(245,240,232,.5);
  margin-top: 2rem;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  justify-content: center;
}

/* ---------- SFEER / GALERIJ ---------- */
.sfeer-section { background: var(--cream-dark); }

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery__item--wide { grid-row: 1 / 3; aspect-ratio: 16/10; }
.gallery__item:not(.gallery__item--wide) { aspect-ratio: 4/3; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  padding-block: var(--section-py);
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
}
.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(.8);
}
.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,61,26,.88) 0%, rgba(0,0,0,.7) 100%);
}

.cta-band__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-band__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.cta-band__email-hint {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ---------- OPENINGSTIJDEN ---------- */
.hours-section { background: var(--cream); }
.hours-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hours-text h2 { color: var(--dark); margin-bottom: 1rem; }
.hours-text p { color: var(--text-light); margin-bottom: 1.5rem; }

.hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: .7rem .25rem;
  border-bottom: 1px solid var(--cream-dark);
}
.hours-table__day {
  font-weight: 700;
  color: var(--dark);
  width: 55%;
}
.hours-table__time {
  color: var(--text-light);
  font-size: .95rem;
}
.hours-table__time--closed {
  color: var(--text-light);
  font-style: italic;
}
.hours-table__row--highlight .hours-table__day { color: var(--green); }
.hours-table__row--highlight .hours-table__time { color: var(--green); font-weight: 700; }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- FOOTER ---------- */
.footer-kit {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  padding-top: 3.5rem;
}

.footer-kit__grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo .logo__text { font-size: 1.2rem; }
.footer-kit__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-top: .5rem;
  font-style: italic;
}

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

.footer-kit__list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer-kit__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.5;
}
.footer-kit__list svg { flex-shrink: 0; margin-top: .1rem; }
.footer-kit__list a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.footer-kit__list a:hover { color: var(--gold); }

.footer-kit__list--nav { gap: .45rem; }
.footer-kit__list--nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-kit__list--nav a:hover { color: var(--white); }

.footer-kit__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
}
.footer-kit__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ---------- SCROLL REVEAL ---------- */
/* No JS-gating — elements always visible.
   Subtle entrance animation via CSS @keyframes when scrolled. */
.reveal {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .footer-kit__grid { grid-template-columns: 1fr 1fr; }
  .footer-kit__nav { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .desktop-nav { display: none; }
  .header__cta { display: none; }
  .mobile-menu__trigger { display: flex; }

  .over-ons__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .over-ons__image { order: -1; }
  .over-ons__badge { left: .75rem; bottom: -.75rem; }

  .card-grid--3 { grid-template-columns: 1fr; }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery__item--wide { grid-row: auto; aspect-ratio: 16/9; }
  .gallery__item:not(.gallery__item--wide) { aspect-ratio: 16/9; }

  .hours-section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hours-card { padding: 1.5rem; }

  .footer-kit__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-kit__nav { grid-column: auto; }

  .cta-band__actions { flex-direction: column; align-items: center; }
  .cta-band__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .usp-strip__grid { gap: .5rem; }
  .usp-strip__item { font-size: .88rem; min-width: 140px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.4rem; }
  .hero__sub { font-size: 1rem; }
  .btn--lg { padding: .8rem 1.5rem; font-size: .95rem; }
}
