/* Custom styles for G1 Mobile Auto Detail */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c5a028;
}

/* Selection color */
::selection {
    background: #d4af37;
    color: #0a192f;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-on-scroll.delay-100 { transition-delay: 100ms; }
.animate-on-scroll.delay-200 { transition-delay: 200ms; }
.animate-on-scroll.delay-300 { transition-delay: 300ms; }
.animate-on-scroll.delay-400 { transition-delay: 400ms; }
.animate-on-scroll.delay-500 { transition-delay: 500ms; }

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.group:hover img {
    transform: scale(1.1);
}

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

/* Mobile menu transition */
#mobile-menu {
    animation: fadeIn 0.3s ease;
}

/* Service card hover glow */
.group:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #112240 inset !important;
    -webkit-text-fill-color: #fff !important;
}
