﻿:root {
  --ink: #24140d;
  --paper: #fff4df;
  --panel: #fffaf1;
  --muted: #776356;
  --line: rgba(36, 20, 13, 0.13);
  --charcoal: #120c08;
  --green: #0d6d47;
  --red: #a62b1f;
  --terracotta: #d65a2b;
  --gold: #e5ad42;
  --gold-bright: #ffc96a;
  --shadow: 0 24px 70px rgba(48, 24, 12, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 14%, rgba(214, 67, 49, 0.42), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(106, 190, 115, 0.55), transparent 34%),
    radial-gradient(circle at 20% 84%, rgba(166, 43, 31, 0.34), transparent 30%),
    linear-gradient(135deg, #f7d0c4 0%, #f0b7a6 34%, #cfeabf 68%, #a9d99b 100%);
  font-family: Inter, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(166, 43, 31, 0.16) 18px 20px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(13, 109, 71, 0.15) 22px 24px);
}

.menu-tools { display:flex; align-items:end; justify-content:space-between; gap:24px; padding:32px clamp(18px,5vw,64px) 0; }
.menu-tools label { display:grid; gap:8px; width:min(100%,620px); color:var(--ink); font-weight:900; }
.menu-tools input { width:100%; padding:15px 18px; color:var(--ink); background:rgba(255,250,241,.92); border:1px solid var(--line); border-radius:14px; font:inherit; box-shadow:0 10px 30px rgba(48,24,12,.08); }
.menu-tools p { margin:0; color:var(--muted); white-space:nowrap; }
.category-board nav { display:grid; gap:10px; }
.category-board a { display:flex; justify-content:space-between; gap:12px; }
.category-board small { opacity:.72; }
.category-title > span { display:grid; min-width:44px; height:44px; place-items:center; color:var(--ink); background:var(--gold-bright); border-radius:50%; font-weight:900; }
.dish-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.dish-card { display:grid; grid-template-columns:160px minmax(0,1fr); min-height:180px; margin:0; overflow:hidden; background:rgba(255,250,241,.94); border:1px solid rgba(36,20,13,.1); border-radius:18px 8px 18px 8px; box-shadow:0 12px 30px rgba(48,24,12,.11); }
.dish-card img,.dish-placeholder { width:160px; height:100%; min-height:180px; object-fit:cover; }
.dish-placeholder { display:grid; place-items:center; color:rgba(255,255,255,.78); background:radial-gradient(circle at 30% 20%,rgba(255,201,106,.28),transparent 35%),linear-gradient(145deg,var(--green),#09462f 55%,var(--charcoal)); }
.dish-placeholder span { padding:10px; border:1px solid rgba(255,255,255,.26); border-radius:999px; font-family:Cinzel,serif; font-size:10px; letter-spacing:.15em; }
.dish-info { padding:18px; }
.dish-line { display:flex; align-items:start; justify-content:space-between; gap:12px; margin-bottom:10px; color:var(--green); font-size:11px; font-weight:900; text-transform:uppercase; }
.dish-line strong { color:var(--red); font-size:17px; }
.dish-info h3 { margin:0 0 8px; font-family:Cinzel,serif; font-size:20px; line-height:1.18; }
.dish-info p { margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.no-results { padding:50px; text-align:center; background:var(--panel); border-radius:18px; }
.location-strip { padding:clamp(50px,7vw,90px) clamp(18px,5vw,64px); color:#fff; background:linear-gradient(135deg,var(--charcoal),#2c170e); }
.location-strip>div:first-child { max-width:760px; margin-bottom:28px; }
.location-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.location-grid a { display:grid; gap:10px; padding:24px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:18px 8px; transition:transform .18s ease,background .18s ease; }
.location-grid a:hover { transform:translateY(-4px); background:rgba(255,255,255,.12); }
.location-grid strong { color:var(--gold-bright); font-family:Cinzel,serif; font-size:22px; }
.location-grid span { color:rgba(255,255,255,.75); line-height:1.55; }
.location-grid b { color:#fff; }
@media (max-width:1100px){.dish-grid{grid-template-columns:1fr}.dish-card{grid-template-columns:140px 1fr}.dish-card img,.dish-placeholder{width:140px}}
@media (max-width:760px){.menu-tools{align-items:stretch;flex-direction:column}.menu-shell{grid-template-columns:1fr}.category-board{position:relative;top:auto}.category-board nav{grid-template-columns:repeat(2,1fr)}.location-grid{grid-template-columns:1fr}.dish-card{grid-template-columns:96px 1fr}.dish-card img,.dish-placeholder{width:96px}.dish-info{padding:14px}.dish-info h3{font-size:17px}}

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

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

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px clamp(18px, 3vw, 34px);
  background: rgba(18, 12, 8, 0.96);
  border-bottom: 1px solid rgba(255, 243, 216, 0.06);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.topbar nav a {
  padding: 8px 0;
  color: rgba(255, 243, 216, 0.78);
  font-size: 16px;
  font-weight: 800;
}

.topbar nav a:hover {
  color: var(--gold-bright);
}

.topbar nav a.order-online {
  padding: 10px 18px;
  color: #1a100b;
  background: linear-gradient(135deg, #ffd36a, var(--gold));
  border: 1px solid rgba(255, 233, 171, 0.8);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 201, 106, 0.52), 0 10px 28px rgba(0, 0, 0, 0.3);
  animation: order-pulse 2.2s infinite;
}

.topbar nav a.order-online:hover { color: #1a100b; background: #ffe19a; transform: translateY(-2px); }

@keyframes order-pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 201, 106, 0), 0 10px 28px rgba(0, 0, 0, 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(255, 201, 106, 0), 0 10px 28px rgba(0, 0, 0, 0.3); }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 82px;
  min-height: 38px;
  padding: 4px;
  color: rgba(255, 243, 216, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 243, 216, 0.18);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.lang-toggle span {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
}

.lang-toggle.is-en [data-lang-option="en"],
.lang-toggle.is-es [data-lang-option="es"] {
  color: #7c1f16;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.menu-hero {
  position: relative;
  display: grid;
  min-height: 72svh;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.menu-hero > img,
.menu-hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.menu-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.9), rgba(18, 12, 8, 0.34) 58%, rgba(18, 12, 8, 0.72)),
    linear-gradient(0deg, rgba(18, 12, 8, 0.92), transparent 52%);
}

.menu-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 120px clamp(22px, 6vw, 84px) 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(52px, 7vw, 104px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

h3,
p {
  margin-top: 0;
}

.menu-hero-copy p:last-child {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.65;
}

.menu-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  padding: clamp(36px, 5vw, 74px) clamp(18px, 5vw, 64px);
}

.category-board {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(18, 12, 8, 0.9), rgba(18, 12, 8, 0.66)),
    linear-gradient(135deg, var(--green), var(--red));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px 8px 18px 8px;
  box-shadow: var(--shadow);
}

.category-board a {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px 6px 12px 6px;
  font-weight: 900;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease;
}

.category-board a:hover {
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateX(5px);
}

.menu-board {
  display: grid;
  gap: 42px;
}

.menu-category {
  scroll-margin-top: 90px;
}

.category-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #2c170e);
  border-left: 7px solid var(--gold);
  border-radius: 18px 8px 18px 8px;
  box-shadow: 0 14px 34px rgba(48, 24, 12, 0.12);
}

.category-title .eyebrow {
  color: var(--gold-bright);
}

.dish-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(150px, 18vw, 240px) minmax(0, 1fr);
  min-height: 194px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(36, 20, 13, 0.1);
  border-radius: 22px 8px 22px 8px;
  box-shadow: 0 14px 34px rgba(48, 24, 12, 0.1);
  transform: translateY(0);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.dish-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--green), var(--gold), var(--red));
}

