/* Custom Styles for Efren Tire Service */

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

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

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

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

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

/* Selection color */
::selection {
    background: #C4704B;
    color: #FDFCFA;
}

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

/* Hero animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

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

/* Button focus states */
button:focus, a:focus {
    outline: 2px solid #C4704B;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .float-animation {
        animation: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .cta-section, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
