/* Estilos para páginas de detalle de proyectos */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.high {
  color: #4caf50;
}

/* Hero del Proyecto */
.proyecto-hero {
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../../Photos/proyectos/proyectos_fish.avif") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.btn-volver {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-volver:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-5px);
}

.hero-overlay h1 {
  font-size: 48px;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.proyecto-subtitulo {
  font-size: 22px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Resumen Ejecutivo */
.resumen-ejecutivo {
  padding: 60px 20px;
  background: #fff;
}

.resumen-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.resumen-content h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

.resumen-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.datos-proyecto {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dato-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.dato-item:last-child {
  border-bottom: none;
}

.dato-label {
  font-weight: 600;
  color: #666;
}

.dato-valor {
  color: #333;
  font-weight: 500;
}

.dato-valor.activo {
  color: #4caf50;
  font-weight: 700;
}

/* Objetivos */
.objetivos {
  padding: 60px 20px;
  background: #f5f5f5;
}

.objetivos h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.objetivos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.objetivo-card,
.objetivos-especificos {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.objetivo-card h3,
.objetivos-especificos h3 {
  font-size: 24px;
  color: #4caf50;
  margin-bottom: 20px;
}

.objetivo-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.objetivos-especificos ul {
  list-style: none;
  padding: 0;
}

.objetivos-especificos li {
  font-size: 16px;
  color: #555;
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  text-align: justify;
}

.objetivos-especificos li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 20px;
}

/* Metodología */
.metodologia {
  padding: 60px 20px;
  background: #fff;
}

.metodologia h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
}

.metodologia-timeline {
  max-width: 100%;
  margin: 0 auto;
}

/* .metodo-paso {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
} */

.paso-numero {
  justify-content: flex-start;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 50px 0;
  text-align: left;
  gap: 10px;
}

.paso-numero p {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  margin: 0;
}

.paso-numero h3 {
  font-size: 32px;
  font-weight: bold;
  color: #4caf50;
  margin-left: 20px;
}
.paso-numero:hover {
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
  border-radius: 40px;
}

.metodo-paso h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 12px;
}

.metodo-paso p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  text-align: justify;
}

/* Resultados */
.resultados {
  padding: 60px 20px;
  background: #f5f5f5;
}

.resultados h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.resultado-card {
  background: white;
  padding: 35px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.resultado-card:hover {
  transform: translateY(-5px);
}

.resultado-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.resultado-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.resultado-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  text-align: justify;
}

.hallazgos-destacados {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hallazgos-destacados h3 {
  font-size: 26px;
  color: #4caf50;
  margin-bottom: 25px;
}

.hallazgos-destacados ul {
  list-style: none;
  padding: 0;
}

.hallazgos-destacados li {
  font-size: 16px;
  color: #555;
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  border-bottom: 1px solid #eee;
  line-height: 1.7;
  text-align: justify;
}

.hallazgos-destacados li:last-child {
  border-bottom: none;
}

.hallazgos-destacados li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 20px;
}

/* Galería */
.galeria-proyecto {
  padding: 60px 20px;
  background: #fff;
}

.galeria-proyecto h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.galeria-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.galeria-item:hover {
  transform: scale(1.03);
}

.galeria-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.galeria-item p {
  padding: 15px;
  background: white;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Equipo */
.equipo-proyecto {
  padding: 60px 20px;
  background: #f5f5f5;
}

.equipo-proyecto h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.equipo-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.rol-grupo {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rol-grupo h3 {
  font-size: 22px;
  color: #4caf50;
  margin-bottom: 20px;
  text-align: center;
}

.rol-grupo p {
  font-size: 16px;
  color: #555;
  padding: 8px 0;
  text-align: center;
}

/* Publicaciones */
.publicaciones {
  padding: 60px 20px;
  background: #fff;
}

.publicaciones h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.publicaciones-lista {
  max-width: 900px;
  margin: 0 auto;
}

.publicacion-item {
  background: #f9f9f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 4px solid #4caf50;
}

.publicacion-item h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.autores {
  font-size: 15px;
  color: #666;
  margin-bottom: 5px;
}

.revista {
  font-size: 14px;
  color: #999;
}

/* Financiación */
.financiacion {
  padding: 60px 20px;
  background: #f5f5f5;
}

.financiacion h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.financiadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.financiador-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.financiador-item h4 {
  font-size: 20px;
  color: #4caf50;
  margin-bottom: 10px;
}

.financiador-item p {
  font-size: 15px;
  color: #666;
}

/* Impacto */
.impacto {
  padding: 60px 20px;
  background: #fff;
}

.impacto h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.impacto-content > p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
  margin-bottom: 40px;
}

.impacto-cifras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.cifra {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.numero {
  display: block;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.texto {
  display: block;
  font-size: 16px;
}

/* Navegación entre proyectos */
.navegacion-proyectos {
  padding: 40px 20px;
  background: #f5f5f5;
}

.nav-proyectos {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nav-btn {
  flex: 1;
  padding: 15px 30px;
  background: #4caf50;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: #45a049;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 32px;
  }

  .proyecto-subtitulo {
    font-size: 18px;
  }

  .resumen-grid,
  .objetivos-grid {
    grid-template-columns: 1fr;
  }

  .metodo-paso {
    grid-template-columns: 1fr;
  }

  .paso-numero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 30px 0;
  }

  .paso-numero p {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .paso-numero h3 {
    font-size: 24px;
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
  }

  .nav-proyectos {
    flex-direction: column;
  }
}
