/* ============================================
   BAGESHWARI SHAKTI PEETH - SACRED PORTAL
   Designed by Creaa Designs
   ============================================ */

/* ---------- ROOT TOKENS ---------- */
:root {
  --deep-maroon: #4a0e1f;
  --maroon: #6b1330;
  --maroon-light: #8b1a3d;
  --maroon-glow: rgba(139, 26, 61, 0.4);
  --gold: #c9a961;
  --gold-light: #e8c97f;
  --gold-soft: #f0d9a3;
  --gold-dark: #9b7f3d;
  --ivory: #f4e9d8;
  --ivory-soft: #faf3e3;
  --bg-dark: #160808;
  --bg-darker: #0a0303;
  --bg-mid: #2a0e15;
  --text-dark: #2a1518;
  --text-soft: rgba(244, 233, 216, 0.78);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 12px 32px rgba(74, 14, 31, 0.18);

  --font-royal: 'Cinzel', 'Trajan Pro', serif;
  --font-serif: 'Cormorant Garamond', 'Garamond', serif;
  --font-body: 'Jost', 'Lato', sans-serif;
  --font-sanskrit: 'Tiro Devanagari Sanskrit', serif;

  --max-width: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--maroon); color: var(--gold-light); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--ivory-soft);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color .3s ease;
}
a:hover { color: var(--gold-dark); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-royal);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--deep-maroon);
}
.serif { font-family: var(--font-serif); font-weight: 400; }
.sanskrit { font-family: var(--font-sanskrit); font-weight: 400; }

.eyebrow {
  font-family: var(--font-royal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-block;
  position: relative;
  padding: 0 30px;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
}
.eyebrow::before { left: 0; }
.eyebrow::after { right: 0; }

.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before, .eyebrow.light::after { background: var(--gold-light); }

.section-title {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 22px;
}
.section-lede {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  color: rgba(42, 21, 24, 0.72);
  max-width: 760px;
  margin: 0 auto 50px;
}

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }

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

/* ============================================
   PASSWORD GATE (index.html)
   ============================================ */
.gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #2a0810 0%, #0a0303 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

.gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(232, 201, 127, 0.6), transparent),
    radial-gradient(1px 1px at 70% 80%, rgba(232, 201, 127, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(232, 201, 127, 0.4), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(232, 201, 127, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(232, 201, 127, 0.4), transparent),
    radial-gradient(1px 1px at 10% 90%, rgba(232, 201, 127, 0.5), transparent);
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: .4; }
  100% { opacity: 1; }
}

.yantra-bg {
  position: absolute;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  opacity: 0.18;
  animation: rotate 90s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gate-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 60px 40px;
  max-width: 540px;
  width: 100%;
  margin: 0 20px;
}

.gate-mark {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.25) 0%, transparent 70%);
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px 12px rgba(201, 169, 97, 0.15); }
}

.om-glyph {
  font-family: var(--font-sanskrit);
  font-size: 56px;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(232, 201, 127, 0.7);
}

.gate h1 {
  font-family: var(--font-royal);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 2px 30px rgba(232, 201, 127, 0.3);
}
.gate .gate-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(244, 233, 216, 0.7);
  margin-bottom: 14px;
  font-size: 18px;
}
.gate .gate-shloka {
  font-family: var(--font-sanskrit);
  font-size: 17px;
  color: rgba(232, 201, 127, 0.85);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 380px;
  margin: 0 auto;
}

.gate-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--ivory);
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.15em;
  text-align: center;
  border-radius: 2px;
  outline: none;
  transition: all .3s ease;
  backdrop-filter: blur(8px);
}
.gate-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 28px rgba(232, 201, 127, 0.25);
  background: rgba(255, 255, 255, 0.07);
}
.gate-input::placeholder { color: rgba(244, 233, 216, 0.4); }

.btn-gate {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-darker);
  padding: 16px 30px;
  font-family: var(--font-royal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn-gate:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 35px rgba(232, 201, 127, 0.4);
  transform: translateY(-1px);
}
.btn-gate:active { transform: translateY(0); }

.gate-error {
  color: #ff8b8b;
  font-size: 13px;
  letter-spacing: 0.1em;
  min-height: 18px;
  margin-top: 4px;
  opacity: 0;
  transition: opacity .3s ease;
}
.gate-error.show { opacity: 1; }

