/* ===== MEJORAS PARA HERO/SLIDER - REEMPLAZAR EN style.css ===== */

/* Hero/Slider mejorado */
.hero-slider {
  height: 600px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.hero-slider .swiper-container {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  width: 100% !important;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Overlay mejorado para mejor legibilidad */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 179, 0.7) 0%,
    rgba(0, 123, 255, 0.6) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

/* Contenido del hero mejorado */
.hero-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 16px !important;
  padding: 3rem 2.5rem !important;
  max-width: 700px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 10px 25px rgba(0, 102, 179, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-content:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 15px 35px rgba(0, 102, 179, 0.15);
}

/* Títulos con mejor contraste */
.hero-title {
  color: var(--primary-color, #0056b3) !important;
  font-weight: 800 !important;
  font-size: 3rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: none !important;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color, #0056b3), var(--secondary-color, #007bff));
  border-radius: 2px;
}

.hero-subtitle {
  color: var(--text-color, #333) !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
  text-shadow: none !important;
  opacity: 0.9;
}

/* Botones del hero mejorados */
.hero-content .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 102, 179, 0.3);
  border: none;
}

.hero-content .btn-primary {
  background: linear-gradient(135deg, var(--primary-color, #0056b3), var(--secondary-color, #007bff));
  color: white;
}

.hero-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 102, 179, 0.4);
  background: linear-gradient(135deg, var(--secondary-color, #007bff), var(--primary-color, #0056b3));
}

.hero-content .btn-outline-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color, #0056b3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-content .btn-outline-light:hover {
  background: var(--primary-color, #0056b3);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 102, 179, 0.3);
}

/* Navegación del slider mejorada */
.hero-nav-button {
  color: white !important;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.8), rgba(0, 123, 255, 0.8)) !important;
  backdrop-filter: blur(10px) !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 1.2rem !important;
}

.hero-nav-button:hover {
  background: linear-gradient(135deg, var(--primary-color, #0056b3), var(--secondary-color, #007bff)) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 10px 25px rgba(0, 102, 179, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Paginación mejorada */
.swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  opacity: 0.7 !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background-color: white !important;
  transform: scale(1.3) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.4) !important;
  border-color: var(--primary-color, #0056b3) !important;
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
  }
  
  .hero-content {
    padding: 2rem 1.5rem !important;
    max-width: 90% !important;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-nav-button {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 450px;
  }
  
  .hero-content {
    padding: 1.5rem 1.25rem !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hero-content .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}