/* Custom styles for Bar Willi */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f2;
}
::-webkit-scrollbar-thumb {
    background: #c45050;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a83d3d;
}

/* Selection color */
::selection {
    background: #c45050;
    color: white;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(140, 47, 47, 0.1);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Hero image hover */
.hero-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-image:hover {
    transform: scale(1.02);
}

/* Floating card animation */
.floating-card {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Menu card hover */
.menu-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.menu-card:hover {
    transform: translateY(-8px);
}

/* Button pulse on hover */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Mobile menu transitions */
.mobile-menu-open {
    overflow: hidden;
}

/* Image lazy load fade */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu-btn, #mobile-menu {
        display: none !important;
    }
    body {
        color: #000;
        background: white;
    }
}
