/* ============================================================
   GABA'S - STYLES
   Organized by section. Search for "SECTION:" to jump.
   ============================================================ */

/* ------------------------------------------------------------
   SECTION: Design tokens (colors, fonts, spacing)
   Tweak palette here. Values cascade through the whole site.
   ------------------------------------------------------------ */
:root {
  /* Palette - natural cream / brown / sage. No pinks or oranges. */
  --cream:        #EAE6D8;   /* page background */
  --cream-light:  #F4F1E6;   /* cards / section accents */
  --cream-deep:   #DDD8C5;   /* slightly darker cream for borders / depth */
  --ink:          #2A211A;
  --ink-soft:     #4A3D32;
  --coffee:       #6B4F3A;   /* primary accent (warm brown) */
  --coffee-dark:  #4A3526;
  --sage:         #8FA07F;   /* secondary accent (natural green) */
  --sage-soft:    #B8C2A8;
  --olive:        #6B7A5A;

  /* Boho/earthy accent palette - used sparingly in hero & decorative
     touches to add warmth and break the all-cream feel. */
  --vanilla:      #F1EADA;   /* warm off-white */
  --sand:         #CEC1A8;   /* soft sandy beige */
  --tobacco:      #B59E7D;   /* warm taupe accent */
  --mountain:     #AAA396;   /* sage-grey, more sophisticated than sage-soft */
  --mahogany:     #584738;   /* deep warm brown */

  /* Type
     - Aharoni CLM: bold display Hebrew (loaded via cdnfonts).
     - Heebo: clean Hebrew sans for body and UI.
     - Frank Ruhl Libre: serif for occasional accents.
     - Caveat: handwritten Latin script for the Gaba's wordmark moments. */
  --font-body:    'Heebo', 'Aharoni', system-ui, -apple-system, sans-serif;
  --font-heading: 'Aharoni', 'Heebo', system-ui, sans-serif;
  --font-serif:   'Frank Ruhl Libre', 'Heebo', serif;
  --font-script:  'Caveat', cursive;

  /* Layout */
  --maxw:         1180px;
  --radius:       16px;
  --radius-lg:    20px;

  /* Shadows - soft, warm */
  --shadow-sm:    0 2px 8px rgba(74, 53, 38, 0.06);
  --shadow-md:    0 6px 24px rgba(74, 53, 38, 0.08);
  --shadow-lg:    0 12px 40px rgba(74, 53, 38, 0.14);

  /* Easing / motion */
  --ease:         cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------
   SECTION: Reset & base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Anchor jumps — mobile overrides scroll-padding in @media (max-width: 767px) so waves stay visible. */
  scroll-padding-top: 24px;
}
@media (min-width: 768px) {
  html { scroll-padding-top: 70; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Subtle paper-grain overlay */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.31 0 0 0 0 0.23 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a { color: var(--coffee); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--coffee-dark); }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

::selection { background: var(--sage-soft); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ------------------------------------------------------------
   SECTION: Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 50px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}

.btn-primary {
  background: var(--coffee);
  color: var(--cream-light);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--coffee-dark);
  color: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }   /* RTL: arrow points left */

/* ------------------------------------------------------------
   SECTION: Navbar (sticky)
   ------------------------------------------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 230, 216, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(107, 79, 58, 0.1);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Sit above the mobile-menu drawer so the hamburger stays clickable when open. */
  position: relative;
  z-index: 91;
}

/* Round logo - cream circle with thin coffee outline */
.nav-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-light);
  box-shadow: inset 0 0 0 1px rgba(107, 79, 58, 0.15);
  overflow: hidden;
  padding: 4px;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 4px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in menu (from the right, since RTL) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 320px);
  background: var(--cream-light);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform .3s var(--ease);
  padding: 96px 32px 32px;
  z-index: 90;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(107, 79, 58, 0.1);
}

