/* Custom styles for South Beach Beer Garden */

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

/* Base font settings */
body {
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 242, 245, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(120, 31, 55, 0.08);
}

.nav-scrolled .nav-link {
    color: #781f37 !important;
}

.nav-scrolled .nav-link:hover {
    color: #961c3a !important;
}

.nav-scrolled .font-display {
    color: #781f37 !important;
}

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Gallery scroll animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    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; }

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #b82847;
}

/* Mobile link close on click */
.mobile-link:active {
    opacity: 0.7;
}

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

::-webkit-scrollbar-track {
    background: #fdf2f5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e96e8e;
}

/* Selection color */
::selection {
    background: #f9d0da;
    color: #781f37;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee,
    .animate-scroll {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

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

/* Image aspect ratio utilities */
.aspect-card {
    aspect-ratio: 4/5;
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(120, 31, 55, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}
