/* Custom styles — beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Mobile menu transition */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.open {
  max-height: 400px;
}

/* Subtle pattern overlay for hero */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(240, 96, 32, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(240, 96, 32, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1f2026;
}
::-webkit-scrollbar-thumb {
  background: #4f4f5a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6e6e7a;
}

/* Input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #f7f7f8 inset !important;
  -webkit-text-fill-color: #1f2026 !important;
}
