/* Custom styles for Little Jimmy's Bar */

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Scroll reveal base - content always visible by default */
.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 */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-blur-lg !important;
  box-shadow: 0 1px 20px rgba(10, 37, 64, 0.08);
}

.nav-scrolled .nav-logo-text {
  color: #0a2540 !important;
}

.nav-scrolled .nav-link {
  color: #334e68 !important;
}

.nav-scrolled .mobile-link {
  color: #334e68 !important;
}

/* Scroll indicator animation */
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.animate-scroll-line {
  animation: scrollLine 1.2s ease-in-out infinite;
}

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.25s ease;
}

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

/* Subtle hover for image cards */
.group:hover .group-hover\:scale-105 {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom selection color */
::selection {
  background: #7ddfc3;
  color: #0a2540;
}

/* Form styles */
input, textarea {
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
}

/* Smooth image loading */
img {
  image-rendering: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-scroll-line {
    animation: none;
  }

  .group:hover .group-hover\:scale-105 {
    transition: none;
  }
}
