/**
 * Homepage v2.0 - Gallery Strip
 * @description Horizontal scrolling gallery strip with portrait tattoo cards
 * @task INK-DES-001 Homepage Sectional Restructuring
 * @version 1.0.0
 * @date 2026-03-07
 */

.gallery-strip {
  padding: 2rem 0 3rem;
  position: relative;
}

.gallery-strip-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip-scroll::-webkit-scrollbar { display: none; }

.gal-card {
  flex: 0 0 220px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-surface);
}

.gal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gal-card:hover img { transform: scale(1.05); }

.gal-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gal-card-label span {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold, 700);
  color: #fff;
  letter-spacing: 0.04em;
}

.gal-card-label svg {
  width: 16px;
  height: 16px;
  color: var(--color-brand-accent);
}

/* Gallery item (alternative class used in some templates) */
.gallery-strip .gallery-item {
  flex: 0 0 auto;
  width: 200px;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  background: var(--color-surface, #1a1a1a);
}

.gallery-strip .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.gallery-strip .gallery-item:hover img { transform: scale(1.05); }

.gallery-strip .gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Right fade edge */
.gallery-strip::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, var(--color-bg), transparent);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .gal-card { flex: 0 0 240px; }
  .gallery-strip .gallery-item { width: 160px; height: 210px; }
}
@media (min-width: 1024px) { .gal-card { flex: 0 0 260px; } }

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .gal-card img {
    transition: none;
  }
}
