.project-hero-framed {
  background: #e7edf5; /* matches light-body */
  padding: 150px 20px 60px; /* spacing for fixed header */
  display: flex;
  justify-content: center;
}

.hero-framed-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-framed-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #131c28;
  margin-bottom: 40px;
  font-family: 'Archivo', sans-serif;
}

.hero-framed-image {
  width: 100%;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(19, 28, 40, 0.06);
}

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

.project-hero-framed .project-status {
  margin-bottom: 20px;
}

/* ZIGZAG SECTION */
.zigzag-section {
  background: #ffffff; /* User requested white background */
  padding: 120px 20px;
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.zigzag-row:last-child {
  margin-bottom: 0;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

.zigzag-text {
  flex: 1;
}

.zigzag-text h3 {
  font-size: 32px;
  font-weight: 700;
  color: #131c28;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.zigzag-text p {
  font-size: 16px;
  color: #4b5866;
  line-height: 1.7;
}

.zigzag-image {
  flex: 1;
}

.zigzag-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.zigzag-image.is-portrait img {
  aspect-ratio: 4 / 3;
  object-position: center 42%;
}

/* LIGHTBOX GALLERY */
.lightbox-gallery-section {
  padding: 100px 20px 140px;
  background: #e7edf5; /* Or maybe keep white? I'll use the site background to separate from zigzag */
}

.gallery-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #131c28;
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-trigger img {
  display: block;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.project-detail-whatsapp {
  padding: 90px 20px;
  background: #e7edf5;
}

.project-detail-whatsapp .container {
  max-width: 900px;
}

.project-detail-whatsapp h2 {
  max-width: 760px;
  margin: 24px 0 16px;
  color: #131c28;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.project-detail-whatsapp p {
  max-width: 640px;
  margin: 0;
  color: #526173;
  font-size: 16px;
  line-height: 1.7;
}

.project-detail-whatsapp .project-whatsapp {
  width: max-content;
  margin-top: 28px;
}

/* SINGLE-IMAGE PROJECT OVERVIEW */
.project-overview-section {
  padding: 100px 20px 110px;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.1), transparent 28%),
    #f7f9fc;
}

.project-overview-section .container {
  max-width: 1180px;
}

.project-overview-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.project-overview-kicker {
  display: block;
  margin-bottom: 18px;
  color: #a97916;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-overview-heading h2 {
  margin: 0;
  color: #131c28;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.project-overview-heading p {
  margin: 0;
  color: #526173;
  font-size: 18px;
  line-height: 1.8;
}

.project-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-feature-card {
  min-height: 270px;
  padding: 34px;
  border: 1px solid rgba(19, 28, 40, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(20, 31, 46, 0.07);
}

.project-feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a97916, #f2d77d);
  color: #131c28;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-feature-card h3 {
  margin: 0 0 14px;
  color: #131c28;
  font-size: 23px;
  line-height: 1.2;
}

.project-feature-card p {
  margin: 0;
  color: #5b6878;
  font-size: 15px;
  line-height: 1.7;
}

/* LIGHTBOX MODAL */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {transform:scale(0.9); opacity:0} 
  to {transform:scale(1); opacity:1}
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}

.close-btn:hover {
  color: #bbb;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .project-hero-framed {
    padding-top: 120px;
  }
  .hero-framed-title {
    font-size: clamp(28px, 9vw, 38px);
    letter-spacing: 0.12em;
  }
  .hero-framed-image {
    height: 360px;
  }
  .zigzag-row, .zigzag-row.reverse {
    flex-direction: column;
    gap: 40px;
  }
  .project-detail-whatsapp .project-whatsapp {
    width: 100%;
  }
  .project-overview-section {
    padding: 72px 20px 80px;
  }
  .project-overview-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 40px;
  }
  .project-overview-heading p {
    font-size: 16px;
  }
  .project-feature-grid {
    grid-template-columns: 1fr;
  }
  .project-feature-card {
    min-height: 0;
  }
}
