:root {
    --verde-escuro: #0B3D2F;
    --verde-medio: #1B5E3F;
    --verde-claro: #4CAF50;
    --verde-suave: #E8F5E9;
    --verde-accent: #2E7D32;
    --laranja-escuro: #D84315;
    --laranja-claro: #FF5722;
    --laranja-suave: #FFF3E0;
    --fonte-titulo: 'Playfair Display', serif;
    --fonte-subtitulo: 'Montserrat', sans-serif;
    --fonte-texto: 'Poppins', sans-serif;
    --primary-green: #1B5E20;
    --secondary-green: #2E7D32;
    --accent-orange: #E65100;
    --light-orange: #F57C00;
    --white: #FFFFFF;
    --dark-gray: #212121;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fonte-texto);
}

h1, h2, h3, h4 {
    font-family: var(--fonte-titulo);
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary-green);
}

header.scrolled {
    background-color: var(--verde-escuro);
    border-bottom: none;
}

header.scrolled nav a {
    color: var(--white);
}

header.scrolled nav a:hover {
    color: var(--accent-orange);
}

header.scrolled nav a.active {
    color: var(--accent-orange);
    background-color: rgba(255, 152, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    position: relative;
    gap: 1.5rem;
}

.logo {
    display: block;
    text-decoration: none;
    color: var(--primary-green);
    transition: transform 0.3s ease;
    position: relative;
    width: 200px;
    height: 54px;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-orange);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    transform: translateY(-1px);
}

nav ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 0 0.8rem;
    height: 54px;
    line-height: 54px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

nav a:hover::before {
    width: 100%;
}

nav a.active {
    color: var(--accent-orange);
    background-color: rgba(255, 152, 0, 0.1);
}

nav a.active::before {
    width: 100%;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../imagens/banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--laranja-escuro);
}

.secoes {
    flex: 1;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.secao {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.secao h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--verde-escuro);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.secao h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

#atividades,
#animais,
#contato {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

#atividades::before,
#animais::before,
#contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    border-radius: 2px;
}

#atividades h2,
#animais h2,
#contato h2 {
    color: var(--verde-escuro);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
}

#atividades h2::after,
#animais h2::after,
#contato h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.subsecao {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--verde-suave);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.subsecao:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    background-color: var(--laranja-suave);
}

.subsecao h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--verde-escuro);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsecao h3 i {
    color: var(--accent-orange);
}

.subsecao p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-left: 1.5rem;
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 20px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.sobre-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516934024742-b461fba47600?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.sobre-texto {
    position: relative;
    z-index: 1;
}

.sobre-texto h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.sobre-texto h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.sobre-texto p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.sobre-destaque {
    background: rgba(27, 94, 32, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 2px 4px rgba(27, 94, 32, 0.1);
}

.sobre-destaque p {
    color: var(--primary-green);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.sobre-imagem {
    position: relative;
    z-index: 1;
}

.sobre-imagem img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.02);
}

.sobre-imagem::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-orange);
    border-radius: 12px;
    z-index: -1;
}

/* Remover estilos da seção de animais */
.animais-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.animal-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.animal-card:hover {
    transform: translateY(-5px);
}

.animal-imagem {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.animal-info {
    padding: 1.5rem;
}

.animal-info h3 {
    color: var(--verde-escuro);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.animal-info p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.status-extincao {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--laranja-suave);
    color: var(--accent-orange);
    border-radius: 6px;
    font-weight: 600;
}

.contato-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-green);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    max-width: 350px;
    margin: 0 auto;
}

.contato-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.1),
        0 20px 25px rgba(0, 0, 0, 0.15),
        0 30px 35px rgba(0, 0, 0, 0.1);
}

.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-orange);
    box-shadow: 0 2px 4px rgba(230, 81, 0, 0.2);
}

