:root {
  --maroon: #7f1d2d;
  --deep: #1f2933;
  --teal: #0f766e;
  --saffron: #d97706;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --line: #e6d8c7;
  --muted: #65707c;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 41, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--deep);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(31, 41, 51, 0.64);
  color: var(--white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
  color: #ffd38a;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 88px) 82px;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(31, 41, 51, 0.86) 0%,
      rgba(31, 41, 51, 0.58) 45%,
      rgba(31, 41, 51, 0.18) 100%
    ),
    linear-gradient(180deg, rgba(127, 29, 45, 0.1), rgba(15, 118, 110, 0.08)),
    url("assets/mandir-hero-new.avif") center / cover no-repeat;
  background-color: #8ca9c5;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--saffron);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd38a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--maroon);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.3);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.button.secondary.dark {
  border-color: rgba(31, 41, 51, 0.25);
  color: var(--deep);
}

.quick-info {
  width: min(1120px, calc(100% - 36px));
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-info article {
  background: var(--white);
  padding: 26px;
}

.quick-info p,
.feature-card p,
.activity-list p,
.visit-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.section-text p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--saffron);
  font-weight: 900;
}

.darshan-section {
  border-top: 1px solid var(--line);
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.activity-list article {
  padding-top: 22px;
  border-top: 4px solid var(--teal);
}

.visit-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.visit-panel {
  padding: 34px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.visit-panel h3 {
  color: #ffd38a;
}

.visit-panel ul {
  margin: 0;
  padding-left: 20px;
}

.visit-panel li + li {
  margin-top: 12px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px clamp(20px, 6vw, 88px);
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-band h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  background: var(--maroon);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  padding: 3px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header,
  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 152px;
  }

  .quick-info,
  .about-section,
  .about-grid,
  .activity-list,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card span {
    margin-bottom: 22px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 82vh;
    padding: 148px 20px 68px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    width: calc(100% - 24px);
  }

  .quick-info article,
  .visit-panel {
    padding: 22px;
  }
}