/* =============================================
   PROJECT DETAIL — project-detail-v2.css
   ============================================= */

/* ── HERO ── */
.pd-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #0b2516;
}
.pd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  opacity: 0.55;
}
.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 37, 22, 0.4) 0%,
    rgba(11, 37, 22, 0.85) 100%
  );
}
.pd-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0 48px;
}
.pd-hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-breadcrumb {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}
.pd-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.pd-breadcrumb a:hover {
  color: #fff;
}
.pd-breadcrumb span {
  margin: 0 6px;
}
.pd-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 760px;
}
.pd-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-tag {
  background: rgba(61, 175, 108, 0.25);
  color: #6ee89a;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(61, 175, 108, 0.4);
}

/* ── META BAR ── */
.pd-meta-bar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}
.pd-meta-bar .container {
  display: flex;
  gap: 0;
}
.pd-meta-item {
  padding: 20px 32px 20px 0;
  margin-right: 32px;
  border-right: 1px solid #e0e0e0;
}
.pd-meta-item:last-child {
  border-right: none;
}
.pd-meta-label {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  display: block;
}
.pd-meta-value {
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ── BODY ── */
.pd-body {
  background: #f4f6f1;
  padding: 72px 0 100px;
}
.pd-body .container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* ── MAIN CONTENT ── */
.pd-main h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1b4332;
  margin-bottom: 16px;
  margin-top: 48px;
  line-height: 1.25;
}
.pd-main h2:first-child {
  margin-top: 0;
}
.pd-main p {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 16px;
}
.pd-main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-main ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  padding: 12px 16px 12px 48px;
  background: #fff;
  border-left: 3px solid #3daf6c;
  position: relative;
}
.pd-main ul li::before {
  content: "→";
  position: absolute;
  left: 16px;
  top: 12px;
  color: #3daf6c;
  font-weight: 700;
}

/* ── GALLERY ── */
.pd-gallery {
  margin-top: 56px;
}
.pd-gallery h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1b4332;
  margin-bottom: 28px;
}
.pd-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pd-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}
.pd-gallery-grid img:hover {
  transform: scale(1.02);
}
.pd-gallery-grid img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

/* ── SIDEBAR ── */
.pd-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pd-sidebar-card {
  background: #fff;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.pd-sidebar-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1b4332;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #3daf6c;
}
.pd-sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.pd-sidebar-stat:last-child {
  border-bottom: none;
}
.pd-sidebar-stat-label {
  color: #666;
  font-weight: 500;
}
.pd-sidebar-stat-value {
  color: #1a1a1a;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}
.pd-sidebar-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 18px;
}
.pd-sidebar-card .btn {
  width: 100%;
  justify-content: center;
  height: 48px;
  font-size: 13px;
}
.pd-sidebar-related h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  margin-top: 0;
}
.pd-related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: color 0.2s;
}
.pd-related-link:last-child {
  border-bottom: none;
}
.pd-related-link img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
}
.pd-related-link span {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
}
.pd-related-link:hover span {
  color: #2d6a4f;
}

/* ── NEXT/PREV NAV ── */
.pd-nav-strip {
  background: #1b4332;
  padding: 32px 0;
}
.pd-nav-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.pd-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.pd-nav-btn:hover {
  color: #fff;
}
.pd-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-bottom: 3px;
}
.pd-nav-all {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #6ee89a;
  text-decoration: none;
}
.pd-nav-all:hover {
  color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .pd-hero {
    height: 320px;
  }
  .pd-hero-title {
    font-size: 30px;
  }
  .pd-body .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pd-sidebar {
    position: static;
  }
  .pd-meta-bar .container {
    flex-wrap: wrap;
    gap: 0;
  }
  .pd-meta-item {
    padding: 16px 24px 16px 0;
    margin-right: 24px;
  }
}
@media (max-width: 600px) {
  .pd-hero {
    height: 260px;
  }
  .pd-hero-title {
    font-size: 24px;
  }
  .pd-gallery-grid {
    grid-template-columns: 1fr;
  }
  .pd-gallery-grid img:first-child {
    aspect-ratio: 4/3;
  }
  .pd-nav-strip .container {
    flex-direction: column;
    gap: 16px;
  }
}
