/* =============================================
   SHRI DATTA GIRNARI MATH — STYLESHEET
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Noto+Serif+Devanagari:wght@300;400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
  --saffron-deep:   #9E3A0A;
  --saffron:        #D4621A;
  --saffron-mid:    #E8751F;
  --saffron-light:  #F4912E;
  --gold-dark:      #8B6914;
  --gold:           #C9991F;
  --gold-mid:       #D4AF37;
  --gold-light:     #EDD060;
  --cream-dark:     #EDD9A3;
  --cream:          #FFF8E7;
  --cream-light:    #FFFDF5;
  --warm-white:     #FFFEF9;
  --maroon-dark:    #3A0000;
  --maroon:         #6B1414;
  --maroon-mid:     #8B2020;
  --text-dark:      #2C1810;
  --text-medium:    #5C3A1E;
  --text-light:     #8B6040;
  --border-gold:    rgba(201, 153, 31, 0.35);
  --shadow-soft:    0 4px 24px rgba(60, 20, 0, 0.12);
  --shadow-card:    0 8px 40px rgba(60, 20, 0, 0.16);
  --transition:     0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
.lang-en body,
body.lang-en { font-family: 'EB Garamond', Georgia, serif; }
body.lang-hi,
body.lang-mr { font-family: 'Noto Serif Devanagari', serif; }

.lang-en h1, .lang-en h2, .lang-en h3, .lang-en h4,
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4 {
  font-family: 'Cinzel', serif;
}
body.lang-hi h1, body.lang-hi h2, body.lang-hi h3, body.lang-hi h4,
body.lang-mr h1, body.lang-mr h2, body.lang-mr h3, body.lang-mr h4 {
  font-family: 'Noto Serif Devanagari', serif;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: linear-gradient(135deg, #3A0000ee 0%, #6B1414ee 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-om {
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 12px rgba(212,175,55,0.6);
  font-family: 'Noto Serif Devanagari', serif;
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-family: 'Noto Serif Devanagari', serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  font-family: 'Noto Serif Devanagari', serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  font-family: 'Noto Serif Devanagari', serif;
}
.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 24px;
  padding: 3px 6px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Noto Serif Devanagari', sans-serif;
  white-space: nowrap;
}
.lang-btn.active {
  background: var(--gold-mid);
  color: var(--maroon-dark);
}
.lang-btn:hover:not(.active) {
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/temple-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(58, 0, 0, 0.82) 0%,
    rgba(107, 20, 20, 0.7) 40%,
    rgba(152, 58, 10, 0.6) 100%
  );
}

/* Mandala pattern overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.05) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-emblem {
  margin-bottom: 16px;
}

.hero-om {
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--gold-light);
  line-height: 1;
  text-shadow:
    0 0 30px rgba(212,175,55,0.7),
    0 0 60px rgba(212,175,55,0.35),
    0 2px 8px rgba(0,0,0,0.5);
  font-family: 'Noto Serif Devanagari', serif;
  animation: omPulse 3s ease-in-out infinite;
}

@keyframes omPulse {
  0%, 100% { text-shadow: 0 0 30px rgba(212,175,55,0.7), 0 0 60px rgba(212,175,55,0.35); }
  50%       { text-shadow: 0 0 50px rgba(212,175,55,0.9), 0 0 100px rgba(212,175,55,0.5); }
}

.hero-danda {
  font-size: 1.8rem;
  color: var(--gold-mid);
  margin-top: -8px;
  opacity: 0.8;
  font-family: 'Noto Serif Devanagari', serif;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  color: var(--cream-dark);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.hero-mantra {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 36px;
  padding: 10px 28px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 40px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(212,175,55,0.4);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.04em;
  font-family: 'Noto Serif Devanagari', serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
  color: var(--maroon-dark);
  border-color: var(--gold-mid);
  box-shadow: 0 4px 20px rgba(201,153,31,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,153,31,0.55);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 28px; height: 28px;
  border-right: 2px solid var(--gold-mid);
  border-bottom: 2px solid var(--gold-mid);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* =============================================
   SECTION SHARED STYLES
   ============================================= */
