﻿/* ============================================================
   GODREJ TRILOGY — WORLI | Landing Page Styles
   Built on Bootstrap 5.3 — this file holds brand overrides
   ============================================================ */

:root {
  --gt-navy: #0d1f2d;
  --gt-navy-2: #13293a;
  --gt-ink: #1d2730;
  --gt-gold: #b08d57;
  --gt-gold-light: #cfae7b;
  --gt-gold-dark: #9a7945;
  --gt-ivory: #faf7f2;
  --gt-line: #e6ddd0;
  --gt-muted: #5d6a74;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gt-ink);
  background: var(--gt-ivory);
  -webkit-font-smoothing: antialiased;
}

/* AOS fade-left/right slide elements outside the viewport pre-animation.
   clip (unlike hidden) doesn't create a scroll container, so sticky-top keeps working. */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.text-gold { color: var(--gt-gold) !important; }
.text-gold-light { color: var(--gt-gold-light) !important; }
.text-navy { color: var(--gt-navy) !important; }
.bg-navy { background-color: var(--gt-navy) !important; }
.bg-ivory { background-color: var(--gt-ivory) !important; }

.eyebrow {
  display: inline-block;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gt-gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--gt-navy);
}

.section-sub { color: var(--gt-muted); max-width: 640px; }

.small-note { font-size: .72rem; color: var(--gt-muted); }

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gt-gold), var(--gt-gold-dark));
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  border-radius: 4px;
  padding: .85rem 1.9rem;
  transition: all .25s ease;
}
.btn-gold:hover, .btn-gold:focus {
  background: linear-gradient(135deg, var(--gt-gold-light), var(--gt-gold));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(176, 141, 87, .35);
}
.btn-outline-navy {
  border: 1px solid var(--gt-navy);
  color: var(--gt-navy);
  border-radius: 4px;
  font-weight: 600;
  padding: .85rem 1.9rem;
}
.btn-outline-navy:hover { background: var(--gt-navy); color: #fff; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gt-gold), var(--gt-gold-light));
  z-index: 1100;
  transition: width .1s linear;
}

/* ---------- RERA strip + navbar ---------- */
.rera-strip {
  background: var(--gt-navy);
  color: #cdd6dd;
  font-size: .7rem;
  letter-spacing: .04em;
}
.rera-strip b { color: var(--gt-gold-light); font-weight: 600; }

.navbar-gt {
  background: rgba(250, 247, 242, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gt-line);
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar-gt.scrolled { box-shadow: 0 6px 24px rgba(13, 31, 45, .12); }
.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gt-navy);
  letter-spacing: .12em;
  line-height: 1.1;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .34em;
  color: var(--gt-gold);
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 575.98px) {
  .brand-title { font-size: 1.02rem; letter-spacing: .09em; }
  .brand-sub { font-size: .55rem; letter-spacing: .26em; }
  .navbar-gt .btn { padding: .5rem 1rem; font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--gt-navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,22,33,.55) 0%, rgba(10,22,33,.35) 45%, rgba(10,22,33,.82) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  border: 1px solid rgba(207, 174, 123, .55);
  background: rgba(13, 31, 45, .45);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gt-gold-light);
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hero h1 em { font-style: italic; color: var(--gt-gold-light); }
.hero-sub { font-size: 1.05rem; color: #e8e2d8; max-width: 540px; }
.hero-chip {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  font-size: .78rem;
  font-weight: 500;
}
.hero-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gt-gold-light);
  font-weight: 700;
}

/* ---------- Lead form card ---------- */
.form-card {
  background: #fff;
  color: var(--gt-ink);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.form-card h3 { color: var(--gt-navy); }
.form-card .form-label,
.modal-gt .form-label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gt-muted);
  margin-bottom: 5px;
}
.form-card .form-control,
.form-card .form-select,
.modal-gt .form-control,
.modal-gt .form-select {
  border-color: #d8d2c6;
  background: #fdfcfa;
  padding: .7rem .85rem;
}
.form-card .form-control:focus,
.form-card .form-select:focus,
.modal-gt .form-control:focus,
.modal-gt .form-select:focus {
  border-color: var(--gt-gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .15);
}
.form-card .input-group-text,
.modal-gt .input-group-text {
  background: #f1ece3;
  border-color: #d8d2c6;
  font-weight: 600;
  color: var(--gt-navy);
}
.consent-text { font-size: .68rem; color: var(--gt-muted); }
.form-check-input:checked { background-color: var(--gt-gold); border-color: var(--gt-gold); }

