/* ============================================================
   PROJECT DETAIL PAGES — ULTRA-PREMIUM LIQUID GLASS STYLES
   Khairul Azizi Portfolio • Web & UI/UX Project Deep Dive
   ============================================================ */

.project-detail-body {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ─── STICKY DETAIL NAVIGATION ────────────────────────── */
.detail-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.detail-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.detail-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.detail-nav__back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.detail-nav__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(232, 130, 58, 0.35), rgba(232, 130, 58, 0.15));
  border: 1px solid rgba(232, 130, 58, 0.5);
  color: #fff;
  transition: all 0.2s ease;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, rgba(232, 130, 58, 0.55), rgba(232, 130, 58, 0.25));
  border-color: rgba(232, 130, 58, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 130, 58, 0.3);
}

/* ─── MAIN CONTAINER ─────────────────────────────────── */
.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5) var(--space-12);
  position: relative;
  z-index: 2;
}

/* ─── HERO HEADER ────────────────────────────────────── */
.detail-hero {
  margin-bottom: var(--space-10);
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.detail-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-breadcrumb a:hover {
  color: var(--accent);
}

.detail-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-4);
}

.detail-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-pill-badge.pinned {
  background: rgba(232, 130, 58, 0.18);
  border: 1px solid rgba(232, 130, 58, 0.45);
  color: #FFA559;
}

.detail-pill-badge.recent {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7DD3FC;
}

.detail-pill-badge.category {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.detail-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.detail-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

/* ─── QUICK METADATA GRID ───────────────────────────── */
.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.detail-meta-card {
  padding: var(--space-4) var(--space-5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.detail-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.detail-meta-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ─── HERO FEATURED IMAGE SHOWCASE ───────────────────── */
.detail-hero-showcase {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-10);
  background: #0d0d11;
}

.detail-hero-showcase img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.detail-hero-showcase:hover img {
  transform: scale(1.02);
}

.detail-hero-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.88) 60%, rgba(8, 8, 12, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.detail-hero-caption-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

/* ─── SECTION WRAPPER ────────────────────────────────── */
.detail-section {
  margin-bottom: var(--space-10);
}

.detail-section-header {
  margin-bottom: var(--space-6);
}

.detail-section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.detail-section-desc {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ─── TWO-COLUMN CALLOUTS (Problem / Solution) ───────── */
.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.detail-card-callout {
  padding: var(--space-6);
  border-radius: 22px;
  background: rgba(22, 22, 26, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail-card-callout.problem {
  border-left: 3px solid #EF4444;
}

.detail-card-callout.solution {
  border-left: 3px solid #10B981;
}

.detail-callout-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-callout-head .icon-problem {
  color: #EF4444;
}

.detail-callout-head .icon-solution {
  color: #10B981;
}

.detail-callout-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── SYSTEM FEATURES GRID ───────────────────────────── */
.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.detail-feature-card {
  padding: var(--space-6);
  border-radius: 20px;
  background: rgba(25, 25, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 130, 58, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.detail-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 130, 58, 0.15);
  border: 1px solid rgba(232, 130, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: var(--space-4);
  color: var(--accent);
}

.detail-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.detail-feature-desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ─── SYSTEM PICTURES GALLERY (The Main Showcase!) ──── */
.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.gallery-item {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 130, 58, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(232, 130, 58, 0.15);
}

.gallery-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #09090c;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption-body {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  background: rgba(18, 18, 22, 0.85);
}

.gallery-screen-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.gallery-screen-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.gallery-screen-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ─── TECH STACK SECTION ─────────────────────────────── */
.detail-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-tech-pill.primary {
  background: rgba(232, 130, 58, 0.15);
  border-color: rgba(232, 130, 58, 0.35);
  color: #FFA559;
}

/* ─── PROJECT FOOTER NAVIGATION ──────────────────────── */
.detail-footer-nav {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.btn-project-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-project-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── LIGHTBOX MODAL ─────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 1050px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  max-width: 800px;
  line-height: 1.45;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ─── POSTER & CLIENT SHOWCASE STYLES ─────────────────── */
.detail-poster-showcase-box {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-8);
  background: rgba(20, 20, 26, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: var(--space-6);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  margin-bottom: var(--space-8);
  align-items: start;
}

.poster-preview-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.poster-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 130, 58, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(232, 130, 58, 0.2);
}

.poster-preview-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.poster-preview-card:hover img {
  transform: scale(1.03);
}

.poster-info-pane {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poster-info-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poster-info-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.poster-info-motto {
  font-size: 0.95rem;
  color: #FB923C;
  font-weight: 600;
}

.poster-innovation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: var(--space-2) 0;
}

.poster-innovation-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.poster-innovation-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 130, 58, 0.35);
}

.poster-innovation-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.poster-innovation-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.poster-methodology-bar {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
}

.poster-methodology-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FB923C;
  margin-bottom: 8px;
}

.poster-methodology-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.poster-step-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
}

.poster-step-arrow {
  color: #FB923C;
  font-weight: 700;
}

/* ─── CLIENT EXHIBITION SHOWCASE BOX ─────────────────── */
.detail-client-showcase-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  background: rgba(20, 20, 26, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: var(--space-6);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  align-items: center;
}

.client-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.client-photo-card img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.client-photo-card:hover img {
  transform: scale(1.03);
}

.client-details-pane {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.client-details-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.client-details-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.team-members-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-2);
}

