/* Custom styles for Trailhead Bed & Breakfast */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #171a21;
}
::-webkit-scrollbar-thumb {
    background: #3f4453;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #525868;
}

/* Selection color */
::selection {
    background: #F97316;
    color: #fff;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 2px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 15, 20, 0.97) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

/* Hero parallax feel */
#top {
    scroll-snap-align: start;
}

/* Smooth section transitions */
section {
    scroll-snap-align: start;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

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