/* ===================================================================
   Golconda Toronto — Dawat-e-Hyderabad
   Regal Deccan/Nizami palette: charcoal + gold + maroon, on warm cream text.
   =================================================================== */

:root {
  /* Colors */
  --color-charcoal: #161311;
  --color-charcoal-2: #221a14;
  --color-black: #0c0a08;
  --color-gold: #d4922e;
  --color-gold-light: #f0b94e;
  --color-maroon: #7a0f24;
  --color-maroon-light: #a3182f;
  --color-cream: #f6efe1;
  --color-cream-dim: #d9cdb5;

  /* Typography */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Inter', -apple-system, sans-serif;

  /* Spacing scale */
  --space-2xs: 0.4rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-charcoal);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 var(--space-sm); line-height: 1.2; }
p { margin: 0 0 var(--space-sm); }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -50px; left: 0; z-index: 200;
  background: var(--color-gold); color: var(--color-black);
  padding: 0.75rem 1.25rem; font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  margin-bottom: var(--space-2xs);
}
.eyebrow.center { text-align: center; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; }
.section-title.center { text-align: center; }
.section-title.center::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: var(--space-xs) auto 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-maroon-light));
  border-radius: 2px;
}
.section-lede { max-width: 620px; color: var(--color-cream-dim); }
.section-lede.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-black);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-maroon-light));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(122, 15, 36, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(246, 239, 225, 0.4);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.05em 2.2em; font-size: 1rem; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
}
/* Blur/background lives on a separate non-ancestor-of-fixed-nav layer,
   so it can't become the containing block for the mobile fixed panel. */
.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled .site-header-bg {
  background: rgba(13, 11, 10, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-cream);
  min-width: 0;
}
.brand-mark { color: var(--color-gold); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-cream-dim);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.main-nav ul {
  display: flex;
  gap: var(--space-md);
}
/* Scoped :not(.btn) so this rule can't outrank .btn's own padding on the CTA */
.main-nav a:not(.btn) {
  padding: 0.4rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible,
.main-nav a.is-active:not(.btn) {
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
/* Hamburger -> X: bars must switch to a light color that stays visible
   against the dark open drawer, not just rotate in their closed-state color. */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: var(--color-gold-light);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 90;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,11,10,0.8) 0%, rgba(13,11,10,0.72) 40%, rgba(13,11,10,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-xl);
  max-width: 760px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: var(--space-2xs);
  color: var(--color-cream);
}
.hero-title-accent { color: var(--color-gold); }
.hero-tagline {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--color-cream-dim);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
/* Prevent the row's min-width:auto default from forcing overflow on narrow phones */
.hero-actions,
.hero-actions > * { min-width: 0; }

.scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(246,239,225,0.6);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: 6px; opacity: 1; }
  70% { top: 20px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* ===================================================================
   ABOUT
   =================================================================== */
.about { padding: var(--space-xl) 0; background: var(--color-charcoal); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-grid, .about-grid > * { min-width: 0; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); position: relative; z-index: 1; }
.about-media-frame {
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  z-index: 0;
}
.about-copy h2 { color: var(--color-cream); }
.about-copy p { color: var(--color-cream-dim); }
.pull-quote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-gold);
  border-left: 3px solid var(--color-maroon-light);
  padding-left: var(--space-sm);
  margin-block: var(--space-md);
}

/* ===================================================================
   MENU
   =================================================================== */
.menu { padding: var(--space-xl) 0; background: var(--color-black); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: var(--space-lg) 0 var(--space-md);
}
.menu-tab {
  background: var(--color-charcoal-2);
  color: var(--color-cream-dim);
  border: 1px solid rgba(212, 146, 46,0.25);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.menu-tab:hover, .menu-tab:focus-visible { border-color: var(--color-gold); color: var(--color-cream); }
.menu-tab.is-active {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 55%, var(--color-maroon-light) 130%);
  color: var(--color-black);
  border-color: var(--color-gold);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(122, 15, 36, 0.35);
}

