:root {
  --bg: #f8f2e8;
  --bg-2: #f2e6d6;
  --surface: #fffaf3;
  --surface-soft: #f7eddf;
  --text: #2f2318;
  --muted: #6f5b46;
  --brand: #b03900;
  --brand-2: #7f2000;
  --gold: #d7a129;
  --ring: rgba(176, 57, 0, 0.2);
  --border: #e5d3b8;
  --shadow: 0 18px 36px rgba(63, 27, 5, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 10%, rgba(215, 161, 41, 0.2), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(176, 57, 0, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Cinzel", Georgia, serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 249, 240, 0.86);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  width: 150px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  z-index: 4;
}

.brand-logo {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 10px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  color: #53351f;
  transition: all 0.22s ease;
}

.nav-links a:hover {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff8ef;
  color: var(--brand-2);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(21, 9, 2, 0.62), rgba(21, 9, 2, 0.54)),
    var(--hero-image, url("temple 2.png"));
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff8ee;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(176, 57, 0, 0.36), transparent 46%),
    radial-gradient(circle at 90% 10%, rgba(18, 30, 54, 0.46), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-left: clamp(0px, 8vw, 110px);
  max-width: min(760px, 100%);
  padding: 6.2rem 1.25rem 3.6rem;
  border: 1px solid rgba(255, 227, 185, 0.32);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(27, 12, 2, 0.42), rgba(27, 12, 2, 0.26));
  backdrop-filter: blur(5px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.26);
  animation: rise 0.7s ease both;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: clamp(0.72rem, 1.2vw, 0.92rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffe2b0;
}

h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1.12;
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  max-width: 58ch;
  color: #ffefdb;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.78rem 1.28rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 20px rgba(127, 32, 0, 0.35);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 234, 205, 0.12);
  border-color: rgba(255, 227, 185, 0.65);
}

.section {
  padding: 4.8rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section.alt {
  background: linear-gradient(180deg, #f8eee0, #f2e5d3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #5f2a0e;
}

#about h2::before {
  content: "🛕";
}

#about::before {
  background:
    linear-gradient(140deg, rgba(255, 247, 232, 0.96), rgba(250, 238, 216, 0.92)),
    radial-gradient(circle at 20% 18%, rgba(215, 161, 41, 0.15), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(176, 57, 0, 0.1), transparent 32%),
    repeating-linear-gradient(
      45deg,
      rgba(215, 161, 41, 0.06) 0 12px,
      rgba(255, 255, 255, 0.45) 12px 24px
    );
}

#about .split {
  grid-template-columns: 1.3fr 0.92fr;
  gap: 1.35rem;
  align-items: stretch;
}

#about .split > div,
#about .split > .card {
  border-radius: 22px;
  border: 1px solid rgba(255, 231, 197, 0.55);
  box-shadow: 0 20px 36px rgba(8, 5, 2, 0.28);
  backdrop-filter: blur(8px);
  padding: 1.35rem;
}

#about .split > div {
  background: linear-gradient(165deg, rgba(255, 248, 236, 0.96), rgba(255, 238, 211, 0.92));
  position: relative;
  overflow: hidden;
}

#about .split > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #d7a129, #b03900);
}

#about .split > div p {
  margin: 0;
}

#about .split > div p + p {
  margin-top: 0.85rem;
}

#about h2 {
  color: #6b2c10;
  text-shadow: none;
}

#about p {
  color: #3b2a1b;
}

#about .highlight {
  background:
    linear-gradient(165deg, rgba(89, 36, 12, 0.92), rgba(51, 22, 8, 0.92)),
    radial-gradient(circle at 90% 0%, rgba(215, 161, 41, 0.24), transparent 35%);
  border: 1px solid rgba(255, 218, 163, 0.35);
  color: #ffe8c6;
}

#about .highlight h3 {
  color: #ffd79d;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

#about .highlight h3::before {
  content: "🪔";
}

#about .highlight ul {
  display: grid;
  gap: 0.58rem;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

#about .highlight li {
  background: rgba(255, 243, 223, 0.08);
  border: 1px solid rgba(255, 220, 170, 0.3);
  border-radius: 12px;
  padding: 0.55rem 0.68rem 0.55rem 2.2rem;
  font-weight: 700;
  position: relative;
}

#about .highlight li::before {
  content: "✦";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffd792;
}

@media (max-width: 900px) {
  #about .split {
    grid-template-columns: 1fr;
  }

  #about .split > div,
  #about .split > .card {
    padding: 1rem;
  }

  #about h2 {
    text-shadow: none;
  }
}

#timings h2::before {
  content: "🕉";
}

