* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --color_primario: #fffffffd;
    --color_primario_suave: #ffffff;
    --color_blanco: #000000;
    --altura_header: 6rem;
    --padding_left_right: 2rem;
    --ancho_maximo: 1200px;
}

body{
    background-color: #f8f8f8;
}

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 98vh;
}

header img{
    width: 4rem;
}


body header .redes {
    background-color: rgb(255, 30, 0);
    height: 6vh;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

body header .redes img{
    width: 16px;
}

body header .redes span{
    display: flex;
    color: white;
}

body header .redes span a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.texto-redes {
    margin-left: 0.5rem; /* Espacio entre el icono y el texto */
}

.container{
    display: flex;
    width: 95%;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 1rem;
}




a{
    text-decoration: none;
}


ol,ul{
    list-style: none;
}

.navbar {
    height: 6vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 var(--padding_left_right);
    z-index: 10;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}
.menu_hamburguesa{
    display: none;
}

.labe_hamburguesa img{
    width: 3rem;
}
.menu_hamburguesa:checked + .ul_links {
    height: calc(100vh - var(--altura_header));
}
.logo {
    color: var(--color_blanco);
}

.list_icon {
    color: var(--color_blanco);
    cursor: pointer;
}
.ul_links {
    width: 95%;
    background-color: var(--color_primario_suave);
    position: absolute;
    top: var(--altura_header);
    left: 0;
    height: 0;
    overflow: hidden;
    /* height: calc(100vh - var(--altura_header)); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;

    transition: all .3s;
}
.li_links {
}
.link {
    font-size: 3em;
    color: var(--color_blanco);
    font-weight: 450;
}


/* Estilos base del botón */
.login_button {
    background-color: #3c4ff8; /* Color naranja */
    color: #fff; /* Texto blanco */
    border: none; /* Sin borde */
    padding: 10px 20px; /* Espaciado interno */
    font-size: 1rem; /* Tamaño de fuente */
    font-weight: bold; /* Texto en negrita */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar el mouse */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transiciones suaves */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Para que funcione como un botón */
}

/* Efecto hover */
.login_button:hover {
    background-color: #e63900; /* Color naranja más oscuro */
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
}

/* Efecto active (al hacer clic) */
.login_button:active {
    background-color: #cc3300; /* Color naranja aún más oscuro */
    transform: scale(0.95); /* Reduce ligeramente el tamaño */
}

/* Estilos para el enlace dentro del botón */
.login_button a {
    color: #fff; /* Texto blanco */
    text-decoration: none; /* Sin subrayado */
}

.navbar ul .li_links a:hover{
    color: #f83c3c;
}

/* ########################################################
###########################################################
###########################################################
###########################################################
###########################################################
########################################################### */
/* Contenedor principal del carrusel */

.carrusel {
    margin-top: 0.5rem;
    width: 95%;
    height: 80vh;
    background-color: black;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
    z-index: 1;
}


.carrusel1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: cambioImagen 6s infinite;
}

.carrusel1:nth-child(1){
    background-image: url(./../img/carrusel/mangeraDosCajas.jpg);
    animation-delay: 0s;
}


.carrusel1:nth-child(2){
    background-image: url(./../img/carrusel/mangeraKarvalleatravesada.jpg);
    animation-delay: -2s;
}

.carrusel1:nth-child(3){
    background-image: url(./../img/carrusel/perrosCalientes.jpg);
    animation-delay: -4s;
}


.carrusel1:nth-child(4){
    background-image: url(./../img/carrusel/salchichaEditada.jpg);
    animation-delay: -6s;
}


@keyframes cambioImagen {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
}














/* ##################################################################################################################################################################################################################################################################################################################################### */

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}



.Presentacion {
    margin-top: 3.4rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    /* min-height: 34rem;  */
    justify-content: center;
}
.titulo{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    width: 90%;
    height: auto;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

h1 {
    font-weight: bold;
    font-size: 5rem;
    color: #ffffff;
    width: 100%;
    text-align: center;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.966); */
    /* Sombra similar a box-shadow */
    transition: text-shadow 0.3s ease-in-out;
    /* Suaviza el efecto */
    border-radius: 10px;
    /* No se aplica en texto, solo en elementos en bloque */


}

.empresa {
    width: 100%;
    display: flex;
    align-items: center;
    width: 95%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}



.empresa img {

    height: 340px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.966);
    transition: 0.3s;
    border-radius: 10px;

}

.texto {
    max-width: 600px;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



h2 {
    font-weight: 900;
    font-size: 20px;
    color: rgb(223, 19, 19);
    text-align: center;
    margin-bottom: 1rem;
}



.Productos{
    display: flex;
    align-items: center;
    width: 89%;
    flex-direction: column;
    background-color: #1f45b4;
    border-radius: 2rem;
}





/* Estilos del carrusel */
.swiper-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    position: relative; /* Asegura que los botones estén posicionados correctamente */
    overflow: hidden; 
}



.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Espaciado entre slides */
}

