/* =========================================================
   HERO SLIDER - Estilo minimalista como la plantilla original
========================================================= */

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 1170px;
  margin: 0 auto;
}

.hero-slide__subtitle {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  opacity: 0;
}

.hero-slide__title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 50px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
}

/* Botón del slider */
.hero-slide__content .au-btn {
  opacity: 0;
}

/* Animaciones cuando el slide está activo */
.owl-item.active .hero-slide__subtitle {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.owl-item.active .hero-slide__title {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s;
}

.owl-item.active .hero-slide__content .au-btn {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(40px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Navegación personalizada estilo minimalista */
.hero-slider .owl-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.hero-slider .owl-nav button {
  position: absolute;
  width: 50px;
  height: 50px;
  background: transparent !important;
  font-size: 40px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s ease;
  border: none !important;
  pointer-events: all;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.hero-slider .owl-nav button:hover {
  color: rgba(255, 255, 255, 1) !important;
  transform: scale(1.2);
}

.hero-slider .owl-nav button:focus {
  outline: none;
}

.hero-slider .owl-nav .owl-prev {
  left: 40px;
  background: none;
  font-size: 50px;
}

.hero-slider .owl-nav .owl-next {
  right: 40px;
  background: none;
  font-size: 50px;
}

/* Dots de navegación estilo minimalista */
.hero-slider .owl-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 10;
}

/*.hero-slider .owl-dots .owl-dot {
  display: inline-block;
  margin: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-slider .owl-dots .owl-dot:focus {
  outline: none;
}

.hero-slider .owl-dots .owl-dot.active {
  background: #ebcd1e;
}

.hero-slider .owl-dots .owl-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}*/

/* Responsive */
@media (max-width: 1199px) {
  .hero-slide__subtitle {
      font-size: 32px;
  }

  .hero-slide__title {
      font-size: 64px;
  }
}

@media (max-width: 991px) {
  .hero-slide {
      height: 80vh;
      min-height: 500px;
  }

  .hero-slide__subtitle {
      font-size: 26px;
      letter-spacing: 2px;
  }

  .hero-slide__title {
      font-size: 54px;
      margin-bottom: 40px;
  }

  .hero-slider .owl-nav .owl-prev {
      left: 20px;
  }

  .hero-slider .owl-nav .owl-next {
      right: 20px;
  }
}

@media (max-width: 767px) {
  .hero-slide {
      height: 70vh;
      min-height: 450px;
  }

  .hero-slide__subtitle {
      font-size: 22px;
      margin-bottom: 12px;
      letter-spacing: 1.5px;
  }

  .hero-slide__title {
      font-size: 42px;
      margin-bottom: 35px;
  }

  .hero-slider .owl-nav button {
      width: 40px;
      height: 40px;
      font-size: 30px !important;
  }

  .hero-slider .owl-dots {
      bottom: 20px;
  }
}

@media (max-width: 575px) {
  .hero-slide {
      min-height: 400px;
  }

  .hero-slide__subtitle {
      font-size: 18px;
      margin-bottom: 10px;
  }

  .hero-slide__title {
      font-size: 36px;
      margin-bottom: 30px;
  }

  .hero-slider .owl-nav {
      display: none;
  }

  .hero-slider .owl-dots {
      bottom: 20px;
  }

}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

.nav:hover {
  background: rgba(0,0,0,0.8);
}