.menu-panels { max-width: 760px; margin-inline: auto; }
.menu-panel { animation: fadein 0.4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.panel-note {
  text-align: center;
  color: var(--color-gold-light);
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(212, 146, 46,0.2);
}
.dish-name { color: var(--color-cream); font-weight: 500; }
.dish-dots {
  flex: 1 1 auto;
  min-width: 0.5rem;
  border-bottom: 2px dotted rgba(217,205,181,0.3);
  transform: translateY(-0.3em);
}
.dish-price { color: var(--color-gold); font-weight: 600; white-space: nowrap; }

.menu-fullnote {
  text-align: center;
  color: var(--color-cream-dim);
  font-style: italic;
  margin-top: var(--space-lg);
  font-family: var(--font-script);
  font-size: 1.1rem;
}

/* ===================================================================
   BEST SELLERS
   =================================================================== */
.bestsellers { padding: var(--space-xl) 0; background: var(--color-charcoal); }
.bestsellers-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.bestsellers-strip, .bestsellers-strip > * { min-width: 0; }
.best-card {
  background: var(--color-charcoal-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 146, 46, 0.15);
  border-top: 3px solid var(--color-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}
.best-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(122, 15, 36, 0.4);
  border-top-color: var(--color-maroon-light);
}
.best-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.best-card-body {
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.best-card-body h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-cream);
}
.best-price {
  color: var(--color-black);
  background: var(--color-gold);
  font-weight: 700;
  white-space: nowrap;
  padding: 0.25em 0.65em;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ===================================================================
   GALLERY
   =================================================================== */
.gallery { padding: var(--space-xl) 0; background: var(--color-black); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.gallery-grid, .gallery-grid > * { min-width: 0; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: inset 0 0 0 0 var(--color-maroon-light);
  transition: box-shadow 0.35s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover { box-shadow: inset 0 0 0 3px var(--color-gold); }
.gallery-item:hover img { transform: scale(1.08); }

/* ===================================================================
   LOCATION
   =================================================================== */
.location { padding: var(--space-xl) 0; background: var(--color-charcoal); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.location-grid, .location-grid > * { min-width: 0; }
.location-info h2 { color: var(--color-cream); }
.location-info address { color: var(--color-cream-dim); margin-bottom: var(--space-sm); }
.location-phone a {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}
.location-phone a:hover { color: var(--color-gold-light); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
}
.hours-table th, .hours-table td {
  padding: 0.6rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(212, 146, 46,0.15);
  font-size: 0.95rem;
}
.hours-table thead th { color: var(--color-gold); font-weight: 600; }
.hours-table tbody th { color: var(--color-cream); font-weight: 500; }
.hours-table td { color: var(--color-cream-dim); }
.hours-table td.closed { color: var(--color-maroon-light); font-weight: 600; }

.location-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.location-actions, .location-actions > * { min-width: 0; }

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(212, 146, 46,0.25);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--color-black); padding-top: var(--space-xl); border-top: 1px solid rgba(212, 146, 46,0.15); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.footer-grid, .footer-grid > * { min-width: 0; }
.footer-brand .brand-mark { color: var(--color-gold); margin-bottom: var(--space-xs); display: inline-block; }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-gold); margin-bottom: 0.2rem; }
.footer-tagline { font-family: var(--font-script); font-style: italic; color: var(--color-cream-dim); }
.footer-col h3 { font-size: 1.05rem; color: var(--color-cream); margin-bottom: var(--space-sm); }
.footer-col address, .footer-col a { color: var(--color-cream-dim); }
.footer-col address { margin-bottom: var(--space-xs); }
.footer-col a:hover { color: var(--color-gold); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-note { color: var(--color-cream-dim); font-size: 0.9rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212, 146, 46,0.3);
  border-radius: 50%;
  color: var(--color-gold);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-icon:hover { background: var(--color-gold); color: var(--color-black); }

.footer-bottom {
  border-top: 1px solid rgba(212, 146, 46,0.1);
  padding-block: var(--space-sm);
  text-align: center;
  color: var(--color-cream-dim);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ===================================================================
   SCROLL-REVEAL ANIMATIONS (progressive enhancement via IntersectionObserver)
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* No-JS / reduced-motion fallback: content must never be stuck invisible */
.no-js .reveal, .reveal.reveal-fallback { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .about-grid,
  .location-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    background: var(--color-black);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 95;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0.3rem;
  }
  .main-nav a:not(.btn) {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(212, 146, 46,0.12);
  }
  .nav-cta { align-self: flex-start; margin-top: var(--space-sm); }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root { --space-xl: 4rem; --space-lg: 2.5rem; }
  .header-inner { gap: var(--space-sm); }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .menu-list li { flex-wrap: wrap; }
  .dish-dots { display: none; }
  .dish-name { flex: 1 1 100%; }
}
