/* ============================================================================
   PALAMURU GRILL — Shared styles (mobile-first)
   ========================================================================== */

:root {
  --bg: #0e0b09;
  --bg-2: #171210;
  --card: #1f1815;
  --card-2: #251d18;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7efe7;
  --muted: #b9a99b;
  --gold: #e8b04b;
  --gold-2: #f6c96a;
  --ember: #e2562b;
  --veg: #38a169;
  --nonveg: #d23b2f;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --maxw: 480px;
  font-synthesis-weight: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(226, 86, 43, 0.18), transparent 60%),
    radial-gradient(900px 500px at 50% 0%, rgba(232, 176, 75, 0.10), transparent 55%),
    var(--bg);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Landing hero ---------- */
.hero {
  text-align: center;
  padding: 54px 0 20px;
}

.logo-badge {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 46px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }

.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 6px 0 4px;
  background: linear-gradient(180deg, #fff, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.logo-badge img { object-fit: contain; padding: 8px; background: #fff; }

.welcome {
  color: var(--muted);
  font-size: 15.5px;
  text-align: center;
  margin: 26px 0 2px;
}

/* ---------- Stats band ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.stat {
  flex: 1;
  max-width: 110px;
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
}
.stat b { display: block; font-size: 20px; color: var(--gold-2); }
.stat span { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Signature photo strip ---------- */
.strip-wrap { padding: 26px 0 4px; }
.strip-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 2px 12px;
  font-weight: 700;
}
.strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.sig {
  flex: 0 0 auto;
  width: 138px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.sig img { width: 138px; height: 104px; object-fit: cover; display: block; }
.sig span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* ---------- About card ---------- */
.about-card {
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 8px 0 20px;
}
.about-card p { margin: 0 0 14px; color: #e6d9cb; font-size: 14.5px; line-height: 1.65; }
.awards { display: flex; flex-wrap: wrap; gap: 8px; }
.award {
  font-size: 11.5px;
  color: var(--gold-2);
  background: rgba(232, 176, 75, 0.1);
  border: 1px solid rgba(232, 176, 75, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
}

/* ---------- Branches ---------- */
.branches { padding: 6px 0 18px; }
.branch-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.btag {
  font-size: 12.5px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 10px;
}

/* ---------- Socials ---------- */
.socials { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.socials a { color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 600; }

/* ---------- Option buttons ---------- */
.options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 0 40px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.opt:active { transform: scale(0.98); }
.opt:hover { border-color: rgba(232, 176, 75, 0.4); }

.opt .ic {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(232, 176, 75, 0.12);
  border: 1px solid rgba(232, 176, 75, 0.22);
}
.opt.pay .ic { background: rgba(93, 63, 211, 0.16); border-color: rgba(120, 90, 230, 0.35); }
.opt.review .ic { background: rgba(232, 176, 75, 0.14); }
.opt.menu .ic { background: rgba(226, 86, 43, 0.16); border-color: rgba(226, 86, 43, 0.3); }

.opt .txt { display: flex; flex-direction: column; }
.opt .t { font-size: 18px; font-weight: 700; }
.opt .s { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.opt .arrow { margin-left: auto; color: var(--muted); font-size: 22px; }

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0 34px;
  line-height: 1.6;
}
.foot a { color: var(--gold); text-decoration: none; }

/* ---------- Menu page ---------- */
.menu-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 11, 9, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.menu-top .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
.back {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  flex: 0 0 auto;
}
.back:active { transform: scale(0.95); }
.menu-top .title { font-weight: 800; font-size: 17px; }
.menu-top .title small { display: block; font-weight: 500; color: var(--gold); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

.menu-hero {
  text-align: center;
  padding: 26px 0 8px;
}
.menu-hero .logo-badge { width: 74px; height: 74px; font-size: 34px; border-radius: 20px; }
.menu-hero h1 {
  font-size: 24px;
  margin: 12px 0 2px;
  background: linear-gradient(180deg, #fff, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu-hero p { color: var(--muted); font-size: 13px; margin: 2px 0 0; letter-spacing: 2px; text-transform: uppercase; }

/* category chips nav */
.chips {
  position: sticky;
  top: 65px;
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  margin: 0 auto;
  max-width: var(--maxw);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  white-space: nowrap;
}
.chip:active { transform: scale(0.96); }

.cat { padding: 18px 0 6px; }
.cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 2px 14px;
}
.cat-head h2 {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  white-space: nowrap;
}
.cat-head::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(232, 176, 75, 0.4), transparent);
}

.card {
  display: flex;
  gap: 14px;
  align-items: stretch;
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 12px;
}
.card .body { flex: 1; min-width: 0; align-self: center; }
.thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: #241c17;
  border: 1px solid var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.noimg {
  background:
    radial-gradient(circle at 30% 30%, rgba(232,176,75,0.18), transparent 60%),
    linear-gradient(150deg, #2a211b, #1d1713);
  position: relative;
}
.thumb.noimg::after {
  content: "🍽️";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 26px; opacity: 0.5;
}
.name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.diet {
  flex: 0 0 auto;
  width: 15px; height: 15px;
  border-radius: 4px;
  display: grid; place-items: center;
  border: 1.5px solid var(--nonveg);
}
.diet.veg { border-color: var(--veg); }
.diet::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nonveg);
}
.diet.veg::before { background: var(--veg); }

.item-name { font-size: 16px; font-weight: 700; }
.badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #2a1c05;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 3px 7px;
  border-radius: 6px;
}
.desc { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 5px 0 0; }
.price {
  margin-top: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--gold-2);
}

.menu-foot {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.menu-foot .cta {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1c05;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Toast / modal ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 88%;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 500px) {
  .hero { padding-top: 64px; }
}
