/* ===== GALLERY — FLOATING PHOTOS ===== */
#gallery-canvas {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 60px);
  overflow: hidden;
}

.gallery-float-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.gallery-photo {
  position: absolute;
  will-change: transform;
  cursor: grab;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-photo:hover {
  transform: scale(1.03);
  z-index: 10;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

.gallery-photo:hover img {
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.16);
}

/* Drift animations — gentle float, no rotation */
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -10px); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 7px); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, 8px); }
}

@keyframes drift4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5px, -6px); }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-float-container {
    height: 400vh;
  }

  .gallery-photo img {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  }
}
