/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --deep:      #0d0805;
  --dark:      #160f08;
  --panel:     #1e1409;
  --panel2:    #251a0c;
  --border:    rgba(212,175,95,0.18);
  --border2:   rgba(212,175,95,0.35);
  --gold:      #d4af5f;
  --gold2:     #f0d080;
  --gold3:     #b8943a;
  --gold-glow: rgba(212,175,95,0.25);
  --saffron:   #e8721a;
  --saffron2:  #f5a030;
  --cream:     #f5edd8;
  --cream2:    #ede0c0;
  --text:      #e8dcc8;
  --text-dim:  #a89070;
  --lotus:     #c4607a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212,175,95,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(232,114,26,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(196,96,122,0.06) 0%, transparent 50%);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold3); border-radius: 3px; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
  background: linear-gradient(180deg, rgba(13,8,5,0.98) 0%, rgba(22,15,8,0.95) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 60px rgba(212,175,95,0.08);
}

.site-header::after {
  content: '';
  position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.guruji-photo-slot {
  width: 130px; height: 155px;
  border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
  overflow: hidden;
  border: 2px solid var(--gold3);
  box-shadow: 0 0 30px rgba(212,175,95,0.3), 0 0 60px rgba(212,175,95,0.1);
  position: relative;
  transition: box-shadow 0.4s;
  background: var(--panel);
}

.guruji-photo-slot:hover {
  box-shadow: 0 0 40px rgba(212,175,95,0.5), 0 0 80px rgba(212,175,95,0.15);
}

.guruji-photo-slot img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 0.75rem; letter-spacing: 0.1em;
  color: var(--gold3); text-align: center;
  background: radial-gradient(ellipse at center, #251a0c, #160f08);
}

.guruji-photo-slot.empty img { display: none; }
.header-guruji-left  { display: flex; justify-content: flex-start; }
.header-guruji-right { display: flex; justify-content: flex-end; }

.header-center {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
}

.om-symbol {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,175,95,0.6), 0 0 50px rgba(212,175,95,0.2);
  animation: omPulse 3s ease-in-out infinite;
  line-height: 1;
}

.site-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold3) 0%, var(--gold2) 45%, var(--gold3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.site-subtitle {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1.15rem;
  color: var(--saffron2);
  letter-spacing: 0.15em;
}

.site-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,8,5,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.main-nav::after {
  content: '';
  display: block; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--saffron) 20%, var(--gold) 50%, var(--saffron) 80%, transparent 100%);
  opacity: 0.6;
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.5rem;
}

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

.nav-link {
  display: block; padding: 0.9rem 1.4rem;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 20%; right: 20%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}

.nav-link:hover        { color: var(--gold2); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active       { color: var(--gold); }
.nav-link.active::after{ transform: scaleX(1); }

.contact-btn {
  color: var(--saffron2) !important;
  border: 1px solid rgba(232,114,26,0.3);
  border-radius: 2px;
  margin-left: 0.5rem;
}
.contact-btn:hover { background: rgba(232,114,26,0.1); color: var(--saffron) !important; }

.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--gold); font-size: 1.4rem; cursor: pointer;
}

/* ═══════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════ */
.page-hero-banner {
  position: relative; overflow: hidden;
  padding: 5rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(212,175,95,0.1) 0%, transparent 60%),
    linear-gradient(180deg, #160f08 0%, #0d0805 100%);
}

.hero-arc { position: absolute; border-radius: 50%; border: 1px solid; pointer-events: none; }
.hero-arc-1 { width: 700px; height: 700px; top: -450px; left: 50%; transform: translateX(-50%); border-color: rgba(212,175,95,0.12); }
.hero-arc-2 { width: 500px; height: 500px; top: -320px; left: 50%; transform: translateX(-50%); border-color: rgba(232,114,26,0.1); }
.hero-arc-3 { width: 300px; height: 300px; top: -190px; left: 50%; transform: translateX(-50%); border-color: rgba(212,175,95,0.15); }