.gate-foot {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 233, 216, 0.4);
  font-family: var(--font-royal);
}
.gate-foot a { color: var(--gold-soft); }
.gate-foot a:hover { color: var(--gold-light); }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .4s ease;
  background: rgba(22, 8, 8, 0.0);
}
.site-header.solid {
  background: rgba(22, 8, 8, 0.94);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--maroon) 0%, var(--deep-maroon) 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-sanskrit);
  color: var(--gold-light);
  font-size: 24px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-royal);
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 600;
}
.brand-tag {
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  color: rgba(244, 233, 216, 0.6);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-royal);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 233, 216, 0.78);
  padding: 12px 14px;
  position: relative;
  font-weight: 500;
  transition: color .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width .3s ease, left .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 22px;
  left: calc(50% - 11px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold-light);
  transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 80vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right .4s ease;
    border-left: 1px solid rgba(201, 169, 97, 0.2);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    font-size: 12px;
  }
  .nav-toggle { display: flex; }
}

/* ============================================
   HERO (HOME)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
  background: var(--bg-darker);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Bageshwari_Temple.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.08);
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.15) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 8, 8, 0.55) 0%, rgba(22, 8, 8, 0.7) 50%, rgba(22, 8, 8, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(74, 14, 31, 0.4) 100%);
}
.hero-yantra {
  position: absolute;
  width: min(880px, 90vmin);
  height: min(880px, 90vmin);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  animation: rotate 120s linear infinite;
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 100px var(--gutter) 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-shloka {
  font-family: var(--font-sanskrit);
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  opacity: 0.85;
}
.hero-title {
  font-family: var(--font-royal);
  font-size: clamp(46px, 9vw, 124px);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 12px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.hero-title .accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.42em;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  margin-top: 18px;
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(244, 233, 216, 0.85);
  max-width: 760px;
  margin: 30px auto 50px;
  line-height: 1.6;
  font-style: italic;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 38px;
  background: transparent;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateY(101%);
  transition: transform .35s ease;
}
.hero-cta:hover { color: var(--bg-darker); }
.hero-cta:hover::before { transform: translateY(0); }
.hero-cta span { position: relative; z-index: 2; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-royal);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(244, 233, 216, 0.5);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(232, 201, 127, 0.6), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

/* Inner page banner */
.page-banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  padding: 140px 20px 70px;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) saturate(1.1);
  transform: scale(1.05);
  animation: kenburns 25s ease-in-out infinite alternate;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 8, 8, 0.65) 0%, rgba(22, 8, 8, 0.85) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
}
.page-banner h1 {
  font-family: var(--font-royal);
  font-size: clamp(38px, 6vw, 78px);
  color: var(--ivory);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  font-weight: 500;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.page-banner p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(244, 233, 216, 0.8);
  max-width: 700px;
  margin: 0 auto;
}
.breadcrumb {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.breadcrumb a { color: var(--gold-light); opacity: 0.75; }
.breadcrumb span { opacity: 0.6; }

/* ============================================
   SECTION DIVIDER (mandala / glyph)
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 30px auto 50px;
}
.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider-glyph {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-family: var(--font-sanskrit);
  font-size: 22px;
}
.divider.light .divider-line { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.divider.light .divider-glyph { color: var(--gold-light); }

/* ============================================
   HOME — INVOCATION SECTION
   ============================================ */
.invocation {
  background: linear-gradient(180deg, var(--ivory-soft) 0%, var(--ivory) 100%);
  position: relative;
  overflow: hidden;
}
.invocation::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.invocation::after {
  content: '';
  position: absolute;
  bottom: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 19, 48, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.invocation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.invocation-text h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }
.invocation-text p { margin-bottom: 18px; font-size: 17px; color: rgba(42, 21, 24, 0.85); }
.invocation-text .lead {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--maroon);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0;
}
.invocation-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.invocation-image::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 201, 127, 0.35);
  z-index: 2;
  pointer-events: none;
}
.invocation-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.invocation-quote {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--deep-maroon);
  color: var(--gold-light);
  padding: 22px 28px;
  font-family: var(--font-sanskrit);
  font-size: 16px;
  letter-spacing: 0.03em;
  max-width: 80%;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.invocation-quote span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(244, 233, 216, 0.75);
  margin-top: 8px;
}

@media (max-width: 880px) {
  .invocation-grid { grid-template-columns: 1fr; gap: 60px; }
}

/* ============================================
   HOME — PILLARS (FEATURE GRID)
   ============================================ */
