/* ===== ROOT VARIABLES ===== */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C42;
  --gold: #D4A017;
  --gold-light: #F5C842;
  --gold-shine: #FFE066;
  --cream: #FFF8E7;
  --deep-maroon: #3A0000;
  --maroon: #6B0F0F;
  --dark-bg: #1A0A00;
  --card-bg: rgba(255, 248, 231, 0.05);
  --text-light: #FFF8E7;
  --text-muted: #D4B896;
  --border-gold: rgba(212, 160, 23, 0.4);
  --glow-gold: 0 0 20px rgba(212, 160, 23, 0.6), 0 0 40px rgba(212, 160, 23, 0.3);
  --glow-soft: 0 0 30px rgba(255, 107, 0, 0.2);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif Devanagari', 'Tiro Devanagari Hindi', serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }

/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash-video {
  width: 80%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: #ffffff;
  display: block;
}

#splash-overlay {
  display: none;
}

/* ===== MAIN CONTENT ===== */
#main-content {
  position: relative;
  min-height: 100vh;
}

#main-content.hidden { display: none; }

/* Particle canvas */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(26,10,0,0.95), rgba(58,0,0,0.95));
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

#hero { padding-top: 100px; min-height: 100vh; display: flex; align-items: center; justify-content: center; }

section:not(#hero) {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

section:nth-child(odd):not(#hero) {
  background: linear-gradient(180deg, rgba(58,0,0,0.15) 0%, rgba(26,10,0,0.4) 100%);
}

.section-container {
  max-width: 960px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.om-divider {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 8px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(212,160,23,0.4);
  margin-bottom: 12px;
}

.gold-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  overflow: hidden;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 0 40px rgba(212,160,23,0.25), 0 20px 60px rgba(0,0,0,0.6);
  background: linear-gradient(145deg, rgba(26,10,0,0.95), rgba(40,5,0,0.98));
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 340px;
}

.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0) 70%,
    rgba(26,10,0,0.4) 100%
  );
}

.hero-text-box {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, rgba(58,0,0,0.6), rgba(20,5,0,0.9));
  border-left: 1px solid var(--border-gold);
}

.hero-sub-top {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(212,160,23,0.5);
}

.hero-sub-mid {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -10px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold-shine);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(212,160,23,0.7), 0 2px 4px rgba(0,0,0,0.8);
}

