/* =========================================================
   LODHA AUREUS SEWRI — STYLESHEET
   Theme: Light, Lodha-inspired (warm cream background,
   deep maroon + gold accents — Lodha's branding is maroon
   and gold, so this page borrows that instead of a generic
   dark theme). The Art Deco touches (sunburst divider, sharp
   corners, chevron eyebrow lines) stay, since the towers
   themselves are Art Deco-inspired.

   HOW THIS FILE IS ORGANISED (search for these comments):
   1. Root variables (colors/fonts) - change theme here
   2. Base / reset (+ overflow safety net)
   3. Reusable helpers (section label, buttons, dividers)
   4. Navbar
   5. Hero + ticker
   6. Overview
   7. Highlights (stats + USP strip)
   8. Gallery
   9. Configuration (pricing cards)
   10. Amenities
   11. Location
   12. Contact + Lead Modal
   13. Footer
   14. Mobile bottom action bar
   15. Media queries (responsiveness + overflow fixes)
   ========================================================= */

/* ---------- 1. ROOT VARIABLES ---------- */
:root {
  /* Core palette: warm cream background, deep maroon (Lodha's brand
     colour) for headings/accents, and gold for the Art Deco highlight */
  --cream: #faf6ef;
  /* page background */
  --cream-2: #f2e9d8;
  /* panel / card background, one step deeper */
  --line: #e2d5bd;
  /* hairline borders on light panels */
  --maroon: #6e1423;
  /* primary brand colour (Lodha maroon) */
  --maroon-dark: #4d0e18;
  /* hover / pressed state */
  --gold: #a9812f;
  /* Art Deco gold accent, used on light backgrounds */
  --gold-deep: #8a6a26;
  /* darker gold, better contrast for small text */
  --ink: #241a15;
  /* main body text, warm near-black */
  --muted: #6f6459;
  /* secondary / helper text */

  --font-display: "Cinzel", serif;
  /* Art Deco style headings */
  --font-body: "Jost", sans-serif;
  /* geometric sans, body + UI */

  --radius: 2px;
  /* Deco = sharp, stepped edges, not rounded */
}

/* ---------- 2. BASE / RESET ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* safety net: nothing on the page should cause side-scroll */
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  /* second safety net (some mobile browsers need it on body too) */
  max-width: 100vw;
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--maroon);
}

a {
  color: var(--maroon);
  text-decoration: none;
}

a:hover {
  color: var(--gold-deep);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus everywhere (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

section {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
  /* keeps any decorative element from causing a horizontal scrollbar */
}

/* Alternating section background (used on Highlights, Configuration, Location)
   so they read as separate bands against the plain cream sections */
.section-alt {
  background: var(--cream-2);
}

/* Any image inside the page should never force the page wider than its column */
img {
  max-width: 100%;
  height: auto;
}

/* ---------- 3. REUSABLE HELPERS ---------- */

/* Small gold eyebrow label above every section heading,
   e.g. "OVERVIEW" — flanked by short lines (the signature motif) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  /* so the eyebrow never overflows a very narrow screen */
}

.section-label::before,
.section-label::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
  word-wrap: break-word;
}

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

