/* Custom styles for Cliff Hangers Lounge */

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

/* Navbar transition */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .font-display {
    color: #1C1C1C !important;
}

.nav-scrolled a:not(.bg-coral-500) {
    color: #404040 !important;
}

/* Mobile menu animation */
.mobile-menu-open #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #line2 {
    opacity: 0;
}

.mobile-menu-open #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

/* Menu card hover effect */
.menu-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 91, 0.3);
}

/* Geometric shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 3rem !important;
    }
    
    #hero h1 {
        font-size: 4rem !important;
    }
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #FF6B5B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

img[src] {
    animation: none;
    background: none;
}
