/* Image Slider Section Styles */
.image-slider-section {
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 0;
  margin: 0;
}

.image-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.image-slider-track {
  display: flex;
  animation: slideLeft 30s linear infinite;
  width: max-content;
}

.image-slider-item {
  flex-shrink: 0;
  width: 40vw; /* 2.5 columns on desktop */
  height: auto;
  display: block;
  text-decoration: none;
  color: inherit;
}

.image-slider-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.slider-placeholder {
  width: 100%;
  height: 200px;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-align: center;
}

/* Slider Animation */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .image-slider-item {
    width: 100vw; /* 1 column on mobile */
  }
  
  .slider-placeholder {
    height: 150px;
  }
  
  .slider-placeholder svg {
    width: 3rem;
    height: 3rem;
  }
  
  .slider-placeholder p {
    font-size: 0.875rem;
  }
}

/* Pause animation on hover */
.image-slider-section:hover .image-slider-track {
  animation-play-state: paused;
}
