﻿:root {
  --cream-50: #fffdf7;
  --cream-100: #f9f3e3;
  --cream-200: #efe2c4;
  --gold-300: #e1c37a;
  --gold-400: #caa05c;
  --gold-500: #a77c3a;
  --saffron-300: #e6b15b;
  --saffron-500: #c47a2c;
  --peacock-600: #1f4f73;
  --peacock-700: #173d59;
  --forest-700: #31523f;
  --text-900: #2e2618;
  --text-700: #4a4131;
  --text-500: #6a5f4d;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(46, 38, 24, 0.08);
  --shadow-card: 0 10px 30px rgba(23, 61, 89, 0.09);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-700);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 0% 0%, rgba(202, 160, 92, 0.22), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(31, 79, 115, 0.15), transparent 31%),
    linear-gradient(180deg, var(--cream-50), #fbf8ef);
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(202, 160, 92, 0.3);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo-placeholder {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--peacock-700);
  border-radius: 50%;
  text-align: center;
  font-size: 0.72rem;
  padding: 0;
  font-family: 'Noto Serif Devanagari', serif;
  letter-spacing: 0.12em;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 226, 196, 0.85));
  box-shadow: 0 8px 18px rgba(31, 79, 115, 0.12);
  position: relative;
  overflow: hidden;
}

.site-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  border-radius: 50%;
  display: none;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo-placeholder.has-logo .site-logo-img {
  display: block;
}

.logo-placeholder.has-logo .logo-fallback {
  display: none;
}

.menu-toggle {
  display: none;
  background: var(--peacock-700);
  color: var(--white);
  border: 0;
  border-radius: 9px;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-family: 'Merriweather', serif;
  font-size: 0.92rem;
  color: var(--text-900);
  padding: 0.45rem 0.62rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--peacock-700);
  background: rgba(31, 79, 115, 0.09);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(36, 39, 45, 0.74), rgba(36, 39, 45, 0.62)),
    radial-gradient(circle at 80% 20%, rgba(225, 195, 122, 0.2), transparent 42%);
  z-index: 1;
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-direct-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual .image-placeholder {
  height: 100%;
  border-radius: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 5.5rem 0;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.25;
  color: var(--text-900);
  font-family: 'Cinzel Decorative', 'Times New Roman', serif;
  font-weight: 700;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.1vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.video-frame {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(202, 160, 92, 0.36);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.7rem;
  overflow: hidden;
}

.video-frame .image-placeholder {
  min-height: 220px;
}

.project-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(202, 160, 92, 0.35);
  background: #000;
}

.video-note {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--text-500);
}

.guru-message {
  height: 100%;
}

.guru-profile {
  display: block;
  margin-bottom: 1rem;
}

.guru-portrait {
  text-align: center;
}

.guru-photo {
  width: min(340px, 100%);
  height: auto;
  min-height: auto;
  max-height: none;
  object-fit: initial;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.guru-title {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-500);
}

.sub-hero {
  min-height: 50vh;
}

.sub-hero .hero-content {
  max-width: 860px;
  padding: 4.4rem 0 3.2rem;
}

.sub-hero h1 {
  font-size: clamp(1.95rem, 4vw, 3rem);
}

.sub-hero p {
  max-width: 760px;
}

.btn-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.74rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: 'Merriweather', serif;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--saffron-500));
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.page-hero {
  padding: 5.5rem 0 3rem;
  position: relative;
}

.page-hero .panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(202, 160, 92, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.section {
  padding: 4.2rem 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.two-col {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(202, 160, 92, 0.25);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(23, 61, 89, 0.12);
}

.card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.06rem;
}

.amenity-card-image {
  width: 100%;
  min-height: 210px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(202, 160, 92, 0.35);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  margin-bottom: 0.85rem;
  display: block;
}

.label {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--peacock-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  font-family: 'Merriweather', serif;
}

.image-placeholder {
  --manual-image: none;
  border-radius: var(--radius-md);
  min-height: 240px;
  border: 1px solid rgba(202, 160, 92, 0.4);
  background:
    var(--manual-image),
    linear-gradient(145deg, rgba(31, 79, 115, 0.33), rgba(52, 82, 63, 0.36)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.17) 0,
      rgba(255, 255, 255, 0.17) 11px,
      rgba(255, 255, 255, 0.05) 11px,
      rgba(255, 255, 255, 0.05) 22px
    );
  background-size: cover, cover, auto;
  background-position: center, center, center;
  box-shadow: var(--shadow-soft);
}

