/* ============================================================
   Dr. R.P. Sharma — Vedic Astrologer
   Light theme — clean cream + gold + burgundy
   Inspired by BhagyaX minimalism
   ============================================================ */

:root {
  --bg: #f8f1e2;
  --bg-warm: #f0e3c8;
  --surface: #fdf8ec;
  --surface-alt: #f7edd6;

  --ink: #2c1a0e;
  --ink-soft: #5a3c24;
  --ink-mute: #8a6a4a;
  --ink-fade: #b5a078;

  --burgundy: #8b2138;
  --burgundy-deep: #6e1626;
  --gold: #bf8c34;
  --gold-light: #d4a85e;
  --gold-pale: #ecc878;

  --line: #d9b878;
  --line-soft: #ead3a8;
  --line-pale: rgba(191, 140, 52, 0.18);
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Very subtle radial accent (top) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(232, 200, 122, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   INTRO SPLASH — keeps dark contrast splash, transitions to light
   ============================================================ */
.intro {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, #1a0a1f 0%, #0a050d 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  z-index: 99999;
  animation: intro-fade-out 0.9s ease-in 3.4s forwards;
}
.intro-mandala {
  position: absolute;
  width: min(700px, 90vw); height: min(700px, 90vw);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g fill='none' stroke='%23c9a961' stroke-width='.5' opacity='.6'><circle cx='200' cy='200' r='180'/><circle cx='200' cy='200' r='150'/><circle cx='200' cy='200' r='120'/><circle cx='200' cy='200' r='90'/><circle cx='200' cy='200' r='60'/><circle cx='200' cy='200' r='30'/><path d='M200 20 L200 380 M20 200 L380 200 M58 58 L342 342 M58 342 L342 58 M100 35 L300 365 M300 35 L100 365 M35 100 L365 300 M35 300 L365 100'/></g></svg>");
  background-size: contain; background-position: center; background-repeat: no-repeat;
  opacity: 0;
  animation: intro-mandala-in 1.5s ease-out 0.3s forwards, intro-mandala-spin 30s linear infinite;
}
.intro-content { position: relative; text-align: center; z-index: 2; }
.intro-om {
  font-size: 54px; color: #e8c87a;
  text-shadow: 0 0 40px rgba(232,200,122,.5);
  margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; font-weight: 500;
  opacity: 0; animation: intro-line-in 0.9s ease-out 0.6s forwards;
}
.intro-eyebrow {
  font-family: 'Cinzel', serif; letter-spacing: 8px;
  color: #e8c87a; font-size: 11px; font-weight: 500; margin-bottom: 22px;
  opacity: 0; animation: intro-line-in 0.9s ease-out 0.9s forwards;
}
.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px,6vw,68px); font-weight: 500; letter-spacing: 1px;
  color: #fff; margin-bottom: 14px;
  opacity: 0; animation: intro-line-in 1.1s ease-out 1.3s forwards;
}
.intro-title .gold {
  background: linear-gradient(90deg,#c9a961,#f5d36b,#e8c87a,#c9a961);
  background-size: 200% 100%;
  background-clip: text; -webkit-background-clip: text;
  color: transparent; font-style: italic;
  animation: shimmer 4s linear infinite 1.3s;
}
.intro-subtitle {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 6px;
  color: #c9a961; text-transform: uppercase;
  opacity: 0; animation: intro-line-in 0.9s ease-out 1.9s forwards;
}
.intro-line {
  width: 0; height: 1px;
  background: linear-gradient(90deg,transparent,#c9a961,transparent);
  margin: 28px auto 0;
  animation: intro-line-expand 1.2s ease-out 2.2s forwards;
}
@keyframes intro-mandala-in { to { opacity: .5; } }
@keyframes intro-mandala-spin { to { transform: rotate(360deg); } }
@keyframes intro-line-in { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes intro-line-expand { to { width: 240px; } }
@keyframes intro-fade-out { to { opacity: 0; visibility: hidden; } }
@keyframes shimmer { 0%{background-position:-100% 0} 100%{background-position:100% 0} }

body.intro-active { overflow: hidden; }
.site-content { opacity: 0; animation: site-fade-in 1s ease-out 3.6s forwards; }
@keyframes site-fade-in { to { opacity: 1; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 6%;
  position: sticky; top: 0;
  background: rgba(253, 248, 238, 0.85);
  backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid var(--line-pale);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--burgundy);
}

.nav-links { display: flex; gap: 38px; }
.nav-links a {
  color: var(--ink-soft); font-size: 12px;
  font-family: 'Cinzel', serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  transition: color .25s;
}
.nav-links a:hover { color: var(--burgundy); }

.nav-cta {
  border: 1px solid var(--burgundy);
  color: var(--burgundy) !important;
  padding: 10px 22px;
  letter-spacing: 1.5px;
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 500;
  transition: all .3s;
  background: transparent;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--burgundy); color: #fff !important; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 80px 0 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }

.eyebrow {
  font-family: 'Cinzel', serif; letter-spacing: 4px;
  color: var(--burgundy); font-size: 11px; font-weight: 600;
  margin-bottom: 28px; text-transform: uppercase;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px,5.8vw,72px); font-weight: 400;
  line-height: 1.02; letter-spacing: -0.8px;
  color: var(--ink); margin-bottom: 28px;
}
h1 .accent {
  background: linear-gradient(90deg,#8b1538,#c4925a);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; font-style: italic; font-weight: 500;
}

.hero-sub {
  font-family: 'Spectral', serif;
  font-size: clamp(17px,1.5vw,20px);
  color: var(--ink-soft); max-width: 520px;
  margin-bottom: 32px; font-weight: 300; line-height: 1.75;
}

.trust-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,253,245,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  padding: 11px 22px; border-radius: 30px;
  font-family: 'Cinzel', serif; font-size: 11px;
  font-weight: 500; letter-spacing: 1.5px; margin-bottom: 36px;
}
.stars-rating { color: var(--gold); font-size: 13px; letter-spacing: 1px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 16px 38px;
  font-family: 'Cinzel', serif; font-size: 12px; font-weight: 500;
  letter-spacing: 2px; transition: all .3s; cursor: pointer;
  border-radius: 2px; text-transform: uppercase;
}
.btn-primary {
  background: var(--burgundy); color: #fff; border: 1px solid var(--burgundy);
  box-shadow: 0 10px 28px rgba(139,21,56,.20);
}
.btn-primary:hover {
  background: var(--burgundy-deep);
  box-shadow: 0 14px 36px rgba(139,21,56,.30);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--burgundy); color: var(--burgundy);
  background: transparent;
}
.btn-ghost:hover { background: var(--burgundy); color: #fff; }

/* Photo */
.hero-photo { display: flex; justify-content: center; align-items: center; position: relative; }
.photo-frame { position: relative; width: 100%; max-width: 440px; }

/* Subtle gold ring behind photo */
.photo-frame::before {
  content: '';
  position: absolute; inset: -16px;
  border: 1px solid var(--line);
  border-radius: 6px; z-index: 0;
  transform: translate(12px, 12px);
}
/* Burgundy corner accent */
.photo-frame::after {
  content: '';
  position: absolute; top: -14px; left: -14px;
  width: 50px; height: 50px;
  border-top: 2px solid var(--burgundy);
  border-left: 2px solid var(--burgundy);
  z-index: 2;
}

.photo-frame img {
  width: 100%; border-radius: 4px;
  position: relative; z-index: 1;
  box-shadow:
    0 24px 50px -15px rgba(139,21,56,.18),
    0 8px 20px -10px rgba(44,24,16,.10);
}

.photo-caption {
  position: absolute; bottom: -28px; right: -16px;
  background: var(--burgundy); color: #fff;
  padding: 14px 22px; border-radius: 2px; z-index: 3;
  box-shadow: 0 16px 36px rgba(139,21,56,.30);
}
.caption-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600; letter-spacing: .3px; margin-bottom: 2px;
}
.caption-title {
  font-family: 'Cinzel', serif; font-size: 10px;
  letter-spacing: 2px; color: var(--gold-pale); font-weight: 400;
}

/* ============================================================
   Sections
   ============================================================ */
section.about, section.services, section.contact, section.stats {
  padding: 110px 0; position: relative;
}
section.about {
  background: var(--bg-warm);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
section.services { background: var(--bg); }

.section-label {
  font-family: 'Cinzel', serif; letter-spacing: 5px;
  color: var(--burgundy); font-size: 11px; font-weight: 600;
  margin-bottom: 18px; text-transform: uppercase;
}
.centered { text-align: center; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px,4.4vw,56px); font-weight: 400;
  line-height: 1.08; letter-spacing: -.5px;
  color: var(--ink); margin-bottom: 40px;
}
h2 em {
  background: linear-gradient(90deg,#8b1538,#c4925a);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; font-style: italic; font-weight: 500;
}

/* About */
.about-inner { max-width: 900px; text-align: left; }
.about-inner .section-label { text-align: left; }
.about-text {
  font-family: 'Spectral', serif;
  font-size: 21px; color: var(--ink-soft);
  line-height: 1.85; font-weight: 300;
  margin-bottom: 56px; max-width: 780px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
  padding-top: 48px; border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 500;
  color: var(--burgundy);
  line-height: 1; font-style: italic;
}
.stat-label {
  font-family: 'Cinzel', serif; font-size: 11px;
  letter-spacing: 2.5px; color: var(--ink-mute); text-transform: uppercase;
}

/* Services */
.services .section-label, .services h2, .contact .section-label, .contact h2 { text-align: center; }
.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 44px 28px; transition: all .4s ease;
  border-radius: 4px;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(139,21,56,.18);
}
.service-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 14px; color: var(--gold); letter-spacing: 2px;
  margin-bottom: 32px; font-weight: 500;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; color: var(--ink);
  margin-bottom: 16px; letter-spacing: -.3px;
}
.service-card p {
  font-family: 'Spectral', serif; color: var(--ink-soft);
  font-size: 15px; line-height: 1.7; font-weight: 300;
}

