* {
    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 */
}

.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;
}




/* Seção Fale Conosco */
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background-color: #007F8A;
    min-height: 100vh;
}

section h2 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
}

section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff;
}

section form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group label {
    font-size: 1em;
    margin-bottom: 5px;
    color: #555;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #0A7A85;
}

.submit-btn {
    padding: 15px;
    background-color: #0A7A85;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #087a76;
}

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);
}


@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;
}
   

    /* 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;
    }

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