/* ============================================================
   WARUNG SWIETIE LELYDORP — style.css
   Shared across index.html, menu.html, contact.html
   Mobile-first, no frameworks
   ============================================================ */

/* ── Custom properties ─────────────────────────────────── */
:root {
  --cream:        #f7eed8;
  --cream-light:  #fdf8ee;
  --amber:        #b5651d;
  --amber-dark:   #8f4d15;
  --terracotta:   #b84a2a;
  --terra-dark:   #8f3820;
  --brown:        #2c1a0e;
  --brown-mid:    #5c3a1e;
  --brown-pale:   #8b5e3c;
  --border:       rgba(181, 101, 29, 0.20);
  --shadow:       0 2px 10px rgba(44, 26, 14, 0.12);
  --shadow-md:    0 6px 24px rgba(44, 26, 14, 0.16);
  --radius:       4px;
  --t:            0.2s ease;
  --max-w:        1020px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  background: var(--cream);
  color: var(--brown);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img  { display: block; max-width: 100%; }
a    { color: var(--amber); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Skip link (accessibility) ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--amber);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  font-size: 0.9rem;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown);
  box-shadow: var(--shadow);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 1rem;
}

/* Brand */
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-primary {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.brand-secondary {
  font-family: 'EB Garamond', serif;
  font-size: 0.68rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Links */
.nav-list {
  display: none; /* shown on larger screens */
  gap: 0.15rem;
}
.nav-list a {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: rgba(247,238,216,0.70);
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: color var(--t), background var(--t);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--cream);
  background: rgba(181,101,29,0.30);
}

/* Actions bar */
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }

/* Language toggle */
.lang-btn {
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid rgba(247,238,216,0.25);
  color: rgba(247,238,216,0.70);
  padding: 0.26rem 0.6rem;
  border-radius: var(--radius);
  transition: all var(--t);
  white-space: nowrap;
}
.lang-btn:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(181,101,29,0.12);
}

/* Hamburger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  background: none;
  border: none;
  padding: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--t);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--brown);
  border-top: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  padding: 0.5rem 1.25rem 1rem;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: rgba(247,238,216,0.72);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--t);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover,
.nav-drawer a.active { color: var(--cream); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brown);
  color: rgba(247,238,216,0.60);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(247,238,216,0.08);
  margin-bottom: 1.25rem;
}
.footer-brand .footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.footer-brand p { line-height: 1.6; }
.footer-nav-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav-links a { color: rgba(247,238,216,0.55); transition: color var(--t); }
.footer-nav-links a:hover { color: var(--amber); }
.footer-contact p { line-height: 1.65; }
.footer-contact a { color: rgba(247,238,216,0.55); }
.footer-contact a:hover { color: var(--amber); }
.footer-allergen-note {
  font-size: 0.82rem;
  opacity: 0.60;
  font-style: italic;
  border-top: 1px solid rgba(247,238,216,0.07);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.35;
  padding: 0 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.9rem;
  border-radius: var(--radius);
  border: none;
  transition: background var(--t), color var(--t), transform 0.1s, box-shadow var(--t);
  text-align: center;
}
.btn-primary {
  background: var(--amber);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184,74,42,0.30);
}
.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  padding: 0.55rem 1.5rem;
}
.btn-outline:hover {
  background: var(--amber);
  color: var(--cream);
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO  (menu.html, contact.html)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--brown);
  padding: 3.5rem 1.25rem 2.75rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.page-hero p {
  color: rgba(247,238,216,0.62);
  font-style: italic;
  font-size: 1.05rem;
}

/* ══════════════════════════════════════════════════════════
   INDEX — HERO
   ══════════════════════════════════════════════════════════ */
.home-hero {
  position: relative;
  background: var(--brown);
  overflow: hidden;
  padding: 4.5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
/* Diamond texture */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 2 L42 22 L22 42 L2 22 Z' fill='none' stroke='%23b5651d' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 44px 44px;
}
/* Amber glow */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(181,101,29,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.hero-title em {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
}
.hero-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,238,216,0.55);
  margin-bottom: 1.2rem;
}
.hero-sub {
  color: rgba(247,238,216,0.72);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 420px;
  margin-inline: auto;
}

/* 30-year badge */
.hero-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.badge-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  background: rgba(181,101,29,0.10);
  box-shadow: 0 0 0 6px rgba(181,101,29,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}
