:root {
  --wine: #762b21;
  --deep: #401b19;
  --gold: #c99037;
  --cream: #fff8eb;
  --sand: #f3e5cc;
  --text: #4b3229;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "DM Sans", "Noto Sans Devanagari", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
.topline {
  height: 5px;
  background: linear-gradient(90deg, #8a271e, #e8b45c, #8a271e);
}
header {
  background: #fff9efef;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #eadac0;
}
.nav {
  max-width: 1180px;
  margin: auto;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 47px;
  height: 47px;
  border: 1px solid #d5a052;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wine);
  font-size: 27px;
  background: #fff1d5;
}
.brand strong {
  display: block;
  font-family: Marcellus, serif;
  color: var(--deep);
  font-size: 19px;
}
.brand small {
  display: block;
  color: #9a6a47;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
}
.links a:hover {
  color: #b56e1c;
}
.navbtn,
.btn {
  border: 0;
  border-radius: 5px;
  background: var(--wine);
  color: white;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
}
.navbtn:hover,
.btn:hover {
  background: #963d28;
}
.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--wine);
}
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #ad5730 0%, #7e3025 45%, #431d1b 100%);
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 20px 95px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid #ffffff26;
  pointer-events: none;
}
.mandala {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #d5a05b32;
  border-radius: 50%;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 60px #e1aa5920,
    0 0 0 125px #e1aa590c;
}
.mandala:before,
.mandala:after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px dashed #e8b9634d;
  border-radius: 50%;
}
.mandala:after {
  inset: 90px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}
