/* Reset básico */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

body {
    background-color: #000;
}

/* Imagen centrada */
img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Hero */
.hero {
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
}

.overlay {
  background: rgba(0, 0, 0, 0,5); /*  overlay */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.overlay h1 {
  margin-top: 30px;
  font-size: 2.5rem;
  width: 100%;
  text-align: center; /* <-- esta línea centra el texto */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: white;
}

.overlay p {
  font-size: 1.2rem;
  margin: 20px 0;
  width: 100%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  color: white;
}

/* Nueva sección para centrar título, subtítulo y botón arriba */
.encabezado {
  margin-top: 30px;
  text-align: center;
}

.encabezado h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: white;
}

.encabezado p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  color: white;
}

/* Contenedor para el botón */
.boton-container {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.boton {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #e63946;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* Secciones */
section {
  padding: 2rem;
  text-align: center;
  background-color: #000;
  color: white;
}

/* Footer */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Media queries */
/* Pantallas más pequeñas, como tablets */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }
  
  .overlay h1 {
    font-size: 2rem;
  }
  
  .navbar {
    font-size: 14px;
  }
  
  footer {
    font-size: 12px;
  }
}

/* Pantallas aún más pequeñas, como teléfonos móviles */
@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }
  
  .overlay h1 {
    font-size: 1.5rem;
    margin-top: 20px;
  }
  
  .overlay p {
    font-size: 1rem;
  }
}.boton-volver {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.boton-volver:hover {
  background-color: #ffcc00;
  color: #000;
}/* Estilo general del botón */
.button-link {
  display: inline-block;
  background-color: #e63946;
  color: white;
  padding: 12px 24px;
  margin-top: 20px;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

/* Efecto hover */
.button-link:hover {
  background-color: #ff4d5a;
  transform: scale(1.05);
}

/* Centrado del botón */
.button-container {
  text-align: center;
}

/* Responsive para móviles */
@media screen and (max-width: 600px) {
  .button-link {
    font-size: 1rem;
    padding: 10px 20px;
    width: 80%;
  }
}/* Galería responsiva */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
}

/* Estilo para las imágenes */
.galeria img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
}

/* Botón volver */
.boton-volver {
  display: inline-block;
  padding: 10px 24px;
  margin-top: 20px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 1rem;
  backdrop-filter: blur(4px); /* agrega un efecto sutil de vidrio esmerilado */
}

.boton-volver:hover {
  background-color: #ffffff;
  color: #000000;
}



/* Centrado de títulos en overlay */
.overlay h1, .overlay h2 {
  text-align: center;
  color: white;
  margin: 20px auto 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}.ficha-avion {
  max-width: 900px;
  margin: 30px auto;
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.ficha-avion img {
  width: 100%;
  height: auto;
  display: block;
}

.info-avion {
  display: flex;
  padding: 15px;
  background-color: #222;
  color: white;
  font-size: 1rem;
  flex-wrap: wrap;
}

.codigo {
  width: 100px;
  font-weight: bold;
  text-align: left;
}

.detalles {
  flex: 1;
  padding-left: 20px;
  text-align: left;
}
.lista-personas {
  list-style: none;
  padding: 0;
  margin: 10px auto 30px;
  text-align: center;
  color: white;
  font-size: 1.1rem;
}

.lista-personas li {
  margin: 6px 0;
}
<style>
  ul {
    list-style: none;
    padding: 0;
  }
  li {
    margin-bottom: 10px;
  }
  a {
    text-decoration: none;
    color: #0055aa;
  }
  a:hover {
    text-decoration: underline;
  }
  h2 {
    margin-top: 60px;
  }
</style>