/* ------------------------------------------------------------
   SECTION: Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  /* Subtract the sticky navbar height so the hero fills exactly the visible viewport */
  /* +60px: wave divider is absolutely positioned at bottom inside hero (same total height as old sibling svg) */
  min-height: calc(100svh - 76px + 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* Sage-grey glow top-right */
    radial-gradient(ellipse 55% 45% at 78% 22%, rgba(170, 163, 150, 0.30), transparent 70%),
    /* Sandy warm glow bottom-left */
    radial-gradient(ellipse 70% 60% at 18% 82%, rgba(206, 193, 168, 0.42), transparent 65%),
    /* Vanilla → cream vertical wash */
    linear-gradient(180deg, var(--vanilla) 0%, var(--cream) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Hero logo wrapper - holds the logo plus a soft organic blob backdrop
   so the logo feels "placed" inside the hero rather than floating alone. */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: .25rem;
  isolation: isolate;
}
.hero-logo-wrap::before {
  /* Soft sand-colored organic blob behind the logo - hand-drawn feel */
  content: "";
  position: absolute;
  inset: -18px -26px -22px -22px;
  background: var(--sand);
  border-radius: 58% 42% 48% 52% / 52% 56% 44% 48%;
  opacity: .55;
  z-index: -1;
  transform: rotate(6deg);
  transition: transform .8s var(--ease);
}
.hero-logo-wrap:hover::before {
  transform: rotate(10deg) scale(1.02);
}

/* Hand-drawn tobacco-coloured ring around the hero logo - hidden everywhere
   per design preference (kept rule + SVG in DOM for easy re-enable later). */
.hero-logo-ring {
  display: none;
}

/* Hero logo - organic blob shape (NOT perfect circle), gentle tilt
   so it feels hand-placed rather than geometric. */
.hero-logo {
  width: min(280px, 62vw);
  height: min(280px, 62vw);
  border-radius: 48% 52% 51% 49% / 50% 49% 51% 50%;
  background: var(--cream-light);
  padding: 14px;
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(107, 79, 58, 0.10),
    0 14px 36px rgba(74, 53, 38, 0.14);
  transform: rotate(-2.5deg);
  transition: transform .6s var(--ease);
  position: relative;
}
.hero-logo:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Tagline + subtitle wrapped together so they read as a paired unit
   with their own internal rhythm, separate from the rest of hero. */
.hero-tagline-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-top: 2.25rem; /* extra breathing room from the logo */
}

.hero-tagline {
  font-family: var(--font-heading);  /* Aharoni */
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 700;
  color: var(--mahogany);            /* Richer, deeper brown for more presence */
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Subtitle - Frank Ruhl Libre medium italic, tobacco colour so it reads
   as a quiet whisper under the bolder main line. */
.hero-subtagline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--tobacco);
  letter-spacing: .05em;
  margin: 0 0 .25rem;
  line-height: 1.4;
}

.hero-cta { margin-top: 2rem; }


/* Scroll-down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid var(--coffee);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: .5;
  transition: opacity .2s var(--ease);
}
.scroll-indicator span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--coffee);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
.scroll-indicator:hover { opacity: .9; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: .3; }
}

/* ------------------------------------------------------------
   SECTION: Generic sections + container + dividers + reveal
   ------------------------------------------------------------ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }

/* In-page links (#about, #menu, …): each wave sits *above* the section in the DOM.
   Without scroll-margin, the browser aligns the section top to the viewport and the
   60px wave scrolls off. Reserve space above the target so the divider stays visible. */
.section[id] {
  scroll-margin-top: calc(60px + 12px);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--coffee-dark);
  margin: 0 0 1.25rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--sage);
  border-radius: 2px;
  margin-top: 8px;
}

/* Hand-drawn-feel wavy SVG divider */
.divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -1px;    /* close any sub-pixel gap at the top */
  margin-bottom: -1px; /* close any sub-pixel gap at the bottom */
}
/* First divider: anchored to hero bottom so transparency above the wave paints over .hero-bg (not body grain). */
.hero .divider--hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.divider-flip { transform: scaleY(-1); }

/* Fade-in-on-scroll (added by IntersectionObserver in script.js) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   SECTION: About
   ------------------------------------------------------------ */
.about { background: var(--cream-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text p {
  margin: 0 0 1.1rem;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.65;
}

/* Use higher specificity (.about-text p.about-signoff) so the larger
   font-size beats the generic `.about-text p` body-paragraph rule. */
.about-text p.about-signoff {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--coffee-dark);
  margin-top: 1.6rem !important;
  line-height: 1.35;
  font-weight: 700;
}

.about-image { margin: 0; }

.about-image img,
.about-image .image-placeholder {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-image figcaption {
  margin-top: .75rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--coffee);
}

/* Generic placeholder used until owner adds real photos.
   Stays in cream / sage tones - no pinks. */
.image-placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      var(--sage-soft) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(135deg, var(--cream) 0%, var(--sage-soft) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--coffee);
  font-size: 2.5rem;
}
.image-placeholder small {
  font-size: .8rem;
  letter-spacing: 1px;
  opacity: .7;
}

/* ------------------------------------------------------------
   SECTION: Menu
   ------------------------------------------------------------ */
.menu { background: var(--cream); }

.menu-header {
  text-align: center;
  margin-bottom: 3rem;
}
.menu-header .section-title { display: inline-block; }
.menu-header .section-title::after { margin-inline: auto; }

