/* Custom styles for Zeddie's Party Shop & Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #9c1c3b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #801833;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .font-display,
.nav-scrolled span.text-burgundy-700 {
    color: #9c1c3b !important;
}

.nav-scrolled .text-neutral-500 {
    color: #6b7280 !important;
}

/* Hero image grid animation on scroll */
@media (prefers-reduced-motion: no-preference) {
    .hero-img {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .hero-img.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #9c1c3b;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6c162c;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.75rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
