:root{
/*Light Theme*/
    --azul-escuro: #00AFB6;
    --azul-claro: #415D72;
    --azul-hover:#81aac9;
    --texto-branco: #F8F8FF;
    --amarelo-main: #8BDA3B;
    --amarelo-hover:#b9fc77ea;
    --texto-preto: #555555;
    --texto-titulo: #272727;

/*Dark Theme*/
    --cor-fundo-principal: #121418;
    --cor-fundo-secundario: #2a2d31;
    --cor-texto-principal: #E6E6E6;
    --cor-texto-secundario: #A0A5AF;
    --cor-azul-turquesa: #00AFB6; 
    --cor-destaque-limao: #8BDA3B;
    --cor-suporte-cinza: #415D72;

}

*{
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body{
    transition: .5s;
}

/*DARK MODE CONFIGURAÇÕES*/

body.dark{
    background-color: #4a4c4e;
}

body.dark nav{
    background-color: var(--cor-fundo-principal);
}

body.dark .container-fly{
    background-color: var(--cor-fundo-secundario);
}

body.dark .populares{
    color: var(--cor-texto-principal);
}

body.dark .card-oferta{
    color: var(--cor-texto-principal);
    background-color: var(--azul-claro);
}

body.dark .container-form{
    background-color: var(--cor-fundo-secundario);
    color: var(--cor-texto-principal);
}

body.dark .container-form .text-form{
    color: var(--cor-texto-principal);
}

body.dark .faq{
    color: var(--cor-texto-principal);
}

body.dark footer{
    background-color: var(--cor-fundo-principal);
}

body.dark li.list-title{
    color: var(--cor-texto-principal);
}

body.dark li.list-item{
    color: var(--cor-texto-principal);
}

body.dark footer a{
    color: var(--cor-texto-principal);
}

body.dark footer p{
    color: var(--cor-texto-principal);
}

body.dark img.img-white{
    visibility: visible;
    display: inline;
}

body.dark img.img-black{
    visibility: hidden;
    display: none;
}

/*Menu do site*/

nav a{
    color: var(--texto-branco);
    text-decoration: none;
    transition: 0.3s;
}

a:hover{
    opacity: 0.7;
}

.logo img{
    max-width: 120px;
    margin-top: 1vh;
    
}

.dark-mode{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h6{
    color: var(--texto-branco);
}

.trail{
    width: 30px;
    height: 15px;
    background-color: var(--texto-branco);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
}

.trail .ball{
    width: 15px;
    height: 15px;
    background-color: var(--texto-preto);
    border-radius: 15px;
    transform: scale(0.9);
    position: absolute;
    left: 0;
    transition: .5s;
}

.trail.dark .ball{
    left: 15px;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 8vh;
    background-color: var(--azul-claro);
}

.nav-list{
    list-style: none;
    display: flex;

}

.nav-list li{
    letter-spacing: 2px;
    margin-left: 32px;
}

/*Botão hambúrguer*/

.mobile-menu{
    cursor: pointer;
    display: none;
}

.mobile-menu div{
    width: 32px;
    height: 2px;
    background-color: var(--cor-texto-principal);
    margin: 8px;
    transition: 0.3s;
}

/*Barra de pesquisa de passagens*/

.container-fly{
    background-color: var(--azul-escuro);
    height: 38vh;
}

.conteudo{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.titulo{
    color: var(--texto-branco);
    width: 60vw;
    text-align: left;
    margin-top: 5px;
}

.fly-card{
    background-color: var(--azul-claro);
    width: 60vw;
    height: 30vh;
    border-radius: 15px;
    box-shadow: 4px 1px 10px 0px rgba(0,0,0,0.3);
}

.fly-btn{
    min-width: 80px;
    height: 25px;
    padding: 3px;
    margin: 3px;
    border-radius: 10px;
    border-style: none;
    background-color: var(--amarelo-main);
    color: var(--texto-preto);
    font-weight: bold;
    transition: transform 0.3s ease-in;
    margin: 15px 0 10px 10px;
}


.fly-btn:hover{
    background-color: var(--amarelo-hover);
    cursor: pointer;
}

.fly-buscar{
     min-width: 80px;
    height: 25px;
    padding: 3px;
    margin: 3px;
    border-radius: 10px;
    border-style: none;
    background-color: var(--amarelo-main);
    color: var(--texto-preto);
    font-weight: bold;
    transition: transform 0.3s ease-in;
}

.local1{
    width: 25%;
    border-radius: 10px;
    border-style: none;
    height: 35px;
    padding-left: 10px;
    margin-left: 5px;
    margin-right: 0;
}

.local2{
    width: 25%;
    border-radius: 10px;
    border-style: none;
    height: 35px;
    padding-left: 10px;
    margin-left: 0;
}

.data{
    width: 15%;
    border-radius: 10px;
    border-style: none;
    height: 35px;
    padding-left: 10px;
    color: var(--texto-preto);
}

/*Cards de Ofertas*/

.populares{
    text-align: center;
    margin: 10px 0 10px 0;
    color: var(--texto-preto);
}


.container-card{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.container-card a{
    color: var(--texto-preto);
    text-decoration: none;
}

.card-oferta{
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 450px;
    border-radius: 8px;
    box-shadow: 4px 1px 10px 0px rgba(0,0,0,0.3);
    overflow: hidden;
}

.card-oferta img{
    height: 250px;
    width: auto;
}

.card-conteudo{
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.destino{
    margin-left: 10px;
}

.informacoes{
    font-size: 14px;
    padding: 5px;
}

.price-tag{
    padding: 10px;
    margin-top: auto;
    border-top: 1px solid var(--cor-texto-principal);
    

}

.price-tag p{
    font-size: 10px;
}

.rs{
    font-size: 10px;
    margin-right: 4px;
}

.valor{
    font-weight: bold;
    font-size: 20px;
}

/*Formulário de contato*/

.container-form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    background-color: var(--amarelo-main);
    color: var(--texto-preto);
    border-radius: 8px;
    box-shadow: 4px 1px 10px 0px rgba(0,0,0,0.3);
}

.form-inputs{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    color: var(--texto-preto);
}

.text-form{
    text-align: left;
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.formulario label, 
.formulario input {
    width: 100%;
}

.text-news{
    margin-bottom: 10px;
}

.dados-form{
    margin-bottom: 10px;
    padding-left: 10px;
    border-radius: 10px;
    border-style: none;
    height: 35px;
    max-width: 60%;

}

.btn-submit{
    max-width: 150px;
    height: 30px;
    padding: 3px;
    border-radius: 10px;
    border-style: none;
    background-color: var(--azul-claro);
    color: var(--texto-branco);
    font-weight: bold;
    transition: transform 0.9s ease-in;
    margin: 15px 0 10px 10px;
}

.btn-submit:hover{
    background-color: var(--azul-hover);
    cursor: pointer;
}

/*Seção FAQ acordeão*/

.faq{
    margin-top: 20px;
    text-align: center;
    color: var(--texto-preto);
}

#container-accordion{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 50%;
    margin: 0 auto;
    margin-top: 20px;
}

.accordion{
    background-color: var(--azul-claro);
    color: var(--texto-preto);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 4px 1px 10px 0px rgba(0,0,0,0.3);
}

.accordion-header{
    width: 100%;
    border: none;
    background-color: transparent;
    display: flex;
    font-size: 16px;
    color: var(--texto-branco);
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    height: 30px;
}

.accordion-header span{
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.accordion-body{
    color: var(--texto-branco);
    font-size: 14px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s;

}

.accordion-body.active{
    height: 100%;
    padding: 5px 0px;
    opacity: 1;
    transition: 0.5s;
}

.arrow{
    transition: 0.2s linear;
}

.accordion:has(.active) .arrow{
    transform: rotate(180deg);
}

/*Rodapé do Site*/

footer{
    background-color: var(--azul-escuro);
}

.footer-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 60%;
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px;
}

.footer-list{
    list-style: none;
}

.footer-list li{
    color: var(--texto-preto);
}

.footer-list a{
    color: var(--texto-preto);
    text-decoration: none;
}

.list-title{
    font-size: 14px;
    font-weight: bold;
}

.list-item{
    font-size: 12px;
}

.copyright{
    font-size: 12px;
    padding: 10px;
    text-align: center;
    color: var(--texto-preto);
}

.copyright a{
    color: var(--texto-preto);
    text-decoration: none;
}

.copyright img{
    width:12px;
}

.img-white{
    visibility: hidden;
    display: none;
}

.img-black{
    visibility: visible;
    display: inline;
}

/*Responsividade*/

@media (max-width: 450px){

    body{
        overflow-x: hidden
    }

    #container-accordion{
        width: 80%;
    }

    .container-fly{
        height: 33vh;
    }

    .conteudo{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .titulo{
        text-align: center;
        margin-bottom: 10px;
    }

    .fly-card{
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 23vh;
    }

    .botoes{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-right: 10px;
    }

    .entradas{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 5px;
        margin: 0;
    }

    .entradas input{
        width: 90%;
        padding: 5px;

    }

    .fly-btn{
        flex-grow: 1;
        
    }

    .div-buscar{
        text-align: center;
    }

    .container-form{
        max-width: 80%;
    }

    .text-form, .dados-form{
        max-width: 80%;
    }

    .btn-submit{
       max-width: 100px;
    }

    .accordion-header span{
        white-space: wrap;
        text-align: center;
    }

    .footer-container{
        max-width: 90%;
        justify-content: space-around;
    }

    .footer-container li{
        padding-left: 10px;
    }
}

@media (max-width: 720px) {

    body{
        overflow-x: hidden;
    }

    .nav-list {
        position: fixed;
        top: 8vh;
        right: 0;
        width: 100vw;
        height: 92vh;
        background-color:  var(--azul-claro);
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    body.dark .nav-list{
        background-color: var(--cor-fundo-principal);
    }

    .nav-list li{
        margin-left: 0;
        opacity: 0;
    }
    
    .mobile-menu{
        display: block;
    }

    .nav-list.active{
        transform: translateX(0);
    }
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);

    } 
    to {
        opacity: 1;
        transform: translateX(0);

    }
}

.mobile-menu.active .line1{
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2{
    opacity: 0;
}

.mobile-menu.active .line3{
    transform: rotate(45deg) translate(-5px, -7px);    
}


botoes{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .entradas{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 5px;
    }

    .entradas input{
        width: 90%;
        padding: 5px;
        margin: 0  auto;

    }

    .fly-btn{
        flex-grow: 1;
        
    }

    .div-buscar{
        text-align: center;
    }

     @media (min-width: 340px) {

        .container-fly{
            height: 280px;
        }

        .fly-card{
            height: 200px;
        }

    }

    @media (min-width: 520px) {

        .container-fly{
            height: 270px;
        }

        .fly-card{
            height: 200px;
        }

    }



    @media (min-width: 920px) {

        .container-fly{
            height: 260px;
        }

        .fly-card{
            height: 210px;
        }

        .div-buscar{
            margin-top: 10px;
        }
    }


     @media (min-width: 1024px) {

        .container-fly{
            height: 260px;
        }

        .fly-card{
            height: 210px;
        }

        .div-buscar{
            margin-top: 10px;
        }
    }