.pillars {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--ivory);
  position: relative;
}
.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Shakti-Peeths.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: grayscale(1);
}
.pillars .section-head { position: relative; z-index: 2; }
.pillars .section-title { color: var(--ivory); }
.pillars .section-lede { color: rgba(244, 233, 216, 0.78); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}
.pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 97, 0.18);
  padding: 50px 36px;
  text-align: center;
  position: relative;
  transition: all .5s ease;
  backdrop-filter: blur(8px);
}
.pillar:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 169, 97, 0.5);
  transform: translateY(-6px);
}
.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  font-family: var(--font-sanskrit);
  font-size: 36px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
}
.pillar h3 {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 18px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pillar p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: rgba(244, 233, 216, 0.78);
  font-style: italic;
  line-height: 1.7;
}
@media (max-width: 880px) { .pillar-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ============================================
   HOME — ALCOVES (asymmetric tiles)
   ============================================ */
.alcoves {
  background: var(--ivory-soft);
}
.alcove-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 26px;
}
.alcove {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--maroon);
  min-height: 280px;
  cursor: pointer;
  transition: transform .4s ease;
}
.alcove img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.alcove:hover img { transform: scale(1.06); }
.alcove::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 8, 8, 0.05) 30%, rgba(22, 8, 8, 0.92) 100%);
}
.alcove-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 3;
  color: var(--ivory);
}
.alcove-meta .label {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.alcove-meta h3 {
  font-family: var(--font-royal);
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.alcove-meta p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(244, 233, 216, 0.78);
  margin: 0;
}
.alcove-large { grid-row: 1 / span 2; min-height: 580px; }

@media (max-width: 880px) {
  .alcove-grid { grid-template-columns: 1fr; }
  .alcove-large { grid-row: auto; min-height: 360px; }
  .alcove { min-height: 280px; }
}

/* ============================================
   HOME — DARSHAN TIMING
   ============================================ */
.darshan {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--maroon) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.darshan::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 201, 127, 0.2), transparent 60%);
}
.darshan .section-title { color: var(--ivory); }
.darshan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.timing-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(232, 201, 127, 0.3);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.timing-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(232, 201, 127, 0.15);
  align-items: center;
}
.timing-row:last-child { border-bottom: none; }
.timing-row .name {
  font-family: var(--font-royal);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.timing-row .time {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ivory);
  font-style: italic;
}
.darshan-text h2 { color: var(--ivory); }
.darshan-text p {
  color: rgba(244, 233, 216, 0.85);
  margin-bottom: 18px;
  font-size: 16.5px;
}

@media (max-width: 880px) {
  .darshan-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  background: var(--ivory-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-grid h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 24px; }
.about-grid p { margin-bottom: 18px; font-size: 17px; color: rgba(42, 21, 24, 0.85); }
.about-image {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  pointer-events: none;
}
.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Stats strip */
.stats {
  background: var(--bg-dark);
  color: var(--ivory);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-royal);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 233, 216, 0.7);
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }

/* ============================================
   MANAGEMENT — Profile cards
   ============================================ */
.management {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-soft) 100%);
}
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1080px;
  margin: 0 auto;
}
.mgmt-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all .4s ease;
  border: 1px solid rgba(201, 169, 97, 0.2);
}
.mgmt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(74, 14, 31, 0.18);
  border-color: rgba(201, 169, 97, 0.5);
}
.mgmt-photo {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}
.mgmt-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(74, 14, 31, 0.18) 100%);
  pointer-events: none;
}
.mgmt-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 15%;
}
.mgmt-body { padding: 6px 0; }
.mgmt-eyebrow {
  font-family: var(--font-royal);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mgmt-card h3 {
  font-family: var(--font-royal);
  font-size: 24px;
  color: var(--deep-maroon);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.mgmt-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(42, 21, 24, 0.7);
  margin-bottom: 18px;
  line-height: 1.55;
}
.mgmt-bio {
  font-size: 14.5px;
  color: rgba(42, 21, 24, 0.78);
  margin-bottom: 22px;
}
.mgmt-link {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  cursor: pointer;
  display: inline-block;
  transition: all .3s ease;
}
.mgmt-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

@media (max-width: 880px) {
  .mgmt-grid { grid-template-columns: 1fr; gap: 30px; }
  .mgmt-card { grid-template-columns: 1fr; padding: 0; }
  .mgmt-photo img { aspect-ratio: 4/3; object-position: center 20%; }
  .mgmt-body { padding: 24px 26px 30px; }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 3, 0.85);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  background: var(--ivory-soft);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid rgba(201, 169, 97, 0.3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  z-index: 2;
  animation: slideUp .4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--maroon) 100%);
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
}
.modal-head img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid var(--gold-light);
}
.modal-head h3 {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 26px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.modal-head p {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(244, 233, 216, 0.85);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.modal-body { padding: 36px; }
.modal-body h4 {
  font-family: var(--font-royal);
  color: var(--maroon);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 22px 0 10px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { font-size: 15px; margin-bottom: 12px; color: rgba(42, 21, 24, 0.85); }
.modal-body ul { list-style: none; padding: 0; }
.modal-body ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  color: rgba(42, 21, 24, 0.85);
}
.modal-body ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-size: 9px;
  top: 12px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: var(--gold-light);
  font-size: 22px;
  border-radius: 50%;
  z-index: 5;
  transition: all .3s ease;
  font-family: var(--font-serif);
}
.modal-close:hover { background: var(--gold-light); color: var(--deep-maroon); }

@media (max-width: 600px) {
  .modal-head { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .modal-head img { margin: 0 auto; }
  .modal-body { padding: 24px; }
}

/* ============================================
   HISTORY — Timeline
   ============================================ */
.history-intro { background: var(--ivory-soft); }
.history-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.history-cols img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-deep);
}
.history-cols .text p {
  margin-bottom: 16px;
  font-size: 17px;
}
@media (max-width: 880px) { .history-cols { grid-template-columns: 1fr; gap: 40px; } }

