/* Homepage photo carousel: big rounded cards, snap scrolling, dots, slow autoplay. */
.gfh-gallery { --cw: min(70vw, 300px); position: relative; overflow: hidden; background: #0c0a0d; padding: 34px 0 30px; }
.gfh-gallery[hidden] { display: none; }
.gfh-gal-track {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; padding: 6px calc(50% - var(--cw) / 2) 14px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.gfh-gal-track::-webkit-scrollbar { display: none; }
.gfh-gal-item {
  flex: 0 0 var(--cw); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always;
  background: #1a1a1d; cursor: zoom-in; opacity: .55; transform: scale(.93);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease, box-shadow .45s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.gfh-gal-item.on { opacity: 1; transform: scale(1); box-shadow: 0 14px 40px rgba(245,125,175,.22), 0 6px 22px rgba(0,0,0,.5); }
.gfh-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.gfh-gal-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.gfh-gal-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(243,238,239,.28); cursor: pointer; transition: width .3s ease, background .3s ease; }
.gfh-gal-dots button.on { width: 24px; background: #f57daf; }
.gfh-gal-arrow { display: none; position: absolute; top: calc(50% - 20px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,238,239,.3); background: rgba(12,10,13,.7); color: #f3eeef; font-size: 22px; cursor: pointer; z-index: 3; }
.gfh-gal-arrow:hover { background: #f57daf; color: #0c0a0d; border-color: #f57daf; }
.gfh-gal-arrow.prev { left: 24px; }
.gfh-gal-arrow.next { right: 24px; }
@media (min-width: 700px) { .gfh-gallery { --cw: 320px; padding: 44px 0 38px; } .gfh-gal-arrow { display: block; } }
@media (prefers-reduced-motion: reduce) { .gfh-gal-item { transition: none; } }

/* Tap a picture: shown large */
.gfh-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(8,6,9,0.92); opacity: 0; pointer-events: none; transition: opacity .22s ease; cursor: zoom-out; }
.gfh-lb.on { opacity: 1; pointer-events: auto; }
.gfh-lb img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 50px rgba(0,0,0,.6); transform: scale(.92); transition: transform .25s ease; }
.gfh-lb.on img { transform: scale(1); }
.gfh-lb-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(243,238,239,.3); background: rgba(12,10,13,.6); color: #f3eeef; font-size: 18px; cursor: pointer; }
