/* Banner principal */
.banner {
  position: relative;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  overflow: hidden;
  background-image: url("../assets/img/12.jpg");
  background-size: cover;
  background-position: center;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffffd0;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
  z-index: 3;
}
.banner.white-filter::before {
  opacity: 0.8;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.45); */
  /* border-radius: 25px; */
  z-index: 1;
  pointer-events: none;
}
.banner-header {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  overflow: visible; /* permitir que el logo no se recorte por el contenedor */
}
.logo {
  font-size: 1.6rem;
  font-family: "GreatVibes-Regular", cursive;
  color: var(--color-claro);
  margin: 0 auto;
  filter: opacity(0.8);
  display: inline-block;
  line-height: 1.2; /* evitar recorte vertical de glyphs */
  padding: 4px 0;
  width: 100%;
}
.menu-icon {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--color-claro);
  cursor: pointer;
  filter: invert(1) opacity(0.8);
}
.banner-content {
  position: absolute;
  bottom: 16%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}
.banner-content h1 {
  font-size: 3rem;
  font-weight: 100;
  color: var(--color-claro);
  margin-bottom: 0px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.banner-content h2 {
  font-size: 1.6rem;
  font-weight: 100;
  color: var(--color-claro);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.video-fondo-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Responsive */
@media (max-width: 800px) {
  .banner {
    background-image: url("../assets/img/home.png");
    background-size: cover;
    background-position: center;
  }
  .banner-content h1 {
    font-size: 3rem;
    font-weight: 100;
  }
  .banner-header {
    padding: 0 15px;
  }
  .banner-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  /* .video-fondo-banner {
    height: auto;
  } */
}
