/* 🎨 Estilos Generales */ 
* {
    box-sizing: border-box;
}
/* Centrar todo el contenido en el cuerpo */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: Arial, sans-serif;
}


/* Centrar los elementos dentro de un contenedor */
header, section,footer {
    width: 80%; /* Puedes cambiar el porcentaje o usar un tamaño fijo */
    max-width: 1200px;
    text-align: center;
}

/* Asegurar que las imágenes estén centradas o alineadas al lado del texto */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centrado de imagen */
}

/* Si deseas que el texto fluya alrededor de las imágenes (como imagen a la derecha) */
img.floated-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}



/* 📌 Header */
header {
    background-color: #68bb09;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

nav {
    display: flex;
    justify-content: center;
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* 📌 Botón Menú Hamburguesa */
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* 🧩 Contenedor general para secciones tipo "video + texto" */
.contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
}

/* 📺 Tamaño del video responsivo */
.video iframe {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
}

/* 📝 Ajustes al texto */
.texto {
    flex: 1;
    min-width: 250px;
    text-align: justify;
}

/* 🖼️ Imagenes en contenedor (como en sobre nosotros) */
.imagen img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}

/* 📱 WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* 📌 Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff;
}

/* 📱 Estilos Responsivos */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #004d00;
        text-align: center;
        z-index: 1000;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav.active {
        display: flex;
    }

    .contenedor {
        flex-direction: column;
        text-align: center;
    }

    .video iframe {
        width: 90%;
    }

    footer {
        font-size: 12px;
    }
}
/* Contenedor de los iconos */
.social-icons {
    display: flex;
    justify-content: center; /* Centra los iconos horizontalmente */
    gap: 20px; /* Espacio entre los iconos */
    padding: 20px;
}

/* Estilo de los iconos sociales */
.social-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-color: #ccc; /* Color de fondo predeterminado */
    border-radius: 50%; /* Hace los iconos redondeados */
    background-size: cover; /* Hace que la imagen de fondo se ajuste al tamaño del icono */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Icono de Facebook */
.social-icon.facebook {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/51/Facebook_f_logo_%282019%29.svg/800px-Facebook_f_logo_%282019%29.svg.png');
}

/* Icono de YouTube */
.social-icon.youtube {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/72/YouTube_social_white_square_%282017%29.svg');
}

/* Icono de Twitter */
.social-icon.twitter {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/60/Twitter_Logo_as_of_2021.svg');
}

/* Icono de Instagram */
.social-icon.instagram {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/95/Instagram_logo_2022.svg');
}

/* Icono de LinkedIn */
.social-icon.linkedin {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/0/08/LinkedIn_logo_2023.svg');
}

/* Efecto al pasar el mouse por encima */
.social-icon:hover {
    transform: scale(1.1); /* Hace que el icono crezca ligeramente al pasar el mouse */
    background-color: #ddd; /* Color de fondo ligeramente más oscuro */
}
