/* Custom styles for F Troop CPO Cantina */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Subtle entrance animations for below-the-fold sections */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure all text is readable */
.bg-terracotta-500 a,
.bg-terracotta-600 a,
.bg-terracotta-700 a {
  color: inherit;
}

/* Navbar scroll state */
header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5e8;
}
::-webkit-scrollbar-thumb {
  background: #e36f4e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9441c;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #d95429;
  outline-offset: 2px;
  border-radius: 4px;
}