.menu-legend {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  font-size: .95rem;
  color: var(--coffee);
}
.menu-legend li { display: inline-flex; align-items: center; gap: .4rem; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.menu-card {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 79, 58, 0.08);
}

.menu-cat {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--coffee-dark);
  margin: 0 0 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 2px dashed rgba(143, 160, 127, 0.5);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  letter-spacing: -0.005em;
}
.menu-cat .cat-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  opacity: .65;
  letter-spacing: 1px;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li {
  padding: .8rem 0;
  border-bottom: 1px solid rgba(107, 79, 58, 0.08);
}
.menu-list > li:last-child { border-bottom: 0; }

/* Item header: name . dotted leader . price */
.item-head {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  line-height: 1.2;
}
.item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(107, 79, 58, 0.32);
  transform: translateY(-6px);
  min-width: 24px;
}
.item-price {
  /* Use Heebo (has digits) so the ₪ + number render at the intended size,
     not whatever the system fallback chooses for Aharoni. */
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  color: var(--coffee);
  white-space: nowrap;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
}
.item-price > span[dir="ltr"] {
  font: inherit;
  display: inline-block;
}
.item-desc {
  margin: .35rem 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  opacity: .8;
  line-height: 1.5;
}

.fav { color: var(--coffee); font-size: 1.05em; }
.diet { font-size: .95em; }

.menu-note {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--coffee);
  opacity: .8;
  font-style: italic;
}
/* Variant for "all items at price X" lines — read as a prominent price,
   not an italic footnote. Matches .item-price weight/size. */
.menu-note--price {
  font-family: 'Heebo', system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  opacity: 1;
  color: var(--coffee);
}

/* ------------------------------------------------------------
   SECTION: Gallery
   ------------------------------------------------------------ */
.gallery { background: var(--cream-light); }

.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  aspect-ratio: 1 / 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img,
.gallery-item .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(244, 241, 230, 0.95);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   SECTION: Contact
   ------------------------------------------------------------ */
.contact { background: var(--cream); }

.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  background: var(--cream-light);
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 79, 58, 0.06);
}
.contact-list strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--coffee-dark);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.contact-list p { margin: 0; }
.contact-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
  background: var(--cream-light);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  filter: saturate(.85);
}

