/* ASZTALI ALAPHELYZET */
.nm-wrapper {
    display: flex;
    align-items: center;
    margin-left: 2.5rem;
    margin-right: auto; /* Ez tolja el a kosarat a jobb szélre */
}

.nm-hamburger {
    display: none; /* Asztalon nincs hamburger */
}

.nm-nav {
    display: block !important; /* Asztalon kényszerítjük a megjelenést */
}

.nm-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nm-list a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.nm-list a:hover {
    color: #b87635; /* Aranybarna hover szín a logódhoz passzolva */
    text-decoration: underline;
}

/* MOBIL NÉZET (1150px alatt) */
@media (max-width: 1150px) {
    .nm-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2100;
		margin-right: 0.8rem;
    }

    .nm-bar {
        width: 100%;
        height: 2px;
        background-color: #000;
        transition: 0.1s;
    }

    .nm-nav {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        padding-left: 2.5rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        z-index: 2000;
    }

    .nm-nav.active {
        transform: translateX(0);
    }

    .nm-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nm-list a {
        font-size: 1.2rem;
    }

    /* Hamburger X animáció */
    .nm-hamburger.active .nm-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nm-hamburger.active .nm-bar:nth-child(2) { opacity: 0; }
    .nm-hamburger.active .nm-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* kompakt: logo mellé, nem auto — a language-selector jön utána */
    .nm-wrapper {
        margin-left: 1rem;
        margin-right: 0;
    }
}