/* ============================================================
   YELLOW PAPRIKA — Global Design System
   Premium 3D Immersive Restaurant Website
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --black:          #080808;
  --charcoal:       #111111;
  --charcoal-2:     #1a1a1a;
  --charcoal-3:     #222222;
  --charcoal-4:     #2d2d2d;
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;
  --gold-dark:      #9a7a2e;
  --gold-glow:      rgba(201,168,76,0.25);
  --gold-glow-lg:   rgba(201,168,76,0.12);
  --burgundy:       #6b1f35;
  --burgundy-light: #8b2745;
  --cream:          #f5edd8;
  --cream-2:        #ede0c4;
  --warm-white:     #faf7f0;
  --white:          #ffffff;
  --muted:          rgba(245,237,216,0.45);
  --muted-2:        rgba(245,237,216,0.25);
  --glass-bg:       rgba(26,26,26,0.75);
  --glass-border:   rgba(201,168,76,0.2);

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

  /* Spacing */
  --space-xs:  0.4rem;
  --space-sm:  0.8rem;
  --space-md:  1.2rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;

  /* Sizing */
  --nav-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;

  /* Shadows */
  --shadow-gold:    0 0 40px rgba(201,168,76,0.3);
  --shadow-gold-sm: 0 0 15px rgba(201,168,76,0.2);
  --shadow-dark:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-card:    0 8px 32px rgba(0,0,0,0.4);

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-base:   0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:   0.6s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography Scale ── */
.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}
h4, .h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
}
p { line-height: 1.75; }

.text-gold    { color: var(--gold); }
.text-cream   { color: var(--cream); }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }
.italic       { font-style: italic; }
.uppercase    { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; }

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2.5rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1.8rem; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-sm  { max-width: 860px; }
.container-lg  { max-width: 1500px; }
.section-pad   { padding: var(--space-3xl) 0; }
.section-pad-sm{ padding: var(--space-2xl) 0; }

/* ── Page Header (Hero) ── */
.page-hero {
  height: 38vh;
  min-height: 260px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 2.5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transform: scale(1.05);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,0.3), rgba(8,8,8,0.85));
}
.page-hero-content {
  position: relative; z-index: 1;
  padding-left: var(--space-lg);
}

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.grid        { display: grid; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }

/* ── Divider ── */
.divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-md) auto;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.3s forwards;
}
.loader-logo span { color: var(--gold); }

.loader-bar-wrap {
  width: 200px; height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.5s forwards;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  width: 0;
  animation: loaderProgress 1.8s 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.loader-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.5rem;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.8s forwards;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}
#navbar.scrolled {
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.75);
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition-base);
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: all var(--transition-base);
  transform-origin: left;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateX(2px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateX(2px); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile .nav-link {
  font-size: 1.8rem;
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.nav-mobile .nav-link:hover { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,237,216,0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
}
.btn-lg {
  padding: 1.1rem 2.6rem;
  font-size: 0.82rem;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
#whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--transition-spring);
  cursor: pointer;
}
#whatsapp-fab:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}
#whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2.5s ease-out infinite;
}
#whatsapp-fab svg { width: 28px; height: 28px; fill: white; }

/* ============================================================
   GLASSMORPHISM CARDS
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
}

.card {
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-gold-sm);
}

/* ============================================================
   STAR RATING
   ============================================================ */
.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-veg     { background: rgba(40,167,69,0.15); color: #2ecc71; border: 1px solid rgba(40,167,69,0.3); }
.badge-nonveg  { background: rgba(220,53,69,0.15); color: #e74c3c; border: 1px solid rgba(220,53,69,0.3); }
.badge-popular { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-chef    { background: rgba(107,31,53,0.3); color: #ff8fa3; border: 1px solid rgba(107,31,53,0.5); }
.badge-new     { background: rgba(52,152,219,0.15); color: #5dade2; border: 1px solid rgba(52,152,219,0.3); }

.veg-indicator, .nonveg-indicator {
  width: 14px; height: 14px;
  border-radius: 2px;
  border: 1.5px solid;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.veg-indicator { border-color: #2ecc71; }
.veg-indicator::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; }
.nonveg-indicator { border-color: #e74c3c; }
.nonveg-indicator::after { content: '▲'; font-size: 7px; color: #e74c3c; line-height: 1; }

/* Spice level */
.spice-level { display: flex; gap: 3px; align-items: center; }
.spice-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background var(--transition-fast);
}
.spice-dot.active { background: #e74c3c; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--gold); }
.footer-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: var(--muted-2); }
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-3px);
}

/* ============================================================
   SCROLL REVEAL DEFAULTS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-50px); }
.reveal-left.visible { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(50px); }
.reveal-right.visible { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale { opacity: 0; transform: scale(0.9); }
.reveal-scale.visible { opacity: 1; transform: scale(1); transition: opacity 0.7s ease, transform 0.7s ease; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .container { padding: 0 1.25rem; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #whatsapp-fab { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  h1, .h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  h2, .h2 { font-size: clamp(1.8rem, 7vw, 3rem); }
}

/* ============================================================
   LIGHTBOX STYLES
   ============================================================ */
#lightbox.active { opacity: 1; pointer-events: all; }
.lb-content { position: relative; z-index: 1; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; gap: 1rem; }
.lb-img { max-width: 80vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lb-close { position: fixed; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background 0.2s; }
.lb-close:hover { background: rgba(201,168,76,0.3); }
.lb-prev, .lb-next { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex-shrink: 0; transition: all 0.2s; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.lb-caption { position: absolute; bottom: -2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.8rem; white-space: nowrap; }

