/* ============================================================
   Fulgira Global Navigation — Luxury Dark/Gold Aesthetic
   ============================================================ */

.fulgira-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.07);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.fulgira-nav.scrolled {
    background: rgba(10, 10, 15, 0.96);
    border-bottom-color: rgba(212, 165, 116, 0.12);
}

/* Wordmark */
.nav-wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #faf8f5;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease;
}

.nav-wordmark:hover {
    color: #d4a574;
}

/* Desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #c9b8a8;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: #d4a574;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d4a574;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Pleiades Resonance collection — silver/moonstone accent */
.nav-links a.nav-link-pleiades {
    color: #a8bfd0;
}

.nav-links a.nav-link-pleiades::after {
    background: #b8d0e4;
}

.nav-links a.nav-link-pleiades:hover,
.nav-links a.nav-link-pleiades.active {
    color: #d0e8f4;
}

/* Mobile — moonstone override */
.nav-mobile-menu a.nav-link-pleiades {
    color: #c0d8ec;
}

.nav-mobile-menu a.nav-link-pleiades:hover {
    color: #e0f0fc;
}

/* Right side group: cart + hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart icon */
.nav-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9b8a8;
    text-decoration: none;
    padding: 6px;
    transition: color 0.3s ease;
}

.nav-cart-icon:hover {
    color: #d4a574;
}

.nav-cart-icon svg {
    display: block;
}

/* Cart badge */
.nav-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    background: #d4a574;
    color: #0a0a0f;
    font-family: 'Outfit', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.nav-cart-badge.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hamburger button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 910;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: #c9b8a8;
    transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease;
    transform-origin: center;
}

.nav-hamburger:hover span {
    background: #d4a574;
}

/* Open state */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: #d4a574;
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: #d4a574;
}

/* Mobile overlay menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    z-index: 899;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

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

.nav-mobile-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f0ebe4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-mobile-menu a:hover {
    color: #d4a574;
}

/* Cart link in mobile menu */
.nav-cart-mobile-link {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem !important;
    letter-spacing: 0.2em !important;
    position: relative;
}

.nav-cart-badge-mobile {
    min-width: 20px;
    height: 20px;
    background: #d4a574;
    color: #0a0a0f;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav-cart-badge-mobile.visible {
    display: flex;
}

/* Mobile divider lines */
.nav-mobile-menu .mobile-link-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.nav-mobile-menu .mobile-link-rule {
    width: 1px;
    height: 20px;
    background: rgba(212, 165, 116, 0.2);
}

.nav-mobile-menu .mobile-link-rule:last-child {
    display: none;
}

/* Body offset when nav is fixed */
.nav-spacer {
    height: 68px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .fulgira-nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile-menu {
        display: flex;
    }
}
