/*Variáveis*/
:root {
    --preto: #000000;
    --preto-claro:#1d1d1dad;
    --branco: #FFF;
    --bege:#FFFAEE;
    --azul-pastel:#d6eeee;
}

/*Estilização da Header*/
header{
    background-color: var(--bege);
    width: 100%;
    padding: 20px 10%;
}
.header-container {
    display: flex;
    justify-content: center;  /* Centraliza os itens */
    align-items: center;  /* Alinha verticalmente */
    width: 100%;  /* Ocupa toda a largura */
    padding: 10px 20px;
    position: relative;  /* Permite posicionar os itens corretamente */
}
#navbar{
    width: 100%;
}

#navbar-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 120px;
    padding-bottom: 1%;
}

#nav-logo{
    height: 12vh;
}

#nav-list{
    display: flex;
    list-style: none;
    gap: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3rem;
}

.nav-item a{
    text-decoration: none;
    color: var(--preto-claro);
    font-weight: 600;
}

.nav-item a:hover{
    border-bottom: 3px solid var(--azul-pastel);
    transition: 0.1s ease-in-out;
}

.nav-item.active a{
    color: var(--preto);
    border-bottom: 3px solid var(--preto);
    
}

.dropdown-menu {
    display: none;
    top: 15px;  /* Ajusta para ficar mais centralizado */
    left: 15px; /* Dá mais espaço da borda */
    font-size: 24px;
    position: absolute;
    background-color: var(--bege) !important;
    border-radius: 5%;
    padding: 10px!important;
    margin-top: 10px;
    line-height: 2em !important;
    z-index: 1000;
}

.sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--bege);
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    padding-top: 20px;
    z-index: 2000; /* Aumenta a prioridade da sidebar */
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-btn {
    position: absolute;
    top: 20px;
    margin-right: 20px; /* Adiciona espaço entre o ícone e a logo */
    left: 20px;
    font-size: 34px;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu a{
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#mobile-btn{
    display: none;
}

#mobile-menu{
    display: none;
    background-color: var(--bege); 
    border-radius: 5%;
    width: fit-content;
    padding: 0px 10px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    z-index: 2000;
    left: 10%; 
    right: 10%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.menu-btn i {
    color: var(--preto);
}

@media screen and (min-width: 992px) {
    .menu-btn {
        display: none;
    }
    .header-container #navbar-logo {
        display: none;
    }
    
}

/* Exibe o botão de menu apenas em telas menores */
@media screen and (max-width: 991px) {
    .menu-btn {
        display: block;
        top: 20px;
        left: 10px;
        font-size: 50px;
    }
    #nav-logo {
        max-width: 180px; /* Ajusta tamanho do logo */
        height: auto;
    }
    #navbar img {
        display: none; /* Esconde o logo dentro da navbar em telas pequenas */
    }
}
@media screen and (max-width: 1170px){
    #navbar{
        justify-content: space-between;
        display: flex;
    }
    #nav-logo{
        height: 100%;
        width: 50vw;
    }

    #nav-pages{
        display: none;
    }
    #mobile-btn{
        display: block;
        margin-left: 40px;
        border: none;
        background-color: transparent;
        font-size: 300%;
        cursor: pointer;
        color:#000000;
    }

    #mobile-menu.active{
        display: block;
        flex-direction: column;
        align-items: center;
        
    }

    #mobile-nav-list{
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 18px auto;
        line-height: 1.4;
        padding-left: 0;
    }

    #mobile-nav-list .nav-item{
        list-style: none;
        text-align: center;
    }
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    box-shadow: 2px 2px 3px #313131;
    z-index: 100;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    text-decoration: none;
}

.whatsapp-icon {
    margin-top: 7px;
}