/* ── PROJECT DETAIL PAGE STYLES ── */
.project-detail-hero {
  position: relative; height: 65vh; min-height: 400px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.project-detail-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.project-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,42,29,0.85) 0%, rgba(28,42,29,0.2) 60%, transparent 100%);
}
.project-detail-hero-content {
  position: relative; z-index: 2; padding: 0 60px 52px; max-width: 900px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Anton', sans-serif; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  margin-bottom: 20px; transition: color 0.2s;
}
.back-link:hover { color: #8ea67d; }
.back-link svg { width: 16px; height: 16px; }
.project-detail-hero-content h1 {
  font-family: 'Anton', sans-serif; font-size: 64px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; margin: 0 0 12px; line-height: 1.1;
  white-space: nowrap;
}
.project-detail-hero-content .subtitle {
  font-family: 'Inter', sans-serif; font-size: 18px;
  color: rgba(255,255,255,0.82); font-weight: 300;
}
.project-content { max-width: 1200px; margin: 0 auto; padding: 72px 40px; }
.project-layout { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }

.project-desc h2 {
  font-family: 'Anton', sans-serif; font-size: 26px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #2c3e2d; margin: 0 0 18px;
}
.project-desc p {
  font-family: 'Inter', sans-serif; font-size: 17px;
  color: #5a6b52; line-height: 1.8; margin: 0 0 20px;
}
.project-features {
  list-style: none; padding: 0; margin: 20px 0 32px;
}
.project-features li {
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: #1a2416; padding: 12px 16px;
  border-left: 3px solid #8ea67d;
  background: #f4f7f2; margin-bottom: 8px;
  border-radius: 0 6px 6px 0; line-height: 1.5;
}
.price-inquiry-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 2px solid #8ea67d;
  border-radius: 10px; padding: 24px; margin-top: 8px;
}
.price-inquiry-box strong {
  font-family: 'Anton', sans-serif; font-size: 18px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #2c3e2d; display: block; margin-bottom: 6px;
}
.price-inquiry-box p {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: #5a6b52; margin: 0; line-height: 1.6;
}

/* Sidebar */
.project-sidebar { position: sticky; top: 100px; }
.pdf-download-card {
  background: #2c3e2d; border-radius: 12px;
  padding: 36px; text-align: center; color: #fff; margin-bottom: 20px;
}
.pdf-download-card h3 {
  font-family: 'Anton', sans-serif; font-size: 20px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; margin: 0 0 10px;
}
.pdf-download-card p {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: rgba(255,255,255,0.7); margin: 0 0 22px; line-height: 1.6;
}
.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: #8ea67d; color: #fff; border-radius: 4px;
  padding: 14px 28px; text-decoration: none;
  font-family: 'Anton', sans-serif; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-download:hover { background: #6d8a5c; transform: translateY(-2px); }
.btn-download svg { width: 18px; height: 18px; }
.cta-card {
  background: #f4f7f2; border-radius: 12px; padding: 28px; text-align: center;
}
.cta-card h3 {
  font-family: 'Anton', sans-serif; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #2c3e2d; margin: 0 0 10px;
}
.cta-card p {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: #5a6b52; margin: 0 0 18px;
}

/* Gallery */
.project-gallery { margin-top: 56px; }
.project-gallery h2 {
  font-family: 'Anton', sans-serif; font-size: 28px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #2c3e2d; margin: 0 0 24px;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery-img-wrap {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; cursor: pointer;
}
.gallery-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.gallery-img-wrap:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-header { display: flex; justify-content: flex-end; padding: 16px 24px; }
.lightbox-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 32px; cursor: pointer; transition: color 0.2s; line-height: 1; padding: 0;
}
.lightbox-close:hover { color: #fff; }
.lightbox-main {
  flex: 1; display: flex; align-items: center;
  justify-content: center; position: relative; padding: 0 60px; min-height: 0;
}
.lightbox-main img {
  max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 4px;
}
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-arrow:hover { background: #8ea67d; }
.lightbox-arrow.prev { left: 12px; }
.lightbox-arrow.next { right: 12px; }
.lightbox-thumbs {
  display: flex; gap: 8px; justify-content: center;
  padding: 14px 24px 20px; overflow-x: auto;
}
.lightbox-thumb {
  width: 64px; height: 48px; object-fit: cover; border-radius: 4px;
  cursor: pointer; opacity: 0.45; border: 2px solid transparent;
  transition: all 0.2s; flex-shrink: 0;
}
.lightbox-thumb.active { opacity: 1; border-color: #8ea67d; }

@media (max-width: 1024px) {
  .project-layout { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .project-detail-hero-content { padding: 0 20px 36px; }
  .project-detail-hero-content h1 { font-size: 36px; white-space: normal; }
  .project-content { padding: 40px 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox-main { padding: 0 40px; }
}

/* ── NEW GALLERY LAYOUT: big exterior top + interiors below ── */
.gallery-new { }
.gallery-new-main {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 12px;
}
.gallery-new-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-new-main:hover img { transform: scale(1.03); }

.gallery-new-sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-new-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-new-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-new-thumb:hover img { transform: scale(1.06); }

@media (max-width: 768px) {
  .gallery-new-sub { grid-template-columns: repeat(2, 1fr); }
  .gallery-new-main { aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .gallery-new-sub { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
