/* Custom styles for Woodhull Herbary */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0c1f0e;
}
::-webkit-scrollbar-thumb {
    background: #2f6c37;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #458a4d;
}

/* Gold shimmer effect for special text */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Subtle pulse for the hero */
@keyframes subtle-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-leaf {
    animation: subtle-pulse 4s ease-in-out infinite;
}

/* Image hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Nav scroll effect */
#site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.3);
}

/* Button hover lift */
button:hover,
a:hover {
    transform: translateY(-1px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Reduce 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;
    }
}

/* Print styles */
@media print {
    #site-header,
    #mobile-menu,
    button,
    form {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .border-gold-400\/20 {
        border-color: ButtonBorder;
    }
    
    .text-gold-400 {
        color: Highlight;
    }
}