/* Deco "sunburst" divider used between major sections */
.deco-divider {
  width: 100%;
  height: 30px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 56px 30px;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='34' viewBox='0 0 64 34'%3E%3Cpath d='M32 34 L32 6 M20 34 L32 6 L44 34 M8 34 L32 6 L56 34' stroke='%23a9812f' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

/* Buttons: sharp edges, maroon outline that fills on hover */
.btn-deco {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  background: transparent;
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease;
  display: inline-block;
  white-space: nowrap;
}

.btn-deco:hover,
.btn-deco:focus {
  background: var(--maroon);
  color: var(--cream);
}

.btn-deco-solid {
  background: var(--maroon);
  color: var(--cream);
}

.btn-deco-solid:hover,
.btn-deco-solid:focus {
  background: var(--maroon-dark);
  color: var(--cream);
}

.card-deco {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- 4. NAVBAR ---------- */
.navbar-deco {
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* .navbar-deco .navbar-brand {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--ink);
  font-size: clamp(1rem, 3vw, 1.2rem);
  white-space: nowrap;
}

.navbar-deco .navbar-brand span {
  color: var(--maroon);
} */

.navbar-deco .navbar-brand img{
  height: 50px;
}


.navbar-deco .nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0.55rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.navbar-deco .nav-link.active,
.navbar-deco .nav-link:hover {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

/* Offcanvas mobile menu */
.offcanvas-deco {
  background: var(--cream);
  color: var(--ink);
  border-left: 1px solid var(--line);
}

.offcanvas-deco .nav-link {
  color: var(--ink);
  font-size: 1rem;
  padding: 0.6rem 0;
}

.offcanvas-deco .nav-link i {
  color: var(--maroon);
  width: 22px;
}

/* ---------- 5. HERO + TICKER ---------- */
.hero-carousel,
.hero-carousel .carousel-item,
.hero-carousel img {
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  /* keeps very tall/ultra-wide screens from showing an awkwardly tall hero */
  object-fit: cover;
}

.hero-carousel::after {
  /* dark gradient so white text stays readable over any photo, regardless of page theme.
     z-index:2 is required here because Bootstrap's .carousel-fade gives the active
     slide z-index:1 during its cross-fade — without this, the photo paints on top
     of the gradient and the overlay looks like it "isn't working". */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20, 10, 8, 0.55) 0%, rgba(20, 10, 8, 0.35) 45%, rgba(20, 10, 8, 0.85) 100%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  /* one above the ::after gradient, so the heading/CTA sit on top of it */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay .container {
  max-width: 800px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Bootstrap's own carousel indicator dots default to z-index:2, same as our gradient —
   lift them above it explicitly so they stay visible and clickable */
.hero-carousel .carousel-indicators {
  z-index: 4;
}

.hero-overlay .eyebrow {
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: #f1ddb8;
  text-transform: uppercase;
}

.hero-overlay h1 {
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  line-height: 1.05;
  color: #ffffff;
  word-wrap: break-word;
}

.hero-overlay .tagline {
  color: #f3ede2;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 1rem auto 2rem;
}

.hero-overlay .btn-deco-solid {
  border-color: var(--gold);
  background: var(--gold);
  color: #241a15;
}

.hero-overlay .btn-deco-solid:hover {
  background: #c4a24e;
}

/* Scrolling fact strip just under the hero */
.ticker-wrap {
  background: var(--maroon);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
  /* stops the flex items from wrapping/shrinking oddly */
}

.ticker-track span {
  padding: 0.75rem 2.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f6ecd8;
  border-right: 1px solid rgba(246, 236, 216, 0.3);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


@media screen and (max-width: 600px) {
  .carousel-item .banner1 {
    content: url("../img/banners/mobile_banner1.jpg");
  }
  .carousel-item .banner2 {
    content: url("../img/banners/mobile_banner2.jpg");
  }
  .carousel-item .banner3 {
    content: url("../img/banners/mobile_banner3.jpg");
  }
}


/* ---------- 6. OVERVIEW ---------- */
.overview-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

/* ---------- 7. HIGHLIGHTS (stats + USP) ---------- */
.stat-card {
  text-align: center;
  padding: 1.75rem 0.75rem;
}

.stat-card i {
  font-size: 1.7rem;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--maroon);
  display: block;
}

.stat-unit {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.usp-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.usp-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  /* the one deliberately "soft" shape, used sparingly for badges only */
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.usp-badge i {
  color: var(--maroon);
}

/* ---------- 8. GALLERY ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: block;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gal-item:hover img {
  transform: scale(1.08);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-overlay i {
  color: #f1ddb8;
  font-size: 1.5rem;
}

/* ---------- 9. CONFIGURATION / PRICING CARDS ---------- */
.config-card {
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 14px;
  /* leaves room for the "Most Popular" badge without clipping */
}

.config-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.config-card .badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #241a15;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.config-card .bhk-type {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.config-card .carpet-badge {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--maroon);
  border: 1px solid var(--maroon);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin: 0.5rem 0 1.25rem;
}

.config-card .price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--maroon);
}

.config-card .price-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.config-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.config-card ul li {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.config-card ul li i {
  color: var(--gold-deep);
  margin-right: 0.5rem;
}

.note-strip {
  margin-top: 2.5rem;
  background: var(--maroon);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: #f6ecd8;
}

.note-strip .text-muted {
  color: #ddc9c9 !important;
}

/* ---------- 10. AMENITIES ---------- */
.amenity-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.amenity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.amenity-card .amenity-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(20, 10, 8, 0.85));
  padding: 2.5rem 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.amenity-card .amenity-label i {
  color: #f1ddb8;
  flex-shrink: 0;
}

.mini-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.mini-amenity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.mini-amenity i {
  color: var(--maroon);
  flex-shrink: 0;
}

/* ---------- 11. LOCATION ---------- */
.proximity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  /* long landmark names wrap instead of pushing the time off-screen */
}

.proximity-row i {
  color: var(--maroon);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.proximity-row .time {
  margin-left: auto;
  color: var(--gold-deep);
  font-size: 0.85rem;
  white-space: nowrap;
}

.loc-map {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 12. CONTACT + LEAD MODAL ---------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-item i {
  color: var(--maroon);
  font-size: 1.3rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-deco label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-deco .form-control {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
}

.form-deco .form-control:focus {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--maroon);
  box-shadow: 0 0 0 0.2rem rgba(110, 20, 35, 0.12);
}

.form-deco .form-check-input:checked {
  background-color: var(--maroon);
  border-color: var(--maroon);
}

.form-deco .form-check-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-deco .form-check-label a {
  color: var(--maroon);
}

.modal-deco .modal-content {
  background: #ffffff;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink);
}

.modal-deco .modal-header,
.modal-deco .modal-footer {
  border-color: var(--line);
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  display: none;
}

.form-feedback.success {
  color: #2e6b4f;
  display: block;
}

.form-feedback.error {
  color: #a3372b;
  display: block;
}

.modal-header img{
  height: 50px;
}

/* ---------- 13. FOOTER ---------- */
.footer-deco {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  word-wrap: break-word;
}

#more {
  display: none;
}

#dots {
  display: inline;
}

.read-more-btn {
  color: var(--maroon);
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  background: none;
  margin-left: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--muted);
  margin: 0 0.5rem;
  display: inline-block;
}

