/* Custom styles for Pro Service Auto Care */

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

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

::-webkit-scrollbar-track {
    background: #faf8f3;
}

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

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

/* Selection color */
::selection {
    background: #d66f4e;
    color: white;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(214, 111, 78, 0.1);
}

.navbar-scrolled .text-current {
    color: #1a1a1a !important;
}

/* Hero parallax effect */
.hero-bg {
    will-change: transform;
}

/* Service card hover effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

/* Form input focus animation */
input:focus,
textarea:focus,
select:focus {
    border-bottom-color: #d66f4e !important;
}

/* Mobile menu animations */
.mobile-menu-open #menuLine1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #menuLine2 {
    opacity: 0;
}

.mobile-menu-open #menuLine3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

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

/* Print styles */
@media print {
    nav,
    .hero-bg,
    #contactForm,
    iframe {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
