/* ==========================================================================
   Waffelino — brand styles
   Palette drawn from the logo: warm orange, cream, chocolate brown
   ========================================================================== */

:root {
  --orange: #f6a83c;
  --orange-soft: #f9bc63;
  --orange-deep: #e08c1e;
  --cream: #f7eddc;
  --cream-deep: #f0e2c8;
  --paper: #fffaf1;
  --choco: #5b3a1e;
  --choco-deep: #3e2712;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(91, 58, 30, 0.12);
  --radius: 22px;
  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--choco-deep);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--choco-deep);
}

a { color: var(--choco); }

:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}

.site-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--space-1);
  list-style: none;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--choco);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-links a:hover { background: var(--cream); }

.nav-links a[aria-current="page"] {
  background: var(--choco);
  color: var(--cream);
}

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--choco);
  border-radius: 999px;
  overflow: hidden;
  margin-left: var(--space-2);
}

.lang-toggle button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 13px;
  border: 0;
  background: transparent;
  color: var(--choco);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--choco);
  color: var(--cream);
}

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
}

.nav-burger svg { display: block; }

/* ==========================================================================
   Hero (home) — flat brand color, centred bag, like the reference
   ========================================================================== */

.hero {
  background: radial-gradient(circle at 50% 32%, #f9bd66 0%, var(--orange) 58%);
  padding: var(--space-4) var(--space-3) var(--space-6);
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 620px;
  margin: 0 auto;
}

.bag-scene {
  position: relative;
  width: fit-content;
  margin: var(--space-2) auto 0;
}

.hero-bag {
  position: relative;
  z-index: 1;
  display: block;
  height: min(54vh, 520px);
  width: auto;
  max-width: 78vw;
  filter: drop-shadow(0 26px 30px rgba(62, 39, 18, 0.3));
}

.hero-halo {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -7%;
  transform: translateX(-50%);
  width: 155%;
  max-width: none;
  height: auto;
  opacity: 0.45;
}

.hero-tagline {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  font-weight: 700;
  color: var(--choco-deep);
}

.hero-sub {
  margin-top: var(--space-1);
  font-size: 1.05rem;
  font-weight: 600;
  color: #6b4519;
}

.hero-ctas {
  margin-top: var(--space-3);
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero { padding-top: var(--space-2); padding-bottom: var(--space-4); }
  .hero-bag { height: min(45vh, 420px); }
  .hero-tagline { margin-top: var(--space-2); font-size: 1.25rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-ctas { margin-top: var(--space-2); }
  .hero-ctas .btn { padding: 12px 22px; font-size: 0.98rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-dark {
  background: var(--choco);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(62, 39, 18, 0.3);
}

.btn-dark:hover { box-shadow: 0 10px 24px rgba(62, 39, 18, 0.36); }

.btn-light {
  background: var(--cream);
  color: var(--choco-deep);
  box-shadow: 0 6px 18px rgba(62, 39, 18, 0.18);
}

/* ==========================================================================
   Page hero for inner pages — chocolate drip band like the printed menu
   ========================================================================== */

.page-hero {
  background: var(--choco);
  text-align: center;
  padding: var(--space-4) var(--space-3) var(--space-2);
}

.page-hero img.mini-logo { height: 54px; width: auto; margin: 0 auto var(--space-2); }

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 2.9rem);
  letter-spacing: 0.02em;
}

.page-hero p {
  color: var(--orange-soft);
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 4px;
}

.drip-edge { display: block; width: 100%; height: 68px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: var(--space-5) 0; }
.section-tight { padding: var(--space-4) 0; }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: var(--space-1);
}

.section-kicker {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 6px;
}

.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-4);
  color: #6b4519;
  font-weight: 600;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.combo-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-3) var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 8px solid var(--orange);
}

.combo-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange-deep);
  line-height: 1;
}

.combo-card .price small {
  font-size: 1.05rem;
  color: var(--choco);
}

.combo-card h3 { font-size: 1.3rem; }

.combo-card ul {
  list-style: none;
  font-size: 0.98rem;
  color: #5c4025;
  font-weight: 600;
}

