/* ===== css/slider.css ===== */
/* Estilos exclusivos para el slider principal */

.slider-section {
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: 12px;
  background: #0a0a0a;
  border: 2px solid #8B0000; /* Rojo oscuro */
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.2);
  user-select: none;
  -webkit-user-select: none;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
  display: block;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  filter: brightness(0.7) contrast(1.2);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.85);
  color: #C0C0C0; /* Plomo */
  border: 2px solid #8B0000; /* Rojo oscuro */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: auto;
}

.slider-btn:hover {
  background: #CC0000; /* Rojo intenso */
  color: #FFFFFF; /* Blanco */
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { 
  left: 15px; 
}

.slider-btn.next { 
  right: 15px; 
}

.slider-btn i {
  pointer-events: none;
}

/* ===== RESPONSIVE SLIDER ===== */
/* Tablets y móviles */
@media (max-width: 768px) {
  .slider-container {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
  }
  
  .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .slider-btn.prev { 
    left: 8px; 
  }
  
  .slider-btn.next { 
    right: 8px; 
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .slider-container {
    aspect-ratio: 3 / 2;
    border-radius: 6px;
  }
  
  .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  
  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .slider-btn.prev { 
    left: 5px; 
  }
  
  .slider-btn.next { 
    right: 5px; 
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
  .slider-container {
    aspect-ratio: 3 / 2;
  }
  
  .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  
  .slider-btn {
    width: 25px;
    height: 25px;
    font-size: 0.6rem;
  }
  
  .slider-btn.prev { 
    left: 3px; 
  }
  
  .slider-btn.next { 
    right: 3px; 
  }
}