/* =========================================================
   GLASSO NAVBAR 2026 — STABLE PREMIUM VERSION
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 20, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Container */
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 24px; /* mai aerisit */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* ================= LOGO PERFECT ================= */

.nav-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo img {
    height: 58px;       /* desktop ideal */
    width: auto;
    max-width: 240px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

/* ================= LINKS ================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e4e9f7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: #27d17f;
}

/* CTA */
.btn-nav-cta {
    background: #27d17f;
    color: #020308;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
}

/* ================= MOBILE ================= */

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
}

.nav-mobile-btn span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
}

@media (max-width: 900px) {

    .nav-logo img {
        height: 48px; /* mobil perfect */
    }

    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(5, 8, 20, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateY(-150%);
        transition: transform 0.25s ease;
    }

    body.nav-open .nav-links {
        transform: translateY(0);
    }

    .btn-nav-cta {
        display: none;
    }

    .nav-mobile-btn {
        display: flex;
    }
}
