/* ============================================================
   Nawabi Hyderabad House — hand-written component styles
   Loaded AFTER the compiled Tailwind output (assets/styles.css).
   Houses the brand "signature" devices lifted from the logo:
   the sunset arch, the forest-green ribbon banner, and the
   spice-red script underline.
   ============================================================ */

:root {
  --header-h: 76px;
}

/* ---- Header ---------------------------------------------------------- */
.site-header {
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 244, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(42, 29, 16, .08);
  border-bottom-color: rgba(219, 201, 174, .7);
}
.nav-link {
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-saffron-500, #E87A00);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: #005A19; }

/* ---- Signature: forest-green ribbon banner (the logo's green bar) ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem .4rem;
  border-radius: 999px;
  background: #006A1E;
  color: #fff;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 106, 30, .28);
}

/* ---- Shared page hero ------------------------------------------------ */
.page-hero {
  position: relative;
  min-height: clamp(260px, 36vw, 390px);
  overflow: hidden;
  background: url("https://quseprdus1.blob.core.windows.net/kora-business-images/user-media/911e874e-7fd0-4305-8294-da62055246d1/de8c94d8-887e-4625-825f-ec262dbc28df/1782133693_rcuri3.jpg") center / cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 80rem);
  padding: 4rem 1.25rem;
  color: var(--color-cream-50, #fffdf4);
}
.page-hero__title {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
}
.page-hero__breadcrumbs {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.page-hero__breadcrumbs a {
  transition: color .2s ease;
}
.page-hero__breadcrumbs a:hover {
  color: var(--color-saffron-300, #F9B021);
}
.page-hero__separator {
  color: var(--color-saffron-300, #F9B021);
}

/* ---- Signature: spice-red script flourish (the "Biryani Place" line) ---- */
.script {
  font-family: var(--font-script, "Pacifico", cursive);
  color: #ED3237;
  font-weight: 400;
  line-height: 1.1;
}
.script-underline {
  position: relative;
  display: inline-block;
}
.script-underline::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: -.45em;
  height: .42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C40 2 80 2 120 6 S180 11 198 4' fill='none' stroke='%23E87A00' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---- Signature: the sunset arch behind hero food ---- */
.sunset-arch {
  position: relative;
  border-radius: 999px;
  background:
    radial-gradient(120% 90% at 50% 18%, #F9B021 0%, #E87A00 46%, #9E4D04 100%);
  overflow: hidden;
}
.sunset-arch::before {
  /* faint palm silhouettes, echoing the logo */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent 70%) 50% 20% / 70% 50% no-repeat;
  opacity: .8;
}
.sunset-arch::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #E87A00, #F9B021 50%, #006A1E);
}

/* dum-seal floating chip */
.float-chip {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(42, 29, 16, .18);
}

/* ---- Section divider: the sunset rule ---- */
.sunset-rule {
  height: 6px;
  background: linear-gradient(90deg, #E87A00, #F9B021 45%, #006A1E);
}

/* ---- Menu category tabs ---- */
.menu-tab {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.menu-panel { display: none; }
.menu-panel.is-active { display: grid; animation: fadeUp .4s ease both; }

/* ---- Reveal on scroll ---- */
.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* hero entrance */
.hero-inner { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.hero-inner.is-loaded { opacity: 1; transform: none; }
.hero-art { opacity: 0; transform: scale(.94); transition: opacity .9s .15s ease, transform .9s .15s ease; }
.hero-inner.is-loaded .hero-art { opacity: 1; transform: none; }

/* ---- Floating spice / herb accents (scroll parallax + idle drift) ---- */
.spice {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.spice img {
  display: block;
  width: 100%;
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(42, 29, 16, .18));
  animation: spiceFloat 7s ease-in-out infinite;
}
.spice--slow img { animation-duration: 9s; }
.spice--rev img { animation-direction: reverse; }
@keyframes spiceFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 6deg)); }
}

/* ---- Scroll-reactive rotating dish (on a tan pillar, framed by basil) ---- */
.dish-stage { position: relative; }
.dish-pillar {
  position: absolute;
  left: 50%;
  top: 4%;
  bottom: 4%;
  width: 30%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #CBA86C 0%, #B68E50 55%, #9A7338 100%);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, .25);
  z-index: 0;
}
.spin-dish {
  position: relative;
  z-index: 2;
  will-change: transform;
  filter: drop-shadow(0 20px 36px rgba(42, 29, 16, .28));
}

/* ---- Faint botanical line-art decorations (menu section) ---- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

/* ---- Tasting marquee: continuous scroll through dishes ---- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
}
.marquee__item img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(42, 29, 16, .16);
  margin: 0 auto .6rem;
  background: var(--color-cream-100, #FFFBD6);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.625rem)); }
}

/* ---- Scroll-to-top ---- */
.to-top {
  transition: opacity .3s ease, transform .3s ease;
}

/* ---- Accessible focus ---- */
a:focus-visible, button:focus-visible {
  outline: 3px solid #F9B021;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal, .hero-inner, .hero-art { transition: none; opacity: 1; transform: none; }
  .menu-panel.is-active { animation: none; }
  .spice { display: none; }
  .spice img, .marquee__track { animation: none; }
  .spin-dish { transform: none !important; }
}