#timings::before {
  background:
    linear-gradient(160deg, rgba(248, 237, 220, 0.96), rgba(241, 225, 200, 0.9)),
    repeating-linear-gradient(
      45deg,
      rgba(176, 57, 0, 0.07) 0 9px,
      rgba(215, 161, 41, 0.08) 9px 18px
    );
}

#festivals h2::before {
  content: "🪔";
}

#festivals::before {
  background:
    linear-gradient(120deg, rgba(255, 245, 228, 0.9), rgba(255, 234, 198, 0.82)),
    url("banner-3.jpeg") center/cover no-repeat;
}

#sevas h2::before {
  content: "🔔";
}

#sevas::before {
  background:
    linear-gradient(145deg, rgba(250, 238, 220, 0.95), rgba(244, 230, 205, 0.88)),
    radial-gradient(circle at 10% 20%, rgba(176, 57, 0, 0.1), transparent 32%),
    radial-gradient(circle at 85% 70%, rgba(215, 161, 41, 0.12), transparent 30%);
}

#trust-board h2::before {
  content: "🙏";
}

#trust-board::before {
  background:
    linear-gradient(145deg, rgba(255, 247, 233, 0.94), rgba(245, 231, 208, 0.86)),
    repeating-radial-gradient(
      circle at 15% 12%,
      rgba(122, 42, 15, 0.08) 0 8px,
      transparent 8px 24px
    );
}

.split {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 1.4rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#trust-board .cards-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #fffcf7, #fff6ea);
  box-shadow: var(--shadow);
}

.card h3 {
  color: #542713;
}

.trust-member {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.member-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff7ea;
  font-size: 1.6rem;
  border: 2px solid rgba(255, 232, 196, 0.85);
  background: linear-gradient(135deg, #c24a00, #7f2000);
  box-shadow: 0 12px 22px rgba(127, 32, 0, 0.28);
  grid-row: 1 / span 3;
}

.trust-member h3,
.trust-member p {
  text-align: left;
  margin: 0;
}

.trust-member p + p {
  margin-top: 0.3rem;
}

@media (max-width: 600px) {
  .trust-member {
    grid-template-columns: 64px 1fr;
    gap: 0.75rem;
  }

  .member-icon {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
  }
}

.highlight {
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, #fff7ea, #ffefd8);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  position: relative;
  overflow: hidden;
}

.timeline-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li + li {
  margin-top: 0.45rem;
}

#sevas .list-clean {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.52rem;
}

#sevas .list-clean li {
  border-radius: 10px;
  padding: 0.52rem 0.72rem;
  border: 1px solid #ebd6bb;
  border-left: 4px solid var(--brand);
  background: linear-gradient(90deg, #fff8ee, #fff2e1);
  font-weight: 700;
}

#sevas .list-clean li + li {
  margin-top: 0;
}

.form {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

#sevas .split {
  align-items: start;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.7rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

input:focus,
select:focus {
  outline: 2px solid var(--ring);
  border-color: #d38d5f;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  background:
    radial-gradient(circle at 0% 0%, rgba(215, 161, 41, 0.18), transparent 26%),
    linear-gradient(180deg, #2f1608, #210e04);
  color: #ffe0be;
  padding: 3rem 0 1rem;
}

.footer h3 {
  color: #ffd79c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.footer a {
  color: #ffe8ce;
}

.footer a:hover {
  color: #fff4e3;
}

.copyright {
  text-align: center;
  color: #f3c88e;
  margin: 2rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  #trust-board .cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .cards-2,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 130px;
    height: 46px;
  }

  .brand-logo {
    width: 130px;
    height: 130px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 4%;
    top: 66px;
    min-width: 210px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 249, 240, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 72vh;
    background-image:
      linear-gradient(rgba(21, 9, 2, 0.58), rgba(21, 9, 2, 0.5)),
      url("banner-3.jpeg");
  }

  .hero-content {
    margin-left: 0;
    padding: 5.2rem 1rem 2.1rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #trust-board .cards-2 {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1120px, 92%);
  }

  .site-header {
    background: rgba(255, 249, 240, 0.95);
  }

  .brand {
    width: 118px;
    height: 40px;
  }

  .brand-logo {
    width: 118px;
    height: 118px;
  }

  .hero {
    min-height: 78svh;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(19, 9, 2, 0.2) 0%,
        rgba(19, 9, 2, 0.56) 55%,
        rgba(19, 9, 2, 0.82) 100%
      );
  }

  .hero-content {
    padding: 3rem 1rem 1.25rem;
    border-radius: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-content > * {
    max-width: 30rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
    margin-bottom: 0.45rem;
  }

  .lead {
    max-width: 32ch;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 1rem;
    gap: 0.62rem;
    width: min(30rem, 100%);
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  #about::before,
  #timings::before,
  #festivals::before,
  #sevas::before,
  #trust-board::before {
    opacity: 0.82;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
