:root {
  --wine: #4b101b;
  --deep: #26080f;
  --gold: #e5c47d;
  --saffron: #bd7136;
  --cream: #fff5e4;
  --paper: #fffaf2;
  --ink: #33221d;
  --muted: #776b64;
  --line: #eadfd2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 7%;
  background: #fff0d9f5;
  border-bottom: 1px solid #e4c78f;
  backdrop-filter: blur(12px);
}

.brand {
  font: 700 1.65rem var(--serif);
  color: var(--wine);
  white-space: nowrap;
}

.brand span {
  color: #d97718;
  font-size: 1.9rem;
  vertical-align: middle;
}

.header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 27px);
}

.header nav a {
  font-size: 0.88rem;
  font-weight: 700;
}

.header nav a:hover {
  color: var(--saffron);
}

.menu {
  display: none;
  border: 0;
  background: none;
  color: var(--wine);
  font-size: 1.8rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 600px;
  display: grid;
  place-items: center;
  padding: 100px 6% 90px;
  color: white;
  text-align: center;
  background:
    linear-gradient(90deg, #2b0710a8, #38091240 50%, #2b0710a8),
    url("assets/temple-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #25070a30,
    #41081215 60%,
    #20060c70
  );
}

.hero-inner {
  max-width: 950px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--saffron);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f5d48f;
}

.hero h1 {
  font: 700 clamp(2.7rem, 5.5vw, 4.7rem) / 0.98 var(--serif);
  text-wrap: balance;
  text-shadow: 0 4px 22px #21060a55;
}

.hero h1 em {
  color: #f7d48c;
  font-style: normal;
}

.pandit-names {
  margin-top: 19px;
  color: #f5d48c;
  font: 700 clamp(1.45rem, 2.6vw, 2.1rem) / 1.15 var(--serif);
}

.pandit-names i {
  font-size: 0.7em;
  font-style: normal;
  padding: 0 6px;
}

.hero-sub {
  margin-top: 9px;
  font-size: 1.08rem;
}

.hero-copy {
  margin-top: 7px;
  color: #fff3e8;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.actions.left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 11px 23px;
  border-radius: 99px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #0002;
}

.orange {
  background: linear-gradient(120deg, #f27a19, #c7470c);
  color: white;
}

.light-outline {
  border-color: #f4d995;
  color: white;
  background: #ffffff0d;
}

.wine {
  background: var(--wine);
  color: white;
}

.green {
  background: #119b5b;
  color: white;
}

.outline-dark {
  border-color: var(--wine);
  color: var(--wine);
}

.scroll {
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  color: #f6d995;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* Falling petals */
.petals {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  top: -25px;
  left: var(--left);
  font-size: var(--size);
  opacity: 0;
  animation: fall var(--duration) linear forwards;
}

@keyframes fall {
  0% {
    transform: translate(0, -20px) rotate(0);
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  100% {
    transform: translate(var(--drift), 650px) rotate(220deg);
    opacity: 0;
  }
}

/* Pandit profile */
.section {
  padding: 80px 7%;
}

.profile {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) 1.3fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: #fffaf2;
}

.profile-image {
  max-width: 390px;
  margin: auto;
  padding: 9px;
  border: 1px solid #d8b66b;
  border-radius: 180px 180px 22px 22px;
  background: #fff0d6;
}

.profile-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 170px 170px 15px 15px;
}

.profile-copy h2,
.section-title h2,
.about h2 {
  margin-bottom: 14px;
  color: var(--wine);
  font: 700 clamp(2.3rem, 4.3vw, 3.5rem) / 1.02 var(--serif);
}

.profile-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

.micro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Section headings */
.section-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title > p:last-child {
  color: var(--muted);
}

/* Services */
.services {
  background: #f6ecdf;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 550px;
  margin: 0 auto 28px;
  padding: 0 18px;
  border: 1px solid #e7d5c3;
  border-radius: 99px;
  background: white;
}

.search-wrap span {
  font-size: 1.5rem;
  color: var(--saffron);
}

.search-wrap input {
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid #eadccf;
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 30px #4321160b;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px #43211616;
}

.service-card img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: #e8d8c3;
}

.card-body {
  padding: 20px;
}

