* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('/images/lines-tech.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(5px);
}

.container {
    width: 85%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo {
    width: 90px;
    transform: scale(1.35);
}

.brand {
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* MENU DESKTOP */
.menu {
    display: flex;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 40px;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: white;
    text-shadow: 0 0 12px rgba(255,255,255,0.9);
}

/* HAMBÚRGUER MENOR */
.menu-toggle {
    display: none;
    width: 30px;   /* antes era 42 */
    height: 22px;  /* antes era 32 */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamb {
    display: block;
    width: 100%;
    height: 3px;   /* antes era 4px */
    background: white;
    margin: 4px 0; /* antes era 6px */
    border-radius: 3px;
    transition: 0.3s;
}

/* ANIMAÇÃO DO X (menor também) */
.menu-toggle.opened .hamb:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* antes 10px */
}

.menu-toggle.opened .hamb:nth-child(2) {
    opacity: 0;
}

.menu-toggle.opened .hamb:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); /* antes -10px */
}

/* MOBILE */
@media (max-width: 768px) {

    .navbar {
        height: 70px;
    }

    .logo {
        width: 60px;
        transform: scale(1.1);
    }

    .brand {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.90);
        padding: 30px 0;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        font-size: 22px;
        margin: 0;
    }
}
