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

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

body {
    margin: 0;
    font-family: 'Nunito', system-ui, sans-serif;
    background-color: #FFF8F5;
    color: #6e1a2d;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    backdrop-filter: none;
}

#navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(110, 26, 45, 0.08);
}

#nav-brand {
    color: #a11f36;
}

#navbar.scrolled #nav-brand {
    color: #841d32;
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    top: 72px;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
}

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

.floating-card.card-coffee {
    animation-delay: 0s;
}

.floating-card.card-cocktail {
    animation-delay: -2s;
}

.floating-card.card-people {
    animation-delay: -4s;
}

.floating-card.card-location {
    animation-delay: -1s;
}

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

.floating-card.card-people {
    animation-name: float2;
}

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

/* ===== Scroll Reveal ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ===== Nav Links Hover ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ec748e;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Menu Items ===== */
#menu ul li {
    border-color: rgba(161, 31, 54, 0.1);
}

/* ===== Buttons ===== */
a {
    text-decoration: none;
}

/* ===== Selection ===== */
::selection {
    background: #f9d0d9;
    color: #6e1a2d;
}

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

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

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

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