/* Custom styles for Jake's Autobody */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #517c58;
}

/* Navbar scroll effect */
.navbar-scrolled #nav-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1rem;
}

/* Smooth image loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Subtle hover lift for cards */
.group {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group:hover {
    transform: translateY(-4px);
}

/* Mobile menu animation */
#mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(81, 124, 88, 0.2);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Asymmetric grid adjustments */
@media (max-width: 1023px) {
    .lg\:col-span-5 {
        order: 2;
    }
    
    .lg\:col-span-7 {
        order: 1;
    }
}
