/* Custom Styles for High Flyer Dispensary */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #022C22;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
}

#navbar.scrolled .logo-text {
    color: #064E3B;
}

#navbar.scrolled nav a {
    color: #064E3B;
}

#navbar.scrolled nav a:hover {
    color: #047857;
}

/* Mobile menu animation */
#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #047857;
    color: #FFFBF5;
}

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

/* Subtle card hover lift */
.reveal:hover {
    transform: translateY(-4px);
}
