/* Custom styles for Piercy Motors */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #36683e;
}

/* Selection color */
::selection {
    background-color: #c6dfca;
    color: #0c1c10;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for vehicle cards */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

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

/* Print styles */
@media print {
    #main-nav,
    #mobile-menu,
    .bg-forest-900,
    .bg-forest-950 {
        background: white !important;
        color: black !important;
    }
    
    a {
        text-decoration: underline;
    }
}
