/* =========================
   HERO (fondo dinámico con crossfade)
========================= */
.hero_Hero {
  margin: 68px 0 0 0;
  position: relative;
  width: 100%;
  height: 82vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  text-align: right;
  overflow: hidden;
}

/* Capas de fondo para crossfade con 60% opacidad (más oscura) */
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-bg-layer.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay con gradiente - izquierda transparente, derecha oscura */
.hero_Hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}

/* Contenido alineado a la derecha */
.hero-content_Hero {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 5%;
  animation: fadeIn_Hero 1s ease-in-out;
}

@keyframes fadeIn_Hero {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Etiqueta/Tag superior - Base */
.hero-tag_Hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-tag_Hero::before {
  content: "✦";
  font-size: 0.7rem;
}

/* Tag Slide 1: Azul (coincide con botón blanco/azul) */
.hero-tag--gold{
  background: linear-gradient(135deg, #af8613 0%, #d4ba11 100%);

}
.hero-tag--blue {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Tag Slide 2: Verde (coincide con botón verde/blanco) */
.hero-tag--green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Tag Slide 3: Guindo/Vino (coincide con botón guindo/blanco) */
.hero-tag--wine {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
}

/* Tag Slide 4: Morado (coincide con botón morado/blanco) */
.hero-tag--purple {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

/* Título grande con fuente elegante */
.hero-title_Hero {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: #ffffff;
}

/* Subtítulo/Descripción elegante */
.hero-subtitle_Hero {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 35px;
  line-height: 1.7;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.95);
  max-width: 480px;
  letter-spacing: 0.3px;
}

/* =========================
   BOTÓN CTA MODERNO
========================= */
.cta-button_Hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
}

.cta-button_Hero i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.cta-button_Hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cta-button_Hero:hover i {
  transform: translateX(4px);
}

/* Variantes de colores para cada slide */

/* Slide 1: Azul con letras blancas */
.cta-button--white-gold{
  background-color: goldenrod;
  color: #ffffff;
  border-color: goldenrod;
}
.cta-button--white-gold:hover{
  background-color: rgb(186, 143, 33);
  border-color: rgb(130, 100, 22);
}
.cta-button--white-blue {
  background-color: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
}

.cta-button--white-blue:hover {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
}

/* Slide 2: Verde con letras blancas */
.cta-button--green-white {
  background-color: #059669;
  color: #ffffff;
  border-color: #059669;
}

.cta-button--green-white:hover {
  background-color: #047857;
  border-color: #047857;
}

/* Slide 3: Guindo (rojo oscuro) con letras blancas */
.cta-button--wine-white {
  background-color: #7c2d12;
  color: #ffffff;
  border-color: #7c2d12;
}

.cta-button--wine-white:hover {
  background-color: #651c0b;
  border-color: #651c0b;
}

/* Slide 4: Morado con letras blancas */
.cta-button--purple-white {
  background-color: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}

.cta-button--purple-white:hover {
  background-color: #6d28d9;
  border-color: #6d28d9;
}

/* =========================
   Botones de navegación
========================= */
.nav-button_Hero {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-button_Hero:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

#prev-button_Hero { left: 25px; }
#next-button_Hero { right: 25px; }

/* =========================
   Bullets
========================= */
.bullet-container_Hero {
  position: absolute;
  bottom: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 3;
  gap: 10px;
}

.bullet_Hero {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bullet_Hero:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.bullet_Hero.active {
  background-color: #10B981;
  border-color: #10B981;
  transform: scale(1.2);
}

/* =========================
   Responsive
========================= */

/* Tablets en vertical */
@media (max-width: 1024px) {
  .hero_Hero {
    height: 70vh;
  }
  
  .hero-content_Hero {
    max-width: 500px;
    padding: 30px 40px;
    margin-right: 3%;
  }
  
  .hero-title_Hero {
    font-size: 3.2rem;
  }
  
  .hero-subtitle_Hero {
    font-size: 1.05rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero_Hero {
    height: 85vh;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
  }
  
  .hero-content_Hero {
    max-width: 70%;
    padding: 30px 25px 100px;
    margin-right: 5%;
    margin-left: 25%;
    align-items: flex-end;
  }
  
  .hero_Hero::before {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.7) 70%,
      rgba(0, 0, 0, 0.85) 100%
    );
  }
  
  .hero-tag_Hero {
    font-size: 0.6rem;
    padding: 5px 12px;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
  }
  
  .hero-title_Hero {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.1;
  }
  
  .hero-subtitle_Hero {
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 100%;
    line-height: 1.5;
  }
  
  .cta-button_Hero {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .nav-button_Hero {
    display: none;
  }
  
  #prev-button_Hero { left: 15px; }
  #next-button_Hero { right: 15px; }
  
  .bullet-container_Hero { bottom: 25px; }
  .bullet_Hero { width: 10px; height: 10px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero_Hero {
    height: 80vh;
    margin-top: 50px;
  }
  
  .hero-content_Hero {
    max-width: 75%;
    padding: 25px 20px 90px;
    margin-right: 3%;
    margin-left: 22%;
  }
  
  .hero-title_Hero {
    font-size: 1.9rem;
  }
  
  .hero-subtitle_Hero {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .cta-button_Hero {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .nav-button_Hero {
    width: 36px;
    height: 36px;
  }
}
