/* ============================================================
   UTTAM BHOJ — premium restaurant theme
   Palette: deep maroon ink, saffron gold, warm cream
   ============================================================ */
:root {
  --ink: #1c0f0c;
  --maroon: #3d1512;
  --maroon-2: #571f19;
  --gold: #d9a441;
  --gold-2: #f0c46b;
  --saffron: #e2762c;
  --cream: #f7efe2;
  --cream-2: #efe2cd;
  --paper: #fbf6ec;
  --text: #2b1a14;
  --muted: #7a6455;
  --line: rgba(61, 21, 18, 0.14);
  --shadow: 0 30px 70px -30px rgba(28, 15, 12, 0.45);
  --radius: 18px;
  --font-display: "Marcellus", "Cormorant Garamond", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--maroon); }
h2 em, h1 em { font-family: var(--font-serif); font-style: italic; color: var(--saffron); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before { content: "✦ "; color: var(--saffron); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--muted); margin-top: 0.9rem; font-size: 0.95rem; letter-spacing: 0.04em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(217, 164, 65, 0.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(217, 164, 65, 0.85); }
.btn-ghost {
  border: 1px solid rgba(247, 239, 226, 0.5);
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(247, 239, 226, 0.12); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(28, 15, 12, 0.92);
  backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.nav-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--saffron));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  box-shadow: 0 8px 22px -8px rgba(217, 164, 65, 0.8);
}
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); letter-spacing: 0.04em; }
.brand-text small { color: var(--gold-2); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; }

.nav-links { display: flex; gap: 1.7rem; }
.nav-links a {
  color: rgba(247, 239, 226, 0.82);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.7rem 1.5rem; font-size: 0.72rem; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(28, 15, 12, 0.25), rgba(28, 15, 12, 0.75) 75%),
    linear-gradient(to bottom, rgba(28, 15, 12, 0.55), rgba(28, 15, 12, 0.35) 40%, var(--ink));
}
.hero-content { position: relative; z-index: 2; padding: 7rem 1.5rem 5rem; max-width: 880px; }
.hero .eyebrow { color: var(--gold-2); }

.hero-script {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-2);
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em;
}
.hero-line {
  display: block;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.hero-line em { color: var(--gold-2); }

.hero-sub {
  margin: 1.6rem auto 2.2rem;
  max-width: 560px;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(247, 239, 226, 0.88);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-ratings {
  margin-top: 3.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 196, 107, 0.25);
}
.hrating { display: flex; align-items: baseline; gap: 0.5rem; }
.hrating b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-2); }
.hrating span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 239, 226, 0.7); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: rgba(240, 196, 107, 0.3);
  overflow: hidden;
  z-index: 2;
}
.hero-scroll span {
  position: absolute; top: -50%;
  width: 100%; height: 50%;
  background: var(--gold-2);
  animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  border-top: 1px solid rgba(217, 164, 65, 0.2);
  border-bottom: 1px solid rgba(217, 164, 65, 0.2);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story { background: var(--paper); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.arch-frame {
  border-radius: 260px 260px 18px 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.arch-frame::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(247, 239, 226, 0.45);
  border-radius: 250px 250px 12px 12px;
  pointer-events: none;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.story-visual { position: relative; }
.story-badge {
  position: absolute;
  right: -18px; bottom: 34px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 164, 65, 0.35);
}
.story-badge b { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-2); }
.story-badge span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; }

.story-copy p { color: var(--muted); margin-top: 1.1rem; max-width: 52ch; }
.story-stats {
  display: flex;
  gap: 2.6rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.story-stats b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--maroon); }
.story-stats span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- The Thali ---------- */
.thali {
  background:
    linear-gradient(rgba(28, 15, 12, 0.94), rgba(61, 21, 18, 0.94)),
    url("assets/interior-2.jpg") center/cover fixed;
  color: var(--cream);
}
.thali h2 { color: var(--cream); }
.thali-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.thali-copy > p { color: rgba(247, 239, 226, 0.8); margin-top: 1.2rem; max-width: 50ch; }
.thali-copy > p em { color: var(--gold-2); font-family: var(--font-serif); font-size: 1.1em; }
.thali-points { list-style: none; margin: 1.8rem 0 2.3rem; display: grid; gap: 0.75rem; }
.thali-points li { display: flex; gap: 0.7rem; align-items: baseline; color: rgba(247, 239, 226, 0.9); font-size: 0.95rem; }
.thali-points span { color: var(--gold); font-size: 0.7rem; }

