/* ========================================
   PROJECT DETAIL PAGES CSS
   ======================================== */

.project-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 3rem 60px;
}

.project-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.project-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.project-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(5, 5, 5, 0.2),
    rgba(5, 5, 5, 0.85)
  );
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.back-link {
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--blue-neon);
}

.status-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.status-development {
  background: rgba(251, 146, 60, 0.9);
  color: white;
}

.status-research {
  background: rgba(139, 92, 246, 0.9);
  color: white;
}

.status-beta {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.project-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 700px;
}

/* Overview Section */
.project-overview {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.overview-item {
  text-align: center;
  padding: 1.5rem;
}

.overview-item h3 {
  color: var(--blue-neon);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.overview-item p {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Project Sections */
.project-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-section:last-of-type {
  border-bottom: none;
}

.project-section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

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

.project-section .btn {
  margin-top: 1.5rem;
  display: inline-block;
}

/* Technology List */
.tech-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.tech-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.tech-label {
  display: block;
  color: var(--blue-neon);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tech-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}

.features-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--blue-neon),
    var(--purple-soft)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
  margin: -2.5rem auto 1rem;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.timeline-step h3 {
  color: var(--blue-neon);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  .project-hero {
    padding: 60px 2rem 40px;
  }

  .project-hero-content h1 {
    font-size: 2.5rem;
  }

  .project-subtitle {
    font-size: 1.1rem;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .overview-item {
    padding: 1rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .tech-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  .project-hero {
    min-height: 50vh;
    padding: 40px 1.5rem 30px;
  }

  .project-hero-content h1 {
    font-size: 1.8rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .project-section {
    padding: 2rem 0;
  }

  .project-section h2 {
    font-size: 1.6rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .features-list li {
    padding: 1rem;
    font-size: 1rem;
  }

  .tech-list {
    grid-template-columns: 1fr;
  }
}
