/* Mangal Nath Mandir — Modern Spiritual Design */
:root {
  --saffron: #e8922a;
  --saffron-deep: #c46e12;
  --kesari: #d4781c;
  --vermillion: #6b1218;
  --maroon: #4a0e14;
  --lotus: #c45c6a;
  --gold: #c9a227;
  --gold-soft: #e8c868;
  --gold-glow: rgba(201, 162, 39, 0.35);
  --sandal: #f4ebe0;
  --mist: #f6f1ea;
  --surface: #fffcf8;
  --stone: #1a1210;
  --stone-muted: #6b5a52;
  --river: #1a5f66;
  --river-deep: #0e3d44;
  --ink: #1a1210;
  --line: rgba(74, 14, 20, 0.1);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-hindi: "Noto Serif Devanagari", "Georgia", serif;
  --font-ui: "Sora", "Segoe UI", sans-serif;
  --font-body: "Literata", "Georgia", serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(74, 14, 20, 0.1);
  --shadow-sm: 0 8px 24px rgba(74, 14, 20, 0.08);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(800px 480px at 95% 5%, rgba(107, 18, 24, 0.08), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(26, 95, 102, 0.07), transparent 45%),
    var(--mist);
  background-attachment: fixed;
  line-height: 1.7;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--vermillion);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--saffron-deep);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Top bar —— */
.topbar {
  background: linear-gradient(105deg, var(--maroon) 0%, #3a1518 42%, var(--river-deep) 100%);
  color: rgba(255, 252, 248, 0.86);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 0.6rem 0;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 200, 104, 0.12), transparent);
  transform: translateX(-100%);
  animation: shakti-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shakti-sweep {
  0%,
  40% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  align-items: center;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover {
  color: var(--gold-soft);
}

.topbar-social {
  display: flex;
  gap: 0.55rem;
}

.topbar-social a {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-family: var(--font-ui);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 246, 245, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  overflow: visible;
  padding: 10px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  padding: 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  position: relative;
  z-index: 2;
  height: 100%;
}

.brand:hover {
  color: var(--vermillion);
}

.brand-logo {
  height: 5.75rem;
  width: auto;
  max-width: min(340px, 68vw);
  object-fit: contain;
  display: block;
  animation: logo-breathe 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(107, 18, 24, 0.12));
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 8px 22px rgba(201, 162, 39, 0.35));
  transform: scale(1.02);
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--saffron), var(--vermillion) 70%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 10px 28px rgba(196, 40, 40, 0.28);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-text span {
  font-family: var(--font-hindi);
  font-size: 0.78rem;
  color: var(--stone-muted);
}