.contato-card h4 {
    color: var(--verde-escuro);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contato-card h4 i {
    color: var(--accent-orange);
}

.contato-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contato-card .destaque {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: var(--laranja-suave);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(230, 81, 0, 0.1);
}

.contato-card .horario {
    color: var(--verde-escuro);
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.8rem 0.5rem;
    background: var(--verde-suave);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
}

@media (max-width: 1024px) {
    .animais-container,
    .contato-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .animais-container,
    .contato-container {
        grid-template-columns: 1fr;
    }

    .animal-card,
    .contato-card {
        max-width: 100%;
    }

    .header-content {
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0;
    }

    .logo img {
        height: 48px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 36%;
        max-width: 144px;
        height: 100vh;
        background: var(--white);
        padding: 80px 15px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    nav a {
        display: block;
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        color: var(--dark-gray) !important;
    }

    nav a:hover {
        background-color: var(--verde-suave);
        transform: translateX(5px);
        color: var(--primary-green) !important;
    }

    nav a.active {
        background-color: var(--verde-suave);
        color: var(--primary-green) !important;
    }

    header.scrolled nav a {
        color: var(--dark-gray) !important;
    }

    header.scrolled nav a:hover {
        color: var(--primary-green) !important;
    }

    header.scrolled nav a.active {
        color: var(--primary-green) !important;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .sobre-texto h2 {
        font-size: 2rem;
    }

    .sobre-imagem::after {
        display: none;
    }

    #atividades,
    #animais,
    #contato {
        padding: 2rem 1rem;
    }

    #atividades h2,
    #animais h2,
    #contato h2 {
        font-size: 2rem;
        padding-left: 1rem;
    }

    #atividades h2::after,
    #animais h2::after,
    #contato h2::after {
        left: 1rem;
    }

    .mapa-container {
        flex-direction: column;
    }

    #mapa-interativo {
        border-radius: 10px 10px 0 0;
        height: 300px;
    }

    .mapa-info {
        border-radius: 0 0 10px 10px;
    }

    .dicas-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.site-footer {
    background: #0B3D2F;
    padding: 15px 0;
    width: 100%;
    margin: 0;
    position: relative;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.footer-content p {
    color: #FFFFFF;
    font-size: 14px;
    margin: 0;
}

.logo-sg-container {
    width: 100%;
    background: #FFFFFF;
    padding: 30px 0;
    text-align: center;
    margin: 0;
}

.logo-sg {
    height: 66px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-sg:hover {
    transform: scale(1.05);
}

/* Estilos do Mapa */
.mapa-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#mapa-interativo {
    flex: 2;
    height: 400px;
    min-height: 400px;
    border-radius: 10px 0 0 10px;
}

.mapa-info {
    flex: 1;
    padding: 2rem;
    background: var(--verde-suave);
}

.mapa-info h3 {
    color: var(--verde-escuro);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mapa-info p {
    color: var(--verde-medio);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mapa-info i {
    color: var(--verde-medio);
    font-size: 1.2rem;
    width: 24px;
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--verde-medio);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn-mapa:hover {
    background: var(--verde-escuro);
}

/* Estilos do Popup do Mapa */
.popup-mapa {
    padding: 0.5rem;
}

.popup-mapa h4 {
    color: var(--verde-escuro);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.popup-mapa p {
    color: var(--verde-medio);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Ajustes do Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.leaflet-popup-content {
    margin: 0.8rem 1rem;
}

.leaflet-popup-tip {
    background: white;
}

.leaflet-popup-close-button {
    color: var(--verde-medio);
    font-size: 1.2rem;
    padding: 0.5rem;
}

.leaflet-popup-close-button:hover {
    color: var(--verde-escuro);
}

/* Estilos para a seção Faça Sua Parte */
.dicas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dica-item {
    background: var(--verde-suave);
    border-left: 5px solid var(--accent-orange);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dica-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.12);
}

.dica-item h3 {
    color: var(--accent-orange);
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    font-family: var(--fonte-subtitulo);
}

.dica-item p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}