/* Custom styles for Lakeside Campground */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Navbar scroll state */
nav.scrolled {
  background: rgba(254, 252, 251, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .font-display,
nav.scrolled .text-bark-900 {
  color: #2b170f !important;
}

nav.scrolled a:not(.bg-burgundy) {
  color: #76452f !important;
}

nav.scrolled a:not(.bg-burgundy):hover {
  color: #7e1f1f !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf6f0;
}

::-webkit-scrollbar-thumb {
  background: #cba88a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9d6644;
}

/* Selection color */
::selection {
  background: #f9d8cf;
  color: #4a0f0f;
}
