/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Navbar transitions */
.nav-text {
  color: #0f2b4c;
}

.nav-subtext {
  color: #b8934a;
}

nav.scrolled .nav-text {
  color: #0f2b4c;
}

nav.scrolled .nav-subtext {
  color: #b8934a;
}

/* Mobile link animations */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal.revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
  img {
    transition: none;
  }
}

/* Form focus styles */
input:focus,
textarea:focus {
  outline: none;
}

/* Selection */
::selection {
  background: #c8a45a;
  color: #0f2b4c;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0f2b4c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a3d6b;
}
