/* Custom styles for Prairie Outfitters */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff8f6;
}
::-webkit-scrollbar-thumb {
    background: #d4a0a0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c1d1d;
}

/* Menu tab active state */
.menu-tab {
    color: #7c1d1d;
    background: transparent;
}
.menu-tab.active {
    background: #6d1b1b;
    color: white;
    box-shadow: 0 4px 12px rgba(109, 27, 27, 0.25);
}
.menu-tab:not(.active):hover {
    background: #fce7e7;
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(255, 248, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(109, 27, 27, 0.08);
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .animate-float, .animate-float-delayed, .animate-float-slow {
        animation: none !important;
    }
}

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

/* Selection */
::selection {
    background: #ffd4d4;
    color: #5a1515;
}
