/* Panchajanyaa palette — ivory & soft sand alternating warmth */
:root {
  --bg-deep: #FAF7F2;
  --bg-dark: #F3EDE1;
  --bg-card: #ffffff;
  --bg-surface: #EDE5D5;
  --bg-ivory: #FAF7F2;
  --bg-sand: #F3EDE1;
  --gold: #c9933f;
  --gold-light: #d5a856;
  --gold-dark: #ad7624;
  --white: #243a38;
  --text: #68716a;
  --text-dim: #93978d;
}

body { background: var(--bg-ivory); color: #20342c; }
em, .gold { color: var(--gold-dark); }

.header, .header.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e8ddc5;
  backdrop-filter: blur(12px);
}
.header nav a { color: #32453d; }
.header nav a:hover { color: var(--gold-dark); }
.header-cta { color: var(--gold-dark); border-color: var(--gold); }
.header-cta:hover { color: #fff; background: var(--gold); }
.menu i { background: #31433b; }
.brand { height: 60px; width: 270px; overflow: hidden; display: block; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; mix-blend-mode: multiply; }

.hero { color: #fff; }
.hero-overlay { background: linear-gradient(90deg, rgba(35,31,25,.7), rgba(35,31,25,.26) 58%, rgba(201,147,63,.13)); }
.hero-brand-badge { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.12); }
.hero-location svg, .hero-eyebrow, .hero-price .rupee { color: #e2c17c; }
.hero h1 em { color: #e2c17c; }
.hero-building { border-color: rgba(213,168,86,.45); }

/* ─── ALTERNATING IVORY / SAND SECTION BACKGROUNDS ─── */
.stone-texture { display: none; }
.about {
  background: var(--bg-ivory);
}
.amenities {
  background: var(--bg-ivory);
  background-image: radial-gradient(ellipse at 80% 20%, rgba(201,147,63,0.03) 0%, transparent 50%);
}
.gallery {
  background: var(--bg-sand);
  background-image: radial-gradient(ellipse at 50% 100%, rgba(201,147,63,0.04) 0%, transparent 60%);
}
.plans {
  background: var(--bg-ivory);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(201,147,63,0.03) 0%, transparent 50%);
}
.location {
  background: var(--bg-sand);
  background-image: radial-gradient(ellipse at 70% 30%, rgba(201,147,63,0.04) 0%, transparent 50%);
}
.key-specs {
  background: var(--bg-surface);
  border-color: #e0d4be;
  padding-bottom: 28px;
}
.key-specs::before { background: #d9cab0; }
.amenities { padding-top: 28px; padding-bottom: 48px; }
.amenities-header { margin-bottom: 22px; }

.section-label, .about-text p, .amenities-header p, .gallery-header p, .plans-header p, .location-text p { color: #65706a; }
.about-text strong { color: #20342c; }
.gold-frame { background: rgba(249,242,227,0.6); }
.gold-frame::before { background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold)) border-box; }
.text-link { color: var(--gold-dark); border-color: #d8ba7c; }

.amenity-card, .plan-card, .gallery-card, .location-map { border-color: #e0d4be; background: rgba(255,255,255,0.6); box-shadow: 0 14px 36px rgba(72,58,32,.06); }
.amenity-card:hover, .plan-card:hover { border-color: var(--gold); }
.amenity-icon, .amenity-card h3, .plan-card h3 { color: #20342c; }
.amenity-card p, .plan-card p { color: #65706a; }
.amenity-visuals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.amenity-visuals figure { position: relative; height: 220px; margin: 0; overflow: hidden; background: #e0d4be; }
.amenity-visuals img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.amenity-visuals figure:hover img { transform: scale(1.05); }
.amenity-visuals figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 34px 16px 14px; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; background: linear-gradient(transparent, rgba(24,28,22,.75)); }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 45px; }
.project-gallery figure { position: relative; height: 310px; margin: 0; overflow: hidden; background: #e0d4be; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-gallery figure:hover img { transform: scale(1.04); }
.project-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 48px 20px 18px; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(24,28,22,.76)); }
.gallery-card::after { background: linear-gradient(0deg, rgba(57,37,25,.4), transparent 60%); }
.location-map { background: #080808; overflow: hidden; }
.location-map-image { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center; }

/* Floor-plan lead gate */
.plan-gate-trigger { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.plan-preview { position: relative; height: 170px; margin: 24px 0 4px; overflow: hidden; border: 1px solid #e5d8c1; background: #f8f4eb; }
.plan-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(8px); transform: scale(1.06); opacity: .8; }
.plan-preview::after { content: ''; position: absolute; inset: 0; background: rgba(255,253,248,.35); }
.plan-preview span { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; padding: 9px 13px; color: #fff; background: rgba(42,58,48,.88); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.plan-modal { position: fixed; z-index: 1000; inset: 0; display: none; place-items: center; padding: 20px; }
.plan-modal.is-open { display: grid; }
.plan-modal-backdrop { position: absolute; inset: 0; background: rgba(24,34,29,.68); backdrop-filter: blur(5px); }
.plan-modal-dialog { position: relative; z-index: 1; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow: auto; padding: 46px; background: #fffdf8; box-shadow: 0 24px 70px rgba(22,24,18,.35); }
.plan-modal-close { position: absolute; top: 14px; right: 17px; border: 0; background: none; color: #4b554d; font-size: 30px; line-height: 1; cursor: pointer; }
.plan-modal h2 { margin: 10px 0 8px; color: #243a38; font: 400 40px/1.1 var(--serif); }
.plan-access > p:not(.section-tag) { color: #68716a; margin-bottom: 22px; }
.plan-access form { display: grid; gap: 14px; }
.plan-access label { display: grid; gap: 6px; color: #49554e; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan-access input { width: 100%; padding: 13px 14px; border: 1px solid #ddcfb3; outline: none; background: #fff; color: #243a38; font: 400 15px var(--sans); }
.plan-access input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(201,147,63,.15); }
.plan-access .button-gold { justify-content: center; margin-top: 7px; cursor: pointer; }
.plan-unlocked img { display: block; width: 100%; margin-top: 24px; border: 1px solid #e5d8c1; }
@media (max-width: 600px) { .plan-modal-dialog { padding: 40px 22px 26px; } .plan-modal h2 { font-size: 32px; } }

footer {
  background: var(--bg-surface);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(201,147,63,0.05) 0%, transparent 50%);
  border-top: 1px solid #e0d4be;
  color: #20342c;
}
.footer-eyebrow, .footer-bottom, footer p { color: #65706a; }
footer h2 em { color: var(--gold-dark); }
.footer-phone { color: var(--gold-dark); }
.footer-bottom { border-color: #e0d4be; }
.btn-primary, .btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ─── SCROLL ANIMATION THEME OVERRIDES ─── */
.scroll-progress {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 8px rgba(201, 147, 63, 0.4);
}
.deco-ring { border-color: rgba(201, 147, 63, 0.1); }
.deco-dot { background: var(--gold); }
.deco-line { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.animated-divider { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.shimmer-border.is-visible .gold-frame::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #fff, var(--gold-light), var(--gold)) border-box;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(201, 147, 63, 0.15); }
  50%      { box-shadow: 0 0 30px rgba(201, 147, 63, 0.35); }
}
.spec-card:hover { background: rgba(201, 147, 63, 0.06); }
.amenity-circle:hover { box-shadow: 0 0 20px rgba(201, 147, 63, 0.2); }

@media (max-width: 900px) {
  .header nav { background: #fff; }
  .header nav a { color: #31433b; }
  .brand { width: 145px; height: 52px; }
  .amenity-visuals { grid-template-columns: repeat(2, 1fr); }
  .project-gallery { gap: 14px; }
  .location-map-image { height: 430px; }
}

/* The supplied artwork is the complete, self-contained hero banner. */
.hero { height: auto; min-height: 0; overflow: hidden; background: #080807; }
.hero-banner { display: block; width: 100%; height: auto; min-height: 440px; object-fit: cover; object-position: center; }
.hero-video { background: #080807; }
.hero-sound-toggle { position: absolute; z-index: 2; right: 28px; bottom: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.45); background: rgba(20,18,15,.5); backdrop-filter: blur(8px); color: #fff; font: 600 9px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.hero-sound-toggle:hover { background: rgba(201,147,63,.8); border-color: rgba(201,147,63,.9); }
@media (max-width: 700px) {
  .hero { margin-top: 70px; background: #080807; }
  .hero-banner { min-height: 0; height: auto; object-fit: contain; object-position: center; }
  .hero-sound-toggle { right: 10px; bottom: 10px; gap: 4px; padding: 6px 8px; font-size: 7px; letter-spacing: .08em; }
  .amenity-visuals { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .amenity-visuals figure { height: 235px; }
  .project-gallery { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .project-gallery figure { height: 245px; }
}

/* ─── SUBTLE 3D MOTION SYSTEM ─── */
main section { perspective: 1200px; }
.depth-reveal { opacity: 0; transform: perspective(1000px) rotateX(10deg) translateY(34px) translateZ(-20px); transition: opacity .7s ease, transform .8s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; transform-style: preserve-3d; will-change: transform; }
.depth-reveal.depth-in { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0) translateZ(0); }
.depth-tilt { transform-style: preserve-3d; will-change: transform; }
.depth-tilt .amenity-circle, .depth-tilt figcaption, .depth-tilt .plan-link { transform: translateZ(20px); }
.project-gallery figure.depth-tilt::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.24), transparent 35%); transform: translateZ(12px); }
.plan-card.depth-tilt, .spec-card.depth-tilt, .amenity-item.depth-tilt { box-shadow: 0 14px 32px rgba(61,51,30,.08); }
.plan-card.depth-tilt:hover, .spec-card.depth-tilt:hover, .amenity-item.depth-tilt:hover { box-shadow: 0 25px 50px rgba(91,70,34,.16); }
.hero-banner { transform: perspective(1500px) translateZ(0); animation: heroDepth 12s ease-in-out infinite alternate; }
@keyframes heroDepth { from { transform: perspective(1500px) scale(1.01) translateZ(0); } to { transform: perspective(1500px) scale(1.035) translateZ(25px); } }
@media (prefers-reduced-motion: reduce) { .depth-reveal, .depth-reveal.depth-in, .hero-banner { animation: none; transition: none; transform: none; opacity: 1; } }