/* Estilos de la card */
.card {
    background-color: #ffffff;
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); /* Efecto de levantar la card */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 1rem; /* Bordes redondeados para la imagen */
}

.card h4 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #2c3e50; /* Color oscuro para el título */
    font-weight: 600; /* Peso de la fuente */
}

.card .informacion {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.card button {
    background: #1f45b4; /* Degradado moderno */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card button:hover {
    background: linear-gradient(135deg, #4a6cf7, #6e8efb); /* Cambio de degradado al hover */
    transform: scale(1.05); /* Efecto de escala */
}

/* Estilos de los botones de navegación */
.swiper-button-next, .swiper-button-prev {
    position: absolute; /* Posición absoluta dentro del contenedor */
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%); /* Ajusta el centrado */
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    border-radius: 50%; /* Forma circular */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6cf7; /* Color azul moderno */
    transition: background-color 0.3s ease;
    z-index: 10; /* Asegura que estén por encima de los slides */
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1); /* Fondo más sólido al hover */
}


.swiper-button-next {
    right: 10px; /* Posición a la derecha */
}

.swiper-button-prev {
    left: 10px; /* Posición a la izquierda */
}

.swiper-pagination {
    position: absolute;
    bottom: 10px; /* Posición en la parte inferior */
    left: 50%;
    transform: translateX(0%);
    z-index: 10;
}


/* Estilos de la paginación */
.swiper-pagination-bullet {
    background-color: #4a6cf7; /* Color azul moderno */
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2); /* Efecto de escala en el bullet activo */
}


.swiper-slide .card img{
    width: 13rem;
    height: 13rem;
}



/* ########################################################################################################################################################################################################################################################################

                        compromiso con la calidad y el sabor 

######################################################################################################################################################################################################################################################################## */

.Presentacion p{
    padding: 0px 2rem;
}







/* ########################################################################################################################################################################################################################################################################

                        Porque nuestros 

######################################################################################################################################################################################################################################################################## */

/* Estilos para la sección #PorqueNuestrosProductos */
#PorqueNuestrosProductos {
    background-color: #2a5bc4;
    min-height: 20rem;
    border-radius: 1rem;
    flex-direction: column;
    width: 90%;
    padding: 2rem 0; /* Añade espacio interno */
    margin-top: 4rem;
}

#PorqueNuestrosProductos h2{
    color: #ffffff;
    font-size: 2rem;
}

#PorqueNuestrosProductos .container_cards {
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem; /* Espacio entre tarjetas */
}

.card_2 {
    width: 30%; /* Ancho de las tarjetas en pantallas grandes */
    min-height: 25rem; /* Altura mínima */
    background-color: #f5f5f5;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.966);
    transition: 0.3s;
    overflow: hidden; /* Evita que la imagen se salga de la tarjeta */
}

.card_2 img {
    width: 100%;
    height: 12rem; /* Altura fija para la imagen */
    object-fit: cover; /* Asegura que la imagen cubra el espacio */
    border-radius: 1rem 1rem 0 0; /* Bordes redondeados solo en la parte superior */
}

.card_2 h3 {
    font-weight: 900;
    font-size: 1.5rem;
    color: #1f45b4;
    text-align: center;
    margin: 1rem 0;
}

.card_2 p {
    font-size: 1rem;
    color: rgb(71, 71, 71);
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 1rem;
}








/* ########################################################################################################################################################################################################################################################################

                        Porque nuestros 

######################################################################################################################################################################################################################################################################## */
/* Estilos generales del footer */
.footer {
    background-color: #aa1e1e; /* Fondo oscuro */
    color: #fff; /* Texto blanco */
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
     /* Centra todo el contenido */
     display: flex;
     justify-content: center;
     flex-direction: column;
     align-items: center;
}

/* Contenedor del logo */
.footer_logo_container {
    margin-bottom: 2rem;
    background-color: white;
    width: 40%;
    border-radius: 2rem;
}

.footer_logo {
    width: 100px;
    height: auto;
}

/* Contenedor de las secciones */
#footer  .footer_sections { 
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-direction: row;
}

/* Estilos para cada sección */
.footer_section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
}

.footer_title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer_links {
    list-style: none;
    padding: 0;
}

.footer_links li {
    margin-bottom: 0.5rem;
}

.footer_link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_link:hover {
    color: #fff;
}

.footer_contact {
    list-style: none;
    padding: 0;
}

.footer_contact li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido */
    gap: 0.5rem;
    color: #ccc;
}

.footer_contact i {
    font-size: 1rem;
}

.footer_social {
    display: flex;
    justify-content: center; /* Centra los íconos de redes sociales */
    gap: 1rem;
}

.footer_social_link {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer_social_link:hover {
    color: #fff;
}

.footer_copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}





