/*  Estilos Generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

/*  Encabezado */
header{
    background: linear-gradient(to right, rgba(0, 102, 51, 0.8), rgba(255, 204, 0, 0.8)), url('img/banner.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}
header img {
    width: 120px;
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 50px;
}
header h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
header p {
    font-size: 1.2em;
}

/*  Navegación */
nav {
    background: #004d26;
    padding: 15px;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline;
    margin: 0 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ffcc00;
}

/*  Secciones */
section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.trabajadores {
    max-width: 90%; 
    width: 1500px;  
    margin: 50px auto;
    padding: 50px;  
    background: white;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25); 
    text-align: center;
}

/*  Tarjetas de Productos */
.productos {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.card {
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.card-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card h3 {
    padding: 15px;
    font-size: 1.3em;
    color: #006633;
}
.card p {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #666;
}

 /* Información Adicional de Productos */
/* .info-trabajadores {
    display: none;
    padding: 15px;
    font-size: 0.95em;
    background: #f7f7f7;
    border-top: 2px solid #006633;
    transition: max-height 0.5s ease-out;
    overflow: hidden;
    max-height: 0;
}
.info-trabajadores.mostrar {
    display: block;
    max-height: 200px;
} */

/*  Botones */
button {
    background: #006633;
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}
button:hover {
    background: #ffcc00;
    color: black;
    transform: scale(1.1);
}

/*  Formulario */
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
form label {
    font-weight: bold;
}
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}
form button {
    width: 100%;
}

/*  Redes Sociales */
.redes-sociales {
    text-align: center;
    margin-top: 40px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.social-buttons a i {
    font-size: 1.5em;
}

/*  Estilos para cada red social */
.whatsapp {
    background-color: #25D366;
    color: white;
}
.instagram {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    color: white;
}
.facebook {
    background-color: #1877f2;
    color: white;
}

.social-buttons a:hover {
    transform: scale(1.1);
}

/*  Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #004d26;
    color: white;
    margin-top: 40px;
}
footer a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.1em;
}
footer a:hover {
    color: white;
}

/*  Responsividad para móviles */
@media (max-width: 768px) {
    header {
        padding: 50px 10px;
    }
    .productos {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
}

