/* Custom styles for Friese Auto and Diesel Repair */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.stat-card {
    animation: float 6s ease-in-out infinite;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 15, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 211, 153, 0.1);
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: rgba(52, 211, 153, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 211, 153, 0.5);
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #fefdf8;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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