/* Custom styles for High House Marijuana Dispensary */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8ef;
}
::-webkit-scrollbar-thumb {
    background: #C0603A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a34e2e;
}

/* Hero geometric animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.hero-geo {
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-geo:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.hero-geo:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 12s;
}

.hero-geo:nth-child(4) {
    animation-delay: -1s;
    animation-duration: 9s;
}

.hero-geo:nth-child(5) {
    animation-delay: -3s;
    animation-duration: 11s;
}

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

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

/* Product card hover */
.product-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(192, 96, 58, 0.1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu open state */
.mobile-menu-open #mobileMenu {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

/* Active nav link */
.nav-link-active {
    color: #C0603A;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #C0603A;
    color: #fefdfb;
}
