/* Estilos generales del cuerpo */
body {
    background: linear-gradient(135deg, #000000, #8B0000); /* Gradiente sutil de negro a rojo oscuro para un diseño más prolijo */
    font-family: 'Arial', sans-serif;
    color: #FFFFFF; /* Blanco para texto */
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilos para el header */
header {
    margin-bottom: 20px;
}

header h1 {
    font-size: 3em;
    color: #FFFF00; /* Amarillo */
    text-shadow: 2px 2px 4px #000000; /* Sombra negra */
    margin: 0;
}

header img {
    max-width: 300px;
    margin-top: 10px;
}

/* Estilos para la descripción */
.descripcion {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro semi-transparente */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.descripcion p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #FFFFFF;
}

/* Estilos para la sección de productos */
.productos {
    margin: 40px 0;
}

.productos h2 {
    font-size: 2.5em;
    color: #FF0000; /* Rojo */
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 20px;
}

.carrusel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.carrusel-contenedor {
    display: flex;
    width: calc(200px * 20); /* Ajustar según número de imágenes */
    animation: deslizar 20s linear infinite; /* Animación de deslizamiento */
}

.carrusel-contenedor img {
    width: 200px;
    height: auto;
    margin: 0 10px;
    border-radius: 5px;
}

/* Animación del carrusel */
@keyframes deslizar {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Desliza la mitad para loop infinito */
}

/* Estilos para los botones sociales */
.social {
    margin-top: 40px;
}

.boton {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    width: 250px; /* Ancho fijo para dimensiones iguales */
    background-color: #FF0000; /* Rojo */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center; /* Centrar texto */
}

.boton:hover {
    background-color: #FFFF00; /* Amarillo al hover */
    color: #000000; /* Negro */
}

.whatsapp {
    background-color: #25D366; /* Verde de WhatsApp */
}

.whatsapp:hover {
    background-color: #128C7E;
}

.instagram {
    background-color: #E4405F; /* Rosa de Instagram */
}

.instagram:hover {
    background-color: #C13584;
}

.facebook {
    background-color: #1877F2; /* Azul de Facebook */
}

.facebook:hover {
    background-color: #166FE5;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    /* Ajustes para tablets */
    header h1 {
        font-size: 2em;
    }

    header img {
        max-width: 200px;
    }

    .descripcion {
        max-width: 90%;
        padding: 15px;
    }

    .descripcion p {
        font-size: 1em;
    }

    .productos h2 {
        font-size: 1.8em;
    }

    .carrusel-contenedor img {
        width: 150px;
    }

    .carrusel-contenedor {
        width: calc(150px * 20);
    }

    .boton {
        width: 200px;
        font-size: 1em;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para móviles */
    header h1 {
        font-size: 1.5em;
    }

    header img {
        max-width: 150px;
    }

    .descripcion {
        padding: 10px;
    }

    .descripcion p {
        font-size: 0.9em;
    }

    .productos h2 {
        font-size: 1.5em;
    }

    .carrusel-contenedor img {
        width: 120px;
    }

    .carrusel-contenedor {
        width: calc(120px * 20);
    }

    .boton {
        display: block;
        width: 80%;
        margin: 10px auto;
        font-size: 0.9em;
        padding: 10px 15px;
    }
}