/* ---------- Stats band (counters) ---------- */
.stats-band { background: var(--gt-navy); }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gt-gold-light);
}
.stat-label {
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b9c4cc;
}

/* ---------- Imagery ---------- */
.img-frame { border-radius: 10px; box-shadow: 0 18px 48px rgba(13, 31, 45, .18); }
.fig-caption { font-size: .66rem; color: var(--gt-muted); margin-top: 6px; }

/* ---------- Tick list ---------- */
.tick-list { list-style: none; padding: 0; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; font-size: .95rem; }
.tick-circle {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(176, 141, 87, .16);
  color: var(--gt-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  margin-top: 2px;
}

/* ---------- Pricing cards ---------- */
.price-card {
  border: 1px solid var(--gt-line);
  border-radius: 10px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(13, 31, 45, .12); }
.price-card .card-header {
  background: var(--gt-navy);
  color: #fff;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid var(--gt-gold);
}
.price-card .cfg-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; }
.price-card .price-value { color: var(--gt-gold); font-weight: 700; font-size: 1.15rem; }
.price-card .list-group-item {
  display: flex; justify-content: space-between; gap: 12px;
  border-color: var(--gt-line);
  font-size: .92rem;
  background: transparent;
}
.price-card .list-group-item span:first-child {
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gt-muted); font-weight: 600; align-self: center;
}

/* ---------- Amenities ---------- */
.amenity-card {
  background: #fff;
  border: 1px solid var(--gt-line);
  border-radius: 10px;
  transition: all .25s ease;
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 31, 45, .1);
  border-color: var(--gt-gold-light);
}
.amenity-icon { font-size: 1.7rem; }
.amenity-card h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--gt-navy); }
.amenity-card p { font-size: .78rem; color: var(--gt-muted); margin: 0; }

/* ---------- Video gallery ---------- */
.video-frame {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 32px rgba(13, 31, 45, .16);
}
.video-frame .ratio { --bs-aspect-ratio: 133%; }
.video-frame video { object-fit: cover; }

/* ---------- Location ---------- */
.loc-card {
  background: #fff;
  border: 1px solid var(--gt-line);
  border-left: 3px solid var(--gt-gold);
  border-radius: 8px;
}
.loc-distance { font-weight: 700; color: var(--gt-navy); font-size: 1.02rem; }
.loc-place { font-size: .82rem; color: var(--gt-muted); }

/* ---------- FAQ accordion ---------- */
.accordion-gt .accordion-item {
  border: 1px solid var(--gt-line);
  border-radius: 8px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-gt .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gt-navy);
  background: #fff;
  box-shadow: none;
}
.accordion-gt .accordion-button:not(.collapsed) {
  color: var(--gt-gold-dark);
  background: #fdfbf7;
}
.accordion-gt .accordion-button:focus { box-shadow: 0 0 0 3px rgba(176, 141, 87, .15); }
.accordion-gt .accordion-body { font-size: .9rem; color: var(--gt-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-2) 100%);
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: #c8d2d9; }

/* ---------- Footer ---------- */
.footer-gt { background: #0a1822; color: #8da0ac; font-size: .72rem; line-height: 1.7; }
.footer-gt h4 {
  color: #d8c9ac; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 22px 0 8px;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 1.3rem; letter-spacing: .1em; }
.footer-gt a { color: #8da0ac; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  z-index: 1050;
  background: #fff;
  border-top: 1px solid var(--gt-line);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
}
.mobile-bar .bar-btn {
  padding: .9rem .4rem;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
}
.mobile-bar .bar-call { color: var(--gt-navy); background: #fff; }
.mobile-bar .bar-wa { color: #0d7a3b; background: #eaf7ef; }
.mobile-bar .bar-enquire { background: var(--gt-gold); color: #fff; }
body { padding-bottom: 0; }
@media (max-width: 767.98px) { body { padding-bottom: 54px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1050;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Modal ---------- */
.modal-gt .modal-content { border-radius: 10px; border: none; }

/* ---------- Thank you page ---------- */
.ty-wrap { min-height: 100vh; background: var(--gt-navy); color: #fff; }
.ty-tick {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(176, 141, 87, .15);
  border: 1px solid var(--gt-gold);
  color: var(--gt-gold-light);
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { inset: 0; transform: none !important; }
}
