/* ============================================================
   DEVBHOOMI — Page Styles (festival & temple detail pages)
   Shared across all detail pages — edit once, applies everywhere
   ============================================================ */

/* ── Page Hero ── */
.hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-emoji {
  position: absolute;
  right: 80px;
  font-size: 13rem;
  opacity: 0.11;
  animation: heroFloat 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.hero-content { max-width: 640px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: rgba(245,200,66,0.16);
  border: 1px solid rgba(245,200,66,0.38);
  color: var(--light-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Rozha One', serif;
  font-size: 4rem;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 6px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-family: 'Yatra One', cursive;
  font-size: 1.2rem;
  color: var(--light-gold);
  margin-bottom: 16px;
}
.hero-desc {
  color: rgba(255,248,238,0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 520px;
}
.hero-meta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,248,238,0.1);
  border: 1px solid rgba(255,248,238,0.18);
  color: var(--cream);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.77rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Page Content Wrapper ── */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 32px 80px;
}

/* ── Table of Contents ── */
.toc {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(212,160,23,0.18);
  box-shadow: var(--shadow);
}
.toc-title {
  font-family: 'Rozha One', serif;
  font-size: 1.1rem;
  color: var(--maroon);
  margin-bottom: 14px;
}
.toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.toc-list a {
  color: var(--saffron);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.toc-list a:hover { gap: 10px; }

/* ── Info Section Card ── */
.info-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212,160,23,0.12);
  position: relative;
  overflow: hidden;
}
.info-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 20px 20px 0 0;
}
.section-icon    { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.section-label   { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.section-heading { font-family: 'Rozha One', serif; font-size: 1.7rem; color: var(--maroon); margin-bottom: 18px; }

.section-text            { color: var(--medium-brown); font-size: 0.93rem; line-height: 1.8; }
.section-text p          { margin-bottom: 14px; }
.section-text p:last-child { margin-bottom: 0; }

/* Story quote */
.story-quote {
  border-left: 4px solid var(--saffron);
  padding: 15px 20px;
  margin: 18px 0;
  background: rgba(255,107,0,0.05);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--medium-brown);
  font-size: 0.91rem;
  line-height: 1.7;
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(255,107,0,0.06), rgba(212,160,23,0.06));
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 0.9rem;
  color: var(--dark-brown);
  line-height: 1.78;
}

/* ── Steps List ── */
.steps-list { list-style: none; margin-top: 16px; }
.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212,160,23,0.1);
}
.steps-list li:last-child { border-bottom: none; }

.step-num {
  min-width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content .step-title { font-weight: 600; font-size: 0.92rem; color: var(--dark-brown); margin-bottom: 4px; }
.step-content .step-desc  { font-size: 0.83rem; color: var(--medium-brown); line-height: 1.55; }

/* ── Items Grid ── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.item-card {
  background: linear-gradient(135deg, rgba(255,107,0,0.06), rgba(212,160,23,0.05));
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--dark-brown);
  font-weight: 500;
  line-height: 1.35;
}
.item-card .item-icon { font-size: 1.75rem; margin-bottom: 6px; display: block; }

/* ── Prayer / Dark Section ── */
.prayer-section {
  background: linear-gradient(135deg, var(--dark-brown), var(--maroon));
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 28px;
  color: var(--cream);
  box-shadow: var(--shadow);
}
.prayer-section .section-label   { color: var(--light-gold); }
.prayer-section .section-heading { color: var(--light-gold); font-family: 'Rozha One', serif; font-size: 1.7rem; margin-bottom: 18px; }

.mantra-box {
  background: rgba(255,248,238,0.07);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0;
  font-family: 'Yatra One', cursive;
  font-size: 1.06rem;
  color: var(--light-gold);
  line-height: 2;
  text-align: center;
  letter-spacing: 0.8px;
}
.mantra-meaning {
  font-size: 0.81rem;
  color: rgba(255,248,238,0.65);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.6;
}
.prayer-text {
  color: rgba(255,248,238,0.84);
  font-size: 0.9rem;
  line-height: 1.82;
  margin-top: 16px;
}

/* ── 2-col info grid (used on temple pages) ── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.info-card {
  background: rgba(255,107,0,0.05);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  padding: 14px 16px;
}
.info-card .ic-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.info-card .ic-value { font-weight: 600; font-size: 0.88rem; color: var(--dark-brown); }

/* ── Page Navigation (prev / next) ── */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
}
.page-nav a {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--dark-brown);
  transition: all 0.25s;
  box-shadow: var(--shadow);
}
.page-nav a:hover { border-color: var(--saffron); transform: translateY(-2px); }
.page-nav a .nav-label { font-size: 0.7rem; color: var(--saffron); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.page-nav a .nav-title { font-family: 'Rozha One', serif; font-size: 1.05rem; color: var(--maroon); }
.page-nav a:last-child { text-align: right; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero              { padding: 48px 20px; min-height: 340px; }
  .hero-title        { font-size: 2.8rem; }
  .hero-emoji        { display: none; }
  .page-content      { padding: 32px 16px 60px; }
  .info-section      { padding: 26px 20px; }
  .prayer-section    { padding: 26px 20px; }
  .toc-list          { grid-template-columns: 1fr; }
  .info-grid         { grid-template-columns: 1fr; }
  .items-grid        { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .page-nav          { flex-direction: column; }
  .page-nav a:last-child { text-align: left; }
}
