/* Base styles and custom utilities */
html {
    scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f9f7f0;
}
::-webkit-scrollbar-thumb {
    background: #9dc59d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #71a871;
}

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal-content {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

/* Ensure content is always visible by default (progressive enhancement) */
.reveal-content {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(45, 71, 41, 0.1);
}

/* Hero text glow effect */
.hero-glow {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

/* Product card hover lift */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Button press effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #71a871;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure proper image loading */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, .animate-bounce {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
