/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- CONFIGURACIÓN FLEXIBLE PARA EL CUERPO --- */
html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* --- HERO SECTION --- */
.hero {
  background-image: url("../img/Fondo2.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: none;
  margin: 0;
  padding: 0;

  /* Sombra elegante sin franja gris */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* --- NAVBAR --- */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  flex-wrap: wrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #f72727;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffffff;
}

.nav-links li a.active {
  font-weight: 700;
  color: #ffffff;
}

/* --- BOTÓN MENÚ MÓVIL --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- HERO TEXT --- */

.hero-text {
  text-align: center;
  padding: 40px 20px;
  color: #f52020;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-text h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ef4444;
}

/* --- CONTENIDO PRINCIPAL --- */
.content {
  flex: 1;
  text-align: center;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.descripcion {
  text-align: justify;
  margin-bottom: 50px;
  background: rgba(245, 245, 245, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* --- GALERÍA DE VIDEOS --- */
.galeria-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  text-align: center;
}

.video-card iframe {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
}

.link-video {
  display: inline-block;
  margin-top: 10px;
  color: #f52020;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.link-video:hover {
  color: #f57272;
}

/* --- FOOTER --- */
footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }
}