.combo-card ul li { padding: 5px 0; border-bottom: 1px dashed var(--cream-deep); }
.combo-card ul li:last-child { border-bottom: 0; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stars { display: flex; gap: 3px; }

.stars svg {
  width: 20px;
  height: 20px;
  fill: var(--orange-deep);
}

.stars svg.star-empty {
  fill: none;
  stroke: var(--orange-deep);
  stroke-width: 2;
}

.review-text {
  font-size: 0.98rem;
  color: #5c4025;
  font-weight: 600;
  flex: 1;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--choco-deep);
}

.review-author span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #8a6a45;
}

/* ==========================================================================
   Menu lists
   ========================================================================== */

.menu-section { margin-bottom: var(--space-5); }

.menu-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}

.menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.menu-head h2, .menu-head h3 { font-size: 1.6rem; }

.price-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--choco);
  color: var(--cream);
  padding: 6px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-badge.orange { background: var(--orange-deep); color: var(--white); }

.menu-list { list-style: none; }

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-weight: 700;
  color: var(--choco-deep);
}

.menu-item .item-note {
  font-weight: 600;
  font-size: 0.85rem;
  color: #8a6a45;
}

.menu-item .dots {
  flex: 1;
  border-bottom: 2px dotted var(--cream-deep);
  transform: translateY(-4px);
  min-width: 24px;
}

.menu-item .amount {
  font-variant-numeric: tabular-nums;
  color: var(--orange-deep);
  font-weight: 800;
  white-space: nowrap;
}

.menu-note {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: #8a6a45;
  font-weight: 600;
  text-align: center;
}

.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-4);
}

@media (max-width: 700px) {
  .menu-cols { grid-template-columns: 1fr; }
  .menu-panel { padding: var(--space-3); }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-grid button {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease;
}

.gallery-grid button:hover { transform: translateY(-4px); }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(40, 24, 10, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: var(--cream);
  color: var(--choco-deep);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Locations / contact
   ========================================================================== */

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-card .loc-body { padding: var(--space-3); flex: 1; }

.location-card h3 {
  font-size: 1.45rem;
  margin-bottom: var(--space-1);
  color: var(--orange-deep);
}

.loc-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
  font-weight: 600;
  color: #5c4025;
}

.loc-line svg { flex-shrink: 0; margin-top: 4px; color: var(--orange-deep); }

.location-card iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.delivery-buttons {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.delivery-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--cream-deep);
  color: var(--choco-deep);
  background: var(--paper);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.delivery-btn:hover { background: var(--cream); border-color: var(--orange); }

.socials {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--choco);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.socials a:hover { transform: translateY(-3px); background: var(--orange-deep); }

/* ==========================================================================
   Home teaser rows
   ========================================================================== */

.teaser-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.teaser-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.center-cta { text-align: center; margin-top: var(--space-4); }

.topping-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.topping-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  color: var(--choco);
  padding: 7px 16px;
  border-radius: 999px;
}

.band-cream { background: var(--cream); }
.band-orange { background: var(--orange); }

/* Full-page orange background (contact) */
.page-orange { background: var(--orange); }
.page-orange .section-sub, .page-orange .menu-note { color: #5c3a13; }
.page-orange .delivery-btn { background: var(--paper); }
.page-orange .site-footer { margin-top: 0; }

.band-orange .section-title, .band-orange .section-sub { color: var(--choco-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--choco-deep);
  color: var(--cream);
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.site-footer img.footer-logo { height: 56px; width: auto; }

.site-footer h4 {
  color: var(--orange-soft);
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
}

.site-footer p, .site-footer li {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8d9bf;
}

.site-footer ul { list-style: none; }
.site-footer ul li { padding: 3px 0; }
.site-footer a { color: #f4c887; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(247, 237, 220, 0.18);
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  text-align: center;
  font-size: 0.85rem;
  color: #c9b493;
}

/* ==========================================================================
   Responsive nav
   ========================================================================== */

@media (max-width: 820px) {
  .nav-burger { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 2px solid var(--cream-deep);
    padding: var(--space-2) var(--space-3);
    display: none;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; text-align: center; }
  .lang-toggle { margin: var(--space-1) auto 0; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
