/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar img.logo {
    height: 50px;
    width: auto;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background-color: #f1f1f1;
    color: #363636;
    border-radius: 4px;
}

.navbar ul li a.active {
    color: rgb(0, 0, 0);
    border-radius: 4px;
    text-decoration: underline;
}

/* Submenu de Serviços */
.services-menu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    width: 200px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s, height 0.3s;
}

/* Submenu visível quando o mouse passa sobre o item ou quando ativo */
.services-menu:hover .submenu,
.services-menu .submenu.active {
    display: block;
    opacity: 1;
    height: auto;
}

/* Seções full page */
.home-section {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Ajustando o espaçamento da seção "blue-section" */
.blue-section {
    display: flex;
    height:  90vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #535353;
    color: #ffffff;
    padding: 50px 20px;
    flex-direction: column;
    margin-top: 200px; /* Adiciona margem superior para compensar a navbar fixa */
}

.content-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.carousel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f08110;
}

.carousel-image {
    max-width: 100%;
    object-fit: cover;
    display: none;
}

.carousel-image:first-child {
    display: block;
}

.presentation {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.presentation h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.presentation p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: #25D366;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #20c557;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Estilo da seção Sobre */
.blue-section {
    background-color: #535353;
    color: #fff;
    padding: 50px 20px;
    flex-direction: column;
}

.sobre-content {
    max-width: 1200px;
}

.sobre-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.sobre-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.team {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    text-align: center;
    max-width: 300px;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bio h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.bio p {
    font-size: 16px;
    color: #bbb;
}

@media (max-width: 768px) {
    .sobre-content h2 {
        font-size: 28px;
    }

    .sobre-content p {
        font-size: 16px;
    }

    .team {
        flex-direction: column;
    }
}

/* Estilo da página de Contato */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 20px 50px 20px;
    background-color: #f5f5f5;
}

.contact-content h2 {
    font-size: 32px;
    color: #001f3f;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.contact-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 20px;
    color: #001f3f;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #555;
}

.contact-item a {
    color: #f08110;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #e67e00;
}

/* Menu hambúrguer */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.hamburger .bar {
    background-color: #333;
    height: 5px;
    width: 100%;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .home-section{
        height: 60vh;
        
    }
    .blue-section{
        height: 110vh;
        align-items: center;
    justify-content: center;
    text-align: center;

    }
    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
   
    .menu.active {
        display: flex;
        visibility:visible; /* Inicialmente escondido */
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 90px;
        right: -400px;
        background-color: #ffffff;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .navbar ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .services-menu .submenu.active {
        display: flex;
        opacity: 100;
        height: auto;
    }

}
@media (max-width: 450px) {

    .home-section{
        height: 100vh;
        
    }
    .blue-section{
        height: 120vh;
        align-items: center;
    justify-content: center;
    text-align: center;

    }
    .menu.active {
    
        right: -250px;
        
    }
}
@media (max-width: 380px) {

    .home-section{
        height: 120vh;
        
    }
    .blue-section{
        height: 140vh;
        align-items: center;
    justify-content: center;
    text-align: center;

    }
}