/* NAVBAR */
.navbar {
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    transition: all 0.3s ease;
}

/* LOGO */
.nav-logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #0d4ada);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* LINKS DESKTOP */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    padding: 5px 0;
}

/* LINHA ANIMADA */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #00c6ff, #9b59b6);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00c6ff;
}

.nav-links a.active {
    color: #00c6ff;
}

.nav-links a.active::after {
    width: 100%;
}

/* SCROLL */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6);
}

/* ========================= */
/* 🍔 HAMBURGUER */
/* ========================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* ========================= */
/* 📱 RESPONSIVO */
/* ========================= */
@media (max-width: 768px){

    .navbar{
        padding: 18px 25px;
    }

    .hamburger{
        display: flex;
    }

    .nav-links{
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.4s ease;
    }

    .nav-links.active{
        right: 0;
    }

    .nav-links a{
        font-size: 16px;
    }

    /* animação hambúrguer */
    .hamburger.active span:nth-child(1){
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2){
        opacity: 0;
    }

    .hamburger.active span:nth-child(3){
        transform: rotate(-45deg) translate(5px, -5px);
    }
}



