/* Custom styles for Rae Auto Sales */

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

/* Prevent flash of hidden content - all content visible by default */
body {
    opacity: 1;
}

/* Gold shimmer animation for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.5s ease, 
                background 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    background: rgba(212, 175, 55, 0.03);
}

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
}

/* Selection color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #F5F5DC;
}