.page-hero-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  background: linear-gradient(160deg, var(--gold3) 0%, var(--gold2) 50%, var(--saffron2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.page-hero-sub {
  margin-top: 0.8rem;
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1rem; letter-spacing: 0.12em;
  color: var(--text-dim);
  position: relative; z-index: 1;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-divider {
  margin: 1.5rem auto 0; width: 260px; height: 20px;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-divider svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════
   COMMON COMPONENTS
═══════════════════════════════════════════════ */
.section-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 2.5rem;
}

.ornament-line {
  flex: 1; max-width: 160px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold3));
}
.ornament-line.right { background: linear-gradient(90deg, var(--gold3), transparent); }

.ornament-symbol {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  color: var(--gold); font-size: 1.3rem;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, #7a4e1a 0%, var(--gold3) 40%, var(--saffron) 70%, #9a4510 100%);
  color: #0d0805;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border: none; border-radius: 3px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform 0.4s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,95,0.35), 0 2px 8px rgba(0,0,0,0.5); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0); }
.btn-large { padding: 1.1rem 3rem; font-size: 0.85rem; }
.btn-full  { width: 100%; margin-top: 0.5rem; }

.form-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-input::placeholder { color: var(--text-dim); opacity: 0.6; }
.form-input:focus {
  border-color: var(--gold3);
  background: rgba(212,175,95,0.04);
  box-shadow: 0 0 0 3px rgba(212,175,95,0.08), inset 0 1px 3px rgba(0,0,0,0.3);
}
textarea.form-input { resize: vertical; min-height: 90px; }

/* ═══════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════ */
.newsletter-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 200% at 50% 50%, rgba(232,114,26,0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--panel) 0%, #110c06 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.newsletter-strip::before,
.newsletter-strip::after {
  content: 'OM';
  font-family: 'Tiro Devanagari Sanskrit', serif;
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 8rem; color: var(--gold3); opacity: 0.04; pointer-events: none;
}
.newsletter-strip::before { left: 3%; }
.newsletter-strip::after  { right: 3%; }

.newsletter-inner { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }

.newsletter-inner h3 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.15rem; font-weight: 700;
  color: var(--gold2); letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.newsletter-inner p { font-size: 0.95rem; color: var(--text-dim); font-style: italic; margin-bottom: 1.5rem; }

.newsletter-form {
  display: flex; gap: 0; border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form:focus-within { border-color: var(--gold3); box-shadow: 0 0 0 3px rgba(212,175,95,0.1); }
.newsletter-form .form-input  { border: none; border-radius: 0; flex: 1; padding: 0.85rem 1.2rem; }
.newsletter-form .btn-primary { border-radius: 0; padding: 0.85rem 1.8rem; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer-bottom {
  position: relative; z-index: 1;
  background: #0a0604;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}

.footer-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1rem; font-weight: 700; color: var(--gold3);
}

.footer-om { font-family: 'Tiro Devanagari Sanskrit', serif; font-size: 1.4rem; color: var(--gold); text-shadow: 0 0 10px rgba(212,175,95,0.4); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold2); }
.footer-divider { width: 200px; height: 1px; margin: 0.3rem 0; background: linear-gradient(90deg, transparent, var(--gold3), transparent); opacity: 0.4; }
.footer-copy p { font-size: 0.8rem; color: var(--text-dim); text-align: center; font-style: italic; }

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes omPulse {
  0%,100% { text-shadow: 0 0 20px rgba(212,175,95,0.6), 0 0 50px rgba(212,175,95,0.2); }
  50%      { text-shadow: 0 0 35px rgba(212,175,95,0.9), 0 0 80px rgba(212,175,95,0.35); }
}

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

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 700px) {
  .site-header { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1rem; }
  .header-guruji-left, .header-guruji-right { display: none; }
  .nav-hamburger { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open { display: flex; }
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 0; }
  .nav-link { padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--border); width: 100%; }
}

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}