.om {
  font-size: 60px;
  color: #ffd18b;
  line-height: 1.2;
}
.eyebrow {
  color: #ffd18b;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 25px;
}
.hero h1 {
  font:
    normal clamp(48px, 7vw, 90px) / 1.08 Marcellus,
    serif;
  margin: 0;
}
.hero .marathi {
  font:
    600 clamp(22px, 3vw, 33px) / 1.5 "Noto Sans Devanagari",
    sans-serif;
  color: #ffd99e;
  margin: 18px 0;
}
.hero p {
  font-size: 16px;
  line-height: 1.9;
  color: #f5dfd1;
  max-width: 560px;
  margin: 16px auto 29px;
}
.hero .btn {
  background: #edb965;
  color: #54271d;
  padding: 16px 28px;
}
.hero .btn:hover {
  background: #ffd38b;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  font-size: 20px;
  margin: 20px auto;
}
.divider:before,
.divider:after {
  content: "";
  width: 60px;
  height: 1px;
  background: #c99a56;
}
.section {
  padding: 90px 24px;
}
.wrap {
  max-width: 1120px;
  margin: auto;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ad6a24;
}
.section h2 {
  font:
    normal clamp(32px, 4vw, 49px) / 1.2 Marcellus,
    serif;
  color: var(--deep);
  margin: 13px 0 22px;
}
.section p {
  line-height: 1.9;
  color: #755c50;
}
.center {
  text-align: center;
}
.center > p {
  max-width: 620px;
  margin: 0 auto;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.art {
  min-height: 400px;
  border-radius: 160px 160px 12px 12px;
  background: radial-gradient(circle at 50% 37%, #f9d792, #b96b35 47%, #7c2c23 100%);
  border: 9px solid #ead5b1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px #552b1825;
  position: relative;
  overflow: hidden;
}
.art:after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #fce5b088;
  border-radius: 145px 145px 6px 6px;
}
.art .symbol {
  font-size: 120px;
  color: #fff1ce;
  text-shadow: 0 7px 30px #6b2b22;
}
.art span {
  color: #fff1cf;
  font-family: Marcellus, serif;
  letter-spacing: 4px;
  font-size: 15px;
}
.soft {
  background: #f8eddb;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 45px;
}
.info {
  background: #fffbf4;
  border: 1px solid #e9d7ba;
  padding: 33px 28px;
  border-radius: 9px;
  text-align: center;
}
.info .icon {
  font-size: 35px;
}
.info h3 {
  font:
    normal 24px Marcellus,
    serif;
  color: var(--deep);
  margin: 17px 0 10px;
}
.info p {
  margin: 0;
  font-size: 14px;
}
.notice {
  font-size: 12px !important;
  color: #996b3d !important;
  margin-top: 15px !important;
}
.festival {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.fest {
  padding: 32px;
  border-radius: 8px;
  background: #fffaf0;
  border: 1px solid #ebd8b9;
  border-top: 4px solid var(--gold);
}
.fest h3 {
  color: var(--deep);
  font:
    normal 25px Marcellus,
    serif;
}
.fest p {
  font-size: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.tile {
  aspect-ratio: 1.18;
  border-radius: 8px;
  background: linear-gradient(145deg, #a75534, #6c271f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fce4b6;
  border: 1px solid #d9a56b;
}
.tile:nth-child(2) {
  background: linear-gradient(145deg, #d09b57, #8d4627);
}
.tile:nth-child(3) {
  background: linear-gradient(145deg, #a86a42, #4b2921);
}
.tile span {
  font-size: 52px;
}
.tile small {
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 14px;
}
.contact {
  background: var(--deep);
  color: white;
}
.contact h2 {
  color: #fff4de;
}
.contact p {
  color: #ead2c1;
}
.contact .kicker {
  color: #edb965;
}
.contact-box {
  border: 1px solid #ffffff30;
  border-radius: 9px;
  padding: 32px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-box h3 {
  color: #ffd18b;
  margin: 0 0 12px;
}
.contact-box p {
  margin: 5px 0;
}
footer {
  text-align: center;
  background: #301514;
  color: #d8bba5;
  padding: 27px;
  font-size: 12px;
}
.lang {
  border: 1px solid #d6b68a;
  color: var(--wine);
  background: transparent;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
}
.hidden {
  display: none !important;
}
@media (max-width: 800px) {
  .links {
    display: none;
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    background: #fff9ef;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 28px;
    box-shadow: 0 14px 22px #0002;
  }
  .links.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .two {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .art {
    min-height: 320px;
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .info-grid,
  .festival,
  .gallery {
    grid-template-columns: 1fr;
  }
  .contact-box {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 65px 22px;
  }
  .hero {
    min-height: 540px;
  }
  .nav {
    padding: 13px 17px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand-icon {
    width: 40px;
    height: 40px;
  }
  .mandala {
    width: 430px;
    height: 430px;
  }
}
.history-section {
  background: #fffaf1;
}
.history-intro {
  max-width: 780px;
}
.history-timeline {
  border-left: 2px solid #d4a45b;
  margin: 38px 0 0 12px;
  padding-left: 32px;
}
.history-entry {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #efdfc6;
  border-radius: 9px;
  box-shadow: 0 4px 18px #542b1709;
}
.history-entry:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a85a2a;
  border: 3px solid #fff;
  left: -42px;
  top: 30px;
  box-shadow: 0 0 0 1px #d4a45b;
}
.history-entry h3 {
  font:
    normal 25px Marcellus,
    serif;
  color: #632b21;
  margin: 0 0 10px;
}
.history-entry p {
  margin: 0;
}
.history-note {
  font-size: 12px;
  font-style: italic;
}
@media (max-width: 800px) {
  .history-timeline {
    padding-left: 20px;
  }
  .history-entry {
    padding: 20px;
  }
  .history-entry:before {
    left: -30px;
  }
}
.deity-art {
  background: #f4e4c9;
  padding: 12px;
  min-height: 430px;
}
.deity-art img {
  height: 100%;
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 145px 145px 4px 4px;
}
.deity-gallery {
  margin: 0;
  border-radius: 8px;
  background: #fffaf0;
  border: 1px solid #e3cda7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.deity-gallery img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #f2e2c7;
}
.deity-gallery figcaption {
  padding: 13px;
  font-weight: 700;
  color: #762b21;
  font-size: 14px;
}
@media (max-width: 800px) {
  .deity-art {
    min-height: 350px;
  }
}
/* Festival traditions: readable bullet cards on all screen sizes */
.festival {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.fest h3 {
  margin: 14px 0 16px;
}
.festival-points {
  margin: 0;
  padding-left: 20px;
  color: #755c50;
  font-size: 14px;
  line-height: 1.85;
}
.festival-points li {
  padding-left: 3px;
  margin-bottom: 9px;
}
.festival-points li::marker {
  color: var(--gold);
}
@media (max-width: 800px) {
  .festival {
    grid-template-columns: 1fr;
  }
}
#gallery .gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
#gallery .deity-gallery {
  margin: 0;
  min-width: 0;
}
#gallery .deity-gallery img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  display: block;
}
#gallery .deity-gallery figcaption {
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  padding: 12px 15px;
}
@media (max-width: 800px) {
  #gallery .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #gallery .deity-gallery img {
    height: 220px;
  }
}
@media (max-width: 520px) {
  #gallery .gallery {
    grid-template-columns: 1fr;
  }
  #gallery .deity-gallery img {
    height: auto;
    max-height: 440px;
    object-fit: contain;
  }
}

.contact-links {
  margin-top: 24px;
}
.contact-links a {
  color: #ffd18b;
  text-decoration: underline;
}
