/* Custom styles for Chi Chi Ktown */

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

/* Floating animations for hero decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(12deg); }
  50% { transform: translateY(-20px) rotate(12deg); }
}

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

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

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

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

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

/* Reveal animations — progressive enhancement, only active with JS */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-float,
  .animate-float-delay,
  .animate-float-slow {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Scroll-reveal classes applied by JS */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
}

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

/* Navbar glass effect when scrolled */
.navbar-scrolled {
  background: rgba(45, 16, 40, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}