.footer-bottom a:hover {
  color: var(--maroon);
}

/* ---------- 14. MOBILE BOTTOM ACTION BAR ---------- */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: #ffffff;
  border-top: 1px solid var(--gold);
  display: flex;
  transition: transform 0.3s ease;
}

.mobile-action-bar.hide-bar {
  transform: translateY(100%);
}

.mobile-action-bar button {
  flex: 1;
  min-width: 0;
  /* lets flex-basis shrink instead of overflowing on very narrow phones */
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  padding: 0.75rem 0.25rem;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.mobile-action-bar button:last-child {
  border-right: none;
}

.mobile-action-bar i {
  display: block;
  color: var(--maroon);
  margin-bottom: 2px;
  font-size: 1rem;
}

/* ---------- 15. MEDIA QUERIES (responsiveness + overflow fixes) ---------- */

/* Tablets and below: drop galleries/amenity strips to 2 columns,
   and leave room at the bottom of the page for the fixed action bar */
@media (max-width: 991.98px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-amenities {
    grid-template-columns: repeat(2, 1fr);
  }

  body {
    padding-bottom: 58px;
  }
}

/* Small phones: single-column galleries/strips, tighter spacing,
   and a smaller hero eyebrow so long tracking text can't overflow */
@media (max-width: 575.98px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .mini-amenities {
    grid-template-columns: 1fr;
  }

  .hero-overlay .eyebrow {
    letter-spacing: 0.15em;
  }

  .note-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .config-card {
    margin-top: 20px;
  }

  /* a little extra room for the popular badge on narrow cards */
}

/* Very small phones (down to ~360px): tighten the section padding and
   button padding a touch more so nothing crowds the edges */
@media (max-width: 359.98px) {
  .btn-deco {
    padding: 0.75rem 1.4rem;
    font-size: 0.78rem;
  }

  .hero-overlay .tagline {
    font-size: 0.9rem;
  }
}