/* === Reset & Base === */
*, *::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;
}

::selection {
    background: rgba(149, 212, 171, 0.3);
    color: #F2F9F5;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #41A162;
    color: #040912;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #63BF82;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(65, 161, 98, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: #F2F9F5;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(149, 212, 171, 0.5);
    color: #95D4AB;
    background: rgba(149, 212, 171, 0.05);
    transform: translateY(-2px);
}

/* === Navbar === */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(4, 9, 18, 0.92);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.card-community {
    animation-delay: -4s;
}

.card-hours {
    animation-delay: -1s;
}

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

/* === Reveal Animations === */
.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);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* === Mobile Menu === */
.mobile-nav-link {
    font-family: 'Playfair Display', serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(149, 212, 171, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(149, 212, 171, 0.5);
}

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

/* === Mobile Menu Active State === */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu-btn[aria-expanded="true"] .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

#mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
}
