/* Custom styles for Bōdies Exhaust & Auto Service */

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

/* Nav scroll state */
.nav-scrolled {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 168, 20, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transitions */
.mobile-menu-open {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Scroll reveal base — always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
}

/* Scroll reveal with JS enhancement (progressive) */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* Selection color */
::selection {
  background: rgba(232, 168, 20, 0.3);
  color: #fff;
}

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

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

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

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

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

/* Mobile link transition */
.mobile-link {
  display: block;
}
