/* ==========================================================================
   Common Hero Slider Stylesheet (Swiper) - Scrap Yard Mumbai
   ========================================================================== */

#banner_image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 22px auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.hero-slider-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-swiper {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 440px;
  background-color: #091326;
  border: 3px solid #ffffff;
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 14px 38px rgba(0, 31, 68, 0.18);
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #091326;
}

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

.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 48px 24px;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0) 0%, rgba(10, 20, 40, 0.78) 100%);
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 2;
}

/* Glassmorphism Navigation Arrows */
.hero-swiper .hero-slider-prev,
.hero-swiper .hero-slider-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
  padding: 0 !important;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper .hero-slider-prev {
  left: 18px !important;
}

.hero-swiper .hero-slider-next {
  right: 18px !important;
}

.hero-swiper .hero-slider-prev::after,
.hero-swiper .hero-slider-next::after {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.hero-swiper .hero-slider-prev:hover,
.hero-swiper .hero-slider-next:hover {
  background: rgba(0, 86, 174, 0.95) !important;
  border-color: #ffffff !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 10px 28px rgba(0, 86, 174, 0.5) !important;
}

/* Capsule Pagination Dots */
.hero-swiper .hero-slider-pagination {
  position: absolute;
  bottom: 14px !important;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero-swiper .hero-slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper .hero-slider-pagination .swiper-pagination-bullet:hover {
  background: #ffffff;
  transform: scale(1.15);
}

.hero-swiper .hero-slider-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .hero-swiper {
    height: 340px;
  }
}

@media (max-width: 768px) {
  #banner_image {
    margin-bottom: 16px !important;
  }

  .hero-swiper {
    height: 220px;
    border-radius: var(--radius-md, 12px);
    border-width: 2px;
  }

  .hero-slide-caption {
    font-size: 0.85rem;
    padding: 18px 14px 36px 14px;
  }

  .hero-swiper .hero-slider-prev,
  .hero-swiper .hero-slider-next {
    width: 34px !important;
    height: 34px !important;
  }

  .hero-swiper .hero-slider-prev {
    left: 8px !important;
  }

  .hero-swiper .hero-slider-next {
    right: 8px !important;
  }

  .hero-swiper .hero-slider-prev::after,
  .hero-swiper .hero-slider-next::after {
    font-size: 13px;
  }

  .hero-swiper .hero-slider-pagination {
    bottom: 8px !important;
    padding: 5px 11px;
    gap: 6px;
  }

  .hero-swiper .hero-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .hero-swiper .hero-slider-pagination .swiper-pagination-bullet-active {
    width: 20px;
  }
}