.dish-card:hover {
  border-color: rgba(229, 173, 66, 0.52);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.dish-card.featured {
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(255, 239, 205, 0.94));
}

.dish-card img {
  width: 100%;
  height: 100%;
  min-height: 194px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.dish-card:hover img {
  transform: scale(1.06);
}

.dish-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  align-content: center;
  padding: clamp(18px, 3vw, 28px);
}

.dish-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(36, 20, 13, 0.22);
}

.dish-line span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dish-line strong {
  color: var(--red);
  font-size: 21px;
}

.dish-card h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
}

.dish-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translateX(-1.5%);
  }
}

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

@media (max-width: 900px) {
  .menu-shell {
    grid-template-columns: 1fr;
  }

  .category-board {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-board .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: absolute;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
  }

  .topbar nav {
    flex: 1;
    flex-wrap: nowrap;
    gap: 13px;
    overflow-x: auto;
  }

  .topbar nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

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

  .dish-card img {
    aspect-ratio: 16 / 10;
  }

  .dish-info {
    grid-template-columns: 1fr;
  }

  .category-board {
    grid-template-columns: 1fr;
  }
}

/* Decorative palms: background < palms < page content. */
body { position: relative; isolation: isolate; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url("palm-gold-transparent.png") right -190px top 18vh / min(620px, 62vw) auto no-repeat,
    url("palm-gold-transparent.png") left -220px top 68vh / min(680px, 68vw) auto no-repeat;
  opacity: 0.11;
  pointer-events: none;
}
body > * { position: relative; z-index: 1; }

@media (max-width: 700px) {
  body::after {
    background:
      url("palm-gold-transparent.png") right -260px top 22vh / 520px auto no-repeat,
      url("palm-gold-transparent.png") left -280px top 76vh / 540px auto no-repeat;
    opacity: 0.09;
  }
}

/* Full-menu layout overrides: keep every text block in its own row. */
.dish-grid .dish-card { margin-bottom: 0; }
.dish-grid .dish-info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.dish-grid .dish-line { flex: 0 0 auto; margin-bottom: 14px; }
.dish-grid .dish-info h3 { display: block; width: 100%; margin: 0 0 9px; overflow-wrap: anywhere; }
.dish-grid .dish-info p { display: block; width: 100%; max-width: none; margin: 0; overflow-wrap: anywhere; }

/* Keep the complete category list reachable on shorter screens. */
.category-board {
  max-height: calc(100vh - 108px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold-bright) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.category-board::-webkit-scrollbar { width: 8px; }
.category-board::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.07); border-radius: 999px; }
.category-board::-webkit-scrollbar-thumb { background: var(--gold-bright); border-radius: 999px; }

@media (max-width: 900px) {
  .category-board {
    max-height: none;
    overflow: visible;
  }

  .category-board nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-board nav { grid-template-columns: 1fr; }
  .dish-grid .dish-card { grid-template-columns: 96px minmax(0, 1fr); min-height: 180px; }
  .dish-grid .dish-placeholder { width: 96px; min-height: 180px; }
  .dish-grid .dish-info { padding: 14px; }
  .dish-grid .dish-line { gap: 8px; margin-bottom: 11px; padding-bottom: 9px; }
  .dish-grid .dish-line span { font-size: 10px; }
  .dish-grid .dish-line strong { font-size: 17px; }
  .dish-grid .dish-info h3 { font-size: 17px; }
  .dish-grid .dish-info p { font-size: 13px; line-height: 1.4; }
}



