/* Custom styles for Extra Value Automotive */

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Navbar scroll effect */
.nav-header.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background: #c72747;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a31a33;
}

/* Selection color */
::selection {
    background: rgba(123, 45, 59, 0.15);
    color: #7B2D3B;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Image loading placeholder */
img {
    background-color: #f0f0f0;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

/* Map container hover */
.rounded-2xl.overflow-hidden.shadow-lg:hover iframe {
    filter: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
