/* Reset básico para o exemplo */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', sans-serif; 
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: rgba(0, 0, 0, 0.616);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0);
    max-height: 200px;
    transition: max-height 1s ease, padding 1s ease, background-color 1s ease;
    overflow: hidden;
}

/* Estilo quando scrollar */
.navbar.active {
    padding: 0px;
    max-height: 0px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(201, 201, 201, 0.08);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00acfc;
}

.btn-nav {
    background: #ffffff;
    color: #000000ab !important;
    padding: 10px 22px;
    border-radius: 50px;
    transition: transform 0.3s !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Hamburguer Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}

/* Responsividade Mobile */
@media (max-width: 960px) {
    .hamburger { display: block; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s;
        padding-top: 100px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .nav-menu.show, .nav-menu.show a { 
        left: 0; 
        color: black;
    }

    .nav-menu li { margin: 15px 0; }

    /* Transformar hamburguer em X */
    .hamburger.is-active .bar:nth-child(2) { opacity: 0; }
    .hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}