/* ==========================================================================
   HONDA HERO BANNER SLIDER CSS
   Soporte para múltiples banners, tipografía oficial y efectos deportivos
   ========================================================================== */

.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b0f14;
  height: clamp(400px, 52vw, 680px);
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide 1: Custom layered Honda Workshop Banner (Image 1 & 5) */
.hero-slide-custom-workshop {
  background: #000000;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(0.92) contrast(1.05);
}

/* Red motorsport graphics & gradient overlays */
.hero-motorsport-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 38%, rgba(229, 0, 18, 0.2) 70%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Top motorsport checkered stripe */
.stripe-top-checkers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: repeating-linear-gradient(
    -45deg,
    #e50012,
    #e50012 20px,
    #b3000e 20px,
    #b3000e 40px
  );
  opacity: 0.95;
  z-index: 3;
}

/* Bottom angled motorsport stripe */
.stripe-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #e50012 0%, #ff3b30 50%, #000000 100%);
  z-index: 3;
}

/* Geometric speed slashes */
.hero-speed-slash {
  position: absolute;
  top: 0;
  left: 45%;
  width: 140px;
  height: 100%;
  background: linear-gradient(135deg, rgba(229, 0, 18, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
  transform: skewX(-24deg);
  pointer-events: none;
  z-index: 2;
}

.hero-content-box {
  position: relative;
  z-index: 5;
  max-width: 780px;
  padding: 0 40px 0 60px;
  color: #ffffff;
}

.hero-garantia-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-garantia-title .line-1 {
  display: block;
  color: #ffffff;
}

.hero-garantia-title .line-2 {
  display: block;
  color: #ffffff;
  margin-top: 4px;
}

.hero-garantia-sub {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2.3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.hero-garantia-sub .sub-text-top {
  display: block;
  color: #ffffff;
}

.hero-garantia-sub .sub-text-bottom {
  display: block;
  color: #ffffff;
  margin-top: 4px;
}

.hero-garantia-sub .word-talleres {
  color: var(--honda-red);
  font-weight: 900;
  text-shadow: 0 0 25px rgba(229, 0, 18, 0.6);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--honda-red);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 32px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(229, 0, 18, 0.4);
  transition: var(--transition);
}

.hero-cta-btn:hover {
  background: #ffffff;
  color: var(--honda-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Image-based standard slides (Slides 2, 3, 4) */
.hero-slide-img-only {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

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

/* Slider Controls: Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  opacity: 0;
}

.hero-slider-section:hover .slider-arrow {
  opacity: 0.85;
}

.slider-arrow:hover {
  background: var(--honda-red);
  border-color: var(--honda-red);
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Slider Pagination Dots (Image 1 & 2 reference) */
.slider-dots-container {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slider-dot.active {
  width: 28px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 480px;
  }
  .hero-content-box {
    padding: 0 20px;
  }
  .hero-garantia-title {
    font-size: 2rem;
  }
  .hero-garantia-sub {
    font-size: 1.25rem;
  }
  .hero-speed-slash {
    display: none;
  }
  .slider-arrow {
    display: none;
  }
}
