/* ===========================
   NAVBAR — STILE UNIFICATO
   =========================== */

/* Reset specifico per navbar per evitare conflitti */
.navbar-wrapper * {
    box-sizing: border-box;
}

.navbar-wrapper {
    width: 100%;
    background: rgba(0,0,0,0.88);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: system-ui, -apple-system, sans-serif !important;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ff9900;
    white-space: nowrap;
}

/* Container link a destra: usa Flexbox con gap per spaziatura consistente */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Spazio uniforme tra i link */
}

.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.85;
    transition: 0.2s;
    white-space: nowrap;
    margin: 0; /* Rimuove margini per affidarsi al gap */
    padding: 0;
}

.nav-right a:hover {
    opacity: 1;
    color: #ff9900;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .nav-right {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-right a {
        font-size: 0.95rem;
        padding: 5px; /* Increase touch target area */
    }
}
