/* Variables de color Agrolife */
:root {
    --verde: #4CAF50;
    --naranja: #FF9800;
    --gris: #f5f5f5;
    --texto: #333;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--texto);
    background-color: var(--gris);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--verde), var(--naranja));
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeIn 2s ease-in-out;
}

.header .logo {
    max-width: 150px;
    margin-bottom: 1rem;
    animation: scaleIn 1.5s ease-in-out;
}

.header .slogan {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Secciones */
section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: white;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.5s;
}

section:hover {
    transform: translateY(-5px);
}

section h2 {
    color: var(--verde);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Lista Distribuidores */
.distributors ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.distributors li {
    background-color: var(--naranja);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

/* Botón descargar */
.btn-download {
    text-decoration: none;
    background-color: var(--verde);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: var(--naranja);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--verde);
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* Animaciones por sección */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}
