/* ============================================================
   HAWK DEVELOPMENT — Project Page Styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.proj-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.proj-hero-media {
  position: absolute;
  inset: 0;
}
.proj-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,7,14,0.97) 0%,
    rgba(4,7,14,0.7)  35%,
    rgba(4,7,14,0.25) 70%,
    rgba(4,7,14,0.1)  100%
  );
}

.proj-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 72px;
}

.proj-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Back link */
.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  transition: color var(--t), gap var(--t);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.proj-back svg { width: 16px; height: 16px; }
.proj-back:hover { color: var(--white); gap: 12px; }

/* Meta bar */
.proj-meta-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
  background: rgba(6,8,18,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 14px 24px;
  gap: 20px;
}
.proj-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.proj-meta-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.proj-meta-label {
  font-family: var(--font-display);
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.proj-meta-val {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}
.proj-status {
  color: #e06060;
}
.proj-status.status-complete {
  color: #6bcf9b;
}
.proj-status.status-construction {
  color: #c9a028;
}

/* Title */
.proj-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
}
.proj-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--steel-light);
}

.proj-hero-sub {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

/* Leasing link (subtle external brand link) */
.leasing-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--t);
}
.leasing-link svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--t);
}
.leasing-link:hover {
  color: rgba(201,160,40,0.9);
}
.leasing-link:hover svg {
  opacity: 1;
}

/* ── Overview ─────────────────────────────────────────────── */
.proj-overview {
  padding: 110px 0;
  background: var(--dark);
}
.proj-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Specs table */
.proj-specs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.proj-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.proj-spec:last-child { border-bottom: none; }
.spec-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  flex-shrink: 0;
}
.spec-val {
  font-size: 0.9rem;
  color: var(--white);
  text-align: right;
}

/* ── Gallery ──────────────────────────────────────────────── */
.proj-gallery {
  padding: 80px 0 0;
  background: var(--dark);
}
.proj-gallery .container {
  margin-bottom: 40px;
}
.proj-gallery-grid {
  display: grid;
  gap: 4px;
}
.proj-gallery-main {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.proj-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-gallery-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.proj-gallery-secondary .proj-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.proj-gallery-secondary .proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-gallery-secondary .proj-thumb:hover img { transform: scale(1.04); }

/* ── CTA ──────────────────────────────────────────────────── */
.proj-cta {
  padding: 100px 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.proj-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.proj-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Gallery clickable cursor ─────────────────────────────── */
.proj-gallery-grid img {
  cursor: zoom-in;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4,7,14,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb-overlay.lb-open {
  opacity: 1;
  pointer-events: all;
}
.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  transition: opacity 0.2s ease;
}
.lb-img.lb-fade {
  opacity: 0;
}
.lb-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  transition: color 0.2s;
  z-index: 9001;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 9001;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  z-index: 9001;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .proj-hero-inner { padding: 0 24px; }
  .proj-hero-title { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .proj-meta-bar { gap: 12px; }
  .proj-meta-sep { display: none; }
  .proj-overview { padding: 72px 0; }
  .proj-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-gallery-main { aspect-ratio: 16/9; }
  .proj-cta-inner { flex-direction: column; align-items: flex-start; }
  .proj-cta-actions { flex-direction: column; width: 100%; }
  .proj-cta-actions .btn { width: 100%; justify-content: center; }
}
