/* ===============================
   GALLERY STYLES
=================================*/
 /* Ensure body takes full height color Background black */
body {                                        
  margin: 0;
  background: #393737;
  font-family: Arial, sans-serif;
} 



.gallery-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: grab;
  padding: 60px 0;
}

.gallery-wrapper.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 24px;
  padding: 0 10vw;
  transition: transform 0.3s ease;
}

.gallery-item {
  flex: 0 0 70vw;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

/* ===============================
   OVERLAY STYLES
=================================*/

.featured-shoes-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.featured-shoes-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  animation: zoomIn 0.3s ease;
}

.featured-shoes-overlay.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .gallery-item {
    flex: 0 0 85vw;
  }
}
