/* ============================================
   BANNER CAROUSEL - Public Component
   Shows: prev slide right portion | current slide full | next slide left portion
   PC width: 1200px centered
   Mobile: full width
   ============================================ */

.banner-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.banner-carousel-slide {
  flex-shrink: 0;
  width: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 4px;
}

.banner-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* --- Navigation Arrows --- */
.banner-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  padding: 0;
}

.banner-carousel-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.banner-carousel-btn-prev {
  left: 12px;
}

.banner-carousel-btn-next {
  right: 12px;
}

.banner-carousel-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.banner-carousel-btn svg path {
  fill: #a30907;
}

/* --- Dots Indicator --- */
.banner-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.banner-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-carousel-dot.active {
  background: #a30907;
  border-color: #ffffff;
  transform: scale(1.3);
}

/* --- Responsive --- */
@media (max-width: 767px) {
  #banner-section {
    margin-top: 145px !important;
  }

  .banner-carousel-wrapper {
    max-width: 100%;
    border-radius: 0;
  }

  .banner-carousel-slide {
    border-radius: 0;
    margin: 0 2px;
  }

  .banner-carousel-slide img {
    border-radius: 0;
  }

  .banner-carousel-btn {
    width: 30px;
    height: 30px;
  }

  .banner-carousel-btn-prev {
    left: 6px;
  }

  .banner-carousel-btn-next {
    right: 6px;
  }

  .banner-carousel-btn svg {
    width: 14px;
    height: 14px;
  }

  .banner-carousel-dots {
    bottom: 6px;
    gap: 6px;
  }

  .banner-carousel-dot {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 768px) and (max-width: 1240px) {
  #banner-section {
    margin-top: 140px !important;
  }

  .banner-carousel-wrapper {
    max-width: 100%;
  }
}
