/* =====================================================================
   style.css — Premium real-estate landing page theme
   Palette + type controlled by the variables below.
===================================================================== */
:root {
  --navy: #0b1f3a;          /* primary brand */
  --navy-2: #123056;        /* secondary navy */
  --gold: #c9a24b;          /* accent */
  --gold-2: #e3c887;        /* light accent */
  --cream: #f7f3ea;         /* light section bg */
  --ink: #24272b;           /* body text */
  --white: #ffffff;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.18);
  --radius: 14px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  padding-top: var(--header-h);
  overflow-x: hidden;
}
h1, h2, h3, .section-title { font-family: var(--font-head); }
img { max-width: 100%; height: auto; }

/* Honeypot field — visually removed, still in the DOM for bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Accessible focus states */
a:focus-visible, button:focus-visible, .form-control:focus-visible, .form-select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------------- Header ---------------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(11, 31, 58, 0.12);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .navbar { width: 100%; padding: 0.55rem 0; }
.site-header .nav-link {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease, left 0.25s ease;
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { width: 70%; left: 15%; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold); }
.navbar-toggler { border-color: var(--navy); }

.global-error { position: sticky; top: var(--header-h); z-index: 1040; text-align: center; }

/* ---------------- Hero ---------------- */
.hero-section { position: relative; }
.hero-img { width: 100%; height: min(88vh, 820px); object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;                           /* above .carousel-fade active slide (z-index:1) */
  display: flex;
  align-items: center;
  pointer-events: none;                 /* let carousel arrows work between cards */
}
.hero-overlay .row { width: 100%; align-items: center; }
.hero-card, .side-form { pointer-events: auto; }

.hero-card {
  background: linear-gradient(160deg, rgba(11,31,58,0.92), rgba(18,48,86,0.88));
  border: 1px solid rgba(201,162,75,0.5);
  border-radius: var(--radius);
  color: var(--white);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}
