/* Additions for the ASP.NET port. main.css is the compiled Tailwind build from the original site. */

/* Scroll reveal (replaces framer-motion <Reveal>). Only hidden when JS is running. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Page hero entrance */
@keyframes orv-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes orv-line-up { from { transform: translateY(112%); } to { transform: translateY(0); } }
.hero-enter { animation: orv-fade-up .5s ease-out both; }
.fade-up { animation: orv-fade-up .8s cubic-bezier(.22,1,.36,1) both; }
.mask-line > span { animation: orv-line-up 1s cubic-bezier(.22,1,.36,1) both; }

/* Home hero parallax */
.hero-media { transform: scale(1.08); transform-origin: center; will-change: transform; }

/* Spinner for submit buttons */
.btn-busy .lucide { animation: spin 1s linear infinite; }

/* Field validation */
.field.input-validation-error { border-color: #dc2626; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .hero-enter, .fade-up, .mask-line > span { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Admin */
.admin-tab-active { background: #0b192c; color: #faf9f5; border-color: #0b192c; }