.footer-logo {
  height: 3.75rem;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 1rem;
  background: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  box-shadow: var(--shadow-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a,
.main-nav > li > button {
  display: block;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.main-nav > li > a:hover,
.main-nav > li > a.active,
.main-nav > li > button:hover {
  color: var(--vermillion);
  background: rgba(196, 40, 40, 0.06);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 15rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
  overflow: hidden;
  padding: 0.35rem;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--stone);
  border-radius: 8px;
}

.dropdown a:hover {
  background: var(--mist);
  color: var(--vermillion);
}

.nav-cta {
  margin-left: 0.4rem;
  background: linear-gradient(135deg, var(--maroon), var(--kesari)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.15rem !important;
  box-shadow: 0 8px 22px rgba(107, 18, 24, 0.28);
  position: relative;
}

.nav-cta:hover {
  filter: brightness(1.06);
  color: #fff !important;
  background: linear-gradient(135deg, var(--maroon), var(--kesari)) !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon), var(--vermillion) 45%, var(--kesari));
  background-size: 180% 180%;
  color: #fff;
  box-shadow: 0 12px 28px rgba(107, 18, 24, 0.28);
  animation: aura-shift 6s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

@keyframes aura-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn-outline {
  background: rgba(255, 252, 248, 0.08);
  color: #fff;
  border: 1.5px solid rgba(232, 200, 104, 0.55);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(232, 200, 104, 0.16);
  color: #fff;
  border-color: var(--gold-soft);
}

.btn-dark {
  background: linear-gradient(135deg, var(--stone), var(--maroon));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(74, 14, 20, 0.78) 0%, rgba(14, 61, 68, 0.5) 48%, rgba(196, 110, 18, 0.42) 100%),
    url("../images/temple-4.jpeg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-ken 20s ease-in-out infinite alternate;
  background-position: bottom;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 80%, transparent 20%, rgba(26, 18, 16, 0.5) 100%);
}

.hero-aura {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-aura span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: float-spark 9s ease-in-out infinite;
}

.hero-aura span:nth-child(1) {
  width: 10px;
  height: 10px;
  background: var(--gold-soft);
  left: 12%;
  bottom: 22%;
  animation-delay: 0s;
}

.hero-aura span:nth-child(2) {
  width: 7px;
  height: 7px;
  background: #fff;
  left: 28%;
  bottom: 40%;
  animation-delay: 1.4s;
}

.hero-aura span:nth-child(3) {
  width: 12px;
  height: 12px;
  background: var(--kesari);
  right: 18%;
  bottom: 30%;
  animation-delay: 2.2s;
}

.hero-aura span:nth-child(4) {
  width: 6px;
  height: 6px;
  background: var(--gold);
  right: 32%;
  bottom: 55%;
  animation-delay: 0.8s;
}

.hero-aura span:nth-child(5) {
  width: 9px;
  height: 9px;
  background: rgba(255, 252, 248, 0.9);
  left: 55%;
  bottom: 18%;
  animation-delay: 3s;
}

.hero-aura::before {
  content: "";
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 68%);
  animation: aura-pulse 8s ease-in-out infinite;
}

.hero-aura::after {
  content: "";
  position: absolute;
  width: 36vmax;
  height: 36vmax;
  right: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(196, 110, 18, 0.18), transparent 70%);
  animation: aura-pulse 10s ease-in-out infinite reverse;
}

@keyframes float-spark {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-48px) scale(1.25);
    opacity: 0.9;
  }
}

@keyframes aura-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-1.2%, -0.8%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 5.5rem;
}

.hero-content > * {
  animation: fade-up 0.85s var(--ease) both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.18s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.42s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-hindi);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-lead {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  max-width: 40ch;
  opacity: 0.92;
  margin-bottom: 1.85rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1.5px;
  height: 2.6rem;
  background: linear-gradient(to bottom, transparent, var(--gold-soft));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-alt {
  position: relative;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(201, 162, 39, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(107, 18, 24, 0.04), transparent 35%),
    linear-gradient(160deg, #f0e6d8 0%, var(--mist) 55%, #ebe3d6 100%);
}

.section-dark {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(201, 162, 39, 0.2), transparent 50%),
    radial-gradient(600px 300px at 10% 90%, rgba(212, 120, 28, 0.15), transparent 45%),
    linear-gradient(145deg, #1a1010 0%, #3a1518 45%, #0e3d44 100%);
  color: rgba(255, 252, 248, 0.88);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "ॐ";
  position: absolute;
  right: 4%;
  top: 12%;
  font-size: clamp(6rem, 18vw, 14rem);
  font-family: var(--font-hindi);
  color: rgba(232, 200, 104, 0.06);
  line-height: 1;
  pointer-events: none;
  animation: om-drift 14s ease-in-out infinite;
}

@keyframes om-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
    opacity: 1;
  }
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kesari);
  margin-bottom: 0.7rem;
}

