/* Custom styles for Nona's Tax Services */

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

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

/* Only apply hidden state when JS adds the class and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.is-hidden {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Subtle pattern overlay for hero */
.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(15, 118, 110, 0.08) 0%, transparent 50%);
}

/* Card hover lift effect */
.group:hover .group-hover\\:translate-y-\\[-4px] {
  transform: translateY(-4px);
}

/* Mobile menu animation */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobileMenu.open {
  max-height: 400px;
}
</style>
