/* Custom styles for Ray Ray's Little Rascals */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Floating card animations */
.floating-card {
  animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: -1.3s;
  animation-duration: 4.5s;
}

.floating-card:nth-child(3) {
  animation-delay: -2.6s;
  animation-duration: 3.8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(253, 251, 247, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(196, 101, 58, 0.1);
}

/* Mobile menu transitions */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faf5ec;
}

::-webkit-scrollbar-thumb {
  background: #e8b4a0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c4653a;
}

/* Selection color */
::selection {
  background: #e8b4a0;
  color: #4e281a;
}
