/* 🔹 Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../img/leaf-pattern.png') repeat;
    background-size: cover;
    color: #165B33; /* Verde escuro */
    text-align: center;
}

/* 🔹 Cabeçalho atualizado */
header {
    background: rgba(22, 91, 51, 0.9); /* Verde escuro com transparência */
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header img {
    height: 60px;
    width: auto;
}

/* 🔹 Rodapé */
footer {
    background: #165B33; /* Verde escuro da logo */
    color: white;
    padding: 20px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔹 Ajustando o menu */
nav {
    display: flex;
    gap: 30px;
    padding: 15px 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* 🔹 Efeito ao passar o mouse */
nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 🔹 Melhorando o layout do Instagram */
.social-link img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-link img:hover {
    transform: scale(1.2);
}

/* 🔹 Ajustando o layout para telas menores */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* 🔹 Seção Principal */
#hero {
    padding: 100px 20px;
    background: linear-gradient(135deg, #165B33 0%, #82B541 100%);
    color: white;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

#hero h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 🔹 Botões melhorados */
.button {
    display: inline-block;
    padding: 15px 30px;
    color: white;
    background: linear-gradient(45deg, #F8B400, #E67E22);
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background: linear-gradient(45deg, #E67E22, #D35400);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 🔹 Instagram Feed */
#instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.insta-post img, .insta-post video {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.insta-post img:hover, .insta-post video:hover {
    transform: scale(1.05);
}

/* 🔹 Loader Animado */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #165B33; /* Verde da paleta de cores */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 🔹 Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }

    #hero h1 {
        font-size: 36px;
    }

    .button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* 🔹 Formatação Página Doação */
#doacoes, #voluntarios {
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
    text-align: left;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* 🔹 Botão do formulário */
button {
    background: #165B33;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0f3d23;
}

/* 🔹 Ajustando responsividade */
@media (max-width: 768px) {
    #doacoes, #voluntarios {
        max-width: 90%;
        margin: 30px auto;
    }

    input, select, textarea {
        font-size: 14px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }
}
/* 🔹 Formatação da Página de Voluntários (seguindo o padrão da Doação) */
#voluntarios {
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#voluntarios h1 {
    color: #165B33;
}

/* 🔹 Ajustando inputs, selects e textarea */
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* 🔹 Botão do formulário */
button {
    background: #165B33;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0f3d23;
}

/* 🔹 Responsividade */
@media (max-width: 768px) {
    #voluntarios {
        max-width: 90%;
        margin: 30px auto;
    }

    input, select, textarea {
        font-size: 14px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }
}
/* 🔹 Estilizando a página das ODS */
#ods {
    text-align: center;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

.ods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.ods-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ods-card img {
    width: 100px;
    height: auto;
}

.ods-card h2 {
    color: #165B33;
    font-size: 20px;
    margin: 10px 0;
}

.ods-card p {
    font-size: 14px;
    color: #333;
}

/* 🔹 Responsividade */
@media (max-width: 768px) {
    .ods-container {
        grid-template-columns: 1fr;
    }
}

