/* BotCafe full menu page — warm, appetizing light theme on the brand system.
   Reuses header.css / footer.css / hero.css (:root tokens + grain). */

/* hero.css sets `overflow-x: hidden` on html/body, which makes them scroll
   containers and breaks `position: sticky` on .menu-nav. `clip` still prevents
   horizontal scroll but does NOT create a scroll container, so sticky works. */
html, body { overflow-x: clip; }

body {
  background: #fff7ef;
  color: var(--ink, #0a0a0a);
  font-family: "Poppins", sans-serif;
  margin: 0;
}

/* ---- Menu hero ---- */
.menu-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 8rem 5vw 3.5rem;
}

.menu-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.menu-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 6%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.25) 100%);
}

.menu-hero__inner { max-width: 1100px; margin: 0 auto; width: 100%; }

.menu-hero__kicker {
  display: inline-block;
  background: var(--pink, #ee2a7b);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}

.menu-hero__title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.8rem;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.5);
}
.menu-hero__title em { font-style: normal; color: var(--yellow, #ffde59); }

.menu-hero__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 1.2rem;
}

.menu-hero__tax {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}

/* ---- Sticky category jump nav ---- */
.menu-nav {
  position: sticky;
  top: 66px; /* sits just below the fixed site header */
  z-index: 30;
  background: rgba(255, 247, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(238, 42, 123, 0.2);
}
.menu-nav__track {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.8rem 5vw;
  scrollbar-width: none;
}
.menu-nav__track::-webkit-scrollbar { display: none; }
.menu-nav__link {
  flex: 0 0 auto;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink, #0a0a0a);
  background: #fff;
  border: 2px solid rgba(10, 10, 10, 0.1);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.menu-nav__link:hover { background: var(--cyan, #00acdc); color: var(--ink, #0a0a0a); border-color: var(--cyan, #00acdc); }

/* ---- Menu body ---- */
.menu-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 5vw 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.menu-cat { scroll-margin-top: 7.5rem; } /* clears fixed header + sticky category nav */

.menu-cat__head {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.menu-cat__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  border: 5px solid #fff;
  box-shadow: 8px 10px 0 rgba(0, 172, 220, 0.28), 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: rotate(-1.5deg);
}

.menu-cat__num {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink, #ee2a7b);
  letter-spacing: 0.1em;
}
.menu-cat__title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0.2rem 0 0.5rem;
}
.menu-cat__title em { font-style: normal; color: var(--cyan, #00acdc); }
.menu-cat__note {
  font-size: 0.9rem;
  color: rgba(10, 10, 10, 0.62);
  line-height: 1.5;
  margin: 0;
}
.menu-cat__note strong { color: var(--pink, #ee2a7b); }

/* item groups */
.menu-group { margin-bottom: 1.6rem; }
.menu-group__title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink, #0a0a0a);
  margin: 0 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px dashed rgba(10, 10, 10, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-group__tag {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--yellow, #ffde59);
  color: var(--ink, #0a0a0a);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem 1.2rem;
}
.menu-items li {
  position: relative;
  font-size: 0.92rem;
  color: rgba(10, 10, 10, 0.85);
  padding-left: 1.4rem;
  line-height: 1.4;
}
/* veg mark (green square dot) */
.menu-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 11px;
  height: 11px;
  border: 1.5px solid #3aa03a;
  border-radius: 2px;
  background:
    radial-gradient(circle, #3aa03a 0 3px, transparent 3.5px);
}
/* non-veg mark (red) on the non-veg category */
.menu-cat--nonveg .menu-items li::before {
  border-color: #c0392b;
  background: radial-gradient(circle, #c0392b 0 3px, transparent 3.5px);
}

.menu-cat--nonveg {
  background: #fff;
  border: 2px solid rgba(192, 57, 43, 0.25);
  border-radius: 20px;
  padding: 2rem;
}

/* closing note */
.menu-outro {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw 4rem;
  color: rgba(10, 10, 10, 0.6);
  font-size: 0.9rem;
}
.menu-outro a { color: var(--pink, #ee2a7b); font-weight: 600; text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .menu-cat__head { grid-template-columns: 1fr; gap: 1.2rem; }
  .menu-cat__photo { max-width: 320px; }
  .menu-body { gap: 3rem; }
  .menu-cat--nonveg { padding: 1.4rem; }
}
