/* Custom styles for Sparkle Express Car Wash */

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

/* Selection color */
::selection {
    background-color: #C0593A;
    color: #fefdf8;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #C0593A;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobileMenu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobileMenu.open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

/* Navbar scrolled state */
nav.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 0 20px rgba(192, 89, 58, 0.3);
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8e8;
}
::-webkit-scrollbar-thumb {
    background: #C8A96E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C0593A;
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Geometric decorative elements */
.geometric-accent {
    position: absolute;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, .reveal, #contactForm, #successMsg {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
