.gallery-clean {
  background: rgba(18, 18, 18, 0.94);
  padding: 80px 0;
}

.gallery-clean .section-title {
  color: #f5f5f5;
  text-align: center;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 60px;
  line-height: 1.3;
}

/* === GALLERY GRID with auto-expanding images === */
.gallery-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 2400px;
  margin: 0 auto;
}

/* BIGGER IMAGES */
.gallery-clean .image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  text-align: center;
  background: #000;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

/* === SWIPE HINT ARROW  === */
.swipe-hint {
  display: none;
}

/* ======== RESPONSIVE STYLES  ======== */
@media (max-width: 1024px) {
  .gallery-pairs {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .gallery-clean {
    padding: 50px 0;
  }

  .label {
    font-size: 0.75rem;
  }

  .gallery-clean .image-wrapper img {
    height: auto;
  }
}

@media (max-width: 600px) {
  .gallery-pairs {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-clean .image-wrapper img {
    height: auto;
  }
}

/* Swipe hint animation */
@media (max-width: 1023px) {
  .swipe-hint {
    display: block;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    animation: tapPulse 2s ease-in-out 1.5s 1 forwards;
    pointer-events: none;
    z-index: 10;
  }

  @keyframes tapPulse {
    0% {
      opacity: 0;
      transform: translateY(-50%) scale(0.95);
    }
    20% {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
    50% {
      opacity: 0.9;
      transform: translateY(-50%) scale(1.1);
    }
    100% {
      opacity: 0;
      transform: translateY(-50%) scale(1);
    }
  }
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  .section-title{
      color: #f5f5f5;
      text-align: center;
      font-size: 2.2rem !important;
      font-weight: 700;
      letter-spacing: 0.5px;
      margin-top: -80px;
      line-height: 1.3;
  }
}
