/* ========================================
   VOLTUX - NAVBAR STYLES ONLY
   Colors: Blue #0090e3 | Green #2DFF9A | White #ffffff
   ======================================== */

:root {
    --blue: #0090e3;
    --blue-dark: #0077be;
    --green: #2DFF9A;
    --green-dark: #1ee885;
    --dark: #0a0a1a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: var(--blue);
    box-shadow: 0 4px 20px rgba(0, 144, 227, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled { box-shadow: 0 10px 40px rgba(0, 144, 227, 0.4); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li { margin: 0; }

.nav-links a {
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-links a:hover { color: var(--green); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--green); }

.nav-links a.active::after { width: 100%; }

/* ========================================
   NAVBAR BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    white-space: nowrap;
    text-decoration: none;
}

/* 🟢 Offerte Button in Navbar - Transparent with green border */
.nav-links .btn-offerte {
    padding: 12px 24px;
    font-size: 16px;
    gap: 6px;
    background: rgba(45, 255, 154, 0.15);
    color: var(--green);
    border: 2px solid var(--green);
    box-shadow: none;
    animation: none;
    position: relative;
    overflow: hidden;
}

.nav-links .btn-offerte:hover {
    background: var(--green);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 255, 154, 0.3);
}

.nav-links .btn-offerte::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.nav-links .btn-offerte:hover::before { left: 100%; }

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--green);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--blue);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 40px rgba(0, 144, 227, 0.4);
        gap: 15px;
    }

    .nav-links.active { display: flex; }

    .mobile-menu { display: block; }

    .nav-links .btn-offerte {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}