/* ======================================================
   Legal pages (privacy-policy / terms&condition) — keep all
   text readable on the dark theme. Scoped to .legal-page so
   index.html is completely unaffected. The legal markup uses
   raw <h1>/<h3>/<h4> (no .section-heading), whose default dark
   color would otherwise be invisible on the dark background.
   ====================================================== */
.legal-page section,
.legal-page section p,
.legal-page section li,
.legal-page section strong,
.legal-page section h1, .legal-page section h2, .legal-page section h3,
.legal-page section h4, .legal-page section h5, .legal-page section h6 {
  color: #d6d6d6 !important;
}
.legal-page section h1,
.legal-page section h2,
.legal-page section h3 { color: #ffffff !important; }
.legal-page section h1 strong, .legal-page section h2 strong, .legal-page section h3 strong,
.legal-page section h4 strong, .legal-page section h5 strong, .legal-page section h6 strong {
  color: inherit !important;
}
.legal-page section a { color: #f0bbae !important; }

/* CSS Variables - Rose Gold Gradient Theme */
:root {
  --clr-p: #0A0A0A;
  --clr-s: #0A0A0A;
  --clr-t: #ffffff;
  --clr-grad: linear-gradient(90deg, #9C5342, #F0BBAE);
  --clr-grad-start: #9C5342;
  --clr-grad-end: #F0BBAE;

  /* Typography — DM Sans (body) / Plus Jakarta Sans (headings).
     Overrides --ff-base from the external style.css (was "Inter"). */
  --ff-base: "DM Sans", sans-serif;
  --ff-heading: "Plus Jakarta Sans", sans-serif;
}

/* =====================================================
   Typography
   ===================================================== */
/* Body text — DM Sans. Not gated on the external `html.pg-loaded`
   class so it applies even if the third-party loader script is slow. */
body {
  font-family: var(--ff-base);
}

/* Headings — Plus Jakarta Sans. A direct rule on each heading wins over
   the inherited body font regardless of selector specificity. */
h1, h2, h3, h4, h5, h6,
.section-heading,
.section-label,
.sub-heading,
.info-box h1,
.navbar-brand {
  font-family: var(--ff-heading);
}

@media screen and (min-width: 1150px) and (max-width: 1950px) {
    .info-box .mb-box h1 {
        font-size: calc(1.7vw + 1px);
    }
}

/* =====================================================
   Seventh Avenue — Rose Gold Gradient Theme Overrides
   ===================================================== */

/* Navbar */
.main-navbar { background: #0A0A0A !important; border-bottom: 1px solid #1a1a1a; }
.main-navbar .nav-link,
.main-navbar .navbar-brand { color: #ffffff !important; }
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary CTA buttons */
.btn-dark, .btn-cta, .btn-primary {
  background: linear-gradient(90deg, #9C5342, #F0BBAE) !important;
  border: none !important;
  color: #ffffff !important;
}
.btn-dark:hover, .btn-cta:hover, .btn-primary:hover {
  background: linear-gradient(90deg, #7a3f31, #d9a090) !important;
  color: #ffffff !important;
}

/* Outline / secondary buttons */
.btn-outline-dark, .btn-outline-light {
  border-color: #9C5342 !important;
  color: #F0BBAE !important;
  background: transparent !important;
}
.btn-outline-dark:hover, .btn-outline-light:hover {
  background: linear-gradient(90deg, #9C5342, #F0BBAE) !important;
  color: #ffffff !important;
}

/* Info-box hero project name (h1) */
.info-box h1 {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label / sub-heading accent */
.section-label, .sub-heading {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Price highlight / tag */
.price-highlight, .price-tag, .starting-price {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* RERA block accent */
.rera-block, .rera-info {
  border-left: 3px solid #9C5342;
}

/* Price card top accent */
.price-block, .mb-box {
  border-top: 3px solid #9C5342;
}

/* Footer */
footer { background: #0A0A0A; }

/* Sidebar buttons */
.sidebar .btn {
  background: linear-gradient(90deg, #9C5342, #F0BBAE) !important;
  border: none !important;
  color: #ffffff !important;
}

.sidebar .btn:hover {
  background: linear-gradient(90deg, #7a3f31, #d9a090) !important;
  color: #ffffff !important;
}

/* We Promise / Offer highlights */
.enq-popup-cp-highlights li.heading {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.enq-popup-cp-highlights li i {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floor Plan Slider Cards */
.fp-card {
  background: #0D0D0D;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  margin: 0 8px;
}
.fp-img {
  width: 100%;
  overflow: hidden;
  background: #000;
}
.fp-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}
.fp-meta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #0D0D0D;
}
.fp-meta > span {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Location section dark theme */
#location { background: #0A0A0A; }
.loc-tab-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s;
}
.loc-tab-btn.active {
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid #9C5342;
}
.loc-tab-btn:not(.active) { color: #555; border-bottom: 2px solid transparent; }
.conn-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1;
  min-width: 130px;
  max-width: 195px;
  text-align: center;
}
.conn-card .conn-time {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, #9C5342, #F0BBAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.conn-card .conn-place {
  color: #c0c0c0;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.3;
}

/* ======================================================
   DARK THEME — Full page / all sections
   ====================================================== */

html, body, .lp-layout, main {
  background: #000000 !important;
}

/* Every section dark — override external style.css */
section,
section.light,
.light {
  background: #0A0A0A !important;
}

/* Remove grey gaps between sections */
section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Section headings gradient text */
.section-heading,
h3.section-heading {
  background: linear-gradient(90deg, #9C5342, #F0BBAE) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Body text on dark */
section p, section h4, section h5, section h6,
section label, section small,
.disclaimer {
  color: #c0c0c0 !important;
}

/* About AVA Group section */
#about .border.rounded {
  background: #111 !important;
  border-color: #2a2a2a !important;
}
#about .border.rounded strong { color: #f0f0f0 !important; }
#about > .row > .col > p { color: #c0c0c0 !important; }
#about p.fw-bold {
  background: linear-gradient(90deg, #9C5342, #F0BBAE) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Form inputs dark */
.enq-form .form-control {
  background: #1a1a1a !important;
  border-color: #333 !important;
  color: #fff !important;
}
.enq-form .form-control::placeholder { color: #777 !important; }
.enq-form .consent .form-check-label { color: #888 !important; }

/* Sidebar dark */
sidebar { background: #0A0A0A !important; }
.og-wrapper { background: #0A0A0A !important; }

/* Enquire popup dark */
.enqPopup .modal-content {
  background: #111 !important;
  color: #fff !important;
}
.enqPopup .modal-title { color: #fff !important; }
.enqPopup .btn-close { filter: invert(1); }
.enq-popup-pj-highlights h5,
.enq-popup-pj-highlights .col { color: #c0c0c0 !important; }

/* ======================================================
   Offers list — animated gradient background
   ====================================================== */
ul.offers {
  background: linear-gradient(270deg, #9C5342, #c07060, #F0BBAE, #c07060, #9C5342) !important;
  background-size: 300% 300% !important;
  animation: offerGrad 4s ease infinite;
  border-radius: 8px;
  padding: 8px 14px !important;
  list-style: none !important;
  margin: 8px 0 !important;
}
ul.offers li {
  color: #0A0A0A !important;
  -webkit-text-fill-color: #0A0A0A !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 0;
}
ul.offers li::before { display: none !important; }
@keyframes offerGrad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======================================================
   CTA buttons — no border, clean
   ====================================================== */
.btn,
.btn-dark,
.btn-cta,
.btn-primary,
.btn-outline-dark,
.btn-outline-light,
.btn-sm {
  border: none !important;
  box-shadow: none !important;
}
.btn:focus, .btn:active { box-shadow: none !important; outline: none !important; }

/* ======================================================
   Overview section — portrait image
   ====================================================== */
#overview .col:last-child > .bd-img {
  max-width: 300px;
  margin: 0 auto;
}
#overview .col:last-child .bd-img img {
  aspect-ratio: 3 / 4 !important;
  object-fit: cover;
  height: auto !important;
  width: 100% !important;
}

/* ======================================================
   Banner — full-viewport height
   ====================================================== */
.banner { background: #000 !important; }
#mainSlider .glide__slide,
#mainSlider .glide__track,
#mainSlider .glide__slides {
  height: 100svh !important;
  min-height: 520px !important;
  max-height: 900px !important;
}
@supports not (height: 100svh) {
  #mainSlider .glide__slide,
  #mainSlider .glide__track,
  #mainSlider .glide__slides { height: 100vh !important; }
}

/* ======================================================
   Quoting Price table (Area & Pricing — below floor plans)
   ====================================================== */
.qp-wrap {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.qp-note {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.qp-note span {
  color: #f0bbae !important;
  font-weight: 500;
  text-transform: none;
  font-size: 0.85rem;
}

.qp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}
.qp-table thead th {
  background: linear-gradient(90deg, #9c5342, #f0bbae);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}
.qp-table tbody td {
  color: #e6e6e6;
  font-size: 0.95rem;
  padding: 14px 18px;
  border-bottom: 1px solid #1d1d1d;
  vertical-align: middle;
}
.qp-table tbody tr:last-child td { border-bottom: none; }
/* Zebra striping */
.qp-table tbody tr:nth-child(odd) td { background: #111111; }
.qp-table tbody tr:nth-child(even) td { background: #0b0b0b; }

.qp-price {
  display: inline-block;
  font-weight: 800;
  font-size: 1.02rem;
  background: linear-gradient(90deg, #9c5342, #f0bbae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.qp-price sup { font-weight: 700; }
.qp-allin {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f0bbae;
  border: 1px solid #5a3a32;
  border-radius: 999px;
  vertical-align: middle;
}

/* Jodi Options divider row — band on the cell, gradient on the inner span
   (keep these separate; a `background` shorthand on the cell would wipe the
   gradient image and make the clipped text invisible) */
.qp-table tr.qp-divider td {
  text-align: center;
  padding: 10px 18px;
  background-color: #161210 !important;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}
.qp-jodi {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #9c5342, #f0bbae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qp-cta-cell { text-align: right; white-space: nowrap; }
.qp-btn { padding: 7px 18px; font-size: 0.82rem; font-weight: 700; }

/* Mobile: keep the SAME tabular layout as desktop, just compact so it fits */
@media (max-width: 576px) {
  .qp-table thead th {
    padding: 10px 8px;
    font-size: 0.66rem;
    letter-spacing: 0.3px;
  }
  .qp-table tbody td {
    padding: 11px 8px;
    font-size: 0.8rem;
  }
  .qp-price { font-size: 0.82rem; }
  .qp-allin {
    display: block;
    margin-left: 0;
    margin-top: 5px;
    font-size: 0.55rem;
    padding: 1px 6px;
  }
  .qp-cta-cell {
    white-space: normal;
    padding-left: 6px;
    padding-right: 6px;
  }
  .qp-btn {
    padding: 7px 12px;
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.15;
  }
  .qp-jodi { letter-spacing: 1.5px; font-size: 0.7rem; }
}