/* Custom styles for Arena Wine & Liquor Depot */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a1e;
}

::-webkit-scrollbar-thumb {
    background: #4a1c52;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b2a73;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f5d77a;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(26, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

/* Mobile menu animations */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

#mobile-menu.active .mobile-link:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { animation-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { animation-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu button animation */
#mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Hero section parallax */
#hero {
    perspective: 1000px;
}

#hero img {
    will-change: transform;
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold shimmer effect on hover */
.group:hover .group-hover\:text-amber-400 {
    transition: color 0.3s ease;
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Input focus glow */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.3), 0 4px 20px rgba(212, 160, 23, 0.1);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