/* Estilos para el botón de WhatsApp */
.whatsapp-button {
    position: fixed; /* Fija el botón en la pantalla */
    bottom: 20px; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde la derecha */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    background-color: #25d366; /* Color de WhatsApp */
    border-radius: 50%; /* Forma circular */
    padding: 10px; /* Espaciado interno */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

.whatsapp-button img {
    width: 30px; /* Tamaño del ícono */
    height: 30px; /* Tamaño del ícono */
    display: block; /* Asegura que la imagen se comporte como bloque */
}

/* Efecto hover (solo en PC) */
.whatsapp-button:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* Estilos para móvil */






































@media (min-width: 768px) {
    .labe_hamburguesa {
        display: none; /* Oculta el ícono en pantallas grandes */
    }


   
    .ul_links {
        position: static; /* Restablece la posición */
        height: auto; /* Altura automática */
        flex-direction: row; /* Muestra los enlaces en fila */
        gap: 2rem; /* Espacio entre enlaces */
        background-color: transparent;
        width: 50%;
    }

    .link {
        font-size: 1.2rem; /* Tamaño de fuente normal */
    }

    .footer_sections {
        flex-direction: column;
        align-items: center;
    }

    .footer_section {
        width: 100%;
        text-align: center;
    }

    .footer_contact li {
        justify-content: center;
    }

    .footer_social {
        justify-content: center;
    }
}


@media (min-width: 1920px) {
    body {
        font-size: 18px; /* Aumentar el tamaño de la fuente en pantallas grandes */
    }
}

@media (width<768px) {
    body {
        font-size: 16px; /* Aumentar el tamaño de la fuente en tabletas */
    }

    .navbar{
        margin: 0;
        height: 6vh;
        width: 100%;
        padding: 0px 15px;
    }

    .labe_hamburguesa img{
        width: 2rem;
    }

    h1{
        font-size: 1.4rem;
        font-family: "Poppins", sans-serif;
        margin-bottom: 0rem;
        padding-top: 0.5rem;
    }


    header{
        height: auto;
    }

    html header .carrusel{
        height: 20rem;
    }

    .titulo{
        margin-bottom: 1rem;
        border-radius: 0.5rem;
    }

    #Productos {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
        grid-template-rows: auto; /* Altura automática */
        gap: 5px; /* Reduce el espacio entre elementos */
    }

    .card-1, .card-6, .card-7, .card-8, .card-9, .card-10 {
        grid-column: auto; /* Restablece el posicionamiento */
    }


    .labe_hamburguesa {
        display: block; /* Muestra el ícono en pantallas pequeñas */
    }

    .ul_links {
        position: absolute; /* Posición absoluta para el menú desplegable */
        top: var(--altura_header); /* Debajo del header */
        left: 0;
        width: 100%;
        height: 0; /* Altura inicial 0 (oculto) */
        overflow: hidden; /* Oculta el contenido */
        flex-direction: column; /* Enlaces en columna */
        gap: 1rem; /* Espacio entre enlaces */
        background-color: var(--color_primario_suave); /* Fondo del menú */
        transition: height 0.3s ease; /* Transición suave */
    }

    .menu_hamburguesa:checked + .ul_links {
        height: calc(30vh - var(--altura_header)); /* Altura completa al activarse */
    }

    .link {
        font-size: 1.5rem; /* Tamaño de fuente más grande */
    }

    
    .card_2 {
        width: 100%; /* Las tarjetas ocupan todo el ancho en móviles */
        min-height: auto; /* Altura automática */
    }

    .card_2 img {
        height: 10rem; /* Altura más pequeña para la imagen en móviles */
    }

    .card_2 h2 {
        font-size: 1.2rem; /* Tamaño de fuente más pequeño */
    }

    .card_2 p {
        font-size: 0.9rem; /* Tamaño de fuente más pequeño */
    }
    
    #PorqueNuestrosProductos h2{
        font-size: 1rem;
    }

    .card_2 h3{
        font-size: 1rem;
    }


    #texto-redes {
        display: none;
    }

    .redes span a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .redes img {
        width: 24px; /* Ajusta el tamaño de los iconos en móvil */
    }

    .whatsapp-button {
        bottom: 15px; /* Ajusta la posición en móvil */
        right: 15px; /* Ajusta la posición en móvil */
    }

    .whatsapp-button img {
        width: 20px; /* Tamaño más pequeño en móvil */
        height: 20px; /* Tamaño más pequeño en móvil */
    }
}

/* Estilos generales */
.video-institucional {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
    padding: 0 10%; /* Margen lateral del 10% (para el 80% de ancho) */
    box-sizing: border-box;
}

.titulo-video {
    font-size: 2rem;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
}

.titulo-video::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #d32f2f; /* Color corporativo - ajustar */
    margin: 0.8rem auto 0;
}

.contenedor-video {
    width: 100%;
    max-width: 1200px; /* Máximo ancho para pantallas grandes */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contenedor-video video {
    width: 100%;
    display: block;
    background: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .video-institucional {
        padding: 0 5%; /* Menos margen en móviles */
    }
    
    .titulo-video {
        font-size: 1.5rem;
    }
    
    .contenedor-video {
        border-radius: 6px;
    }
}

@media (min-width: 1600px) {
    .contenedor-video {
        max-width: 80vw; /* Limita el crecimiento en pantallas muy grandes */
    }
}