/* Custom Styles for Waylon's Plant Farm */

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

/* Navbar Scroll Effect */
#navbar {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(250, 250, 247, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gallery Item Hover */
.gallery-item {
    overflow: hidden;
}

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

#mobile-menu.open {
    max-height: 300px;
    padding-top: 1rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5bb984;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection Color */
::selection {
    background: #c3ebd1;
    color: #165a38;
}

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

/* Print Styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