.card-body small {
  color: var(--saffron);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.card-body h3,
.all-services h3 {
  margin: 5px 0 8px;
  color: #3b211d;
  font: 700 1.55rem / 1.1 var(--serif);
}

.card-body p {
  min-height: 70px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}

.card-actions a {
  flex: 1;
  padding: 9px 10px;
  border-radius: 99px;
  background: var(--wine);
  color: white;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.card-actions a:last-child {
  background: #129b5b;
}

.all-services {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid #ead8c4;
  border-radius: 20px;
  background: #fffaf2;
}

.all-services h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-chip {
  padding: 9px 15px;
  border: 1px solid #e7d1b7;
  border-radius: 99px;
  background: white;
  color: #56202a;
  font-size: 0.85rem;
}

.service-chip:hover {
  background: var(--wine);
  color: white;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 7%;
  align-items: center;
  background: white;
}

.about > div:first-child > p:not(.eyebrow) {
  color: var(--muted);
}

.points {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.points p {
  color: #4d2b24;
  font-weight: 600;
}

.about-art {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7b66c;
  border-radius: 48% 48% 20px 20px;
  color: #f5d794;
  background: radial-gradient(circle, #812d3a, #3b0c16 72%);
}

.about-art span {
  font-size: 5rem;
}

.about-art b {
  font-size: 3.2rem;
  color: #e3ae5c;
}

.about-art p {
  font: 600 1.45rem var(--serif);
}

/* Locations and contacts */
.locations {
  background: #f6ecdf;
}

.location-cards,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: auto;
}

.location-cards article,
.contact-cards article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  border: 1px solid #ebdccd;
  border-radius: 22px;
  background: white;
  text-align: center;
  box-shadow: 0 12px 30px #43211609;
}

.location-cards article > span {
  font-size: 2.5rem;
}

.location-cards h3 {
  margin: 10px 0;
  color: var(--wine);
  font: 700 2rem var(--serif);
  letter-spacing: 0.07em;
}

.location-cards p,
.contact-cards p {
  color: var(--muted);
}

.location-cards a {
  margin-top: 15px;
  color: var(--wine);
  font-weight: 700;
}

/* Booking form */
.booking {
  background: linear-gradient(140deg, #4b101b, #2a080f);
  color: white;
}

.booking .section-title h2 {
  color: #f5d48c;
}

.booking .section-title > p:last-child {
  color: #f3e5d7;
}

.booking form {
  max-width: 850px;
  margin: auto;
  padding: 30px;
  border: 1px solid #e2c17b55;
  border-radius: 22px;
  background: #fffaf2;
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #e5dacf;
  border-radius: 10px;
  outline: 0;
  background: #fffdfa;
  color: #30211d;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px #bd71361c;
}

.form-grid textarea {
  resize: vertical;
}

.submit {
  width: 100%;
  margin-top: 19px;
  border: 0;
  cursor: pointer;
}

.status {
  margin-top: 10px;
  color: var(--wine);
  overflow-wrap: anywhere;
}

/* Contact */
.contact {
  background: #fffaf2;
}

.contact-cards article > span {
  font-size: 2.8rem;
  color: var(--saffron);
}

.contact-cards h3 {
  margin: 4px 0 8px;
  color: var(--wine);
  font: 700 clamp(1.6rem, 3vw, 2.1rem) / 1.1 var(--serif);
}

.phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: #8e5a16;
}

.contact-cards .actions {
  margin-top: 16px;
}

.social {
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--wine);
}

/* Footer */
footer {
  padding: 42px 7% 95px;
  text-align: center;
  background: #21070d;
  color: #f4e7d7;
}

footer .footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #f3d28c;
  font: 700 2rem var(--serif);
}

footer p {
  margin: 5px 0;
}

footer a:not(.footer-brand) {
  color: #f3d28c;
}

footer small {
  display: block;
  margin-top: 13px;
  color: #d6c2b4;
}

.mobile-bar {
  display: none;
}

[hidden] {
  display: none !important;
}

