/* OUTFIT—LJ Minimal Premium Navigation */

/* NAV CONTAINER */
nav {
    padding: 28px 0;
    border-bottom: none;
    position: relative;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-ivory {
    color: var(--text);
}

.logo-accent {
    color: var(--accent);
}

/* NAV RIGHT GROUP */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* DESKTOP NAV LINKS */
.nav-desktop-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-desktop-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 300;
}

.nav-desktop-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* HAMBURGER MENU BUTTON */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    align-items: flex-end;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--text);
    transition: all 0.3s ease;
}

.nav-hamburger span:nth-child(1) {
    width: 24px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    width: 20px;
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* MOBILE MENU PANEL */
.nav-mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: none;
    min-width: 100%;
    max-width: 300px;
    padding: 32px 24px;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.nav-mobile-panel.open {
    display: flex;
}

.nav-mobile-panel a {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 300;
}

.nav-mobile-panel a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.nav-mobile-panel .nav-tag {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: var(--bg);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-mobile-panel .nav-tag:hover {
    opacity: 0.9;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-select {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23C9A84C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 22px;
    transition: border-color 0.3s ease;
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--accent);
}

.lang-select option {
    background: var(--bg, #080808);
    color: var(--text, #F5F0EB);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-desktop-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 24px 0;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }

    .nav-right {
        gap: 12px;
    }

    .lang-select {
        font-size: 9px;
        padding: 4px 18px 4px 6px;
        letter-spacing: 1px;
    }

    .nav-mobile-panel {
        right: -24px;
        max-width: calc(100vw - 48px);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .nav-right {
        gap: 10px;
    }

    .lang-select {
        font-size: 8px;
        padding: 3px 16px 3px 5px;
    }
}
