/* ========================================
   PROJECT DETAILS PAGE
   ======================================== */

/* ── Hero ── */
.pd-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #000;
}

.pd-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.pd-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 5rem 11rem;
}

.pd-hero-tag {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255);
  margin-bottom: 0.25rem;
}

.pd-hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.pd-hero-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ── Project Background Info Section ── */
.pd-info-section {
  background: #000000;
  padding: 3.5rem 0 3.5rem;
}

.pd-info-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  /* spacer | left content | gap | right meta */
  grid-template-columns: 1fr 2fr 3rem 1.2fr;
  align-items: start;
}

/* Left sticky panel spans col 2 */
.pd-info-left {
  grid-column: 2;
  position: relative;
}

.pd-info-sticky {
  position: sticky;
  top: 5rem;
}

.pd-section-label {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.pd-info-body {
  font-size: 13px;
  line-height: 1.75;
  /* color: rgba(255, 255, 255, 0.45); */
  margin-bottom: 0.75rem;
}

/* Right meta column spans col 4 */
.pd-info-right {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.pd-meta-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.75rem;
}

.pd-meta-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255);
  white-space: nowrap;
  min-width: 100px;
  flex-shrink: 0;
}

.pd-meta-value {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* ── Gallery ── */
.pd-gallery {
  background: #000000;
}

.pd-gallery-row {
  width: 100%;
  overflow: hidden;
}

.pd-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  padding: 20px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(100%);
}

.pd-gallery-row:hover .pd-gallery-img {
  transform: scale(1.01);
  border-radius: 10px;
  filter: grayscale(0%);
}

/* ── Info Section sticky-fixed state ── */
.pd-info-section.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
}

/* ── Explore section tweak for this page ── */
.pd-explore {
  background: #000000;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pd-info-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pd-info-left {
    grid-column: 1;
    margin-bottom: 2rem;
  }

  .pd-info-right {
    grid-column: 1;
  }

  .pd-info-sticky {
    position: static;
  }
}

@media (max-width: 600px) {
  .pd-hero-content {
    padding: 0 1.25rem 2.5rem;
  }

  .pd-info-section {
    padding: 3rem 0 2.5rem;
  }

  .pd-info-inner {
    padding: 0 1.25rem;
  }
}