.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.team-chip.lead {
  background: rgba(232, 130, 58, 0.15);
  border-color: rgba(232, 130, 58, 0.4);
  color: #FB923C;
}

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────── */
@media (max-width: 900px) {
  .detail-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-two-col {
    grid-template-columns: 1fr;
  }
  .detail-features-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }
  .detail-poster-showcase-box {
    grid-template-columns: 1fr;
  }
  .detail-client-showcase-box {
    grid-template-columns: 1fr;
  }
  .poster-innovation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .detail-nav {
    top: 8px;
    padding: 0 8px;
  }
  .detail-nav__inner {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .detail-nav__title {
    display: none;
  }
  .detail-nav__actions {
    flex-wrap: wrap;
    gap: 6px;
  }
  .detail-container {
    padding: var(--space-4) 14px var(--space-10);
  }
  .detail-title {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    line-height: 1.22;
    word-break: break-word;
  }
  .detail-tagline {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: var(--space-5);
  }
  .detail-meta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .detail-meta-card {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .detail-hero-showcase {
    border-radius: 18px;
    margin-bottom: var(--space-6);
  }
  .detail-hero-showcase img {
    max-height: 280px;
  }
  .detail-hero-caption {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .detail-two-col {
    gap: var(--space-4);
  }
  .detail-card-callout {
    padding: var(--space-4);
    border-radius: 16px;
  }
  .detail-features-grid {
    gap: var(--space-3);
  }
  .detail-feature-card {
    padding: var(--space-4);
    border-radius: 16px;
  }
  .detail-gallery-grid {
    gap: var(--space-5);
  }
  .gallery-img-wrap {
    border-radius: 14px;
  }
  .gallery-caption-body {
    padding: var(--space-4);
  }
  .detail-poster-showcase-box,
  .detail-client-showcase-box {
    padding: var(--space-4);
    border-radius: 18px;
  }
  .client-photo-card img {
    max-height: 240px;
  }
  .detail-nav__back {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .btn-nav-cta {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .detail-footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: var(--space-8);
  }
  .detail-footer-nav > a,
  .detail-footer-nav > div,
  .detail-footer-nav > div > a {
    width: 100% !important;
    justify-content: center;
  }
  .detail-footer-nav > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .lightbox-modal {
    padding: 12px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    z-index: 10002;
  }
  .lightbox-img {
    max-height: 65vh;
    border-radius: 12px;
  }
  .lightbox-caption {
    font-size: 0.82rem;
    margin-top: 10px;
    padding: 0 8px;
  }
}

@media (max-width: 400px) {
  .detail-nav__inner {
    padding: 6px 10px;
  }
  .detail-nav__back {
    font-size: 0.75rem;
    padding: 5px 9px;
    gap: 4px;
  }
  .btn-nav-cta {
    font-size: 0.75rem;
    padding: 5px 9px;
  }
  .detail-container {
    padding: var(--space-3) 10px var(--space-8);
  }
  .detail-pill-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .detail-title {
    font-size: 1.5rem;
  }
}