/* Tablet */
@media (max-width: 1000px) {
  .header {
    padding: 12px 4%;
  }

  .header nav {
    gap: 12px;
  }

  .header nav a {
    font-size: 0.8rem;
  }

  .section {
    padding: 68px 5%;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 720px) {
  .header {
    flex-wrap: wrap;
    padding: 10px 5%;
  }

  .brand {
    font-size: 1.35rem;
  }

  .menu {
    display: block;
  }

  .header nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    padding: 10px 2px;
    border-top: 1px solid #e4d3bb;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 620px;
    padding: 92px 5% 80px;
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .pandit-names {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .pandit-names i {
    display: none;
  }

  .hero-sub {
    margin-top: 12px;
  }

  .hero-copy {
    font-size: 0.9rem;
  }

  .hero .actions {
    align-items: center;
    flex-direction: column;
  }

  .hero .actions .btn {
    width: min(100%, 320px);
  }

  .section {
    padding: 56px 5%;
  }

  .profile,
  .about {
    grid-template-columns: 1fr;
  }

  .profile-image {
    max-width: 300px;
  }

  .profile-copy {
    text-align: center;
  }

  .actions.left {
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
  }

  .card-body p {
    min-height: 0;
  }

  .location-cards,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .booking form {
    padding: 21px;
  }

  .about-art {
    min-height: 270px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 40;
    left: 10px;
    right: 10px;
    bottom: 9px;
    display: flex;
    gap: 9px;
    padding: 8px;
    border: 1px solid white;
    border-radius: 22px;
    background: #fffaf2f2;
    box-shadow: 0 8px 30px #29161320;
    backdrop-filter: blur(12px);
  }

  .mobile-bar a {
    flex: 1;
    padding: 10px;
    border-radius: 99px;
    color: white;
    background: var(--wine);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
  }

  .mobile-bar a:last-child {
    background: #159b5b;
  }

  footer {
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Rich maroon and gold temple hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #4b101b;
  background-image:
    radial-gradient(
      ellipse at 50% 35%,
      #8b2935 0%,
      #5b101d 48%,
      #26070d 100%
    );
  color: #fffaf0;
}

/* Decorative Om symbol */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.om-symbol {
  position: absolute;
  right: 4%;
  bottom: 25px;
  color: #e5bd64;
  opacity: 0.24;
  font-size: clamp(100px, 18vw, 220px);
  line-height: 1;
  text-shadow: 0 0 30px #f5c65c33;
}

/* Hanging bells */
.bell-group {
  position: absolute;
  top: 0;
  display: flex;
  gap: clamp(5px, 1.8vw, 24px);
}

.bell-left {
  left: 3%;
}

.bell-right {
  right: 3%;
}

.bell {
  display: block;
  transform-origin: top center;
  font-size: clamp(30px, 4.5vw, 58px);
  filter: sepia(0.4) saturate(1.5)
          drop-shadow(0 5px 7px #16050788);
  animation: bellSwing 3s ease-in-out infinite alternate;
}

.bell-two {
  margin-top: 18px;
  animation-delay: -1.2s;
}

.bell-three {
  margin-top: 35px;
  animation-delay: -2s;
}

@keyframes bellSwing {
  from { transform: rotate(-12deg); }
  to   { transform: rotate(12deg); }
}

/* Keep the headline above decorative elements */
.hero-inner {
  position: relative;
  z-index: 2;
}

.hero .scroll {
  z-index: 3;
}

@media (max-width: 720px) {
  .bell-left {
    left: 1%;
  }

  .bell-right {
    right: 1%;
  }

  .bell {
    font-size: 25px;
  }

  .bell-two {
    margin-top: 12px;
  }

  .bell-three {
    margin-top: 23px;
  }

  .om-symbol {
    right: 2%;
    bottom: 55px;
    font-size: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bell {
    animation: none;
  }
}
.hero {
  background:
    linear-gradient(
      rgba(54, 4, 15, 0.15),
      rgba(54, 4, 15, 0.15)
    ),
    url("assets/temple-hero.jpeg") center center / cover no-repeat !important;
}
.hero {
  background-color: #4b101b !important;
  background-image:
    linear-gradient(
      rgba(40, 4, 12, 0.10),
      rgba(40, 4, 12, 0.10)
    ),
    url("./assets/temple-hero.jpeg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.hero-inner {
  position: relative;
  z-index: 5;
}

.hero-decor {
  display: none !important;
}
/* Final hero readability polish */
.hero {
  background-image:
    linear-gradient(
      rgba(38, 4, 12, 0.12),
      rgba(38, 4, 12, 0.24)
    ),
    url("./assets/temple-hero.jpeg") !important;

  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.hero h1 {
  color: #fffaf0;
  text-shadow: 0 3px 16px rgba(20, 0, 0, 0.45);
}

.hero .pandit-names {
  color: #ffdc88;
  text-shadow: 0 2px 8px rgba(20, 0, 0, 0.6);
}