/* Banner Carousel Styles */
.banner-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #e6e6fa 0%, #d8bfd8 50%, #dda0dd 100%);
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Account for fixed navbar h-20 = 5rem = 80px */
}

@media (min-width: 1024px) {
  .banner-carousel {
    padding-top: 96px; /* Account for fixed navbar lg:h-24 = 6rem = 96px */
  }
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Desktop carousel - show by default, hide on mobile */
.desktop-carousel {
  display: flex;
}

.mobile-carousel {
  display: none;
}

/* Desktop controls - show by default, hide on mobile */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.carousel-indicator.desktop-only,
.carousel-indicator.mobile-only {
  display: inline-block;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(147, 112, 219, 0.6);
  color: white;
  border: none;
  padding: 16px 12px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  font-size: 24px;
  line-height: 1;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background: rgba(138, 43, 226, 0.8);
  transform: translateY(-50%) scale(1.1);
}

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

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

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(230, 230, 250, 0.6);
  border: 2px solid rgba(147, 112, 219, 0.8);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-indicator.active {
  background: rgba(138, 43, 226, 1);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
}

/* Responsive - Switch to mobile images on smaller screens */
@media (max-width: 768px) {
  .carousel-slide img {
    object-fit: contain;
  }
  
  /* Hide desktop carousel and controls, show mobile */
  .desktop-carousel {
    display: none;
  }
  
  .mobile-carousel {
    display: flex;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block;
  }
  
  .carousel-indicator.mobile-only {
    display: inline-block;
  }
  
  .carousel-arrow {
    padding: 12px 8px;
    font-size: 20px;
  }
  
  .carousel-arrow.prev {
    left: 10px;
  }
  
  .carousel-arrow.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-arrow {
    padding: 8px 6px;
    font-size: 16px;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
  }
}
