/* Smooth scroll for the whole page */
html {
  scroll-behavior: smooth;
}

/* Fun subtle background texture */
body {
  background-image: radial-gradient(circle at 1px 1px, oklch(0.6 0 0 / 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Tile bounce animation */
@keyframes tile-pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.grid > button {
  animation: tile-pop 0.4s ease-out both;
}

.grid > button:nth-child(1) { animation-delay: 0.05s; }
.grid > button:nth-child(2) { animation-delay: 0.1s; }
.grid > button:nth-child(3) { animation-delay: 0.15s; }
.grid > button:nth-child(4) { animation-delay: 0.2s; }
.grid > button:nth-child(5) { animation-delay: 0.25s; }
.grid > button:nth-child(6) { animation-delay: 0.3s; }

/* Ken Burns effect — gentle slow zoom on slideshow photos */
@keyframes ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Smooth entrance for Momma Bear section */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slideshow-photo img {
  will-change: transform;
}
