/* Custom styles for Double K Underground */

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

/* Scroll reveal base - content visible by default */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animated state - only applied via JS when prefers-reduced-motion is off */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  .scroll-reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(80, 7, 36, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #500724;
}
::-webkit-scrollbar-thumb {
  background: #9d174d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #be185d;
}

/* Select styling */
select option {
  background: #500724;
  color: #fbcfe8;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Geometric floating animation for hero shapes */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rotation, 12deg)); }
  50% { transform: translateY(-15px) rotate(var(--rotation, 12deg)); }
}

/* Pulse animation for dots */
@keyframes softPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