/* ------------------------------------------------------------
   SECTION: Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--coffee-dark);
  color: var(--cream-light);
  padding: 40px 0 32px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
/* Round footer logo - cream circle on dark coffee bg */
.footer-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cream-light);
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(244, 241, 230, 0.15);
}
.footer-social {
  display: flex;
  gap: 1.25rem;
  margin: .25rem 0;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 241, 230, 0.1);
  color: var(--cream-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover {
  background: var(--sage);
  color: var(--cream-light);
  transform: translateY(-2px);
}
.footer-copy {
  font-size: .9rem;
  opacity: .75;
  margin: .5rem 0 0;
}

/* ------------------------------------------------------------
   SECTION: Floating actions menu (FAB)
   Bottom-LEFT corner. Hidden by default; revealed only while the
   user is actively scrolling, then auto-hides after a brief idle
   so it doesn't interrupt reading. Click to fan options upward.
   ------------------------------------------------------------ */
.fab-stack {
  position: fixed;
  bottom: 22px;
  left: 22px;                     /* bottom-LEFT corner */
  z-index: 95;
  width: 58px;                    /* matches the trigger so absolute children align */
  height: 58px;

  /* Hidden by default — JS toggles .visible while scrolling */
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.fab-stack.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--cream-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(74, 53, 38, 0.32);
  transition: transform .3s var(--ease), background .2s var(--ease);
  z-index: 2;
}
.fab-trigger:hover { background: var(--coffee-dark); transform: scale(1.05); }
.fab-trigger .fab-icon-close { display: none; }
.fab-trigger[aria-expanded="true"] {
  background: var(--coffee-dark);
  transform: rotate(180deg);
}
.fab-trigger[aria-expanded="true"] .fab-icon-default { display: none; }
.fab-trigger[aria-expanded="true"] .fab-icon-close   { display: block; transform: rotate(-180deg); }

/* Items absolutely positioned — start ON the trigger, fan upward when open */
.fab-item {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 52px;
  height: 52px;
  margin-left: -26px;             /* center horizontally on trigger */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(74, 53, 38, 0.25);
  opacity: 0;
  transform: translateY(0) scale(.6);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  z-index: 1;
}
/* Open: items fan upward (HTML order: Instagram, Waze). */
.fab-stack.open .fab-item        { opacity: 1; pointer-events: auto; }
.fab-stack.open .fab-item:nth-child(1) {  /* Instagram - top */
  transform: translateY(-140px) scale(1);
  transition-delay: .08s;
}
.fab-stack.open .fab-item:nth-child(2) {  /* Waze - just above trigger */
  transform: translateY(-70px) scale(1);
  transition-delay: .02s;
}

/* Hover lift while staying at the open position */
.fab-stack.open .fab-item:nth-child(1):hover { transform: translateY(-146px) scale(1.08); }
.fab-stack.open .fab-item:nth-child(2):hover { transform: translateY(-76px)  scale(1.08); }
.fab-item:hover { box-shadow: 0 10px 22px rgba(74, 53, 38, 0.32); }

.fab-whatsapp  { background: #25D366; }
.fab-whatsapp:hover  { background: #1FBA59; color: #fff; }

/* Instagram official gradient — recognizable brand color */
.fab-instagram {
  background: radial-gradient(circle at 30% 110%, #FED576 0%, #F47133 25%, #BC3081 50%, #4C63D2 100%);
}
.fab-instagram:hover { color: #fff; filter: brightness(1.05); }

/* Waze cyan brand color */
.fab-waze      { background: #33CCFF; }
.fab-waze:hover      { background: #1FB6E8; color: #fff; }

/* ------------------------------------------------------------
   SECTION: Responsive
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  /* Anchor jumps: default html scroll-padding (24px) put the *section top* just under the
     viewport edge, so the 60px wave (above the section in the layout) sat mostly off-screen.
     Inset = safe area + sticky bar (~76px, see .hero min-height) + wave height so the divider
     stays visible below the nav. scroll-margin on sections only fine-tunes on larger breakpoints. */
  html {
    scroll-padding-top: max(
      env(safe-area-inset-top, 0px) + 76px + 60px
    );
  }
  .section[id] {
    scroll-margin-top: 0;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero       { padding: 40px 18px 80px; }

  .section    { padding: 56px 0; }
  .menu-card  { padding: 22px 18px; }
  .menu-cat                 { font-size: 1.65rem; }
  .item-name                { font-size: 1.2rem; }
  .item-price               { font-size: 1rem; }   /* Smaller than name; Heebo Bold gives weight */
  .item-desc                { font-size: .98rem; }
  .about-text p             { font-size: 1.05rem; }
  /* Higher specificity so signoff wins over `.about-text p` rule above */
  .about-text p.about-signoff { font-size: 1.6rem; }

  /* Keep content from sliding under the FAB — footer padding absorbs the space,
     no body padding so the cream background doesn't show below the dark footer */
  .footer { padding-bottom: 90px; }

  /* Hide the scroll indicator on small phones - too cramped beside the FAB */
  .scroll-indicator { display: none; }

  /* Hero logo: sand blob + soft depth only — hide the SVG tobacco ring and the 1px hairline shadow;
     both read as a fussy brown circle on small screens. */
  .hero-logo {
    border-radius: 48% 52% 51% 49% / 50% 49% 51% 50%;
    aspect-ratio: 1;
    transform: none;
    box-shadow: 0 14px 36px rgba(74, 53, 38, 0.14);
  }
  .hero-logo:hover {
    transform: scale(1.02);
  }
  .hero-logo-ring {
    display: none;
  }
  .hero-logo-wrap::before {
    inset: -18px -24px -20px -24px;
    border-radius: 58% 42% 48% 52% / 52% 56% 44% 48%;
    transform: none;
    opacity: 0.52;
  }
  .hero-logo-wrap:hover::before {
    transform: scale(1.02);
  }

  /* Long item names should wrap rather than smush into the price */
  .item-head  { flex-wrap: wrap; row-gap: 2px; }
  .item-name  { max-width: 100%; }
  .item-dots  { min-width: 16px; }

  /* Cap the about portrait so it doesn't dominate on tiny screens */
  .about-image { max-width: 280px; margin-inline: auto; }
}

@media (min-width: 768px) {
  .nav-inner { padding: 14px 32px; }
  .section { padding: 100px 0; }

  .about-grid {
    /* RTL: text on the right, image on the left.
       Grid track 1 (start) = right side in RTL. */
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
  .about-image { order: 2; }   /* visual: left of text */

  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .menu-card-wide { grid-column: 1 / -1; }
  .menu-list.two-col {
    columns: 2;
    column-gap: 2.5rem;
  }
  .menu-list.two-col > li { break-inside: avoid; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }
  .contact-map { min-height: 480px; }

  .fab-stack    { bottom: 28px; left: 28px; width: 62px; height: 62px; }
  .fab-item     { width: 54px; height: 54px; margin-left: -27px; }
}

@media (min-width: 1024px) {
  .gallery-grid { gap: 18px; }
}
