/* Custom styles for Economy Cut Lawn Care */

:root {
    --forest-50: #f2f7f2;
    --forest-100: #e3efe3;
    --forest-500: #4f824f;
    --forest-700: #335233;
    --forest-900: #223622;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
    100% { transform: translateY(0px) rotate(45deg); }
}

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

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Form Focus Styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(79, 130, 79, 0.2);
}

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

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

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Button Hover Effects */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background-color: #4f824f;
    color: white;
}
