/* === Custom Styles for Stadium Liquor === */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Floating Card Animations === */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: -1.5s;
}

.floating-card:nth-child(3) {
    animation-delay: -3s;
}

.floating-card:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* === Navbar Scroll Effect === */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(126, 34, 206, 0.08);
}

/* === Mobile Menu === */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Menu lines animation */
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menuBtn.active .menu-line:nth-child(2) {
    transform: rotate(-45deg) translate(0px, 0px);
}

/* === Scroll Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Collection Cards Hover === */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* === Input Focus Styles === */
input:focus,
textarea:focus {
    border-bottom-color: #7e22ce !important;
}

/* === Custom Selection === */
::selection {
    background: rgba(126, 34, 206, 0.15);
    color: #581c87;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    #top {
        min-height: auto;
        padding: 120px 0 80px;
    }
}

/* === Subtle Line Decorations === */
.line-decoration {
    position: relative;
}

.line-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, #d97706, transparent);
}

/* === Image Loading Placeholder === */
img {
    background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
}

/* === Focus Visible for Accessibility === */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 4px;
    border-radius: 4px;
}

/* === Print Styles === */
@media print {
    #navbar,
    #mobileMenu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
