/* Scroll reveal base — content is visible by default, JS adds animation */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.is-revealing {
    opacity: 1;
    transform: translateY(0);
  }
  /* Initial state set by JS for non-reduced-motion users */
  .scroll-reveal.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d1626;
}
::-webkit-scrollbar-thumb {
  background: #1a2744;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e6a817;
}

/* Mobile menu animation */
#mobileMenu {
  animation: menuSlideIn 0.3s ease forwards;
}
@keyframes menuSlideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Selection color */
::selection {
  background: rgba(230, 168, 23, 0.3);
  color: #fff;
}
</style>
