/* ===== VARIABLES ===== */
:root {
  --saffron: #FF6B35;
  --deep-blue: #1a1a2e;
  --royal: #2d2d6e;
  --gold: #f5c842;
  --cream: #fff8f2;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e8e0d5;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(26,26,46,0.10);
  --shadow-hover: 0 8px 32px rgba(26,26,46,0.18);
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--royal) 60%, #3a1a6e 100%);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,107,53,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245,200,66,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 1; }

.logo-wrap {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.logo-img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; }

.brand-name {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}
.brand-name span { color: var(--gold); }

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.hero-badges {
  display: flex; gap: 10px; justify-content: center; margin-top: 14px;
}
.badge {
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge.veg { background: rgba(74,222,128,0.2); color: #4ade80; border: 1px solid rgba(74,222,128,0.4); }
.badge.gst { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }

.contact-strip {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px;
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}
.contact-btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ===== SEARCH ===== */
.search-wrap {
  padding: 20px 16px 0;
  max-width: 640px;
  margin: 0 auto;
}
.search-box {
  display: flex; align-items: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--saffron); }
.search-icon { font-size: 1.1rem; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
}
.clear-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.85rem;
  padding: 2px 6px; border-radius: 50%;
  transition: background 0.15s;
  display: none;
}
.clear-btn.visible { display: block; }
.clear-btn:hover { background: #f3f4f6; }

/* ===== CATEGORY NAV ===== */
.cat-nav {
  display: flex;
  gap: 8px;
  padding: 16px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 900px;
  margin: 0 auto;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-btn:hover { border-color: var(--saffron); color: var(--saffron); }
.cat-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,107,53,0.35);
}

/* ===== MAIN ===== */
.menu-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 12px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== SECTION ===== */
.menu-section { animation: fadeUp 0.4s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.section-icon { font-size: 1.5rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--deep-blue);
  flex: 1;
}
.section-note {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}

/* ===== THALI CARDS ===== */
.thali-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .thali-cards { grid-template-columns: repeat(3, 1fr); }
}
.thali-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.thali-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.thali-card.special {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf0 0%, #fff8f2 100%);
}
.thali-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--saffron);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.thali-badge.popular { background: #10b981; }
.thali-badge.chef { background: linear-gradient(90deg, var(--saffron), var(--gold)); color: var(--deep-blue); }
.thali-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 8px;
}
.thali-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.thali-note { font-size: 0.72rem; color: var(--saffron); font-weight: 700; }
.thali-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--saffron);
  margin-top: 12px;
}

.bread-choice { margin: 10px 0; }
.bc-label { font-size: 0.72rem; font-weight: 700; color: var(--deep-blue); }
.bc-options {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
.bc-options span {
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  color: var(--saffron);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ===== GRID TWO ===== */
.grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .grid-two { grid-template-columns: 1fr 1fr; }
}
.sub-section {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.sub-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sub-note { font-size: 0.72rem; color: var(--muted); margin-bottom: 10px; font-style: italic; }

/* ===== ITEM LIST ===== */
.item-list { display: flex; flex-direction: column; gap: 2px; }

/* Default row (price only) */
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  transition: background 0.15s, transform 0.15s;
  gap: 12px;
}
.menu-item:hover { background: #fff8f2; transform: translateX(3px); }

.item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.item-tag {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 6px;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 100px;
}
.item-avail { color: #f59e0b; }

.item-price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--saffron);
  font-size: 1rem;
  white-space: nowrap;
}

/* Half-Full price rows */
.half-full-list .menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 14px;
  align-items: center;
}
.hf-prices {
  display: flex; gap: 8px; align-items: center;
}
.hf-price {
  display: flex; flex-direction: column; align-items: center;
  min-width: 48px;
}
.hf-label { font-size: 0.6rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.hf-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--saffron);
}
.hf-sep { width: 1px; height: 28px; background: var(--border); }

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.no-results span { font-size: 3rem; display: block; margin-bottom: 12px; }
.no-results p { font-size: 1rem; font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,0.75);
  padding: 32px 20px 40px;
  text-align: center;
}
.footer-rules { margin-bottom: 20px; }
.footer-rules h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-rules ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-rules li { font-size: 0.82rem; }
.footer-links {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.35); }

/* ===== INSTALL BANNER ===== */
.install-banner {
  position: fixed;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--deep-blue);
  color: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 1000;
  max-width: 360px; width: calc(100% - 32px);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.install-banner p { font-size: 0.82rem; font-weight: 600; flex: 1; line-height: 1.4; }
.install-banner .inst-btn {
  background: var(--saffron); color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 16px; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; white-space: nowrap;
}
.install-banner .dismiss-btn {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 1.1rem; padding: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1c9bf; border-radius: 100px; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .brand-name { font-size: 3.2rem; }
  .hero { padding: 64px 20px 72px; }
}
