:root {
  --green-deep: #1a2410;
  --green-header: #2b3a1a;
  --green-heading: #2b3a1a;
  --green-accent: #5c7a34;
  --cream: #f5f4f0;
  --cream-2: #ffffff;
  --text-dark: #191f14;
  --text-muted: #6b7263;
  --divider: #dedad0;
  --maroon: #3a2828;
  --maroon-text: #f3ead9;
  --accent-red: #8a3324;
  --radius: 14px;
  --max-w: 640px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background-color: #1f3018;
  background-image: url('../assets/hero-pattern.webp?v=6');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--maroon-text);
  padding: 48px 24px 40px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hotel-logo {
  width: 150px;
  margin-bottom: 22px;
}

.ornament {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  opacity: 0.9;
}

.brand-title {
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
  color: #f6efe1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.menu-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 14px;
}
.menu-divider::before,
.menu-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(243,234,219,0.45);
}
.menu-divider span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #f0e8d8;
}

.tagline {
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: #d9d3c2;
  margin: 0 0 22px;
}

.veg-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: #cfead0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 28px;
}
.veg-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #4caf50;
  border-radius: 2px;
  display: inline-block;
  position: relative;
}
.veg-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #4caf50;
  border-radius: 50%;
}

.scroll-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  color: var(--green-deep);
  background: #f0e8d8;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.scroll-cta:active { transform: scale(0.96); }

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(243,234,219,0.35);
  color: #f0e8d8;
  background: rgba(255,255,255,0.05);
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-link svg { width: 24px; height: 24px; }
.social-link:active { transform: scale(0.92); }
.social-link:hover { background: rgba(255,255,255,0.14); }

/* ---------- SEARCH ---------- */
.search-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
}
.search-box {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-2);
  border: 1.5px solid var(--divider);
  border-radius: 999px;
  padding: 10px 16px;
}
.search-icon { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  width: 100%;
  color: var(--text-dark);
}
.search-box input::placeholder { color: #a8ab9e; }
.clear-btn {
  border: none;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  padding: 0 2px;
}
.clear-btn.show { display: block; }

/* ---------- CATEGORY NAV ---------- */
.cat-nav {
  position: sticky;
  top: 57px;
  z-index: 29;
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
  padding: 10px 0;
}
.cat-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-chip {
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--green-header);
  background: #eae7dd;
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cat-chip.active {
  background: var(--green-header);
  color: #f3ead9;
}

/* ---------- MENU CONTENT ---------- */
#menuContent {
  max-width: var(--max-w);
  margin: 0 auto;
}

.menu-section {
  padding: 34px 20px 8px;
  scroll-margin-top: 112px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.section-head-text {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.section-head h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.05;
  color: var(--green-heading);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.section-tagline {
  font-style: italic;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 34ch;
}

.section-illustration {
  flex: 0 0 auto;
  width: 108px;
  margin-left: -8px;
  pointer-events: none;
}
.section-illustration img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.subsection { margin-bottom: 28px; }

.subsection h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.dish-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dish-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}
.dish-item:last-child { border-bottom: none; }

.dish-info { flex: 1; min-width: 0; }

.dish-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dish-name {
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.1px;
}

.dish-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.dish-price {
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  color: var(--text-dark);
  padding-top: 1px;
}

.veg-mark {
  width: 11px;
  height: 11px;
  border: 1.4px solid #4caf50;
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
}
.veg-mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #4caf50;
  border-radius: 50%;
}

/* highlight for search matches */
.dish-item.hidden { display: none; }
.subsection.hidden { display: none; }
.menu-section.hidden { display: none; }
.cat-chip.hidden { display: none; }

/* ---------- CLOSING ---------- */
.closing {
  background: var(--maroon);
  color: var(--maroon-text);
  padding: 56px 24px 44px;
  text-align: center;
  margin-top: 20px;
}
.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.ornament-footer { width: 52px; height: 52px; margin: 0 auto 22px; }

.closing-title {
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 20px;
}
.closing-title span { color: #c98a72; }

.closing p {
  font-size: 0.92rem;
  color: #d9cfc3;
  margin: 0 0 10px;
  line-height: 1.5;
}

.scan-line { margin-top: 18px !important; font-weight: 500; }
.scan-line a {
  color: #e6a98f;
  text-decoration: none;
  border-bottom: 1px solid rgba(230,169,143,0.5);
}

.hotel-credit {
  margin-top: 26px !important;
  font-size: 0.72rem !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a89a8d !important;
}

/* ---------- BACK TO TOP ---------- */
#backToTop {
  position: fixed;
  bottom: 22px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green-header);
  color: #f3ead9;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}
#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.no-results {
  max-width: var(--max-w);
  margin: 40px auto;
  padding: 0 24px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 700px) {
  .brand-title { font-size: 3.2rem; }
  .hero { padding: 64px 24px 52px; }
  .section-head h2 { font-size: 2.2rem; }
  .dish-name { font-size: 1rem; }
  .section-illustration { width: 140px; margin-left: -20px; }
}