.image-placeholder.tall {
  min-height: 330px;
}

.amenities-overview-image {
  min-height: 560px;
}

.amenity-detail-image {
  min-height: 680px;
}

.amenity-feature-figure,
.amenity-single-col figure {
  margin-top: 1.1rem;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 22, 27, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.image-lightbox-inner {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
}

.image-lightbox img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.image-lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 18, 20, 0.86);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.image-placeholder.short {
  min-height: 185px;
}

.content-direct-image {
  width: 100%;
  min-height: 240px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(202, 160, 92, 0.4);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  display: block;
}

.content-direct-image.tall {
  min-height: 330px;
}

.image-caption {
  font-size: 0.86rem;
  color: var(--text-500);
  margin-top: 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  background: var(--white);
  border: 1px solid rgba(202, 160, 92, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.stat strong {
  font-family: 'Cinzel Decorative', serif;
  display: block;
  font-size: 1.42rem;
  color: var(--peacock-700);
}

.split-band {
  background: linear-gradient(130deg, rgba(31, 79, 115, 0.92), rgba(36, 77, 53, 0.9));
  color: var(--white);
}

.split-band h2,
.split-band h3 {
  color: var(--white);
}

.split-band p,
.split-band li {
  color: rgba(255, 255, 255, 0.92);
}

.split-band .label {
  color: var(--gold-300);
}

.split-band .card {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.split-band .image-caption {
  color: rgba(255, 255, 255, 0.85);
}

.split-band .master-zone {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-700);
}

.split-band .master-zone h3 {
  color: var(--peacock-700);
}

.split-band .master-zone p {
  color: var(--text-700);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid rgba(202, 160, 92, 0.27);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.timeline-item strong {
  color: var(--peacock-700);
  font-family: 'Merriweather', serif;
}

.master-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.master-zone {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(202, 160, 92, 0.35);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.93);
}

.master-zone h3 {
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(202, 160, 92, 0.4);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

thead {
  background: rgba(31, 79, 115, 0.09);
}

th,
td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(202, 160, 92, 0.24);
  vertical-align: top;
}

.faq {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid rgba(202, 160, 92, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1rem;
}

summary {
  cursor: pointer;
  color: var(--peacock-700);
  font-family: 'Merriweather', serif;
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-grid figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(202, 160, 92, 0.25);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.gallery-grid .image-placeholder {
  min-height: 190px;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(202, 160, 92, 0.33);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

.contact-map {
  width: 100%;
  min-height: 360px;
  border: 1px solid rgba(202, 160, 92, 0.34);
  border-radius: var(--radius-sm);
  background: #f1eee3;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  font-size: 0.88rem;
  font-family: 'Merriweather', serif;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(202, 160, 92, 0.45);
  border-radius: 9px;
  padding: 0.68rem 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

footer {
  margin-top: 3.2rem;
  border-top: 1px solid rgba(202, 160, 92, 0.28);
  background: rgba(255, 255, 255, 0.75);
}

.footer-wrap {
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.6fr 1fr;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-note {
  font-size: 0.88rem;
  color: var(--text-500);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.reveal-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 1.2rem;
    background: var(--white);
    border: 1px solid rgba(202, 160, 92, 0.4);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    width: min(310px, calc(100vw - 2.2rem));
    padding: 0.7rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    min-height: 72vh;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .master-map {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .amenities-overview-image {
    min-height: 460px;
  }

  .amenity-detail-image {
    min-height: 520px;
  }

  .contact-map {
    min-height: 320px;
  }

  .project-video {
    min-height: 260px;
  }

  .amenity-card-image {
    min-height: 190px;
  }

  .content-direct-image.tall {
    min-height: 300px;
  }

  .guru-photo {
    width: min(300px, 100%);
    height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .hero-content {
    padding: 4.6rem 0;
  }

  .page-hero .panel {
    padding: 1.35rem;
  }

  .section {
    padding: 3.15rem 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .amenities-overview-image {
    min-height: 340px;
  }

  .amenity-detail-image {
    min-height: 390px;
  }

  .contact-map {
    min-height: 260px;
  }

  .project-video {
    min-height: 210px;
  }

  .amenity-card-image {
    min-height: 170px;
  }

  .content-direct-image.tall {
    min-height: 230px;
  }

  .guru-photo {
    width: min(250px, 100%);
    height: auto;
  }

}
