/* Custom styles for Kuz Landscaping Co. */

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

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

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

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

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

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

/* Floating animations for hero cards */
.absolute.top-12.left-0 {
    animation: float 4s ease-in-out infinite;
}

.absolute.bottom-24.right-8 {
    animation: float-reverse 4s ease-in-out infinite;
}

.absolute.bottom-0.left-8 {
    animation: float 5s ease-in-out infinite;
}

/* Hover effects for service cards */
.group:hover {
    transform: translateY(-4px);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 97, 46, 0.2);
}

/* Reduced motion preference */
@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;
    }
}

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

#mobile-menu.active {
    max-height: 400px;
}

/* Gallery hover effect */
.group img {
    transition: transform 0.5s ease;
}

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

/* Gradient text effect (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #d4612e 0%, #e67d4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