.section-dark .section-label {
  color: var(--gold-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-dark .section-title {
  color: #fff;
}

.section-lead {
  max-width: 40rem;
  color: var(--stone-muted);
  margin-bottom: 2.25rem;
  font-family: var(--font-ui);
  font-size: 0.98rem;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.hindi-line {
  font-family: var(--font-hindi);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  background: linear-gradient(90deg, var(--maroon), var(--kesari), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

/* —— Intro split —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 24rem;
  background:
    linear-gradient(160deg, rgba(196, 40, 40, 0.22), rgba(15, 107, 120, 0.4)),
    url("../images/temple-7.jpeg") center / cover;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}

.split-copy p + p {
  margin-top: 1rem;
}

.split-copy p {
  color: var(--stone-muted);
}

/* —— Interactive Puja Tabs —— */
.puja-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.puja-section-head .section-lead {
  margin-inline: auto;
  margin-bottom: 0;
}

.tabs {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.28);
  pointer-events: none;
  z-index: 2;
  animation: aura-pulse 7s ease-in-out infinite;
}

.tablist {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding: 0.7rem;
  overflow-x: auto;
  scrollbar-width: thin;
  background: linear-gradient(180deg, #f8f3ec, #efe6d8);
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 1 0 auto;
  min-width: max-content;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--stone-muted);
  font-family: var(--font-hindi);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.tab:hover {
  color: var(--stone);
  background: rgba(255, 255, 255, 0.7);
}

.tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--kesari));
  box-shadow: 0 10px 24px rgba(107, 18, 24, 0.25);
  animation: tab-glow 2.8s ease-in-out infinite;
}

@keyframes tab-glow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(107, 18, 24, 0.25);
  }
  50% {
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.4);
  }
}

.tabpanels {
  padding: 2rem 2rem 2.15rem;
}

.tabpanel {
  display: none;
  animation: tab-in 0.4s var(--ease) both;
}

.tabpanel.is-active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabpanel-copy h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  color: var(--stone);
}

.tabpanel-copy p {
  color: var(--stone-muted);
  margin-bottom: 1.35rem;
  max-width: 38rem;
}

.tabpanel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.meta-chip {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(107, 18, 24, 0.08), rgba(201, 162, 39, 0.14));
  color: var(--maroon);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.tabpanel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tabpanel-visual {
  min-height: 16rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(196, 40, 40, 0.28), rgba(15, 107, 120, 0.35)),
    url("../images/temple-1.jpeg") center / cover;
  position: relative;
  overflow: hidden;
}

.tabpanel-visual::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tabpanel[data-panel="kaal"] .tabpanel-visual {
  background:
    linear-gradient(145deg, rgba(15, 107, 120, 0.35), rgba(18, 26, 24, 0.35)),
    url("../images/temple-6.jpeg") center / cover;
}

.tabpanel[data-panel="bhaat"] .tabpanel-visual {
  background:
    linear-gradient(145deg, rgba(224, 107, 43, 0.28), rgba(196, 40, 40, 0.25)),
    url("../images/temple-5.jpeg") center / cover;
}

.tabpanel[data-panel="navgraha"] .tabpanel-visual {
  background:
    linear-gradient(145deg, rgba(10, 74, 84, 0.35), rgba(212, 175, 55, 0.2)),
    url("../images/temple-8.jpeg") center / cover;
}

.consult-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(107, 18, 24, 0.08), rgba(201, 162, 39, 0.12), rgba(26, 95, 102, 0.08));
  background-size: 200% 200%;
  border: 1px solid var(--line);
  animation: strip-flow 10s ease infinite;
}

@keyframes strip-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.consult-strip p {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  color: var(--stone);
  font-weight: 600;
}

.consult-strip span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--stone-muted);
  margin-top: 0.2rem;
}

/* —— Priest / highlight —— */
.highlight-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.highlight-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 25%, var(--gold-soft), var(--saffron), var(--vermillion));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.highlight-band h2 {
  font-family: var(--font-hindi);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: #fff;
  margin-bottom: 0.35rem;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-family: var(--font-ui);
}

