/* =====================================================
   PÁGINA: DETALLE DE PROYECTO
   Layout y estilos para páginas individuales de proyectos
   ===================================================== */

/* =====================================================
   HERO BANNER DEL PROYECTO
   ===================================================== */
.project-hero-banner {
  padding: 140px 20px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.project-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.project-hero-banner .container {
  max-width: var(--maxw-content);
  position: relative;
  z-index: 2;
}

.project-hero-banner h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.project-hero-banner p {
  font-size: 1.2rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* =====================================================
   GRID DE CONTENIDO
   ===================================================== */
.project-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 45px;
  margin-top: 40px;
}

/* =====================================================
   CONTENIDO PRINCIPAL
   ===================================================== */
.project-main-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  line-height: 1.7;
  transition: var(--transition-base);
}

.project-main-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.project-main-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-main-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.project-main-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.project-main-content ul,
.project-main-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.project-main-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* =====================================================
   SIDEBAR DEL PROYECTO
   ===================================================== */
.project-sidebar {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: var(--white);
  padding: 35px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.project-sidebar h3 {
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--accent);
}

.project-sidebar p {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* =====================================================
   LISTA DE TECNOLOGÍAS
   ===================================================== */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  background: rgba(255, 255, 255, 0.03);
}

.tech-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.tech-list i {
  color: #22c55e;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.tech-list span {
  font-weight: 500;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-hero-banner {
    padding: 100px 20px;
  }

  .project-hero-banner h1 {
    font-size: 2.5rem;
  }
  
  .project-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .project-hero-banner h1 {
    font-size: 2.2rem;
  }
  
  .project-hero-banner p {
    font-size: 1.1rem;
  }
  
  .project-main-content {
    padding: 30px 25px;
  }
  
  .project-sidebar {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .project-hero-banner {
    padding: 80px 20px;
  }
  
  .project-hero-banner h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .project-hero-banner p {
    font-size: 1rem;
  }
  
  .project-main-content {
    padding: 25px 20px;
  }
  
  .project-sidebar {
    padding: 25px 20px;
  }
  
  .project-content-grid {
    gap: 20px;
  }
}