/* Variáveis CSS */
:root {
    --greenpoint-emerald: #6ca6a1; /* Verde esmeralda */
    --greenpoint-white: #ffffff;
    --greenpoint-light-gray: #f8f9fa;
    --greenpoint-dark-overlay: rgba(0, 0, 0, 0.6); /* Preto translúcido */
    --greenpoint-text-color: #333;
    --greenpoint-header-bg: rgba(255, 255, 255, 0.95); /* Levemente transparente */
}

/* Reset básico e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Scroll suave */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--greenpoint-text-color);
    background-color: var(--greenpoint-light-gray);
    overflow-x: hidden; /* Evita scroll horizontal indesejado */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header fixo */
.header {
    background-color: var(--greenpoint-header-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px); /* Efeito de blur no header */
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--greenpoint-emerald);
}

.logo img {
    height: 70px; /* Ajuste o tamanho do seu logo */
    margin-right: 10px;
}

.nav-menu .nav-list {
    list-style: none;
    display: flex;
}

.nav-menu .nav-list li {
    margin-left: 25px;
}

.nav-menu .nav-list a {
    text-decoration: none;
    color: var(--greenpoint-emerald);
    font-weight: 600;
    padding: 8px 18px;
    border: 2px solid var(--greenpoint-emerald);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-menu .nav-list a:hover,
.nav-menu .nav-list a.active { /* Adicionar uma classe active para o item atual, se desejar */
    background-color: var(--greenpoint-emerald);
    color: var(--greenpoint-white);
}

.nav-toggle {
    display: none; /* Esconder por padrão, mostrar apenas em mobile */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--greenpoint-emerald);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Altura da viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--greenpoint-white);
    background: url('/images/amazonia.jpg') no-repeat center center/cover; /* Substitua pela sua imagem */
    margin-bottom: 50px;
    border-bottom-left-radius: 20px; /* Borda arredondada no fundo */
    border-bottom-right-radius: 20px;
    overflow: hidden; /* Garante que o conteúdo não ultrapasse as bordas */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra no texto para melhor legibilidade */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--greenpoint-dark-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    font-weight: 300;
}

/* Seções de Conteúdo */
section {
    padding: 80px 0;
    background-color: var(--greenpoint-white);
    margin-bottom: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

section:last-of-type {
    margin-bottom: 0; /* Remove margem da última seção */
}

section h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--greenpoint-emerald);
    text-align: center;
    margin-bottom: 40px;
}

section p {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Seção Sobre */
.about-section .icons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;

}

.about-section .icon-item {
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    background-color: var(--greenpoint-light-gray);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-section .icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--greenpoint-white); /* Muda a cor de fundo ao passar o mouse */
    border: 2px solid var(--greenpoint-emerald); /* Adiciona uma borda verde */
    color: var(--greenpoint-emerald); /* Muda a cor do texto ao passar o mouse */
    
}

.about-section .icon-item i {
    font-size: 3.5em;
    color: var(--greenpoint-emerald);
    margin-bottom: 20px;
}

.about-section .icon-item h3 {
    font-size: 1.4em;
    color: var(--greenpoint-emerald);
    margin-bottom: 10px;
}

.about-section .icon-item p {
    font-size: 1em;
    color: var(--greenpoint-text-color);
    margin: 0; /* Remover margem padrão */
}

/* Seção Contato */
.contact-section .contact-info {
    text-align: center;
}

.contact-section .contact-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.contact-section .contact-info i {
    color: var(--greenpoint-emerald);
    margin-right: 10px;
}

.contact-section .contact-info a {
    color: var(--greenpoint-emerald);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-section .contact-info a:hover {
    color: darken(var(--greenpoint-emerald), 10%); /* Escurece o verde */
}

.social-media {
    margin-top: 30px;
    margin-bottom: 40px;
}

.social-media a {
    display: inline-block;
    color: var(--greenpoint-emerald);
    font-size: 2em;
    margin: 0 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-3px);
    color: darken(var(--greenpoint-emerald), 10%);
}

.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* Footer */
footer {
    background-color: var(--greenpoint-emerald);
    color: var(--greenpoint-white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap; /* Permite que os itens quebrem a linha */
        justify-content: center; /* Centraliza logo e menu */
    }

    .logo {
        margin-bottom: 15px;
    }

    .nav-menu {
        width: 100%; /* Ocupa toda a largura em mobile */
        text-align: center;
    }

    .nav-toggle {
        display: block; /* Mostra o botão de toggle */
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-menu .nav-list {
        flex-direction: column;
        display: none; /* Esconde a lista por padrão em mobile */
        width: 100%;
        margin-top: 20px;
        padding-bottom: 10px; /* Espaçamento inferior quando aberto */
    }

    .nav-menu .nav-list.active {
        display: flex; /* Mostra a lista quando ativa */
    }

    .nav-menu .nav-list li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2em;
    }

    section p {
        font-size: 1em;
        padding: 0 15px; /* Adiciona padding nas laterais */
    }

    .about-section .icon-item {
        min-width: unset; /* Remove largura mínima */
        width: 90%; /* Ocupa quase toda a largura */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .social-media a {
        font-size: 1.8em;
        margin: 0 10px;
    }
}

/* Transições e Efeitos de Foco para Acessibilidade */
a, button {
    transition: all 0.3s ease;
}

a:focus, button:focus {
    outline: 3px solid var(--greenpoint-emerald);
    outline-offset: 2px;
}

.texto-sobre {
    text-align: justify;
}