.launch-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 0.7rem;
  animation: pulse-tag 2.4s ease-in-out infinite;
}
@keyframes pulse-tag { 0%,100% { box-shadow: 0 0 0 0 rgba(201,162,75,0.55); } 55% { box-shadow: 0 0 0 12px rgba(201,162,75,0); } }
.hero-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--gold-2); margin-bottom: 0.2rem; }
.hero-sub { font-size: 0.95rem; opacity: 0.95; }
.usp-list li { font-size: 0.88rem; padding: 0.16rem 0; color: #ecf1f8; }
.hero-price { font-size: 1.02rem; font-weight: 500; border-top: 1px dashed rgba(201,162,75,0.5); padding-top: 0.7rem; }
.hero-price span { color: var(--gold-2); font-weight: 700; font-size: 1.25rem; }

.carousel-control-prev, .carousel-control-next { width: 6%; z-index: 3; }

/* ---------------- Buttons ---------------- */
.btn-cta { font-weight: 600; letter-spacing: 0.03em; padding: 0.6rem 1.3rem; border-radius: 8px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b08a35);
  color: var(--navy);
  border: none;
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(201,162,75,0.4); }
.btn-navy { background: var(--navy); color: var(--white); border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy-2); color: var(--gold-2); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold-2); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn { transition: all 0.22s ease; }
.btn-wa { background: #25d366; color: #fff; font-weight: 600; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.text-gold { color: var(--gold); }

/* Animated icon (CSS bounce stands in for GIF icons — swap <span> for <img> of a GIF anytime) */
.anim-icon { display: inline-block; animation: icon-bounce 1.4s ease-in-out infinite; }
@keyframes icon-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------------- Side pre-register form ---------------- */
.side-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  border-top: 4px solid var(--gold);
}
.side-form-title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.8rem;
}
.lead-form .form-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.lead-form .req { color: #c0392b; }
.lead-form .form-control, .lead-form .form-select { font-size: 0.88rem; border-color: #ccd4de; }
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 0.2rem rgba(201,162,75,0.2); }
.cc-select { max-width: 96px; flex: 0 0 auto; }
.consent-check label { font-size: 0.68rem; line-height: 1.35; color: #5c6670; }
.btn-submit { font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------------- Sections ---------------- */
.section { padding: 4.2rem 0; }
.section-light { background: var(--cream); }
.section-light:nth-of-type(even) { background: var(--white); }
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #e8edf5; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.section-title span { color: var(--gold); }
.section-title.light { color: var(--white); }
.section-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 84px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------------- Highlights ---------------- */
.highlight-item {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  box-shadow: 0 3px 12px rgba(11,31,58,0.07);
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.highlight-item:hover { transform: translateX(4px); box-shadow: 0 6px 18px rgba(11,31,58,0.14); }
.hl-check { color: var(--gold); font-weight: 700; margin-right: 0.35rem; }

/* ---------------- About ---------------- */
.about-copy { max-width: 840px; margin: 0 auto; font-size: 0.95rem; line-height: 1.75; }
.read-more { color: var(--gold-2); text-decoration: none; font-weight: 600; }
.read-more .rm-less { display: none; }
.read-more[aria-expanded="true"] .rm-more { display: none; }
.read-more[aria-expanded="true"] .rm-less { display: inline; }
.about-video { width: 100%; max-width: 860px; border-radius: var(--radius); margin-top: 1.5rem; box-shadow: var(--shadow); }
.dl-icon { animation: icon-drop 1.3s ease-in-out infinite; }
@keyframes icon-drop { 0%,100% { transform: translateY(-3px); opacity: 1; } 50% { transform: translateY(3px); opacity: 0.75; } }

/* ---------------- Pricing table ---------------- */
.pricing-table { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pricing-table thead th {
  background: var(--navy);
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  border: none;
}
.pricing-table tbody td { padding: 0.85rem 1rem; font-size: 0.92rem; vertical-align: middle; }
.pricing-table tbody tr { transition: background 0.2s ease; }
.pricing-table tbody tr:not(.sector-row):hover { background: rgba(201,162,75,0.12) !important; }
.sector-row td {
  background: linear-gradient(90deg, var(--gold), var(--gold-2)) !important;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.price-cell { font-weight: 700; color: var(--navy); }

/* ---------------- Plans (blurred + overlay CTA) ---------------- */
.plan-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.plan-img { width: 100%; filter: blur(7px) brightness(0.75); transform: scale(1.05); transition: filter 0.3s ease; }
.plan-card::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 60px, rgba(255,255,255,0.05) 60px 120px);
  pointer-events: none;
}
.plan-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.plan-overlay .btn { text-align: center; line-height: 1.35; box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.plan-card:hover .plan-img { filter: blur(9px) brightness(0.6); }

/* ---------------- Amenities ---------------- */
.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11,31,58,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(11,31,58,0.18); }
.amenity-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.amenity-label {
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  border-top: 2px solid var(--gold);
}

/* ---------------- Gallery + lightbox ---------------- */
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 12, 24, 0.93);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none;
  color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer;
}

/* ---------------- Location ---------------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.loc-pills .nav-link {
  color: var(--navy);
  background: var(--white);
  border: 1px solid #d8dee6;
  border-radius: 30px;
  margin: 0 0.3rem 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
}
.loc-pills .nav-link.active { background: var(--navy); color: var(--gold-2); border-color: var(--navy); }
.loc-content { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; min-height: 230px; }
.landmark-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px dashed #e2e7ee;
  font-size: 0.92rem;
}
.landmark-list li:last-child { border-bottom: none; }
.lm-time { color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ---------------- Site visit ---------------- */
.visit-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visit-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.visit-form-wrap { padding: 1.6rem 1.8rem; }
.visit-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }

/* ---------------- Agency / RERA ---------------- */
.agency-copy { max-width: 760px; margin: 0 auto 1.4rem; font-size: 0.95rem; line-height: 1.75; }
.rera-block p { margin-bottom: 0.35rem; font-size: 0.92rem; }
.rera-block a { color: var(--navy); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { background: #081527; color: #93a1b5; padding: 2.6rem 0 5.5rem; font-size: 0.78rem; line-height: 1.7; }
.footer-heading { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer-links { margin: 1rem 0 0.5rem; }
.footer-links a { color: var(--gold-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.9rem; margin-top: 0.6rem; }

/* ---------------- Floating elements ---------------- */
.float-wa {
  position: fixed;
  right: 18px; bottom: 88px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1200;
  box-shadow: 0 8px 22px rgba(37,211,102,0.5);
  animation: wa-pulse 2s ease-in-out infinite;
}
@keyframes wa-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 60% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@media (min-width: 992px) { .float-wa { bottom: 26px; } }

.side-tab {
  position: fixed;
  right: 0; top: 45%;
  z-index: 1200;
  flex-direction: column;
  gap: 6px;
}
.side-tab-visit, .side-tab-phone {
  writing-mode: vertical-rl;
  background: var(--navy);
  color: var(--gold-2);
  border: none;
  padding: 1rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 8px 0 0 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.side-tab-visit { background: var(--gold); color: var(--navy); }
.side-tab-visit:hover { background: var(--gold-2); }
.side-tab-phone:hover { background: var(--navy-2); color: var(--gold-2); }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-top: 2px solid var(--gold);
}
.mobile-bar a, .mobile-bar button {
  background: none; border: none;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.5rem 0.2rem;
  text-align: center;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.mobile-bar a:last-child, .mobile-bar button:last-child { border-right: none; }
.mobile-bar .anim-icon { font-size: 1.15rem; }

/* ---------------- Modals ---------------- */
.lead-modal { border-radius: var(--radius); border-top: 5px solid var(--gold); }
.modal-x { position: absolute; top: 12px; right: 14px; z-index: 5; }
.modal-title { font-family: var(--font-head); color: var(--navy); }
.modal-sub { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-bottom: 0; }
.or-divider { display: flex; align-items: center; gap: 0.8rem; margin: 0.9rem 0; color: #8b95a1; font-size: 0.8rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: #dde3ea; }
.popup-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
}
.popup-perks div { background: var(--cream); border: 1px solid var(--gold-2); border-radius: 10px; padding: 0.55rem 0.3rem; display: flex; flex-direction: column; gap: 2px; }
.popup-perks span { font-size: 1.25rem; }

/* ---------------- Thanks page ---------------- */
.thanks-body { background: var(--cream); }
.thanks-main { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.thanks-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.2rem;
  max-width: 560px;
  text-align: center;
}
.thanks-title { color: var(--navy); font-size: 1.9rem; margin: 1rem 0 0.6rem; }
.thanks-msg { color: #4d5a68; }
.redirect-note { margin-top: 1.4rem; font-size: 0.8rem; color: #8b95a1; }
.success-ring .ring { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.8s ease forwards; }
.success-ring .tick { stroke: #27ae60; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 0.5s 0.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------------- Scroll-reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .anim-icon, .launch-tag, .float-wa { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .hero-img { height: auto; min-height: 420px; }
  .hero-overlay { position: static; background: linear-gradient(160deg, var(--navy), var(--navy-2)); padding: 1.4rem 0; }
  .hero-card { margin-bottom: 1.2rem; }
  .side-form { margin-bottom: 0.5rem; }
  .section { padding: 3rem 0; }
  body { padding-bottom: 58px; } /* room for mobile sticky bar */
  .site-header .navbar-collapse { background: var(--white); padding: 0.6rem 0; }
}
@media (min-width: 992px) {
  .hero-overlay .side-form { position: sticky; top: calc(var(--header-h) + 14px); }
}
