/* Custom styles for Trail's End Country Cabin */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 249, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-scrolled .nav-link {
    color: rgba(33, 49, 18, 0.8) !important;
}

.nav-scrolled .nav-link:hover {
    color: rgba(63, 97, 30, 1) !important;
}

.nav-scrolled .font-serif {
    color: rgba(33, 49, 18, 1) !important;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* For reduced motion, ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(84, 128, 40, 0.15);
}

/* Subtle hover lift on cards */
.bg-white\/5 {
    backdrop-filter: blur(8px);
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(84, 128, 40, 0.2);
    color: #213112;
}
</script>
