/**
 * Navigation Styles
 * Meniu și navigație
 */

/* --- NAVIGAȚIE --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    background: transparent;
    transition: background-color 0.3s;
}

/* Fundal alb la scroll */
body.scrolled nav {
    background-color: #fdfcfc;
    position: fixed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.nav-links a:hover {
    color: #a07d50;
}

/* Meniu Burger pentru mobil */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- RESPONSIVE NAVIGATION --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: #fdfcfc;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 100;
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.1rem;
    }

    .burger {
        display: block;
        z-index: 101;
    }

    /* Clasa adăugată cu JS */
    .nav-active {
        transform: translateX(0%);
    }

    /* Animație burger X */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
