/* =========================
   PROJECT HEADER
   ========================= */
.project-header {
  background: #fffdf9;
  color: var(--coral);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--coral);
}

.project-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.project-header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.project-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.project-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 300;
}

/* =========================
   PROJECT MAIN CONTENT
   ========================= */
.project-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.project-section {
  padding: 4rem 0;
  border-bottom: 2px solid rgba(254, 95, 85, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

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

.project-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.project-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--coral);
}

.section-content {
  max-width: 800px;
}

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

/* =========================
   SPECS GRID
   ========================= */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.spec-box {
  background: white;
  padding: 2.5rem;
  border: 2px solid #f0f0f0;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.spec-box:hover {
  border-color: var(--coral);
  box-shadow: 0 8px 30px rgba(254, 95, 85, 0.15);
  transform: translateY(-4px);
}

.spec-box h3 {
  font-size: 1.2rem;
  color: var(--coral);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-box ul {
  list-style: none;
  line-height: 1.8;
}

.spec-box li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.spec-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: bold;
}

/* =========================
   TIMELINE
   ========================= */
.timeline {
  position: relative;
  padding: 2rem 0 2rem 4rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--coral) 0%, rgba(254, 95, 85, 0.3) 100%);
}

.timeline-entry {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 2.5rem;
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid var(--coral);
  border-radius: 50%;
}

.timeline-entry:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(254, 95, 85, 0.2);
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--coral);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.timeline-entry h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.timeline-entry p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================
   FEATURES GRID
   ========================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, white, #fafbff);
  padding: 2rem;
  border-left: 4px solid var(--coral);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(254, 95, 85, 0.2);
  border-left-color: var(--text-primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   WIRING INFO
   ========================= */
.wiring-info {
  background: white;
  padding: 2.5rem;
  border: 2px solid #f0f0f0;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.wiring-info h3 {
  font-size: 1.2rem;
  color: var(--coral);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wiring-info h3:first-child {
  margin-top: 0;
}

.wiring-info ul {
  list-style: none;
  line-height: 1.8;
}

.wiring-info li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.wiring-info li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: bold;
}

/* =========================
   RESOURCES GRID
   ========================= */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: white;
  padding: 2rem;
  border: 2px solid var(--coral);
  border-radius: 0;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(254, 95, 85, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(254, 95, 85, 0.25);
}

.resource-card:hover::before {
  width: 100%;
}

.resource-card h3 {
  font-size: 1.1rem;
  color: var(--coral);
  margin-bottom: 0.8rem;
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.resource-card::after {
  content: attr(data-arrow);
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 2rem;
  }

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

  .specs-grid,
  .features-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-entry::before {
    left: -22px;
  }
}