/* Estilos generales */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1d;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

 /* Estilos del Menú de Navegación */
 .navbar {
    background-color: #1a1a1d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* Asegura que el menú esté siempre por encima del contenido */
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ff6326;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); /* Añade una sombra para destacarlo */
  }
  
  .nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* Para alinear a la izquierda */
    padding-left: 20px; /* Ajusta el espacio desde el borde izquierdo */
  }
  
  .logo-img {
    max-height: 40px; /* Ajusta el tamaño del logo según se vea mejor */
    height: auto;
    display: block;
  }
  
  
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
  }
  
  .nav-toggle-icon {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    display: block;
    position: relative;
    transition: 0.3s;
  }
  
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s, top 0.3s, bottom 0.3s;
  }
  
  .nav-toggle-icon::before {
    top: -8px;
  }
  
  .nav-toggle-icon::after {
    bottom: -8px;
  }
  
  .nav-menu {
    display: flex;
    gap: 20px;
  }
  
  .nav-item {
    list-style: none;
  }
  
  .nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: #ff6326;
  }
  
  /* Estilos Responsivos */
  @media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        right: 66px; /* Ajusta la distancia desde el margen derecho */
        top: 25px; /* Ajusta la distancia desde la parte superior */
        z-index: 10000; /* Asegura que el botón esté visible por encima de otros elementos */
    }
  
    .nav-toggle-icon {
        background-color: #ffffff;
    }
  
    /* Estado inicial del menú en móvil (oculto) */
    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background-color: #1a1a1d;
      border-top: 1px solid #ff00ff;
      padding: 20px 0;
      box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
      z-index: 1000; /* Asegura que esté sobre otros elementos */
    }

    /* Estado activo (desplegado) */
    .nav-menu.active {
      display: flex !important; /* Fuerza la visualización del menú */
    }

  
    .nav-link {
        padding: 10px 20px;
        text-align: center;
    }
  
    /* Alinear logo a la izquierda en móvil */
    .nav-logo {
        margin-right: auto;
        padding-left: 0px; /* Añade espacio desde el margen izquierdo para alinearlo mejor */
    }
  }

  
/* Sección de Biografía */
.biography {
    padding: 50px 20px;
    background: linear-gradient(135deg, #ff6326, #ff9e2a);
    text-align: center;
    color: #ffffff;
}

.biography h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bio-photo {
    max-width: 300px;
    border-radius: 10px;
}

.bio-text {
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.5;
    
}

/* Galería de Fotos y Videos */
.gallery {
    padding: 40px 20px;
    text-align: center;
    background-color: #292929;
}

.gallery h2 {
    font-size: 2.5rem;
    color: #ff6326;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    width: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: auto;
}
.lazy-video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}


/* Sección de Eventos */
.events {
    padding: 40px 20px;
    text-align: center;
    background-color: #1a1a1d;
}

.events h2 {
    font-size: 2.5rem;
    color: #ff6326;
    margin-bottom: 20px;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.event-item {
    background-color: #ff6326;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

.event-item h3 {
    color: #ffffff;
    font-size: 1.5rem;
}

.event-item p {
    font-size: 1rem;
    color: #ffffff;
}



/* Footer con Redes Sociales y Newsletter */
.footer {
    padding: 30px;
    text-align: center;
    background-color: #121212;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
  }
  
  .social-icon:hover {
    transform: scale(1.2);
  }
  
  p {
    margin: 10px 0 0 0;
  }
  

.newsletter {
    margin-top: 20px;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 250px;
}

#newsletter-form button {
    padding: 10px 20px;
    background-color: #ff6326;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#newsletter-form button:hover {
    background-color: #ff9e2a;
}
