/* Estilos gerais para o site da ONG Desenvolva-se */

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #2e7d32;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
    color: #388e3c;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #2e7d32;
    transition: color 0.3s ease;
}

a:hover {
    color: #1b5e20;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4caf50;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #388e3c;
    color: white;
}

/* Cabeçalho */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin-left: 15px;
    font-size: 1.8rem;
    color: #2e7d32;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Seção Hero */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Seção Sobre */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Seção Objetivos */
.objectives {
    background-color: #f5f5f5;
}

.objectives-list {
    margin-left: 20px;
    margin-bottom: 30px;
}

.objectives-list li {
    margin-bottom: 10px;
}

.modules-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.module {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.module h3 {
    color: #2e7d32;
    margin-bottom: 20px;
    text-align: center;
}

.module ul {
    margin-left: 20px;
}

.module li {
    margin-bottom: 10px;
}

/* Seção Números */
.numbers {
    background-color: #2e7d32;
    color: white;
    text-align: center;
}

.numbers h2 {
    color: white;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.number-item {
    padding: 20px;
}

.number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #8bc34a;
}

/* Seção Iniciativas */
.initiatives {
    background-color: white;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.initiative-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-10px);
}

.initiative-icon {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.specialties-list {
    margin-left: 20px;
    columns: 2;
}

.specialties-list li {
    margin-bottom: 10px;
}

/* Seção História */
.history {
    background-color: #f5f5f5;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #4caf50;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #4caf50;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.right::after {
    left: -13px;
}

.date {
    display: inline-block;
    padding: 5px 15px;
    background-color: #4caf50;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Seção Contribua */
.contribute {
    background-color: white;
}

.contribute-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pix-info {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.pix-key {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2e7d32;
}

.qrcode-container {
    text-align: center;
}

.pix-qrcode {
    max-width: 250px;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: white;
    margin-bottom: 15px;
}

/* Seção Contato */
.contact {
    background-color: #f5f5f5;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item {
    padding: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: #4caf50;
    margin-bottom: 15px;
}

/* Rodapé */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-column a {
    color: #bbb;
    display: block;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4caf50;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #388e3c;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 0.9rem;
}

/* Animações */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .about-grid, .contribute-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        text-align: center;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left::after, .right::after {
        left: 18px;
    }
    
    .right {
        left: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .modules-container {
        grid-template-columns: 1fr;
    }
    
    .specialties-list {
        columns: 1;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .initiatives-grid {
        grid-template-columns: 1fr;
    }
}