.timeline {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--ivory);
  position: relative;
}
.timeline .section-title { color: var(--ivory); }
.timeline-list {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 0;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, 0.5), transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 50px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-marker {
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold-light);
  background: var(--bg-darker);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}
.tl-marker::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50%;
}
.tl-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 28px;
  border: 1px solid rgba(201, 169, 97, 0.18);
}
.tl-card .era {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.tl-card h3 {
  font-family: var(--font-royal);
  color: var(--ivory);
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.tl-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15.5px;
  color: rgba(244, 233, 216, 0.78);
  margin: 0;
}
.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(odd) .tl-empty { grid-column: 3; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }
.tl-item:nth-child(even) .tl-empty { grid-column: 1; }

@media (max-width: 768px) {
  .timeline-list::before { left: 14px; }
  .tl-item { grid-template-columns: 30px 1fr; gap: 14px; }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card {
    grid-column: 2;
    text-align: left;
  }
  .tl-item:nth-child(odd) .tl-empty, .tl-item:nth-child(even) .tl-empty { display: none; }
  .tl-marker { margin: 0; }
}

/* Sati myth section */
.sati-myth {
  background: var(--ivory);
  position: relative;
}
.myth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.myth-image {
  position: relative;
  background: var(--maroon);
  overflow: hidden;
  min-height: 500px;
}
.myth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.myth-text {
  padding: 30px 0;
}
.myth-text h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 24px; }
.myth-text p {
  font-size: 16.5px;
  margin-bottom: 16px;
  color: rgba(42, 21, 24, 0.85);
}
.myth-text .highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(232, 201, 127, 0.4) 60%);
  font-weight: 500;
  color: var(--deep-maroon);
}
@media (max-width: 880px) {
  .myth-grid { grid-template-columns: 1fr; gap: 40px; }
  .myth-image { min-height: 360px; }
}

/* ============================================
   ARCHITECTURE
   ============================================ */
.arch-intro { background: var(--ivory-soft); }
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.arch-card {
  background: #fff;
  border: 1px solid rgba(201, 169, 97, 0.25);
  overflow: hidden;
  transition: all .4s ease;
}
.arch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(201, 169, 97, 0.55);
}
.arch-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.arch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.arch-card:hover .arch-card-img img { transform: scale(1.06); }
.arch-card-body { padding: 28px; }
.arch-card .num {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.arch-card h3 {
  font-family: var(--font-royal);
  font-size: 20px;
  color: var(--deep-maroon);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.arch-card p { font-size: 15px; color: rgba(42, 21, 24, 0.78); margin: 0; }

@media (max-width: 880px) { .arch-grid { grid-template-columns: 1fr; } }

.arch-feature {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--bg-dark) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.arch-feature .section-title { color: var(--ivory); }
.arch-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.arch-feature-image {
  position: relative;
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: 14px;
}
.arch-feature-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.arch-feature p {
  color: rgba(244, 233, 216, 0.85);
  font-size: 16.5px;
  margin-bottom: 16px;
}
.symbol-list { list-style: none; padding: 0; margin: 30px 0 0; }
.symbol-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
  color: rgba(244, 233, 216, 0.85);
}
.symbol-list li:last-child { border-bottom: none; }
.symbol-list .glyph {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-sanskrit);
  color: var(--gold-light);
  font-size: 16px;
}
.symbol-list strong { color: var(--gold-light); display: block; margin-bottom: 4px; font-family: var(--font-royal); font-size: 13px; letter-spacing: 0.18em; }

