/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* Barra de Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5a27;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2d5a27;
}

/* Sección Hero con Imagen Fija */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* El truco del fondo fijo: */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                      url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=2000');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Contenido que se desplaza hacia arriba */
.main-content {
    position: relative;
    background: #fff; /* Esto tapa la imagen al subir */
    padding: 80px 20px;
    z-index: 10;
}

.info {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d5a27;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
    border-bottom: 4px solid #2d5a27;
}

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

/* Footer Estilo Verde Moderno */
.footer {
    background-color: #2d5a27; /* Verde bosque */
    color: #ffffff;
    padding: 60px 20px 20px;
    z-index: 20;
    position: relative;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #a8dadc;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Redes Sociales */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #a8dadc; /* Un tono verde más claro al pasar el mouse */
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #cbd5e0;
}