/* AutoRx Custom Styles
   Only put things here that Tailwind CDN cannot handle inline.
   ---------------------------------------------------------- */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Rubik:wght@300;400;500;600&display=swap');

/* Base font application */
body {
  font-family: 'Rubik', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Skip navigation link (ADA) */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: #0EA5E9;
  color: #fff;
  padding: 12px 24px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Navbar scroll effect */
#main-nav.scrolled {
  background-color: #0F172A;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Focus ring (ADA keyboard nav) */
:focus-visible {
  outline: 2px solid #0EA5E9;
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* FAQ accordion animation */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}

/* Mobile nav drawer */
#nav-drawer {
  transition: transform 0.3s ease;
}
