/* Willis Larson Produce — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #d69e2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e9c46a;
}

/* Navbar active state */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero text shimmer */
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse animation for dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button hover lift */
button:hover, a:hover {
    transform: translateY(-1px);
}
button:active, a:active {
    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); }
}

/* Card hover effects */
.group:hover .group-hover\:bg-gold-500\/30 {
    background-color: rgba(214, 158, 46, 0.3);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #d69e2e;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    #navbar, #mobileMenu, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
