/* Custom styles for Dan's Auto Repair */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #16203d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Selection color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(10, 15, 31, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold accent hover effects */
.gold-accent:hover {
    color: #d4a574 !important;
}

/* Button hover lift effect */
.btn-hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.4s ease;
}

.img-zoom:hover {
    transform: scale(1.02);
}