@media (max-width: 880px) { .arch-feature-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================
   RITUALS & FESTIVALS
   ============================================ */
.rituals-intro { background: var(--ivory-soft); }
.rituals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.ritual-card {
  background: #fff;
  padding: 40px 36px;
  border-left: 3px solid var(--gold);
  position: relative;
  transition: all .4s ease;
}
.ritual-card:hover {
  border-left-color: var(--maroon);
  box-shadow: var(--shadow-deep);
  transform: translateX(4px);
}
.ritual-glyph {
  font-family: var(--font-sanskrit);
  font-size: 36px;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: block;
}
.ritual-card h3 {
  font-family: var(--font-royal);
  font-size: 22px;
  color: var(--deep-maroon);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.ritual-card .time {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--maroon);
  font-size: 14px;
  margin-bottom: 14px;
}
.ritual-card p {
  font-size: 15px;
  color: rgba(42, 21, 24, 0.82);
  margin: 0;
}
@media (max-width: 768px) { .rituals-grid { grid-template-columns: 1fr; } }

.festivals {
  background: linear-gradient(180deg, var(--maroon) 0%, var(--deep-maroon) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.festivals .section-title { color: var(--ivory); }
.festival-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.festival-tile {
  background: rgba(0, 0, 0, 0.25);
  padding: 36px 28px;
  border: 1px solid rgba(232, 201, 127, 0.2);
  text-align: center;
  transition: all .4s ease;
  backdrop-filter: blur(6px);
}
.festival-tile:hover {
  border-color: var(--gold-light);
  background: rgba(0, 0, 0, 0.4);
}
.festival-tile .month {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.festival-tile h3 {
  font-family: var(--font-royal);
  color: var(--ivory);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.festival-tile p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: rgba(244, 233, 216, 0.78);
  margin: 0;
}
@media (max-width: 980px) { .festival-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .festival-strip { grid-template-columns: 1fr; } }

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { background: var(--ivory-soft); }
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 50px;
}
.gallery-filter button {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: transparent;
  color: var(--text-dark);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.gallery-filter button.active, .gallery-filter button:hover {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--maroon);
  aspect-ratio: 4/3;
}
.gallery-item.tall { aspect-ratio: 3/4; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.gallery-item::after {
  content: '⤢';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(74, 14, 31, 0.85) 100%);
  display: grid;
  place-items: end center;
  padding: 30px;
  color: var(--gold-light);
  font-size: 22px;
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: auto; aspect-ratio: 3/4; }
  .gallery-item.wide { grid-column: auto; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 3, 3, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border: 2px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 22px;
}
.lightbox-close:hover { background: var(--gold); color: var(--bg-darker); }

/* ============================================
   PILGRIMAGE
   ============================================ */
.pilg-intro { background: var(--ivory-soft); }
.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.travel-card {
  background: #fff;
  padding: 38px 32px;
  border: 1px solid rgba(201, 169, 97, 0.25);
  text-align: center;
  transition: all .4s ease;
}
.travel-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}
.travel-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 26px;
  color: var(--maroon);
}
.travel-card h3 {
  font-family: var(--font-royal);
  font-size: 18px;
  color: var(--deep-maroon);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.travel-card p { font-size: 15px; color: rgba(42, 21, 24, 0.82); }
@media (max-width: 880px) { .travel-grid { grid-template-columns: 1fr; } }

.tips {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-soft) 100%);
}
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.tips-col h3 {
  font-family: var(--font-royal);
  color: var(--deep-maroon);
  font-size: 22px;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 12px;
}
.tips-col ul { list-style: none; }
.tips-col li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px dashed rgba(201, 169, 97, 0.3);
  color: rgba(42, 21, 24, 0.85);
  font-size: 15px;
}
.tips-col li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--gold-dark);
  font-size: 9px;
}
.tips-col li:last-child { border-bottom: none; }
@media (max-width: 768px) { .tips-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Map note */
.map-note {
  background: var(--bg-dark);
  padding: 40px;
  text-align: center;
  color: var(--ivory);
  border: 1px solid rgba(201, 169, 97, 0.2);
  margin-top: 50px;
}
.map-note h3 { color: var(--gold-light); margin-bottom: 12px; font-family: var(--font-royal); font-size: 18px; letter-spacing: 0.18em; }
.map-note p { color: rgba(244, 233, 216, 0.8); margin: 0; font-family: var(--font-serif); font-style: italic; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--ivory-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-info {
  padding: 30px 0;
}
.contact-info h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 22px; }
.contact-info > p { font-size: 17px; margin-bottom: 30px; }
.contact-card {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--maroon) 100%);
  color: var(--ivory);
  padding: 36px 32px;
  margin-bottom: 22px;
  border-left: 3px solid var(--gold);
}
.contact-card h4 {
  font-family: var(--font-royal);
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.contact-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(244, 233, 216, 0.9);
}
.contact-card .row a { color: var(--ivory); }
.contact-card .row a:hover { color: var(--gold-light); }
.contact-card .glyph {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: #fff;
  padding: 50px 44px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 {
  font-family: var(--font-royal);
  color: var(--deep-maroon);
  font-size: 26px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.contact-form .form-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(42, 21, 24, 0.7);
  margin-bottom: 30px;
}
.field { position: relative; margin-bottom: 22px; }
.field label {
  font-family: var(--font-royal);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--maroon);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--ivory-soft);
  border: 1px solid rgba(201, 169, 97, 0.4);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: all .3s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--maroon);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(107, 19, 48, 0.08);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-err { color: #b03030; font-size: 12px; margin-top: 4px; display: none; }
.field.has-err input, .field.has-err textarea { border-color: #b03030; }
.field.has-err .field-err { display: block; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--deep-maroon);
  color: var(--gold-light);
  font-family: var(--font-royal);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background: var(--maroon-light);
  letter-spacing: 0.36em;
}
.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(40, 110, 60, 0.08);
  border: 1px solid rgba(40, 110, 60, 0.4);
  color: #2e6b3a;
  margin-top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
}
.form-success.show { display: block; animation: fadeIn .4s ease; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 36px 26px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-darker);
  color: var(--ivory);
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.foot-brand .brand-mark { width: 50px; height: 50px; font-size: 26px; }
.foot-brand h4 { font-family: var(--font-royal); color: var(--gold-light); font-size: 17px; letter-spacing: 0.18em; }
.foot-col p {
  font-size: 14.5px;
  color: rgba(244, 233, 216, 0.7);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.7;
}
.foot-col h5 {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul a {
  color: rgba(244, 233, 216, 0.75);
  font-size: 14px;
  font-family: var(--font-body);
  transition: all .3s ease;
}
.foot-col ul a:hover { color: var(--gold-light); padding-left: 4px; }

.foot-contact .row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(244, 233, 216, 0.78);
}
.foot-contact .row a { color: rgba(244, 233, 216, 0.78); }
.foot-contact .row a:hover { color: var(--gold-light); }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 50%;
  color: var(--gold-light);
  transition: all .3s ease;
}
.socials a:hover {
  background: var(--gold-light);
  color: var(--bg-darker);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.foot-bottom {
  padding: 26px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 233, 216, 0.55);
  font-family: var(--font-royal);
}
.foot-bottom a { color: var(--gold-light); }
.foot-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* Floating diya */
.diya {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  z-index: 90;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(232, 201, 127, 0.3), transparent 70%);
  border-radius: 50%;
  animation: float 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.diya .flame {
  width: 16px;
  height: 22px;
  background: radial-gradient(ellipse at center bottom, #ffeb99 0%, #ffaa3b 40%, #c93a1f 80%, transparent 100%);
  border-radius: 50% 50% 20% 20% / 60% 60% 40% 40%;
  filter: blur(0.5px);
  box-shadow: 0 0 24px rgba(255, 170, 59, 0.7);
  animation: flicker 0.7s ease-in-out infinite alternate;
}
@keyframes flicker {
  0% { transform: scale(1) translateY(0); opacity: 0.95; }
  100% { transform: scale(1.06, 1.1) translateY(-1px); opacity: 1; }
}

/* Particles */
.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(232, 201, 127, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(232, 201, 127, 0.6);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* Scroll-trigger Sanskrit shloka */
.shloka-band {
  background: var(--bg-dark);
  color: var(--gold-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shloka-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08), transparent 60%);
}
.shloka-text {
  font-family: var(--font-sanskrit);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 24px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}
.shloka-trans {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(244, 233, 216, 0.7);
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Print friendliness */
@media print {
  .site-header, .site-footer, .diya, .particle-layer { display: none; }
}
