/* ========================================
   MENU.CSS — Vrindavan Misthanna Bhandar
   ======================================== */

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

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

a, button, .nav-logo, .nav-toggle, .menu-item, .filter-btn, .whatsapp-float {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

:root {
  --green:       #1a7a2e;
  --green-light: #2ea845;
  --green-pale:  #edf7f0;
  --orange:      #e07b18;
  --orange-light:#f4a435;
  --orange-pale: #fff8ee;
  --red:         #c0392b;
  --cream:       #fdf8f2;
  --dark:        #1a1a1a;
  --mid:         #444444;
  --muted:       #777777;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.11);
  --radius:      16px;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-accent: 'Poppins', sans-serif;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--dark); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* ---- Shared Components ---- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* ========================================
   NAVBAR (shared across all pages)
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}
.nav-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand { display: flex; flex-direction: column; }
.brand-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: color 0.3s ease;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}
.navbar.scrolled .brand-main { color: var(--green); }
.navbar.scrolled .brand-sub  { color: var(--muted); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { background: rgba(255,255,255,0.14); }
.navbar.scrolled .nav-links a:hover { background: var(--green-pale); color: var(--green); }
.nav-links a.active { color: var(--orange-light) !important; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay (dims page behind mobile menu) */
.nav-overlay {
  display: none;
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
  .navbar { background: rgba(15,36,22,0.97); backdrop-filter: blur(12px); }
  .navbar.scrolled { background: var(--white); }
  .navbar:not(.scrolled) .brand-main { color: var(--white); }
  .navbar:not(.scrolled) .brand-sub  { color: rgba(255,255,255,0.75); }

  .nav-toggle { display: flex; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 16px;
    left: auto;
    width: min(62vw, 240px);
    max-height: calc(100vh - 100px);
    background: #14301f;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    margin: 0;
    transform: translateY(-12px) scale(0.96);
    opacity: 0;
    transform-origin: top right;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    border-bottom: none;
    color: rgba(255,255,255,0.92) !important;
  }
  .nav-links a:hover,
  .nav-links a:active { background: rgba(255,255,255,0.08); }
  .nav-links a.active { background: rgba(224,123,24,0.15); }

  .nav-cta-wrap { margin-top: 4px; padding: 0; }
  .nav-cta-wrap a {
    text-align: center;
    border-radius: 10px !important;
    padding: 13px 16px !important;
  }
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, #0f4d1e 100%);
  padding: 120px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(224,123,24,0.12), transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin: 8px 0 14px;
}
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; }

/* ---- FILTER BAR ---- */
.menu-filter-bar {
  position: sticky;
  top: 76px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
}
.filter-container { max-width: 1180px; margin: 0 auto; }
.filter-scroll {
  display: flex;
  gap: 6px;
  padding: 12px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  background: var(--cream);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mid);
  padding: 7px 16px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---- MENU MAIN ---- */
.menu-main { padding: 48px 0 80px; }
.menu-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 60px; }

/* ---- MENU SECTION ---- */
.menu-section { scroll-margin-top: 140px; }
.menu-section.hidden { display: none; }
.ms-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-pale);
}
.ms-icon { font-size: 2rem; line-height: 1; }
.ms-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}
.ms-header p { font-size: 0.85rem; color: var(--muted); margin-left: auto; }

/* ---- MENU GRID ---- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.menu-item {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.menu-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green-pale);
  transition: background 0.3s;
}
.menu-item:hover { border-color: var(--green-light); transform: translateX(2px); }
.menu-item:hover::before { background: var(--green); }
.mi-name {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  flex: 1;
}
.mi-price {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Signature item */
.menu-item.signature {
  background: var(--orange-pale);
  border-color: rgba(224,123,24,0.25);
}
.menu-item.signature::before { background: var(--orange); }
.sig-label {
  font-size: 0.65rem;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--orange);
  background: rgba(224,123,24,0.12);
  padding: 2px 8px;
  border-radius: 50px;
  margin-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- SET ITEMS ---- */
.set-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.set-item {
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 8px;
}
.featured-item {
  background: var(--white);
  border-color: rgba(26,122,46,0.15);
}
.featured-item::before { width: 100%; height: 3px; top: 0; bottom: auto; background: var(--green); }
.set-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}
.set-top .mi-name { font-size: 0.95rem; font-weight: 600; }
.set-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.set-badge {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 4px;
}
.set-badge.satvik {
  background: var(--green);
}

/* ---- MOMO TABLE ---- */
.momo-table-wrap { overflow-x: auto; border-radius: var(--radius); }
.momo-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 500px;
}
.momo-table thead {
  background: var(--green);
  color: var(--white);
}
.momo-table th {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px 20px;
  text-align: center;
  letter-spacing: 0.04em;
}
.momo-table th:first-child { text-align: left; }
.momo-table td {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--mid);
  font-weight: 500;
}
.momo-table td:not(:first-child) { color: var(--orange); font-weight: 700; }
.momo-table tbody tr:last-child td { border-bottom: none; }
.momo-table tbody tr:hover { background: var(--orange-pale); }
.type-cell {
  font-weight: 600 !important;
  color: var(--dark) !important;
  text-align: left !important;
  font-size: 0.92rem !important;
}

/* ---- BEVERAGE TWO-COL ---- */
.bev-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bev-subhead {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
  padding: 10px 16px;
  background: var(--green-pale);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}
.bev-grid { grid-template-columns: 1fr; }

/* ---- FOOTER ---- */
.footer { background: #0f2416; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px;
}
.footer-brand img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: var(--transition);
}
.footer-socials a svg { width: 17px; height: 17px; }
.footer-socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-accent); font-size: 0.85rem; font-weight: 600;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--orange-light); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 10px; line-height: 1.6; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 24px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ---- WHATSAPP ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45); color: var(--white);
  transition: var(--transition); animation: wa-bounce 3s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.12); animation: none; }
.wa-tooltip {
  position: absolute; right: 68px; background: var(--dark); color: var(--white);
  font-family: var(--font-accent); font-size: 0.78rem; padding: 7px 14px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.wa-tooltip::after { content:''; position:absolute; right:-6px; top:50%; transform:translateY(-50%); border:4px solid transparent; border-left-color: var(--dark); }
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes wa-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .set-grid { grid-template-columns: 1fr; }
  .bev-two-col { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .menu-filter-bar { top: 70px; }
  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .ms-header { flex-wrap: wrap; }
  .ms-header p { display: none; }
  .whatsapp-float { bottom: 16px; right: 14px; width: 52px; height: 52px; }
}
@media (max-width: 520px) {
  .menu-grid { grid-template-columns: 1fr; }
  .filter-btn { font-size: 0.75rem; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }