/* Custom styles for Dirty Joe's North */

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

/* Floating animation for hero cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Scroll reveal — progressive enhancement */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(91, 44, 111, 0.15);
}

/* Custom selection color */
::selection {
  background-color: #F59E0B;
  color: #5B2C6F;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile menu transitions */
#mobileMenu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
