/* Section wrapper */
.marquee-section {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  /* gap: 2rem; */
}

/* Outer track wrapper hiding overflow */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
}

/* Track layout */
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  padding: 0 0.75rem;
  will-change: transform;
}

/* Animations fixed at 60s */
.marquee-track-left {
  animation: scrollLeft 600s linear infinite;
}

.marquee-track-right {
  animation: scrollRight 600s linear infinite;
}

/* Hover-to-pause effect */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* Keyframes */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Photo card styling */
.photo-card {
  flex-shrink: 0;
  width: 16rem;
  height: 12rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: #f3f4f6;
  transition: transform 0.3s ease;
}

.photo-card:hover {
  transform: scale(1.03);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient fade overlays on edges */
.edge-fade {
	display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    transparent 8%,
    transparent 92%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* If your page has a dark background, adjust edge-fade gradient colors to match */