/* —— Testimonials —— */
.quote-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--kesari));
  background-size: 200% 100%;
  animation: strip-flow 6s linear infinite;
}

.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.35);
}

.quote p {
  font-style: italic;
  color: var(--stone-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.quote cite {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  padding: 4.25rem 0 3.75rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 20, 18, 0.78), rgba(15, 107, 120, 0.55)),
    url("../images/temple-3.jpeg") center / cover;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  animation: fade-up 0.8s var(--ease) both;
}

.page-hero p {
  max-width: 36rem;
  opacity: 0.9;
  font-family: var(--font-ui);
  animation: fade-up 0.8s var(--ease) 0.08s both;
}

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  margin-bottom: 1rem;
  opacity: 0.75;
}

.breadcrumb a {
  color: var(--gold-soft);
}

/* —— Content —— */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  color: var(--stone-muted);
}

.prose ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.prose li {
  list-style: disc;
  margin-bottom: 0.4rem;
  color: var(--stone-muted);
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--stone);
  box-shadow: var(--shadow-sm);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

/* —— Blog —— */
.blog-list {
  display: grid;
  gap: 1.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-card-media {
  aspect-ratio: 1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(196, 40, 40, 0.4), rgba(15, 107, 120, 0.5)),
    url("../images/temple-2.jpeg") center / cover;
}

.blog-card time {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0.35rem 0 0.5rem;
}

.blog-card h2 a {
  color: var(--stone);
}

.blog-card h2 a:hover {
  color: var(--vermillion);
}

.blog-card p {
  color: var(--stone-muted);
  font-size: 0.95rem;
  font-family: var(--font-ui);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}

.contact-info dt {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.contact-info dd {
  color: var(--stone-muted);
}

.contact-info a {
  color: var(--stone);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(224, 107, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(224, 107, 43, 0.15);
  background: #fff;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.map-embed {
  margin-top: 3rem;
  aspect-ratio: 21 / 9;
  background: var(--stone);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

/* —— Footer —— */
.site-footer {
  background:
    radial-gradient(600px 280px at 80% 0%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(160deg, #140e0e, #2a1216 55%, #0e3d44);
  color: rgba(255, 252, 248, 0.78);
  padding: 3.75rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand-hindi {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
}

.site-footer p {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 28rem;
  font-family: var(--font-ui);
}

.site-footer h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-family: var(--font-ui);
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.65;
  font-family: var(--font-ui);
}

/* —— Float call —— */
.float-call {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(18, 140, 126, 0.4);
  font-size: 0.85rem;
  font-family: var(--font-ui);
  font-weight: 700;
  animation: float-bob 3s ease-in-out infinite;
}

.float-call:hover {
  color: white;
  filter: brightness(1.08);
}

@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: blur(4px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

.gallery-grid figure {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(74, 14, 20, 0.16);
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .split,
  .contact-grid,
  .footer-grid,
  .blog-card,
  .quote-list,
  .tabpanel.is-active {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabpanels {
    padding: 1.35rem;
  }

  .tabpanel-visual {
    min-height: 12rem;
    order: -1;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.85rem;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > li > a,
  .main-nav > li > button {
    width: 100%;
    text-align: left;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    background: var(--mist);
    margin-top: 0.25rem;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .site-header {
    position: relative;
  }

  .site-header .container {
    position: relative;
  }

  .blog-card-media {
    aspect-ratio: 16 / 9;
  }

  .highlight-band {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-social {
    width: 100%;
    justify-content: center;
  }

  .consult-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-row {
    height: 4.25rem;
  }

  .brand-logo {
    height: 4.75rem;
    max-width: min(240px, 62vw);
  }

  .gallery-grid,
  .quote-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80svh;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
  }

  .section {
    padding: 3.75rem 0;
  }

  .tab {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}



.float-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    z-index: 9999;
    transition: transform .2s ease;
}

.float-call:hover {
    transform: scale(1.1);
    color: #fff;
}
