/* Landup Estates - Project page styles */

.project-hero {
  background: var(--grad-dark);
  color: #fff;
  padding: 84px 0 60px;
  position: relative;
  overflow: hidden;
}
.project-hero h1 { color: #fff; }
.project-hero .project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.88rem;
  color: rgba(250,248,244,0.85);
  margin-top: 14px;
}
.project-hero .project-hero-meta span b { color: var(--champagne); font-weight: 600; }

.legal-callout {
  background: var(--purple-bg);
  border: 1px solid #E3D3EA;
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 0.92rem;
  margin: 30px 0;
}
.legal-callout strong { color: var(--deep-purple); }

.plan-viewer {
  background: #fff;
  border: 1px solid #EBE2D3;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.plan-viewer img { width: 100%; border-radius: var(--radius); }
.plan-viewer figcaption {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 12px 6px 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.gallery-item { margin: 0; }
.gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #EBE2D3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
}
.gallery-zoom img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s; }
.gallery-zoom:hover img { transform: scale(1.04); }
.gallery-item figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9,8,11,0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  overflow: hidden;
  max-width: 96vw;
  max-height: 78vh;
  border-radius: var(--radius);
  touch-action: none;
}
.lightbox-stage img {
  transform-origin: 0 0;
  max-width: none;
  user-select: none;
  cursor: grab;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: 2px solid var(--gold);
  color: var(--champagne);
  font-size: 1.6rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-caption { color: var(--cream); margin: 14px 0 2px; font-size: 0.9rem; }
.lightbox-hint { color: var(--muted); font-size: 0.78rem; margin: 0; }

/* Feature blocks with plot categories */
.plot-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.plot-type {
  background: #fff;
  border: 1px solid #EBE2D3;
  border-top: 4px solid var(--dark-pink);
  border-radius: var(--radius);
  padding: 20px;
}
.plot-type h3 { margin-bottom: 6px; font-size: 1rem; }
.plot-type p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.map-figure { margin: 26px 0 0; }
.map-figure img { border-radius: var(--radius-lg); border: 1px solid #EBE2D3; width: 100%; }
.map-figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
