/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Floating Cards Animation ===== */
@media (prefers-reduced-motion: no-preference) {
    .floating-card-1 {
        animation: float1 6s ease-in-out infinite;
    }
    
    .floating-card-2 {
        animation: float2 7s ease-in-out infinite;
    }
    
    .floating-card-3 {
        animation: float3 5s ease-in-out infinite;
    }
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
}

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

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(26, 13, 28, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(141, 84, 160, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .logo-text {
    color: #fde68a !important;
}

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

::-webkit-scrollbar-track {
    background: #1a0d1c;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6d3a7d;
}

/* ===== Selection ===== */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #f7e6ff;
}

/* ===== Button Focus ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Mobile Menu Transition ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* ===== Gold Shimmer on Hover ===== */
a[href="#flavors"]:hover,
a[href="#lunch"]:hover,
a[href="#about"]:hover,
a[href="#visit"]:hover {
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* ===== Image Hover Effects ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== Smooth Card Transitions ===== */
.rounded-2xl {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Print Styles ===== */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    nav, .floating-card-1, .floating-card-2, .floating-card-3 {
        display: none !important;
    }
}
