/* Dezign Oxigen — Scroll & Gallery Transition Styles */

/* Prevents flash-of-unstyled-content before GSAP sets initial states */
.gsap-reveal {
  will-change: transform, opacity;
}

.gsap-parallax {
  will-change: transform;
}

/* Gallery item structure */
.go-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.go-gallery-image {
  overflow: hidden;
}

.go-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.go-gallery-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  opacity: 0;
  transform: translateY(20px);
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Subtle gradient so captions stay legible on light images */
.go-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 98, 159, 0.35) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.go-gallery-item:hover::after {
  opacity: 1;
}
