/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 247, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.08);
}

/* ── Floating Cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

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

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

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

/* ── Menu Cards ── */
.menu-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Gallery ── */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* ── Nav Bars Animation ── */
#mobile-toggle.active .nav-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .nav-bar:nth-child(2) {
    opacity: 0;
}

#mobile-toggle.active .nav-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* ── Custom Selection ── */
::selection {
    background: #FF6B4A;
    color: white;
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .font-serif {
        font-family: 'Playfair Display', Georgia, serif;
    }
}
