/* Estilo global */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F4EDE4; /* Bege claro */
    color: #4A3A2C; /* Marrom escuro */
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F0EDE4; /* Tom de madeira claro */
    padding: 0 1rem;
    position: relative; /* Garantir que o header fique acima da imagem */
    z-index: 10; /* Z-index maior para o cabeçalho */
}

header .logo img {
    height: 80px;
}

header nav {
    position: relative;
    z-index: 20; /* Garantir que o menu tenha prioridade sobre a imagem */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: #4A3A2C;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    color: #8B5E3C; /* Bege mais escuro */
}

/* Menu Responsivo */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger .bar {
    width: 30px;
    height: 4px;
    background-color: #4A3A2C;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    color: #F4EDE4; /* Texto claro */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 1;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Escurecendo a imagem */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ficar acima do overlay */
    max-width: 800px;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2); /* Fundo semi-transparente para o texto */
    backdrop-filter: blur(10px); /* Efeito de desfoque */
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra para maior contraste */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra para o parágrafo */
}

.hero .cta {
    padding: 0.75rem 1.5rem;
    background-color: #6F4E37; /* Marrom escuro */
    color: #F4EDE4;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.hero .cta:hover {
    background-color: #8B5E3C;
}

/* Sobre Nós */
#sobre {
    padding: 2rem;
    text-align: center;
}

/* Portfólio */
#portfolio {
    padding: 2rem;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Rodapé */
footer {
    background-color: #4A3A2C; /* Marrom escuro */
    color: #F4EDE4; /* Bege claro */
    text-align: center;
    padding: 1rem;
}

/* Estilos para o menu em telas pequenas */
@media screen and (max-width: 768px) {
    header nav ul {
        display: none;
        background-color: #F0EDE4; /* Cor do fundo do menu */
        position: absolute;
        top: 28px;
        padding: 12px;
        right: 0;
        flex-direction: column;
        align-items: center;
        z-index: 20; /* Certificando que o menu aparece acima da imagem */
        border-radius: 6px;
    }

    header nav ul.active {
        display: flex;
    }

    header nav a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }
}