.section { padding: 88px 0; }

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron-deep), var(--saffron));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-family: 'Noto Serif Devanagari', serif;
}
.section-badge.light {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-title.light { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }

.section-ornament {
  color: var(--gold-mid);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-top: 8px;
}
.section-ornament.light { color: var(--gold-light); opacity: 0.8; }

.section-desc {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1rem;
  opacity: 0.88;
  color: var(--text-medium);
}
.section-desc.light { color: rgba(255,255,255,0.82); }

/* =============================================
   DECORATIVE DIVIDER
   ============================================= */
.ornament-divider {
  text-align: center;
  padding: 8px 0;
  font-size: 1.4rem;
  color: var(--gold-mid);
  letter-spacing: 0.6em;
  opacity: 0.5;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background-color: var(--cream-light);
  background-image: url('../images/temple-golden.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron-deep), var(--gold-mid), var(--saffron-deep));
}

/* Cream overlay to keep text readable over the image */
.about-section > .container {
  position: relative;
  z-index: 1;
}
.about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 231, 0.93);
  pointer-events: none;
  z-index: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  font-size: 1.08rem;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* =============================================
   IDOL SECTION
   ============================================= */
.idol-section {
  background: linear-gradient(160deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--saffron-deep) 100%);
  position: relative;
  overflow: hidden;
}

.idol-section::before {
  content: 'ॐ';
  position: absolute;
  font-size: 40vw;
  font-family: 'Noto Serif Devanagari', serif;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.idol-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.idol-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idol-mandala-bg {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  border: 1px solid rgba(212,175,55,0.2);
  animation: mandalaRotate 20s linear infinite;
}
.idol-mandala-bg::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(212,175,55,0.15);
}
.idol-mandala-bg::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(212,175,55,0.1);
}

@keyframes mandalaRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.idol-placeholder {
  position: relative;
  z-index: 2;
  width: 280px; height: 320px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(212,175,55,0.08) 100%);
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backdrop-filter: blur(4px);
}

.idol-om {
  font-size: 5rem;
  color: var(--gold-light);
  font-family: 'Noto Serif Devanagari', serif;
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  line-height: 1;
}

.idol-placeholder p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.idol-details { color: rgba(255,255,255,0.9); }

.idol-desc-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.idol-desc-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
}
.idol-desc-card p:last-child { margin-bottom: 0; }

.idol-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.idol-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  padding: 16px 20px;
  transition: background var(--transition);
}
.idol-feature:hover { background: rgba(212,175,55,0.08); }

.idol-feature-icon { font-size: 1.6rem; flex-shrink: 0; }

.idol-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.idol-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.other-deities h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.deities-list li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  padding-left: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  line-height: 1.5;
}
.deities-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-mid);
  font-size: 0.6rem;
  top: 11px;
}
.deities-list li:last-child { border-bottom: none; }

/* =============================================
   HISTORY / STHAPANA SECTION
   ============================================= */
.sthapana-section {
  background: var(--cream-light);
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--saffron), var(--gold-mid), var(--saffron));
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  border: 3px solid var(--gold-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 6px rgba(201,153,31,0.12), var(--shadow-soft);
  z-index: 1;
}

.timeline-content {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  flex: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.timeline-event, .timeline-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(212, 98, 26, 0.08);
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-family: 'Noto Serif Devanagari', serif;
}
.timeline-date { color: var(--gold-dark); background: rgba(201,153,31,0.1); }

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* =============================================
   DARSHAN SECTION
   ============================================= */
.darshan-section {
  background: linear-gradient(150deg, var(--maroon-dark) 0%, #2a0a0a 50%, var(--maroon-dark) 100%);
  position: relative;
  overflow: hidden;
}

.darshan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 50%, rgba(201,153,31,0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(212,98,26,0.06) 0%, transparent 50%);
}

.darshan-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.darshan-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.darshan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(212,175,55,0.04) 0%, transparent 60%);
  border-radius: 20px;
}
.darshan-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.darshan-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.darshan-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.darshan-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.darshan-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 16px;
  padding: 24px 32px;
}
.darshan-note p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  font-style: italic;
  line-height: 1.8;
}

/* =============================================
   DAILY SCHEDULE SECTION
   ============================================= */
.schedule-section {
  background: var(--cream);
  position: relative;
}

.schedule-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron-deep), var(--gold-mid), var(--saffron-deep));
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.schedule-column { }

.schedule-time-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-gold);
}