.badge-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--amber);
  font-weight: 700;
  line-height: 1;
}
.badge-rule {
  width: 28px;
  height: 1px;
  background: rgba(181,101,29,0.45);
}
.badge-text {
  font-family: 'EB Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,238,216,0.75);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════
   INDEX — WELCOME SECTION
   ══════════════════════════════════════════════════════════ */
.home-welcome {
  background: var(--cream-light);
  padding: 3.5rem 1.25rem;
}
.welcome-inner {
  max-width: 680px;
  margin-inline: auto;
}
.section-label {
  font-family: 'EB Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.75rem;
}
.home-welcome h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.home-welcome p {
  color: var(--brown-mid);
  margin-bottom: 0.9rem;
}
.home-welcome p:last-of-type { margin-bottom: 1.75rem; }

/* ══════════════════════════════════════════════════════════
   INDEX — HOURS SECTION
   ══════════════════════════════════════════════════════════ */
.home-hours {
  background: var(--terracotta);
  color: var(--cream);
  padding: 2.25rem 1.25rem;
}
.hours-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.hours-block {}
.hours-block .section-label { color: rgba(247,238,216,0.65); margin-bottom: 0.5rem; }
.hours-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.hours-note {
  font-size: 0.9rem;
  color: rgba(247,238,216,0.72);
  font-style: italic;
}
.hours-cta { align-self: flex-start; }

/* ══════════════════════════════════════════════════════════
   MENU PAGE — TABS
   ══════════════════════════════════════════════════════════ */
.tab-bar-wrap {
  background: var(--brown);
  position: sticky;
  top: 62px;
  z-index: 90;
  border-bottom: 2px solid rgba(181,101,29,0.35);
}
.tab-bar {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  padding: 0 1.25rem;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(247,238,216,0.58);
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 0.9rem;
  white-space: nowrap;
  transition: color var(--t), border-color var(--t);
  cursor: pointer;
  margin-bottom: -2px;
}
.tab-btn:hover { color: rgba(247,238,216,0.88); }
.tab-btn.active {
  color: var(--cream);
  border-bottom-color: var(--amber);
}

/* ══════════════════════════════════════════════════════════
   MENU PAGE — CONTENT
   ══════════════════════════════════════════════════════════ */
.menu-section {
  padding: 2.5rem 1.25rem 3rem;
}
.menu-section .container { max-width: 720px; }

.cat-heading {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}
.cat-subtitle {
  color: var(--brown-pale);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.subcat-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown-mid);
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--border);
  font-weight: 400;
  font-style: italic;
}

/* Menu list */
.menu-list { display: flex; flex-direction: column; }
.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted rgba(181,101,29,0.16);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 0.12rem;
}
.menu-item-desc {
  color: var(--brown-pale);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.2rem;
}
.menu-item-allergens {
  font-size: 0.78rem;
  color: var(--brown-pale);
  font-style: italic;
  opacity: 0.80;
}
.menu-item-allergens::before { content: '⚠ '; font-style: normal; opacity: 0.7; }
.allergen-vegan { color: #4a7c4e; opacity: 1; }

.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  flex-shrink: 0;
}

/* + Groente variant rows */
.menu-item--groente {
  background: rgba(181, 101, 29, 0.04);
  border-radius: 3px;
  padding-left: 0.6rem;
  margin-left: 0.1rem;
  border-left: 2px solid rgba(181, 101, 29, 0.22);
  border-bottom-color: transparent;
  margin-bottom: 0.5rem;  /* gap before the next base item */
}
.menu-item--groente .menu-item-name {
  font-size: 0.96rem;
  color: var(--brown-mid);
  font-weight: 500;
}
.menu-item--groente .menu-item-price {
  color: var(--brown-mid);
  font-size: 0.93rem;
  font-weight: 600;
}

.cat-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--brown-pale);
  font-style: italic;
  opacity: 0.85;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Allergen legend */
.allergen-legend {
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--brown-mid);
}
.allergen-legend strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--brown);
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */
.contact-section {
  padding: 2.5rem 1.25rem 3rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-block { margin-bottom: 1.75rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-label {
  font-family: 'EB Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.45rem;
}
.contact-block address,
.contact-block p { color: var(--brown-mid); line-height: 1.65; }
.contact-block a { color: var(--brown); font-size: 1.05rem; font-weight: 500; }
.contact-block a:hover { color: var(--terracotta); }

/* Hours table */
.hours-table { border-collapse: collapse; width: 100%; max-width: 300px; }
.hours-table td {
  padding: 0.3rem 0;
  font-size: 0.96rem;
  color: var(--brown-mid);
  border-bottom: 1px solid rgba(181,101,29,0.08);
}
.hours-table td:first-child { padding-right: 1.5rem; }
.hours-table td:last-child  { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table .row-closed td { opacity: 0.40; }

/* Map */
.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: none;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 640px+
   ══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .home-hero {
    flex-direction: row;
    justify-content: center;
    padding: 5rem 2rem 4.5rem;
    gap: 4rem;
    min-height: 86vh;
    align-items: center;
  }
  .hero-content { text-align: left; }
  .hero-sub { margin-inline: 0; }

  .badge-circle { width: 148px; height: 148px; }
  .badge-year   { font-size: 1.5rem; }

  .hours-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hours-cta { align-self: auto; }

  .footer-grid { grid-template-columns: 2fr 1fr 2fr; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 768px+ (tablet)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .nav-list      { display: flex; }
  .burger        { display: none; }
  .nav-drawer    { display: none !important; }

  .menu-section  { padding: 3rem 1.25rem 4rem; }
  .cat-heading   { font-size: 2.1rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 900px+
   ══════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .map-wrap iframe { height: 420px; }
}