.hero-dates {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.date-chip {
  background: linear-gradient(135deg, rgba(212,160,23,0.2), rgba(255,107,0,0.2));
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-fee {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-fee strong {
  color: var(--gold-light);
  font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #fff;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
  align-self: flex-start;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.pulse {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,160,23,0.4); }
  50% { box-shadow: 0 4px 40px rgba(212,160,23,0.8), 0 0 60px rgba(255,107,0,0.3); }
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.about-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flame-icon {
  font-size: 3rem;
  animation: flame-flicker 1.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(255,107,0,0.8));
}

@keyframes flame-flicker {
  from { transform: scale(1) rotate(-3deg); }
  to { transform: scale(1.1) rotate(3deg); }
}

.about-text p {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 18px;
  opacity: 0.9;
  line-height: 1.9;
}

.about-text strong {
  color: var(--gold-light);
}

/* ===== SLOTS SECTION ===== */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.slot-card {
  position: relative;
  background: linear-gradient(145deg, rgba(58,0,0,0.6), rgba(26,10,0,0.8));
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.35s ease;
  overflow: hidden;
}

.slot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(212,160,23,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.slot-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.slot-number {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.slot-date {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 12px;
}

.slot-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.slot-count {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.slot-status {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.slot-status.available {
  background: rgba(0,200,100,0.15);
  border: 1px solid rgba(0,200,100,0.4);
  color: #4ade80;
}

.slot-status.full {
  background: rgba(200,0,0,0.15);
  border: 1px solid rgba(200,0,0,0.4);
  color: #f87171;
}

.btn-slot {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #fff;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-slot:hover {
  box-shadow: var(--glow-gold);
  transform: scale(1.05);
}

.btn-slot:disabled {
  background: rgba(100,100,100,0.4);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ===== BOOKING FORM ===== */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(58,0,0,0.5), rgba(26,10,0,0.8));
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.form-top-ornament {
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 28px;
  letter-spacing: 2px;
  opacity: 0.8;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.required { color: var(--saffron); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,248,231,0.07);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--cream);
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212,160,23,0.2);
}

.form-group select option {
  background: var(--dark-bg);
  color: var(--cream);
}

.form-group input::placeholder { color: rgba(255,248,231,0.35); }

.amount-display {
  background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(255,107,0,0.1));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.amount-display strong {
  color: var(--gold-light);
  font-size: 1.3rem;
}

.form-error {
  background: rgba(200,0,0,0.15);
  border: 1px solid rgba(200,0,0,0.4);
  color: #f87171;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.btn-pay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--saffron), #c0392b);
  color: #fff;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(212,160,23,0.35);
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.booking-success {
  text-align: center;
  padding: 20px;
}

.booking-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.booking-success h3 { color: var(--gold-light); font-size: 1.5rem; margin-bottom: 10px; }
.booking-success p { color: var(--text-muted); }

/* ===== LOGOS SECTION ===== */
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-circle-wrap {
  text-align: center;
}

.logo-circle-wrap p {
  color: var(--gold);
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.logo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--glow-gold);
  transition: all 0.35s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(212,160,23,0.8);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-divider {
  color: var(--gold);
  font-size: 2.5rem;
  opacity: 0.6;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: linear-gradient(145deg, rgba(58,0,0,0.5), rgba(26,10,0,0.7));
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}

.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.contact-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.contact-number {
  display: block;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.contact-number:hover { color: var(--gold-light); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 8px;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(37,211,102,0.5);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.social-btn.youtube { background: rgba(255,0,0,0.15); border: 1px solid rgba(255,0,0,0.3); color: #ff6b6b; }
.social-btn.insta { background: rgba(225,48,108,0.15); border: 1px solid rgba(225,48,108,0.3); color: #f06292; }
.social-btn.facebook { background: rgba(66,103,178,0.15); border: 1px solid rgba(66,103,178,0.3); color: #90b3f5; }

.social-btn:hover { transform: scale(1.05); }

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 20px 30px;
  border-top: 1px solid var(--border-gold);
  background: linear-gradient(180deg, rgba(26,10,0,0.8), rgba(0,0,0,0.95));
}

.footer-om {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 16px;
  font-family: 'Yatra One', cursive;
}

.footer-quote {
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.9;
  max-width: 500px;
  margin: 0 auto 20px;
  opacity: 0.8;
}

.footer-copy {
  color: rgba(212,160,23,0.4);
  font-size: 0.8rem;
}

/* ===== UTILITY ===== */
.hidden { display: none !important; }

.fade-in {
  animation: fadeInUp 0.9s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(107,15,15,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 50%, rgba(255,107,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 50%, rgba(212,160,23,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #1A0A00 0%, #0D0500 100%);
  z-index: 0;
  pointer-events: none;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(26,10,0,0.98);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-gold);
  }

  .hero-card {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-image-wrap {
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  .hero-image-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0) 60%,
      rgba(26,10,0,0.3) 100%
    );
  }

  .hero-text-box {
    border-left: none;
    border-top: 1px solid var(--border-gold);
    padding: 28px 20px;
  }

  .slots-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 40px;
  }

  .logos-row { gap: 24px; }
  .logo-circle { width: 130px; height: 130px; }
  .logo-divider { display: none; }

  .form-card { padding: 28px 20px; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-icon-wrap { display: none; }

  section { padding: 60px 16px; }
  #hero { padding-top: 80px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  #splash-video { width: 95%; }
}