
/* ══════════════════════════════════════
   PROJECT DETAIL PAGE STYLES
   (Surya Valencia / Echoes of Eden)
   ══════════════════════════════════════ */

.breadcrumb {
  max-width: 1200px;
  margin: 150px auto 0;
  padding: 0 60px 24px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}

.breadcrumb-home:hover .breadcrumb-arrow {
  transform: translateX(-3px);
}

.back-home:hover {
  color: var(--gold);
  gap: 12px;
}

.back-home-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.back-home:hover .back-home-arrow {
  transform: translateX(-3px);
}


/* ── PROJECT HERO ── */
.project-hero {
  position: relative;
  padding: 40px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-hero-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.project-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.1;
}

.project-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.project-hero-photo {
  width: 100%;
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--charcoal);
}

.project-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-hero-photo .photo-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.2);
  margin: 12px;
}

.project-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

/* ── QUICK FACTS STRIP ── */
.quick-facts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.quick-fact {
  background: var(--white);
  padding: 28px 24px;
  text-align: center;
}

.quick-fact-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.quick-fact-value {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
}

/* ── SECTION WRAPPER for project pages ── */
.project-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 60px;
}

.project-section-alt {
  background: var(--white);
}

.project-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.project-section-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.project-section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
  margin-top: 16px;
}

/* ── OVERVIEW / FACTS GRID ── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 36px;
}

.fact-row {
  background: var(--ivory);
  padding: 20px 24px;
}

.fact-row-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.fact-row-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── CONFIGURATION / PRICING TABLE ── */
.config-table-wrap {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.config-table {
  width: 100%;
  border-collapse: collapse;
}

.config-table th {
  background: var(--charcoal);
  color: var(--gold-light);
  text-align: left;
  padding: 16px 20px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.config-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--charcoal);
  border-top: 1px solid var(--border);
}

.config-table tr:nth-child(even) td {
  background: rgba(201,168,76,0.04);
}

.costing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

/* ── FLOOR PLAN / SITE PLAN GALLERY ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.plan-card-image {
  height: 280px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.plan-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-placeholder {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--border);
  margin: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card-label {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── PHOTO GALLERY ── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item .photo-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.15);
  margin: 6px;
  text-align: center;
  padding: 10px;
}

/* ── AMENITIES ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.amenity-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--ivory);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.amenity-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.amenity-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.amenity-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── MAP & CONNECTIVITY ── */
.map-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

.map-embed {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 4px;
  filter: grayscale(20%);
}

.connectivity-list {
  list-style: none;
}

.connectivity-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.connectivity-list li span:first-child {
  color: var(--charcoal);
  font-weight: 500;
}

.connectivity-list li span:last-child {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

/* ── PROJECT PAGE CTA BAND ── */
.project-cta-band {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 60px;
}

.project-cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.project-cta-band p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .breadcrumb { padding: 0 24px; margin-top: 90px; }
  .project-hero { padding: 30px 24px 40px; }
  .project-hero-title { font-size: 34px; }
  .project-hero-photo { height: 260px; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); padding: 0 24px 40px; }
  .project-section { padding: 50px 24px; }
  .facts-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .photo-gallery .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout { grid-template-columns: 1fr; }
  .config-table { font-size: 12px; }
  .config-table th, .config-table td { padding: 12px 10px; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.lightbox-img.zoomed {
  cursor: zoom-out;
  transform: scale(1.8);
  max-width: none;
  max-height: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
}

.lightbox-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.5px;
}