.schedule-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-medium);
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  transition: all var(--transition);
}
.schedule-item:hover {
  background: rgba(201,153,31,0.05);
  border-color: var(--gold-mid);
  color: var(--text-dark);
  transform: translateX(4px);
}

.schedule-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-mid);
  flex-shrink: 0;
}

.closed-time {
  display: flex;
  align-items: center;
  justify-content: center;
}

.closed-badge {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  border: 2px solid var(--gold-mid);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(107,20,20,0.3);
  min-width: 160px;
}

.closed-badge span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.closed-badge p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.closed-badge small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

.yajna-note {
  text-align: center;
  background: linear-gradient(135deg, rgba(212,98,26,0.06) 0%, rgba(201,153,31,0.06) 100%);
  border: 1px dashed var(--border-gold);
  border-radius: 12px;
  padding: 18px 28px;
}
.yajna-note p {
  font-size: 0.95rem;
  color: var(--text-medium);
  font-style: italic;
}

/* =============================================
   FESTIVALS SECTION
   ============================================= */
.festivals-section {
  background: linear-gradient(150deg, var(--saffron-deep) 0%, var(--maroon) 100%);
  position: relative;
  overflow: hidden;
}

.festivals-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/diya.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.festivals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
}

.festival-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.festival-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.festival-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.festival-icon { font-size: 2.4rem; }

.festival-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}

.festival-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
}

/* =============================================
   SEVA SECTION
   ============================================= */
.seva-section {
  background: var(--cream-light);
}

.seva-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.seva-experiences {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.experience-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold-mid);
}

.experience-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.experience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
}

.experience-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.seva-activities {
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon));
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.seva-activities h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.seva-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seva-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 12px;
  transition: background var(--transition);
}
.seva-item:hover { background: rgba(255,255,255,0.09); }

.seva-icon { font-size: 1.4rem; flex-shrink: 0; }

.seva-item p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.swami-section {
  background: linear-gradient(135deg, rgba(212,98,26,0.08) 0%, rgba(201,153,31,0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 28px 36px;
  text-align: center;
  border-left: 4px solid var(--gold-mid);
}

.swami-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

.swami-section p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
}

/* =============================================
   CLOSING QUOTE
   ============================================= */
.closing-quote {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--saffron-deep) 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.closing-quote::before {
  content: '❝';
  position: absolute;
  font-size: 14rem;
  color: rgba(255,255,255,0.04);
  top: -20px;
  left: 40px;
  line-height: 1;
  font-family: Georgia, serif;
}

.closing-quote blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.9;
  text-align: center;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.closing-quote blockquote::before,
.closing-quote blockquote::after {
  content: '✦';
  display: block;
  color: var(--gold-mid);
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: normal;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--maroon-dark);
  padding: 40px 0 24px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-om {
  font-size: 2.4rem;
  color: var(--gold-light);
  font-family: 'Noto Serif Devanagari', serif;
  text-shadow: 0 0 12px rgba(212,175,55,0.4);
  line-height: 1;
}

.footer-logo h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.footer-mantra p {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-style: italic;
  letter-spacing: 0.04em;
  font-family: 'Noto Serif Devanagari', serif;
}

.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1024px) {
  .about-content { grid-template-columns: 1fr; gap: 36px; }
  .idol-content { grid-template-columns: 1fr; gap: 40px; }
  .idol-image-wrapper { justify-content: center; }
  .darshan-cards { grid-template-columns: repeat(2, 1fr); }
  .schedule-layout { grid-template-columns: 1fr; gap: 24px; }
  .closed-time { order: 3; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: linear-gradient(160deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: 8px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.35);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1rem;
    padding: 10px 14px;
    width: 100%;
  }

  .hamburger { display: flex; }

  .logo-title { font-size: 0.95rem; }

  .section { padding: 64px 0; }

  .about-features { grid-template-columns: 1fr 1fr; }

  .darshan-cards { grid-template-columns: 1fr 1fr; gap: 16px; }

  .festivals-grid { grid-template-columns: 1fr; }

  .seva-content { grid-template-columns: 1fr; }

  .timeline::before { left: 28px; }
  .timeline-marker { width: 56px; height: 56px; font-size: 1.2rem; }
  .timeline-item { gap: 20px; }

  .footer-content { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
  .darshan-cards { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .lang-btn { padding: 4px 7px; font-size: 0.7rem; }
}
