/* Variaveis */
:root{
    /* Cores */ 
    --branco: #fff;
    --preto: #000000;
    --cinza: #484545;
    --vermelho: #B2231D;
    --vermelho2: #e7201d;
    --amarelo: rgb(255, 251, 1);
    --verde: #0CBD00;
    --azul-pastel: #617DF3;
    --shadow: rgba(0, 0, 0, 0.468) 0px 5px 15px;
    --fundo: rgba(0, 0, 0, 0.7);

    /* Fontes */
   --alta: 'Alta', sans-serif;
   --montesserat: 'Montserrat',sans-serif;
   --lora: "Lora", serif;
}

/* Base Geral */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    background-color: transparent;
}


html{
    scroll-behavior: smooth;
}

button{
    cursor: pointer;
}

/* Estilo para impedir de selecionar imagens e arrastá-las pela tela */
img {
    user-select: none;
    -webkit-user-drag: none;
}

/* Animações */

.hidden{
    opacity: 0;
    filter: blur(15px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
    transition: all 1s;
}

/* Whatsapp flutuante */
.whatsapp img{
    position: fixed;
    width: 100px;
    bottom: 0;
    margin-bottom: 75px;
    right: 0;
    margin-right: 75px;
    transition: 300ms;

    z-index: 99;
}

.whatsapp img:hover{
    transform: scale(1.1);
}

@media (max-width: 750px) {
    .whatsapp img{
        margin-bottom: 20px;
        margin-right: 20px;
    }
}

/* NavBar */
nav{
    display: flex;
    padding: 20px 60px;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    background-color: var(--branco);

    font-family: var(--montesserat);

    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow);
}

.logo img{
    width: 200px;
    transition: 300ms;
    filter: drop-shadow(0px 0px 30px var(--vermelho));
}

.logo img:hover{
    transform: scale(1.05);
}

.nav-list{
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-list  li{
    display: flex;
    align-items: center;
}

.nav-list a{
    transition: 300ms;
    font-weight: 500;
    
}

.roxo{
    text-underline-offset: 5px;
    text-decoration-thickness: 2px; /* Espessura da linha */
    color: var(--vermelho);
}

.roxo:hover{
    transform: scale(1.05);
    color: var(--preto);
}

.nav-select{
    
    text-decoration: underline;
}

.nav-btnSolicitarOrcamento{
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 500;
    transition: 300ms;
    color: var(--branco);
    background-color: var(--vermelho);
    box-shadow: var(--shadow);
}

.nav-btnSolicitarOrcamento:hover{
    font-size: 18px;
    background-color: var(--preto);
}

.nav-list a:hover{
    font-size: 18px;
    text-decoration: underline;
}

/* Hamburguer */
.hamburguer{
    display: none;
    border: none;
    background: none;
    border-top: 3px solid var(--vermelho);
    cursor: pointer;
}

.hamburguer::after, .hamburguer::before{
    content: " ";
    display: block;
    width: 30px;
    height: 3px;
    background: var(--vermelho);
    margin-top: 5px;
    position: relative;
    transition: 0.3s;
}

@media (max-width: 750px) {
    .hamburguer{
        display: block;
        z-index: 1;
    }

    nav{
        justify-content: space-between;
    }

    .nav-list{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--branco);
        clip-path: circle(100px at 90% -15%);
        transition: 1s ease-in-out;

        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 0;

        pointer-events: none;
    }

    .nav-list a{
        font-size: 20px;
        opacity: 0;
    }

    .nav-list li:nth-child(1) a{
        transition: 0.5s 0.2s;
    }

    .nav-list li:nth-child(2) a{
        transition: 0.5s 0.4s;
    }

    .nav-list li:nth-child(3) a{
        transition: 0.5s 0.6s;
    }

    .nav-list li:nth-child(4) a{
        transition: 0.5s 0.8s;
    }

    .nav-list li:nth-child(5) a{
        transition: 0.5s 1s;
    }

    .nav-list li:nth-child(6) a{
        transition: 0.5s 1.2s;
    }

    .nav-list li:nth-child(7) a{
        transition: 0.5s 1.4s;
    }

    .nav-list li:nth-child(8) a{
        transition: 0.5s 1.6s;
    }

    /* Animação */

    .nav.active .nav-list{
        clip-path: circle(1500px at 90% -15%);
        pointer-events: all;
    }

    .nav.active .nav-list a{
        opacity: 1;
    }

    .nav.active .hamburguer{
        position: fixed;
        top: 5%;
        right: 5%;
        border-top-color: transparent;
    }

    .nav.active .hamburguer::before{
        transform:  rotate(135deg);
    }

    .nav.active .hamburguer::after{
        transform:  rotate(-135deg);
        top: -7px;
    }
}