/* ----------------------------------
   HOMEPAGE BANNER SLIDESHOW SECTION
   ---------------------------------- */

/* Your original styling (keep unchanged) */
.banner-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative; /* needed for absolute nav arrows */
}

.homepage-banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  object-fit: cover;
}

/* Each slide (image or video) */
.banner-slide {
  display: none;
  width: 100%;
  height: auto;
}

/* Active (visible) slide */
.banner-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

/* Fade transition */
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Left and right navigation buttons */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 36px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
  line-height: 1;
}

.banner-nav.left {
  left: 15px;
}

.banner-nav.right {
  right: 15px;
}

.banner-nav:hover {
  background: rgba(255,255,255,0.3);
}

/* Optional: pause the slideshow arrows on small screens */
@media (max-width: 768px) {
  .banner-nav {
    font-size: 28px;
    padding: 6px 12px;
  }
}

/* Optional Dots Indicator (if you add later) */
.banner-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.banner-dots .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-dots .dot.active {
  background: white;
}
