/* === HERO SECTION === */
.hero-section {
  margin-top: 80px;
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

/* === SLIDES INDIVIDUALES === */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(138, 79, 255, 0.3), rgba(255, 107, 157, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: var(--spacing-lg);
}

.slide-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp var(--transition-slow) ease;
}

.slide-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp var(--transition-slow) ease 0.3s both;
}

.slide-text {
  font-size: 1.2rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp var(--transition-slow) ease 0.6s both;
}

/* === CONTROLES DEL SLIDESHOW === */
.slide-controls {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slide-dot.active {
  background-color: white;
  transform: scale(1.2);
}

.slide-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* === BOTONES DE NAVEGACIÓN === */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.slide-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slide-prev {
  left: var(--spacing-lg);
}

.slide-next {
  right: var(--spacing-lg);
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE HERO === */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
    margin-top: 70px;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-subtitle {
    font-size: 1.2rem;
  }

  .slide-text {
    font-size: 1rem;
  }

  .slide-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slide-prev {
    left: var(--spacing-sm);
  }

  .slide-next {
    right: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 50vh;
    min-height: 300px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-subtitle {
    font-size: 1rem;
  }

  .slide-text {
    font-size: 0.9rem;
  }
}