/* Custom styles for Hartley Garage */

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

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

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

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

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-open {
    animation: slideDown 0.3s ease-out;
}

/* Hover effects for cards */
.group:hover .group-hover\:bg-coral-500\/20 {
    background-color: rgba(232, 93, 74, 0.2);
}

/* Button hover lift effect */
button, a {
    transition: all 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .font-serif {
        color: black;
    }
}
