/* ============================================
   PROJECT PAGE STYLES
   ============================================ */

/* ===== PROJECT HERO ===== */
.project-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.project-hero-video,
.project-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: -1;
}

.project-hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.project-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.project-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.project-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.project-meta span {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
}

/* ===== CONTENT ===== */
.project-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.project-section {
  margin-bottom: 4.5rem;
}

.project-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.project-section p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

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

/* ===== TAKEAWAYS LIST ===== */
.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.takeaways-list li {
  background: var(--bg-card);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
}

.takeaways-list li strong {
  color: var(--text-primary);
}

/* ===== CTA BUTTONS ===== */
.links-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

/* ===== PREV/NEXT NAV ===== */
.project-nav {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.prev-project,
.next-project {
  flex: 1;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  transition: 0.3s;
}

.prev-project:hover,
.next-project:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .project-hero {
    height: 80vh;
  }

  .project-content {
    padding: 3rem 5%;
  }

  .gallery-grid img {
    height: 180px;
  }

  .project-nav {
    flex-direction: column;
  }
}
/* ===== SUB GALLERY TITLES ===== */
.sub-gallery-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2.5rem 0 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stage-group {
  margin-bottom: 2rem;
}