/* ============================================================
   SAFFAL JYOTISH — Global Design System v2
   Refined color coordination, shared components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  /* Core palette — warm deep maroon + saffron-amber */
  --deep:         #2a0a00;        /* darkest — footer, hero bg base */
  --maroon:       #4a0e0e;        /* mid dark */
  --maroon-lt:    #6b1a1a;        /* lighter maroon */
  --cream:        #fdf6ec;        /* page background */
  --cream-dark:   #f5e8d4;        /* section alternates */
  --cream-card:   #fdf0e0;        /* card background */
  --white:        #ffffff;

  /* Brand accent — saffron/orange */
  --saffron:      #c94000;        /* primary actions, headlines */
  --saffron-mid:  #e05010;        /* hover */
  --saffron-lt:   #f06820;        /* lighter variant */

  /* Gold accent — amber */
  --gold:         #d4900a;        /* secondary accent */
  --gold-lt:      #f0b020;        /* brighter gold */
  --gold-pale:    #fde68a;        /* very light gold tint */

  /* Text */
  --text-dark:    #1c0800;
  --text-mid:     #3d1a08;
  --text-body:    #5c3018;
  --text-light:   #8a5030;
  --text-muted:   #b8845a;
  --text-faint:   #d4a878;

  /* Borders */
  --border:       #e8d0b0;
  --border-mid:   #d4b080;
  --border-dark:  #b88040;

  /* Semantic */
  --success:      #15803d;
  --warning:      #b45309;
  --error:        #b91c1c;

  /* Gradients — refined, coordinated */
  --grad-saffron: linear-gradient(135deg, #c94000 0%, #e05010 55%, #d4900a 100%);
  --grad-gold:    linear-gradient(135deg, #d4900a 0%, #f0b020 100%);
  --grad-hero:    linear-gradient(150deg, #2a0a00 0%, #4a0e0e 45%, #6b1a1a 100%);
  --grad-hero-2:  linear-gradient(150deg, #3a0c00 0%, #5a1212 50%, #7a2020 100%);
  --grad-card:    linear-gradient(160deg, #fdf6ec 0%, #f5e0c8 100%);
  --grad-section: linear-gradient(180deg, #fdf6ec 0%, #f5e8d4 100%);

  /* Fonts */
  --font-display: 'Eczar', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-hindi:   'Noto Sans Devanagari', var(--font-body), sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows — warm toned */
  --shadow-sm:  0 1px 4px rgba(44,10,0,.08);
  --shadow-md:  0 4px 18px rgba(44,10,0,.11);
  --shadow-lg:  0 10px 40px rgba(44,10,0,.14);
  --shadow-xl:  0 20px 60px rgba(44,10,0,.18);
  --shadow-glow: 0 0 30px rgba(201,64,0,.25);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-f: 150ms;
  --dur-m: 280ms;
  --dur-s: 580ms;

  /* Layout */
  --nav-h:   72px;
  --max-w:   1160px;
  --pad:     clamp(1rem, 5vw, 2.5rem);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { line-height: 1.75; }

/* Hindi font class */
.hi { font-family: var(--font-hindi); }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section    { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section-sm { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* ─── Section label ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: var(--space-md);
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  opacity: 0.45;
}
/* Center variant — wraps to full width and centers the inline-flex label */
.section-label.center {
  display: flex;
  justify-content: center;
  width: 100%;
}
.section-heading { color: var(--text-dark); margin-bottom: var(--space-md); }
.section-heading.center { text-align: center; }
.section-sub {
  color: var(--text-body);
  font-size: 1.02rem;
  max-width: 560px;
  line-height: 1.85;
}
.section-sub.center { margin-inline: auto; text-align: center; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--dur-m) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-f);
}
.btn:hover::after { background: rgba(255,255,255,.07); }

.btn-primary {
  background: var(--grad-saffron);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,64,0,.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,64,0,.48); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 2px solid var(--saffron);
  color: var(--saffron);
  background: transparent;
}
.btn-outline:hover { background: var(--saffron); color: var(--white); transform: translateY(-1px); }

.btn-ghost  { color: var(--text-mid); }
.btn-ghost:hover { color: var(--saffron); }

.btn-white {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-white:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.btn-gold {
  background: var(--grad-gold);
  color: var(--deep);
  box-shadow: 0 4px 20px rgba(212,144,10,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,144,10,.45); }

.btn-sm { padding: 0.52rem 1.2rem; font-size: 0.84rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-m) var(--ease);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-mid); }
.card-body { padding: var(--space-xl); }

/* ─── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-saffron { background: rgba(201,64,0,.1);  color: var(--saffron); }
.badge-gold    { background: rgba(212,144,10,.1); color: var(--gold); }
.badge-success { background: rgba(21,128,61,.1);  color: var(--success); }
.badge-warning { background: rgba(180,83,9,.1);   color: var(--warning); }
.badge-error   { background: rgba(185,28,28,.1);  color: var(--error); }

/* ─── Form Elements ──────────────────────────────────────── */
.form-group   { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label   { font-size: 0.84rem; font-weight: 600; color: var(--text-mid); letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white); color: var(--text-dark);
  font-size: 0.95rem;
  transition: border-color var(--dur-f), box-shadow var(--dur-f);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(201,64,0,.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint     { font-size: 0.77rem; color: var(--text-light); }

/* ─── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,144,10,.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: var(--space-md); }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 500px; margin-inline: auto; }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar-placeholder { position: sticky; top: 0; z-index: 1000; }

.navbar {
  background: rgba(253,246,236,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--dur-m), background var(--dur-m);
}
.navbar.scrolled {
  background: rgba(253,246,236,.99);
  box-shadow: 0 2px 24px rgba(44,10,0,.09);
}

.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--space-xl);
}

.nav-logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-saffron);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.35rem;
  font-family: var(--font-hindi);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(201,64,0,.38);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem;
  color: var(--text-dark);
}
.nav-logo-tagline {
  font-size: 0.61rem; color: var(--text-light);
  letter-spacing: 0.07em; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--r-sm);
  transition: all var(--dur-f);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--saffron);
  border-radius: 2px;
  transition: left var(--dur-m) var(--ease), right var(--dur-m) var(--ease);
}
.nav-link:hover  { color: var(--saffron); }
.nav-link.active { color: var(--saffron); font-weight: 600; }
.nav-link:hover::after,
.nav-link.active::after { left: 16px; right: 16px; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

.nav-lang-toggle {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.32rem 0.75rem;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-full);
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--dur-f);
  background: transparent;
}
.nav-lang-toggle:hover { border-color: var(--saffron); color: var(--saffron); background: rgba(201,64,0,.05); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-mid); border-radius: 2px;
  transition: all var(--dur-m);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column; gap: var(--space-sm);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 0.75rem 1rem; border-radius: var(--r-md); font-size: 1rem; display: block; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--deep);
  color: rgba(255,255,255,.7);
  padding-top: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,144,10,.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-2xl);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}

.footer-logo { display: flex; align-items: center; gap: 0.65rem; margin-bottom: var(--space-lg); }
.footer-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-saffron);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem;
  font-family: var(--font-hindi); font-weight: 700;
}
.footer-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); }

.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: var(--space-lg); }

.footer-availability {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  background: rgba(201,64,0,.18);
  border: 1px solid rgba(201,64,0,.3);
  border-radius: var(--r-full);
  font-size: 0.76rem; color: var(--gold-lt); font-weight: 600;
}
.footer-availability::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-lt);
  animation: pulse-dot 2.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.4; transform:scale(.7); }
}

.footer-col-title {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  color: rgba(255,255,255,.85); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-link  { font-size: 0.88rem; color: rgba(255,255,255,.55); transition: color var(--dur-f); }
.footer-link:hover { color: var(--gold-lt); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.86rem; color: rgba(255,255,255,.55); margin-bottom: 0.75rem;
}
.footer-contact-icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--space-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); flex-wrap: wrap;
}
.footer-disclaimer-short { font-size: 0.74rem; color: rgba(255,255,255,.3); max-width: 580px; line-height: 1.65; }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,.25); white-space: nowrap; }

/* Booking float button */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 54px; height: 54px;
  background: var(--grad-saffron); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,64,0,.4);
  z-index: 998; color: white; font-size: 1.4rem;
  transition: transform var(--dur-m) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.12); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  /* Hide only the booking button — keep language toggle visible */
  .nav-actions .btn { display: none; }
  .nav-actions { gap: var(--space-sm); }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  /* On very small screens, also hide lang toggle to keep nav clean */
  .nav-lang-toggle { display: none; }
}