/* Contact */
.contact-sub {
  font-family: 'Spectral', serif; text-align: center;
  color: var(--ink-soft); font-size: 19px; font-weight: 300;
  margin-bottom: 60px; max-width: 580px; margin-left: auto; margin-right: auto;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
  max-width: 1020px; margin: 0 auto;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 42px 28px; text-align: center; transition: all .35s;
  display: block; border-radius: 4px;
}
a.contact-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -20px rgba(139,21,56,.20);
}
.contact-label {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 3px;
  color: var(--burgundy); margin-bottom: 16px; font-weight: 600; text-transform: uppercase;
}
.contact-value {
  font-family: 'Cormorant Garamond', serif; font-size: 19px;
  color: var(--ink); line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--bg-warm); padding: 80px 0 36px;
  border-top: 1px solid var(--line-soft);
  position: relative; z-index: 2;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--burgundy);
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: 'Cinzel', serif; font-size: 10px;
  color: var(--ink-mute); letter-spacing: 4px;
  margin-bottom: 32px; text-transform: uppercase;
}
.footer-social { display: flex; justify-content: center; gap: 36px; margin-bottom: 32px; }
.footer-social a {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2.5px;
  color: var(--ink-soft); transition: color .25s; text-transform: uppercase;
}
.footer-social a:hover { color: var(--burgundy); }
.footer-copy { font-family: 'Spectral', serif; color: var(--ink-mute); font-size: 13px; font-weight: 300; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37,211,102,.45);
  z-index: 999; transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }

::selection { background: var(--burgundy); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-photo { order: -1; }
  .photo-frame { max-width: 340px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; }
  .about-stats { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .nav { padding: 16px 5%; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 11px; }
  .hero { padding: 50px 0 70px; }
  .hero-buttons { width: 100%; }
  .btn { width: 100%; text-align: center; padding: 14px 28px; }
  section.about, section.services, section.contact { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .photo-caption { right: 0; bottom: -22px; padding: 12px 18px; }
  .caption-name { font-size: 16px; }
  .stat-num { font-size: 42px; }
  .intro-om { font-size: 44px; }
  .intro-mandala { width: 88vw; height: 88vw; }
}
