/* Custom styles for Revival Detailing Studio */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9d0208;
}

/* Selection color */
::selection {
    background: #780000;
    color: #F8E1E7;
}

/* Gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F8E1E7 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect */
.glow-burgundy {
    box-shadow: 0 0 20px rgba(120, 0, 0, 0.3);
}

/* Fade animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Button focus states */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    img {
        transition: none;
    }
}
