#navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

#navbar {
    z-index: 9999;
}

.navbar-brand-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.navbar-desktop-link {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.navbar-mobile-link {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.navbar-mobile-link:last-child {
    border-bottom: none;
}

#mobile-menu-toggle {
    position: relative;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (min-width: 768px) {
    #mobile-menu-toggle {
        display: none;
    }
}

#mobile-menu {
    z-index: 10000;
    pointer-events: auto;
    display: none;
    background: linear-gradient(180deg, rgba(253, 252, 249, 0.96) 0%, rgba(253, 252, 249, 0.9) 100%);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#mobile-menu-backdrop {
    display: none;
}

@media (max-width: 767px) {
    .navbar-brand-text {
        font-size: 0.9rem;
    }

    #mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        top: 72px;
        background: rgba(0, 0, 0, 0.14);
        backdrop-filter: blur(2px);
        z-index: 9999;
        pointer-events: auto;
    }

    #mobile-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        z-index: 10000;
        border-radius: 0 0 20px 20px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #mobile-menu {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

nav.scrolled {
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}