/* Custom styles for Laatsch Auto Sales and Service */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #c49a3c;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0e0e12;
}
::-webkit-scrollbar-thumb {
    background: #9f1a36;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c22747;
}

/* Selection color */
::selection {
    background: #9f1a36;
    color: #ffffff;
}

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

.gold-shimmer {
    background: linear-gradient(90deg, #e8c97a, #f5d78e, #e8c97a, #a67c2e, #e8c97a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle pulse for the location badge */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 65, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(220, 65, 94, 0); }
}

.badge-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Parallax-like subtle movement for hero background */
.hero-scene {
    will-change: transform;
}

/* Card hover glow effect */
.service-card:hover {
    box-shadow: 0 25px 60px rgba(159, 26, 54, 0.15), 0 0 0 1px rgba(196, 154, 60, 0.1);
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(8, 8, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 154, 60, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

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

/* Print styles */
@media print {
    header, .hamburger, #mobileMenu { display: none !important; }
    body { background: white; color: black; }
    .hero-scene { min-height: auto; background: white; }
}
