:root {
  --saffron: #C96A23;
  --maroon: #6B1F2A;
  --gold: #C9A227;
  --cream: #FFF8E8;
  --ivory: #FFFCF5;
  --brown: #4B2D1C;
  --light-gold: #E8D59C;
  --muted: #725845;
  --shadow: 0 18px 45px rgba(75, 45, 28, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--brown);
  background: var(--ivory);
  font-family: "Noto Sans Devanagari", system-ui, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .brand-title {
  font-family: "Noto Serif Devanagari", Georgia, serif;
  color: var(--maroon);
  letter-spacing: 0;
}

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--saffron); }

:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.75);
  outline-offset: 3px;
}

.announcement {
  background: var(--maroon);
  color: #fff;
  font-size: 0.95rem;
}

.announcement button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 252, 245, 0.96);
  border-bottom: 1px solid var(--light-gold);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  max-width: 360px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background: linear-gradient(145deg, #fff, var(--cream));
  font-family: "Noto Serif Devanagari", serif;
  font-weight: 700;
}

.brand-title {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.nav-link {
  color: var(--brown);
  font-weight: 600;
  padding-inline: .55rem !important;
}

.nav-link.active, .nav-link:hover { color: var(--saffron); }

.btn-dev {
  --bs-btn-bg: var(--saffron);
  --bs-btn-border-color: var(--saffron);
  --bs-btn-hover-bg: #ad571b;
  --bs-btn-hover-border-color: #ad571b;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

.btn-outline-dev {
  --bs-btn-color: var(--maroon);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-bg: var(--cream);
  --bs-btn-hover-border-color: var(--saffron);
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,252,245,.97), rgba(255,248,232,.88)),
    radial-gradient(circle at 90% 15%, rgba(201,162,39,.22), transparent 35%),
    linear-gradient(135deg, var(--ivory), var(--cream));
}

.hero::after, .page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(30deg, var(--light-gold) 12%, transparent 12.5%, transparent 87%, var(--light-gold) 87.5%, var(--light-gold)),
    linear-gradient(150deg, var(--light-gold) 12%, transparent 12.5%, transparent 87%, var(--light-gold) 87.5%, var(--light-gold));
  background-size: 46px 80px;
  pointer-events: none;
}

.hero .container, .page-banner .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: var(--maroon);
  background: #fff;
  border: 1px solid var(--light-gold);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.18;
  margin: 1rem 0;
}

.hero-portrait, .image-placeholder, .poster-block, .map-placeholder, .video-placeholder {
  border: 1px solid var(--light-gold);
  background:
    linear-gradient(145deg, rgba(201,162,39,.16), rgba(201,106,35,.08)),
    var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-portrait {
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.symbol {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px double var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  color: var(--maroon);
  font-size: 3.5rem;
  font-family: "Noto Serif Devanagari", serif;
  background: rgba(255,255,255,.55);
}

.section { padding: 72px 0; }
.section-soft { background: var(--cream); }

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title p { color: var(--muted); margin: .5rem 0 0; }

.info-card, .event-card, .pravachan-card, .contact-card {
  height: 100%;
  border: 1px solid var(--light-gold);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(75,45,28,.07);
}

.highlight-card {
  border-top: 4px solid var(--saffron);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.badge-soft {
  display: inline-block;
  color: var(--maroon);
  background: var(--cream);
  border: 1px solid var(--light-gold);
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: .85rem;
  font-weight: 700;
}

.status-fixed { color: #245c36; background: #eaf6ed; border-color: #b9dfc3; }
.status-changed { color: #7a3415; background: #fff1e8; border-color: #f0c3a8; }
.status-complete { color: #575757; background: #f0f0f0; border-color: #d7d7d7; }

.timeline {
  position: relative;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .2rem;
  bottom: .2rem;
  width: 2px;
  background: var(--light-gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding: .95rem 1rem;
  border: 1px solid var(--light-gold);
  border-radius: var(--radius);
  background: #fff;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--cream);
}

.route-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: 1rem;
}

.route-stop {
  position: relative;
  padding-top: 1.8rem;
  font-weight: 700;
  color: var(--maroon);
}

.route-stop::before {
  content: "";
  position: absolute;
  top: .45rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--light-gold);
}

.route-stop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
}

.page-banner {
  position: relative;
  padding: 78px 0 58px;
  background: linear-gradient(135deg, var(--cream), var(--ivory));
  border-bottom: 1px solid var(--light-gold);
  overflow: hidden;
}

.image-placeholder, .poster-block {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--maroon);
  padding: 1.25rem;
}

.map-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.video-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border: 1px solid var(--light-gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.gallery-thumb {
  min-height: 190px;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background:
    linear-gradient(135deg, rgba(201,106,35,.18), rgba(201,162,39,.22)),
    var(--cream);
}

.gallery-item figcaption { padding: .9rem; color: var(--muted); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.35rem;
}

.filter-btn {
  border: 1px solid var(--light-gold);
  background: #fff;
  color: var(--brown);
  border-radius: 999px;
  padding: .45rem .85rem;
  font-weight: 700;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.site-footer {
  background: #321b12;
  color: #f9ead3;
  padding: 56px 0 22px;
}

.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff1d6; }
.site-footer a { color: #f9ead3; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(232,213,156,.28); margin-top: 2rem; padding-top: 1rem; }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: var(--maroon);
  display: none;
  z-index: 1050;
}

.back-to-top.show { display: grid; place-items: center; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 16, 11, .88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 760px;
  width: min(760px, 96vw);
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1rem;
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .navbar-brand { max-width: 285px; }
  .hero { min-height: auto; padding: 56px 0; }
  .hero-portrait { min-height: 300px; margin-top: 1.25rem; }
  .section { padding: 52px 0; }
}

@media (max-width: 575.98px) {
  .brand-title { font-size: .88rem; }
  .brand-subtitle { display: none; }
  .route-line { grid-template-columns: 1fr; }
}

