/* Custom styles for WCJ Industrial Cleaning */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ade80, #fbbf24);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #22c55e, #f59e0b);
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #fff;
}

/* Focus styles */
*:focus {
    outline: none;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

button:active,
a:active {
    transform: translateY(0);
}

/* Card hover effects */
.service-card:hover {
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

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

/* Print styles */
@media print {
    .float-animation,
    .pulse-glow,
    .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
