/* ===== Spice Garden — menu styles ===== */
:root {
  --red: #D7263D;
  --red-dark: #A81027;
  --yellow: #F9C80E;
  --bg: #FFFDF7;
  --text: #22201C;
  --muted: #7A756C;
  --white: #FFFFFF;
  --border: #EDE9E0;
  --dark: #171512;
  --nav-h: 60px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans",
    "Noto Sans Tamil", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: #2b3a44 url("../assets/header-bg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero__overlay {
  min-height: clamp(220px, 40vh, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  background: linear-gradient(180deg, rgba(20, 18, 16, .55), rgba(20, 18, 16, .82));
}
.hero__logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 22px rgba(249, 200, 14, .35);
  background: #2b3a44;
}
.hero__name {
  margin: 8px 0 0;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.hero__name-ta {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.hero__tagline {
  margin: 6px 0 0;
  font-size: clamp(.82rem, 2.6vw, 1rem);
  color: #f4efe6;
  border-top: 2px solid var(--yellow);
  padding-top: 8px;
}

/* ===== Sticky nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  background: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.nav__badge {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}
.nav__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px;
}
.nav__chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #f3efe6;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { background: var(--yellow); color: #1a1a1a; }
.chip.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--yellow);
}

/* ===== Menu sections ===== */
.menu {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}
.section { margin-bottom: 30px; }
.section__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .3px;
  border-bottom: 3px solid var(--yellow);
}
.section__title-ta {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.section__count {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  align-self: center;
}

.items {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px dashed var(--border);
}
.item:last-child { border-bottom: none; }
.item:nth-child(even) { background: #fffdf4; }
.item__name {
  font-weight: 600;
  font-size: 1rem;
}
.item__ta {
  display: inline-block;
  color: var(--muted);
  font-weight: 500;
  font-size: .84rem;
  margin-left: 2px;
}
.item__price {
  margin-left: auto;
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 3px 11px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(215, 38, 61, .3);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #e9e4da;
  text-align: center;
  padding: 30px 16px 40px;
}
.footer__name {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.footer__ta { color: var(--yellow); font-size: 1rem; margin-left: 6px; }
.footer__line { margin: 4px 0; font-size: .92rem; }
.footer__tel { color: var(--yellow); text-decoration: none; font-weight: 700; }
.footer__tel:hover { text-decoration: underline; }
.footer__map {
  display: inline-block;
  margin: 12px 0 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1a1a1a;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.footer__map:hover { background: var(--red); color: #fff; }
.footer__note {
  margin: 14px 0 0;
  font-size: .78rem;
  color: #b6b0a4;
}

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 60;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--red); color: #fff; }

@media (max-width: 480px) {
  .item { flex-wrap: wrap; }
  .item__price { margin-top: 2px; }
}
