/* Estilos gerais */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* Estilo do cabeçalho (menu fixo) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    z-index: 1;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    display: inline;
    margin-right: 20px;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.logo img {
    width: 100px;
    height: auto;
}

/* Estilo da seção de fundo total */
.full-background {
    background-image: url('../img/bg-.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-background > div {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.centered-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilo das seções de conteúdo */
.content {
    padding: 20px;
}

/* Estilo do rodapé */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}


/* Estilos da galeria */
.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.thumbnail {
    margin: 10px;
    cursor: pointer;
}

.thumbnail img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #fff;
}

/* Estilos do modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    margin: 100px auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .thumbnail {
        flex: 0 0 50%;
    }
}

#sobre {
    margin-top: -20px;
}

#sobre .content {
    text-align: center;
}

/* Container para as divs dos funcionários */
#funcionarios .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos da div do funcionário */
.employee {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    max-width: 300px;
    margin: 10px;
    border: 1px solid #dcdcdc;
}

/* Estilos da imagem do funcionário */
.employee img {
    max-width: 100%;
    height: auto;
    width: 215px;
}

/* Estilos do nome do funcionário */
.name {
    font-size: 1.5rem;
    margin-top: 10px;
}

/* Estilos do cargo do funcionário */
.position {
    font-size: .8rem;
    color: #888;
    font-weight: 600;
    margin-top: 10px;
}


/* Container para as caixas */
#areas .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

/* Estilos da caixa */
#areas .box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: calc(20% - 20px); /* 33.33% para que haja 3 caixas por linha */
    margin: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative; /* Para posicionar a imagem no topo */
    overflow: hidden; /* Para esconder a imagem fora da caixa */
    display: flex;
    justify-content: center;
    align-items: center;
}

#areas .box .title {
    font-size: 15px !important;
}

#areas .box-image {
    width: 100%;
    height: auto;
    opacity: 0.7; /* Opacidade inicial */
    transition: opacity 0.3s ease; /* Transição suave de opacidade */
}

/* Quando o mouse passa sobre a caixa, destaca a imagem */
#areas .box:hover .box-image {
    opacity: 1; /* Opacidade ao passar o mouse */
}

#areas .title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#areas .subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 10px;
}

#areas .description {
    font-size: 1rem;
    color: #333;
}

#areas, #sobre {
    background-color: #f7f7f7;
}

section {
    padding: 30px 210px;
    font-size: 14px;
}

section h2 {
    text-align: center;
}

.content {
    margin: 0;
    padding: 0;
}

#funcionarios .employee .name {
    font-size: 18px;
    color: #666;
}

#funcionarios .employee .position {
    color: #666;
}

#funcionarios .employee .description {
    color: #666;
    text-align: justify;
}

/* Responsividade */
@media (max-width: 1224px) {
    section {
        padding: 30px 90px;
    }
}

@media (max-width: 900px) {
    #funcionarios .container {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    #areas .box {
        width: calc(28.33% - 20px); /* 33% para que haja 2 caixas por linha */
    }
}

@media (max-width: 768px) {
    #areas .box {
        width: calc(42% - 20px); /* 50% para que haja 2 caixas por linha */
    }

    section {
        padding: 30px 30px;
    }
}

@media (max-width: 480px) {
    #areas .box {
        width: 100%; /* Uma caixa por linha em telas pequenas */
    }
}

.float-btn-whatsapp-index {
    position: fixed;
    width: 178px;
    height: 39px;
    bottom: 34px;
    right: 40px;
    background-color: #373737;
    color: #FFF;
    border-radius: 9px;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    z-index: 100;
    border: 1px solid #7b7b7b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}