/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #AD6861;
    color: #FABAB1;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Faixa Superior */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparente */
    padding: 10px 20px;
    z-index: 1000;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 24px; /* Tamanho padrão dos ícones */
}

.top-bar a:hover {
    color: #ccc;
}

.contact, .social-icons {
    display: flex;
    gap: 15px;
}

/* Menu Principal */
/* Estilo para o menu */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparente */
    padding: 10px 20px;
    flex-wrap: wrap;
    z-index: 1000;
}

.menu-container .logo {
    max-width: 120px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-variant: small-caps;
}

.menu a:hover {
    color: #ccc;
    border-bottom: 2px solid #fff;
}

/* Ícone Hambúrguer */
.hamburger {
    display: none; /* Esconde o ícone em telas grandes */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animação para o ícone ativo */
.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .menu {
        display: none; /* Esconde o menu em telas pequenas */
        flex-direction: column; /* Exibe os links verticalmente quando visíveis */
        background-color: #111;
        position: absolute;
        top: 80px; /* Abaixo do logo/hambúrguer */
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 1000;
    }

    .menu.open {
        display: flex; /* Exibe o menu quando aberto */
    }

    .hamburger {
        display: flex; /* Exibe o ícone em telas pequenas */
    }
}


/* Imagem Full-Width */
.full-width-image {
    width: 100%;
    height: 400px;
    background-image: url('../img/ImagemTopoHauss2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.full-width-image .title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.full-width-image h1 {
    font-family: "Arial Black", sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.full-width-image p {
    font-size: 24px;
}


/* Botão "Ir ao Topo" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #111;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 5000;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #333;
}

/* Seções */
section {
    padding: 50px 10px;
    text-align: center;
    background-color: #AE6964; /* Exemplo de cor de fundo */
}

section h1 {
    font-family: "Arial Black", sans-serif; /* Fonte personalizada para o título */
    font-size: 32px; /* Tamanho maior para destaque */
    color: #fff; /* Cor do título */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px; /* Espaçamento abaixo do título */
    letter-spacing: 3px; /* Espaçamento entre as letras */
    word-wrap: break-word;
}

section p {
    font-family: "Poppins", sans-serif; /* Fonte simples para o parágrafo */
    font-size: 20px; /* Tamanho do texto */
    color: #fff; /* Cor do texto */
    line-height: 1.4; /* Altura da linha para melhor legibilidade */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin: 0 auto; /* Centraliza o texto horizontalmente */
    max-width: 800px; /* Limita a largura do parágrafo */
}

/* Estilo geral da seção */
.photo-text-section {
    width: 100%;
    height: 300px;
    background-image: url('../img/foto11.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Estilo da imagem */
.photo-text-section .photo {
    height: 300px; /* Altura fixa */
    width: auto; /* Mantém a proporção */
    border-radius: 8px; /* Cantos arredondados */
    object-fit: cover; /* Garante que a imagem preencha o espaço */
}

/* Estilo do texto */
.photo-text-section .text-content {
    flex: 1; /* O texto ocupa o restante do espaço disponível */
}

.photo-text-section .text-content h2 {
    font-family: "Arial Black", sans-serif; /* Fonte personalizada para o título */
    font-size: 32px; /* Tamanho maior para destaque */
    color: #fff; /* Cor do título */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px; /* Espaçamento abaixo do título */
    letter-spacing: 3px; /* Espaçamento entre as letras */
    word-wrap: break-word;
}

.photo-text-section .text-content p {
    font-family: "Poppins", sans-serif; /* Fonte simples para o parágrafo */
    font-size: 20px; /* Tamanho do texto */
    color: #fff; /* Cor do texto */
    line-height: 1.4; /* Altura da linha para melhor legibilidade */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin: 0 auto; /* Centraliza o texto horizontalmente */
    max-width: 800px; /* Limita a largura do parágrafo */
}

/* Responsividade */
@media (max-width: 768px) {
    .photo-text-section {
        flex-direction: column; /* Alinha os elementos verticalmente */
        text-align: center;
    }

    .photo-text-section .photo {
        margin-bottom: 15px; /* Espaço entre imagem e texto */
    }
}



#about, #products, #clients {
    background-color: #222;
}

h1 {
    margin-bottom: 0px;
}

/* Seção de Contato */
#contact {
    padding: 40px 20px;
    background-color: #222;
    color: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.contact-header p {
    font-size: 16px;
    color: #ccc;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.contact-form, .contact-details {
    flex: 1;
    max-width: 45%;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.contact-details p {
    margin: 10px 0;
    font-size: 14px;
    color: #bbb;
}

/* Seção Missão, Visão e Valores */
#mission-vision-values {
    padding: 60px 20px;
    background-color: #222; /* Cor de fundo da seção */
    color: #fff;
    text-align: center;
    overflow: hidden; /* Necessário para o fade-in */
}

.mvv-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    opacity: 0; /* Inicialmente invisível */
    transform: translateY(20px); /* Levemente deslocado para baixo */
    animation: fadeIn 8s ease-out forwards; /* Animação de entrada */
}

.mvv-item {
    flex: 1;
    max-width: 30%; /* Define o tamanho das colunas */
    padding: 20px;
    
}

.mvv-item h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #f8f9fa; /* Cor do título */
}

.mvv-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

/* Animação fade-in */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .mvv-container {
        flex-direction: column;
        gap: 30px;
    }

    .mvv-item {
        max-width: 100%;
    }
}




/* Responsividade */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .menu a {
        padding: 10px 0;
        border-bottom: 1px solid #444;
    }

    .menu-container {
        justify-content: center;
    }

    .top-bar a {
        font-size: 20px;
    }

    .style-buttons {
        top: 180px;
        right: 10px;
    }

    .style-buttons button {
        font-size: 12px;
        padding: 8px 10px;
    }

    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-header h1 {
        font-size: 24px;
    }

    .contact-header p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .full-width-image {
        height: 300px;
    }

    .full-width-image .title-container {
        top: 60%;
    }

    .menu a {
        font-size: 14px;
    }

    .top-bar a {
        font-size: 18px;
    }

    .style-buttons {
        top: 200px;
        right: 5px;
    }

    .style-buttons button {
        font-size: 10px;
        padding: 6px 8px;
    }
}