.thali-visual { position: relative; }
.thali-plate {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(217, 164, 65, 0.4), 0 0 0 12px rgba(217, 164, 65, 0.08);
  animation: plateSpin 60s linear infinite;
}
.thali-plate img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@keyframes plateSpin { to { transform: rotate(360deg); } }
.thali-note {
  position: absolute;
  left: -14px; bottom: 24px;
  background: var(--cream);
  color: var(--maroon);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.thali-note b { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.thali-note span { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- Menu ---------- */
.menu { background: var(--cream); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.menu-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px -26px rgba(28, 15, 12, 0.4);
  border: 1px solid rgba(61, 21, 18, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.menu-card-img { overflow: hidden; aspect-ratio: 16/10; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.07); }
.menu-card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.menu-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-card h3 { font-size: 1.3rem; color: var(--maroon); }
.price { font-family: var(--font-display); font-size: 1.35rem; color: var(--saffron); white-space: nowrap; }
.price small { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.menu-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--maroon-2);
  background: var(--cream-2);
}
.menu-note { text-align: center; margin-top: 2.4rem; color: var(--muted); font-size: 0.92rem; }
.menu-note a { color: var(--saffron); font-weight: 600; text-decoration: none; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.1rem;
}
.gallery-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(28, 15, 12, 0.5);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(28, 15, 12, 0.85));
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: none; }
.g-tall { grid-row: span 2; }

/* ---------- Reviews ---------- */
.reviews {
  background:
    radial-gradient(ellipse at top, rgba(217, 164, 65, 0.12), transparent 55%),
    var(--ink);
  color: var(--cream);
}
.reviews h2 { color: var(--cream); }
.rating-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.rating-card {
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: var(--radius);
  background: rgba(247, 239, 226, 0.03);
  transition: border-color 0.3s, transform 0.3s;
}
.rating-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.rating-card b { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-2); }
.rating-card b small { font-size: 1rem; color: rgba(247, 239, 226, 0.5); }
.rating-card span { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0.3rem 0 0.15rem; }
.rating-card em { font-style: normal; font-size: 0.68rem; color: rgba(247, 239, 226, 0.55); }

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.quote {
  background: linear-gradient(160deg, rgba(87, 31, 25, 0.55), rgba(28, 15, 12, 0.6));
  border: 1px solid rgba(217, 164, 65, 0.18);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 0.4rem; right: 1.4rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(217, 164, 65, 0.22);
  line-height: 1;
}
.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 0.9rem; }
.stars span { color: rgba(247, 239, 226, 0.2); }
.quote p { font-family: var(--font-serif); font-size: 1.22rem; font-style: italic; color: rgba(247, 239, 226, 0.92); line-height: 1.55; }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Visit ---------- */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.visit-list { margin-top: 2rem; display: grid; gap: 1.5rem; }
.visit-list div { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.visit-list dt {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.visit-list dd { color: var(--text); font-size: 0.98rem; }
.visit-list a { color: var(--saffron); text-decoration: none; font-weight: 600; }
.visit-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.visit .btn-ghost { border-color: var(--maroon); color: var(--maroon); }
.visit .btn-ghost:hover { background: rgba(61, 21, 18, 0.06); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(247, 239, 226, 0.7); padding: 3rem 0 2.2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); display: block; }
.footer-brand p { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.footer-addr, .footer-fine { font-size: 0.8rem; }
.footer a { color: var(--gold-2); text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(28, 15, 12, 0.97);
    backdrop-filter: blur(14px);
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(217, 164, 65, 0.25);
  }
  .nav.open .nav-links a { padding: 0.9rem 2rem; }
  .story-grid, .thali-grid, .visit-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 440px; margin: 0 auto; }
  .thali-visual { max-width: 440px; margin: 0 auto; }
  .menu-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .rating-row { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .thali { background-attachment: scroll; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-tall { grid-row: span 1; }
  .hero-ratings { gap: 0.8rem 1.4rem; }
  .story-badge { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
