* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    background: #0A7A85;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* Cabeçalho */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navegação */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo */
.logo-container img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex; /* Para telas grandes */
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative; /* Necessário para o efeito sublinhado */
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s, color 0.3s;
    padding-bottom: 3px;
}

nav ul li a {
    text-decoration: none;
    color: #0A7A85;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #0A7A85;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%; /* O sublinhado se expande */
}

nav ul li a:hover {
    color: #0A7A85; /* Mantém a cor do texto */
    transform: scale(1.05); /* Um leve aumento para realce */
}

.nav-links {
    display: flex;
    justify-content: space-around;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #0A7A85;
    border-radius: 5px;
}

main {
    flex: 1; /* Faz o conteúdo principal ocupar o espaço restante */
}

.titulo-principal{
    padding-left: 150px;
    padding-top: 20px;
}

.carousel {
    position: relative;
    margin: 20px auto;
    max-width: 80%;
    overflow: hidden;
    border-radius: 10px;
    background-color: #ffffff;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* Melhora a suavidade das transições */
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover,
button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.about-us {
    padding: 50px 20px;
    background-color: #ffffff;
    color: #0A7A85;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 80%; /* Igual ao carrossel */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-text {
    flex: 1;
    max-width: 50%;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004D56;
}

.about-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
    color: #007F8A;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.about-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Seção de Orçamento */
.budget-section {
    padding: 50px 20px;
    background-color: #ffffff;
    color: #0A7A85;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.budget-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004D56;
}

.budget-section p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.budget-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

.form-group label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #0A7A85;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #004D56;
    outline: none;
}

.submit-button {
    background-color: #0A7A85;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #004D56;
}

/* Seção do Time */
.team-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.team-section h1 {
    font-size: 28px;
    color: #0A7A85;
    margin-bottom: 10px;
}

.team-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

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

.team-member {
    width: 200px;
    text-align: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.photo-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #ddd; /* Cor padrão se a imagem não carregar */
}

.team-member h2 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.team-member p {
    font-size: 14px;
    color: #777;
}



footer {
    background-color: white;
    color: #0A7A85;
    text-align: center;
    padding: 10px 20px;
    position: relative; /* Mantém o footer fluído */
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.footer-left {
    font-size: 16px;
    line-height: 1.5;
}

/* Link do Desenvolvedor */
.footer-left .developer {
    font-weight: bold;
    color: #004D56;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-left .developer:hover {
    color: #0A7A85;
    text-shadow: 5px 5px 10px #1f6f76;
    text-decoration: underline;
    transition: color 0.3s ease;
}

/* Link do Instagram */
.footer-right a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.2);
}


/* Responsividade para telas menores */
@media (max-width: 768px) {
    /* Menu */
    nav ul {
        display: none; /* Esconde o menu */
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 60px; /* Ajuste conforme o tamanho do cabeçalho */
        left: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%); /* Começa invisível à esquerda */
    }

    nav ul.active {
        transform: translateX(0); /* Menu visível quando a classe "active" for adicionada */
    }

    .menu-toggle {
        display: flex; /* Mostra o ícone hambúrguer */
    }

    nav ul {
        display: none; /* Ocultar por padrão */
    }

    nav ul.active {
        display: flex; /* Mostrar quando ativo */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .menu-toggle {
        display: flex;
    }

/* Efeito de hover no menu hambúrguer */
.menu-toggle:hover .bar {
        background-color: #007F8A;
}

/* Efeito de hover no menu hambúrguer */
.menu-toggle:hover .bar {
        background-color: #007F8A;
}
    /* Título principal */
    .titulo-principal {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    /* Carrossel */
    .carousel {
        max-width: 90%;
    }



    /* Rodapé */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-right a {
        margin-top: 10px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    /* Ajustes adicionais para telas menores */
    nav ul li {
        font-size: 14px;
    }

    .carousel {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 16px;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        max-width: 100%;
        margin-top: 20px;
    }

    .footer-container {
        font-size: 14px;
    }
}