/* ============================================================
   PROJECT PAGE SHARED STYLES
   All design tokens inherited from ../css/redesign.css
   (redesign.css must be linked before this file in HTML)

   Token map from redesign.css (light-mode site):
     --navy        = #f4f6f8   (page bg — light)
     --navy-deep   = #ffffff
     --white       = #212529   (dark text colour — despite the name!)
     --text-light  = rgba(0,0,0,0.85)
     --text-muted  = rgba(0,0,0,0.60)
     --gold        = #c9a93e
     --gold-light  = #eed26e
     --gold-dark   = #b08d29

   Project-page dark section colours are pinned here because
   --navy is already repurposed as a light background globally.
============================================================ */

/* ── Local dark-section tokens ─────────────────────────── */
:root {
  --dark-navy:   #0d1b2a;
  --dark-navy-2: #1a2d42;
}

*, *::before, *::after { box-sizing: border-box; }

body { font-family: 'Outfit', sans-serif; }

/* ═══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.project-hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,10,20,0.85) 0%,
    rgba(5,10,20,0.55) 55%,
    rgba(5,10,20,0.15) 100%
  );
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  max-width: 720px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(238,210,110,0.18);
  border: 1px solid rgba(238,210,110,0.45);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.project-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em;
}

.project-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  margin-bottom: 24px;
}

.project-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.project-hero-chips span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(6px);
}

.project-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero buttons */
.project-btn-primary {
  background: var(--gold) !important;
  color: #1a1200 !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.project-btn-primary:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px) !important;
  color: #1a1200 !important;
}

.project-btn-secondary {
  background: rgba(255,255,255,0.12) !important;
  border: 2px solid rgba(255,255,255,0.45) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  backdrop-filter: blur(6px);
  transition: background var(--transition), border-color var(--transition) !important;
}
.project-btn-secondary:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: white !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS — LIGHT
══════════════════════════════════════════════════════════ */
.project-section { padding: 80px 0; }

/* Dark navy background for amenity / dark sections */
.bg-navy {
  background: var(--dark-navy) !important;
}

/* Section headings — dark text on light sections */
.project-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: #1a1f2e !important;
  margin-top: 8px !important;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
}

/* White override when inside a dark/white-text section */
.text-white .project-section-title,
.bg-navy .project-section-title { color: #ffffff !important; }

/* Body copy — dark sections on light bg */
.project-desc {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.project-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 440px;
}

/* ═══════════════════════════════════════════════════════════
   STATS — light-section stat numbers
══════════════════════════════════════════════════════════ */
.project-stats-row { margin-top: 36px; }
.project-stat { text-align: center; padding: 16px 8px; border-radius: var(--radius-md); }
.project-stat-num  { font-size: 2rem; font-weight: 900; color: var(--gold-dark); }
.project-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ═══════════════════════════════════════════════════════════
   CONFIG / BHK CARDS — always on light bg
══════════════════════════════════════════════════════════ */
.config-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 32px;
  text-align: left;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}
.config-card:hover { border-color: var(--gold); transform: translateY(-5px); }

.config-card-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf0 0%, #fff8e1 100%);
}

.config-card-header {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1f2e;                /* always dark — card is always on white */
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f0f0;
}
.config-card-gold .config-card-header { border-bottom-color: var(--gold); }

.config-list { list-style: none; padding: 0; margin-bottom: 28px; }
.config-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0,0,0,0.72);
  margin-bottom: 14px;
}
.config-list li i { color: var(--gold-dark); font-size: 14px; width: 18px; }

.config-btn {
  display: inline-block;
  background: var(--dark-navy) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background var(--transition) !important;
  border: none !important;
}
.config-btn:hover { background: var(--gold-dark) !important; }

/* ═══════════════════════════════════════════════════════════
   AMENITY CARDS — always on dark (.bg-navy) background
══════════════════════════════════════════════════════════ */
.amenity-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.amenity-card:hover { background: rgba(238,210,110,0.14); transform: translateY(-4px); }
.amenity-card i { font-size: 2rem; color: var(--gold-light); margin-bottom: 14px; display: block; }
.amenity-card p { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.88); margin: 0; }

/* ═══════════════════════════════════════════════════════════
   LOCATION LIST — light section
══════════════════════════════════════════════════════════ */
.location-list { list-style: none; padding: 0; margin-top: 24px; }
.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: rgba(0,0,0,0.72);
  margin-bottom: 16px;
  font-weight: 500;
}
.location-list li i { color: var(--gold-dark); min-width: 18px; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   GALLERY GRID
══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
@media(max-width:576px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE — light section
══════════════════════════════════════════════════════════ */
.why-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon i { color: #fff; font-size: 1.35rem; }
.why-body h4 { font-size: 1.05rem; font-weight: 800; color: #1a1f2e; margin-bottom: 6px; }
.why-body p  { font-size: 14px; color: rgba(0,0,0,0.65); margin: 0; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION — always dark
══════════════════════════════════════════════════════════ */
.project-cta-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-navy-2) 100%);
  padding: 80px 0;
  text-align: center;
}
.project-cta-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.project-cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 38px;
}
.project-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   SUBHEADING LABEL (used across pages)
══════════════════════════════════════════════════════════ */
.subheading {
  color: var(--gold-dark) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media(max-width: 768px) {
  .project-hero { min-height: 70vh; }
  .project-hero-content { padding-bottom: 50px; }
  .project-hero-title { font-size: 2rem !important; }
  .project-section { padding: 50px 0; }
  .config-card { padding: 26px 20px; }
}
