/* ===== PROJECT DETAIL PAGE STYLES ===== */
/* All text/bg combos use explicit rgba values — never light-theme vars on dark backgrounds */

/* --- HERO --- */
.proj-detail-hero {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 52px;
  background-size: cover;
  background-position: center;
}
.proj-detail-hero .container { width: 100%; }

.proj-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.82rem;
  color: rgba(255,255,255,0.48); margin-bottom: 16px;
}
.proj-breadcrumb a { color: var(--gold); text-decoration: none; }
.proj-breadcrumb i { font-size: 0.68rem; }

.proj-detail-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; color: #fff; margin: 0 0 6px;
}
.proj-developer {
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--gold); margin-bottom: 14px; font-weight: 500;
}
.proj-detail-hero .hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 0.9rem;
  color: rgba(255,255,255,0.72); margin-bottom: 20px;
}
.proj-detail-hero .hero-meta span { display: flex; align-items: center; gap: 6px; }
.proj-detail-hero .hero-meta i { color: var(--gold); }

.proj-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.proj-hero-badge {
  padding: 6px 16px; border-radius: 20px;
  font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.3px;
}
.badge-booking { background: var(--gold); color: #000; }
.badge-ready   { background: #2e7d32; color: #fff; }
.badge-upcoming{ background: #e65100; color: #fff; }
.badge-rera    { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.badge-type    { background: rgba(201,168,67,0.15); color: var(--gold); border: 1px solid rgba(201,168,67,0.3); }
.badge-discount, .badge-eoi { background: rgba(56,142,60,0.2); color: #81c784; border: 1px solid rgba(56,142,60,0.3); }
.badge-new     { background: var(--gold); color: #000; }

/* --- PAGE LAYOUT --- */
.proj-detail-body { padding: 64px 0; background: var(--white); }
.proj-detail-grid {
  display: grid; grid-template-columns: 1fr 390px;
  gap: 48px; align-items: start;
}
@media (max-width: 960px) { .proj-detail-grid { grid-template-columns: 1fr; } }

/* --- SIDEBAR — DARK BACKGROUND --- */
.proj-overview-box {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px;
  position: sticky; top: 84px;
}
.proj-overview-box .price-tag {
  font-family: var(--font-heading);
  font-size: 2.1rem; font-weight: 800;
  color: var(--gold); margin-bottom: 4px;
}
.proj-overview-box .price-note {
  font-family: var(--font-body); font-size: 0.8rem;
  color: rgba(255,255,255,0.52); margin-bottom: 18px;
}
.overview-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 24px;
}
.overview-stat {
  background: var(--dark-3);
  border-radius: 10px; padding: 13px 15px;
  border: 1px solid rgba(255,255,255,0.07);
}
.overview-stat .stat-label {
  font-family: var(--font-body); font-size: 0.68rem;
  color: rgba(255,255,255,0.42); text-transform: uppercase;
  letter-spacing: 0.6px; margin-bottom: 5px; display: block;
}
.overview-stat .stat-val {
  font-family: var(--font-heading); font-size: 0.9rem;
  font-weight: 700; color: rgba(255,255,255,0.9); display: block;
}
.overview-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.09);
  margin: 20px 0;
}

/* Sidebar action buttons */
.enquire-btn {
  display: block; width: 100%; text-align: center;
  background: var(--gold); color: #000;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  padding: 15px; border-radius: 10px; text-decoration: none; transition: opacity 0.2s;
}
.enquire-btn:hover { opacity: 0.88; }

.whatsapp-btn {
  display: block; width: 100%; text-align: center;
  background: #25d366; color: #fff;
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
  padding: 12px; border-radius: 10px; text-decoration: none;
  margin-top: 10px; transition: opacity 0.2s;
}
.whatsapp-btn:hover { opacity: 0.9; }

.call-btn {
  display: block; width: 100%; text-align: center;
  background: transparent; color: var(--gold);
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
  padding: 12px; border-radius: 10px; text-decoration: none;
  margin-top: 10px; border: 1px solid var(--gold); transition: all 0.2s;
}
.call-btn:hover { background: var(--gold); color: #000; }

/* Offer badges in sidebar */
.discount-badge-box, .eoi-badge-box {
  background: rgba(56,142,60,0.08); border: 1px solid rgba(56,142,60,0.25);
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.discount-badge-box i, .eoi-badge-box i { color: #81c784; font-size: 1rem; flex-shrink: 0; }
.discount-badge-box span, .eoi-badge-box span {
  font-family: var(--font-body); font-size: 0.82rem;
  color: #81c784; font-weight: 600;
}

/* Sidebar checklist */
.sidebar-checklist {
  font-family: var(--font-body); font-size: 0.77rem;
  color: rgba(255,255,255,0.52); text-align: center; line-height: 2;
}
.sidebar-checklist i { color: #66bb6a; margin-right: 5px; }

/* --- CONTENT SECTIONS — LEFT COLUMN (white bg) --- */
.detail-section { margin-bottom: 52px; }

.detail-section h2 {
  font-family: var(--font-heading); font-size: 1.45rem;
  font-weight: 700; color: var(--dark); margin-bottom: 6px;
}
/* Left-align the gold line in content sections */
.detail-section .gold-line { margin: 8px 0 20px; }

.detail-section > p {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text-mid); line-height: 1.85; margin-bottom: 14px;
}
.detail-section small {
  font-family: var(--font-body); font-size: 0.8rem;
  color: var(--text-light); margin-top: 10px; display: block; line-height: 1.6;
}

/* --- GALLERY --- */
.proj-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery-img {
  border-radius: 10px; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border: 1px solid var(--border); transition: transform 0.3s; overflow: hidden;
}
.gallery-img:hover { transform: scale(1.02); }
.gallery-img.large { grid-column: span 2; }
@media (max-width: 600px) {
  .proj-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-img.large { grid-column: span 1; }
}

/* --- CONFIGURATION CARDS — dark bg --- */
.config-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
.config-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px 20px; text-align: center;
  transition: border-color 0.2s;
}
.config-card:hover { border-color: var(--gold); }
.config-type {
  font-family: var(--font-heading); font-size: 1.05rem;
  font-weight: 800; color: var(--gold); margin-bottom: 8px;
}
.config-area {
  font-family: var(--font-body); font-size: 0.87rem;
  color: rgba(255,255,255,0.58); margin-bottom: 14px;
}
.config-price {
  font-family: var(--font-heading); font-size: 0.97rem;
  font-weight: 700; color: rgba(255,255,255,0.9);
}
.config-price span {
  display: block; font-family: var(--font-body);
  font-size: 0.73rem; font-weight: 400;
  color: rgba(255,255,255,0.42); margin-top: 4px;
}

/* --- FLOOR PLAN TABS & CARD — dark bg --- */
.floorplan-tabs { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.fp-tab {
  padding: 8px 20px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--dark-2); color: rgba(255,255,255,0.6);
  font-family: var(--font-body); font-size: 0.84rem;
  font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.fp-tab.active, .fp-tab:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.fp-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 22px;
}
.fp-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-body); font-size: 0.88rem;
}
.fp-row:last-child { border-bottom: none; }
.fp-row span:first-child { color: rgba(255,255,255,0.5); }
.fp-row span:last-child { color: rgba(255,255,255,0.9); font-weight: 600; }

/* --- HIGHLIGHT ITEMS — dark bg --- */
.highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .highlights-list { grid-template-columns: 1fr; } }
.highlight-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 18px; transition: border-color 0.2s;
}
.highlight-item:hover { border-color: rgba(201,168,67,0.3); }
.highlight-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(201,168,67,0.12); border: 1px solid rgba(201,168,67,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0;
}
.highlight-text h4 {
  font-family: var(--font-heading); font-size: 0.9rem;
  font-weight: 700; color: #fff; margin: 0 0 4px;
}
.highlight-text p {
  font-family: var(--font-body); font-size: 0.82rem;
  color: rgba(255,255,255,0.55); margin: 0; line-height: 1.55;
}

/* --- AMENITY ITEMS — dark bg --- */
.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.amenity-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 13px 15px;
  font-family: var(--font-body); font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
}
.amenity-item i { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }

/* --- AMENITY IMAGE GRID --- */
.amenity-img-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 700px) { .amenity-img-grid { grid-template-columns: repeat(2, 1fr); } }
.amenity-img-card {
  border-radius: 12px; overflow: hidden; position: relative;
  aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark-3);
}
.amenity-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amenity-img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88), transparent);
  padding: 16px 10px 8px;
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 600; color: #fff;
}

/* --- LOCATION CHIPS — dark bg --- */
.loc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 10px 16px;
  font-family: var(--font-body); font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.loc-chip i { color: var(--gold); font-size: 0.88rem; flex-shrink: 0; }

/* --- INLINE ENQUIRY FORM — dark bg --- */
.inline-form-section {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 40px;
}
.inline-form-section h2 {
  color: #fff !important; /* override inherited body text color */
  margin-bottom: 6px;
}
.inline-form-section > p {
  font-family: var(--font-body); font-size: 0.9rem;
  color: rgba(255,255,255,0.55); margin-bottom: 28px;
}
/* Override global form label color inside dark form section */
.inline-form-section .form-group label {
  color: rgba(255,255,255,0.72);
}

/* Alert / notice box */
.alert-box {
  background: rgba(255,152,0,0.1); border: 1px solid rgba(255,152,0,0.28);
  border-radius: 10px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: center; margin-bottom: 28px;
  font-family: var(--font-body); font-size: 0.88rem; color: rgba(255,255,255,0.75);
}
.alert-box i { color: #ffb74d; font-size: 1.1rem; flex-shrink: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .proj-detail-hero { padding: 0 0 36px; }
  .proj-detail-body { padding: 40px 0; }
  .inline-form-section { padding: 28px 20px; }
  .proj-overview-box { padding: 24px; position: static; }
}
