/* Custom styles for Stump Busters */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e293b;
}
::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #fb923c;
}

/* Selection color */
::selection {
    background: #f97316;
    color: white;
}

/* Navbar transition */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* Button hover effects */
a, button {
    transition: all 0.2s ease;
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group:hover img {
        transform: none;
    }
    * {
        transition: none !important;
    }
}

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