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

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

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

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

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

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-scrolled .nav-text {
    color: #0d3311;
}

/* Selection Color */
::selection {
    background-color: #c5e1a5;
    color: #0d3311;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8bc34a;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transition */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Service Card Hover Glow */
.group:hover .rounded-2xl {
    box-shadow: 0 20px 60px -15px rgba(46, 125, 50, 0.15);
}

/* Focus Ring for Accessibility */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Print Styles */
@media print {
    nav, #contactForm, .animate-float, .animate-float-delay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
