/* Custom styles for Southside Custom Express */

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

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

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

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

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

/* Selection color */
::selection {
    background: #5c8230;
    color: #faf9f6;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 64, 27, 0.08);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

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

/* Print styles */
@media print {
    nav, #contactForm, #successMessage, .group-hover\:opacity-100 {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
    }
}
