/* Slider Components CSS */

/* React Slick Carousel Override - Fix for owl-carousel display: none */
.slick-slider.owl-carousel {
  display: block !important;
}

.slick-list {
  overflow: hidden;
}

.slick-track {
  display: flex;
  align-items: stretch;
}

.slick-slide {
  height: auto;
}

.slick-slide > div {
  height: 100%;
}

/* Top Experience Section Styles */
.top-experience {
  padding: 6.25rem 0 4rem;
  position: relative;
  z-index: 5;
  background: #fff;
}

.top-experience__box {
  margin-bottom: 2rem;
  margin-left: -0.9375rem;
  margin-right: -0.9375rem;
  position: relative;
  z-index: 10;
}

.top-experience__box .item {
  padding: 0 0.9375rem;
  padding-top: 1rem;
}

/* OWL Carousel Button Styling */
.top-experience .owl-theme .owl-controls .owl-buttons div {
  font-size: 1rem;
  color: #888;
  line-height: 2.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.top-experience .owl-theme .owl-controls .owl-buttons div:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.top-experience .owl-theme .owl-controls .owl-buttons .owl-prev {
  margin-right: 0.5rem;
}

.top-experience .owl-theme .owl-controls .owl-buttons .owl-next {
  margin-left: 0.5rem;
}

/* Banner Slider Styles */
.discover-banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.discover-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.discover-banner-slide.active {
  opacity: 1;
}

.discover-banner-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.discover-banner-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.discover-banner-dot.active {
  background: white;
  transform: scale(1.2);
}

.discover-banner-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Hero Banner Slider Styles */
.hero-banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner-slide.active {
  opacity: 1;
}

.hero-banner-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-banner-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-banner-dot.active {
  background: white;
  transform: scale(1.2);
}

.hero-banner-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Slider Navigation Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-nav-prev {
  left: 1rem;
}

.slider-nav-next {
  right: 1rem;
}

.slider-nav svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-title);
}

/* Responsive Slider Controls */
@media (max-width: 1024px) {
  .top-experience__box .item {
    padding: 0 0.75rem;
    padding-top: 0.75rem;
  }
  
  .slider-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .slider-nav svg {
    width: 1rem;
    height: 1rem;
  }
}

@media (max-width: 768px) {
  .top-experience {
    padding: 4rem 0 2rem;
  }
  
  .top-experience__box {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  
  .top-experience__box .item {
    padding: 0 0.5rem;
    padding-top: 0.5rem;
  }
  
  .slider-nav {
    display: none; /* Hide navigation on mobile */
  }
  
  .discover-banner-dots {
    bottom: 1rem;
  }
  
  .discover-banner-dot {
    width: 0.5rem;
    height: 0.5rem;
  }
}

/* Loading State for Sliders */
.slider-loading {
  display: grid;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.slider-loading-item {
  flex: 0 0 300px;
  height: 200px;
  background: #f3f4f6;
  border-radius: 0.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Slider with Custom Dots */
.slider-with-dots {
  position: relative;
  padding-bottom: 3rem;
}

.slider-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: #9ca3af;
}

.slider-dot.active:hover {
  background: var(--color-primary-hover);
}