/* Custom styles for Parts Unknown Motorcycle and Atv */

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

/* Reveal animation for scroll */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

::-webkit-scrollbar-thumb {
    background: #df5a28;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9441a;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #df5a28;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Geometric shape decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.geo-square {
    position: absolute;
    opacity: 0.1;
    transform: rotate(45deg);
}
