/* =====================================================================
   LOVELY MOVING — FULL-WIDTH MOVING PHOTO RAIL
   The rail spans the viewport; photos remain compact thumbnail cards.
   ===================================================================== */

.photo-showcase-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.photo-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.photo-showcase-head > div { max-width: 650px; }
.photo-showcase-head .section-label { margin-bottom: 14px; }

.photo-showcase-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: -.02em;
}

.photo-showcase-head > p {
  max-width: 470px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.photo-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  outline: none;
}

.photo-showcase::before,
.photo-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: min(9vw, 120px);
  pointer-events: none;
}

.photo-showcase::before {
  left: 0;
  background: linear-gradient(90deg, #fff9fb 0%, rgba(255,249,251,.92) 24%, transparent 100%);
}

.photo-showcase::after {
  right: 0;
  background: linear-gradient(270deg, #fff9fb 0%, rgba(255,249,251,.92) 24%, transparent 100%);
}

.photo-showcase-viewport {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 18px;
  cursor: grab;
  touch-action: pan-y;
}

.photo-showcase-viewport.is-dragging { cursor: grabbing; }

.photo-showcase-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding: 0 18px;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.photo-showcase-slide {
  position: relative;
  flex: 0 0 clamp(260px, 27vw, 390px);
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pink-border);
  border-radius: 22px;
  background: #eadde2;
  box-shadow: 0 12px 30px rgba(23,24,39,.08);
  user-select: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.photo-showcase-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(23,24,39,.13);
}

.photo-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.photo-showcase-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(10,7,8,.68) 100%);
  pointer-events: none;
}

.photo-showcase-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.photo-showcase-caption span {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(20,12,15,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.photo-showcase-caption strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.12;
}

@media (prefers-reduced-motion: reduce) {
  .photo-showcase-slide { transition: none; }
}

@media (max-width: 991.98px) {
  .photo-showcase-slide { flex-basis: clamp(250px, 42vw, 330px); }
}

@media (max-width: 767.98px) {
  .photo-showcase-section { padding: 58px 0 64px; }

  .photo-showcase-head {
    display: block;
    margin-bottom: 20px;
  }

  .photo-showcase-head > p { margin-top: 11px; }

  .photo-showcase::before,
  .photo-showcase::after { width: 24px; }

  .photo-showcase-track {
    gap: 12px;
    padding: 0 14px;
  }

  .photo-showcase-slide {
    flex-basis: min(78vw, 300px);
    border-radius: 18px;
  }

  .photo-showcase-caption {
    left: 14px;
    right: 14px;
    bottom: 13px;
  }
}
