/* Estilos generales */
:root {
    --primary-color: #3a7d44;
    --secondary-color: #f8b400;
    --dark-color: #333333;
    --light-color: #f4f4f4;
    --success-color: #5cb85c;
    --error-color: #d9534f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header h1 {
    margin: 0;
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 5px;
    color: var(--primary-color);
}

header .tagline {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-style: italic;
}

header nav {
    flex-basis: 100%;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li a::after {
    content: '';
    height: 2px;
    width: 0;
    background: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Imagenes/Oficinas 01312024.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

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

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Section */
.featured {
    padding: 60px 0;
    background-color: #fff;
}

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

.featured-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-item img {
    height: 200px;
    object-fit: cover;
}

.featured-item h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.featured-item p {
    padding: 0 20px 20px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 40px 0 20px;
}

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

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons i {
    color: #fff;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    header .container {
        flex-wrap: nowrap;
    }
    
    header h1 {
        flex-basis: auto;
        margin-bottom: 0;
        text-align: left;
    }
    
    .logo {
        margin: 0;
    }
    
    header .tagline {
        flex-basis: auto;
        margin-bottom: 0;
        text-align: left;
        margin-left: 20px;
    }
    
    header nav {
        flex-basis: auto;
        margin-left: auto;
    }
}

/* Quienes Somos Page */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.content-section {
    padding: 60px 0;
    background-color: #fff;
}

.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Galería Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contacto Page */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: 5px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
}

.contact-form {
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    height: 150px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Qué Hacemos Page */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.program-item img {
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 20px;
}

.program-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-content p {
    margin-bottom: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    background-color: var(--light-color);
    padding: 30px 20px;
    border-radius: 5px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Utilidades */
.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

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

/* Botones de filtrado en galería */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.filter-btn {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Social buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mapa */
.map-container {
    margin-top: 40px;
}

.img-map {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

/* Volunteer section */
.volunteer-section {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    margin-top: 40px;
}

/* Logo */
.logo {
    max-height: 100px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
} 