*, body{
    margin: 0px;
    padding: 0px;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Euphemia';
    src: url('../../Library/EuphemiaUCASRegular2.6.6.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

    h1, h2, h3, #menu-lista ul li{
        font-family: 'Euphemia';
    }
    body{font-family: sans-serif;}


/* COOKIE */
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
.cookie-banner {
    z-index: 1;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

    .cookie-banner p {margin: 20px;}

    .cookie-banner button{
        margin: 20px 0px;
        padding: 10px 20px;
        font-size: 15px;
        
        background-color: transparent;
        background-color: #005d7c7a;
        color: white;
        border: 1px solid white;
    }
    .cookie-banner button:hover{
        border: 1px solid #005d7c;
        background-color: #005d7c;
        cursor: pointer;
    }
    

/* HEADER */
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
header{
    width: 100%;
    top: 0;
    z-index: 0; /* Aseguramos que el header se quede al fondo */
}

    #menu, #logo, #presentation {
        position: relative;
        z-index: 1; /* Aseguramos que los otros elementos del header se queden arriba de la imagen */
    }

/* MENU _______________________________________________________________________________*/
#menu {
    top: 0; 
    width: 100%; 
    z-index: 1; 
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; 
    height: 50px;
    background-color: white;
}

    #menu-logo {
        width: 20%;
        max-height: 50px;
        padding-left: 20px;
    }
        #menu-logo img {height: 50px; }


    #menu-lista {
        width: 80%;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
        max-height: 50px;
        transition: max-height 0.5s ease-in-out;
    }
        #menu-lista ul {
            width: 100%;
            height: 100%;
            list-style: none;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding: 0;
            margin: 0;
        }
            #menu-lista ul li {
                margin-right: 20px;
            }
                #menu-lista a {
                    color: black;
                    text-decoration: none;
                    font-size: 16px;
                    display: block;
                    padding: 10px 15px;
                }

    #menu_toggle {display: none;}
        #menu_toggle #menu_button{
            background-color: white;
            border-radius: 0px;
        }
        #menu_toggle #menu_button img{height: 20px;}

@media (max-width: 890px) { 
    #menu{background-color: white;}    
    #menu-logo{width: 50%;}

    #menu-lista { 
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        text-align: center;
        z-index: 20;
        max-height: 0; 
    }
        #menu-lista ul {
            flex-direction: column;
            width: 100%;
        }
            #menu-lista ul li {margin: 10px 0;}

    #menu_toggle {
        width: 50%;
        display: block;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }
        .toggle-button{
            font-size: xx-large;
            cursor: pointer;
        }

    #menu_button {
        border: none;
        padding: 0;
        background: none;
        height: 40px;
        width: 40px;
    }

    input#abrir-cerrar { 
        visibility:hidden;
        position: absolute;
    }
    
    #menu-lista.show {
        max-height: 500px; 
        transition: max-height 0.5s ease-in-out;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    }
}

/* NAV */
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
#presentacion{
    height: 600px;
    width: 100%;
    margin-top: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    #presentacion{
        color: white;
        font-size: 75px;
        text-align: center;
    }

@media (max-width: 700px) {
    #presentacion{
        font-size: 30px;
    }
}

/* MAIN */
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
main{
    width: 100%;
    height: auto;
}

/* IMAGENES _______________________________________________________________________________*/
#imagenes {
    width: 100%;
    margin-top: -60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

    .imagen {
        position: relative;
        width: 300px;
        height: 250px;
        overflow: hidden;

        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #imagen1{background-image: url("../../Imagenes/Index/Image/transporte.jpg");}
    #imagen2{background-image: url("../../Imagenes/Index/Image/almacenaje.jpg");}
    #imagen3{background-image: url("../../Imagenes/Index/Image/consultoria.jpg");}
    #imagen4{background-image: url("../../Imagenes/Index/Image/distribucion.jpg");}
        .imagen img {
            width: 100%;
            height: 100%;
            transition: opacity 0.3s ease;
        }
        .imagen .titulo {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 18px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .imagen:hover .titulo {opacity: 1;}

/* SOLUCIONES _______________________________________________________________________________*/
#soluciones{
    width: 100%;
    margin: 30px 0px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    #soluciones h2{
        width: 30%;
        margin-left: 30px;
        margin-right: 20px;
        font-size: 40px;
    }
    #soluciones div{
        width: 70%;
        margin-right: 30px;

        display: flex;
        flex-direction: column;
        align-items: center;

    }
        #soluciones div p{
            font-size: 20px;
            margin-bottom: 10px;
        }
        #soluciones div button{
            margin-top: 20px;
            padding: 10px 20px; /*top-bottom & left right*/
            font-size: 15px;
            
            background-color: transparent;
            background-color: #005d7c7a;
            color: white;
            border: 1px solid white;
        }
        #soluciones div button:hover{
            border: 1px solid #005d7c;
            background-color: #005d7c;
            cursor: pointer;
        }

@media (max-width: 700px) {
    #soluciones{flex-direction: column;}
    #soluciones h2{
        width: 90%; 
        text-align: center; 
        margin: 0px;
        margin-bottom: 20px;
    }
    #soluciones div{width: 90%;}
    #soluciones div p{text-align: center;}
}

/* SERVICIOS _______________________________________________________________________________*/
#servicios{
    width: 100%;
    background-color: #131313;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .servicio{
        width: 40%;
        height: 100%;
        margin-left: 30px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
        .servicio h2{
            font-size: 40px;
            color: white;
            margin-bottom: 20px;
        }
        .servicio p{
            font-size: 20px;
            color: white;
            margin-bottom: 20px;
        }
        .servicio button{
            margin: 20px 0px ;
            padding: 10px 20px; /*top-bottom & left right*/
            font-size: 15px;
            
            background-color: transparent;
            background-color: #005d7c7a;
            color: white;
            border: 1px solid white;
        }
        .servicio button:hover{
            border: 1px solid #005d7c;
            background-color: #005d7c;
            cursor: pointer;
        }
    .servicio-img{
        width: 60%;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
        .servicio-img div div{
            width: 300px;
            height: 300px;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        #servicio1{background-image: linear-gradient(rgba(0, 0, 0, 0.356), rgba(0, 0, 0, 0.356)), url("../../Imagenes/Index/Servicio/transporte.jpg");}
        #servicio2{background-image: linear-gradient(rgba(0, 0, 0, 0.356), rgba(0, 0, 0, 0.356)), url("../../Imagenes/Index/Servicio/almacenaje.jpg");}
        #servicio3{background-image: linear-gradient(rgba(0, 0, 0, 0.356), rgba(0, 0, 0, 0.356)), url("../../Imagenes/Index/Servicio/distribucion.png");}
        #servicio4{background-image: linear-gradient(rgba(0, 0, 0, 0.356), rgba(0, 0, 0, 0.356)), url("../../Imagenes/Index/Image/consultoria.jpg");}
        
        .img-background{
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
            .servicio-img div div h3{
                width: 20%;
                color: white;
            }
            .servicio-img div div img{
                width: 80%;
            }
    
@media (max-width: 1060px) {
    #servicios{flex-direction: column;}
        .servicio h2{margin-top: 20px; text-align: center; width: 90%;}
        .servicio p{margin-top: 20px; text-align: center; width: 90%;}
    .servicio{width: 100%; margin: 0px;}
    .servicio-img{display: none;}
}

/* CALIDAD _______________________________________________________________________________*/
#calidad{
    width: 100%;
    min-height: 800px;

    border-bottom: 1px solid black;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    #calidad1{
        height: 400px;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

        .back-calidad{
            width: 67%;
            height: 100%;

            background-image: url("../../Imagenes/Index/modo.jpg");
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: left;
        }
            .back-calidad hr{
                width: 60%;
                color: white;
                margin-left: 10px;
            }
            .back-calidad h3{
                width: 50%;
                color: white;
                font-size: 30px;
                margin-left: 20px;
                margin-bottom: 10px;
            }

        .back-calidad2{
            width: 33%;
            height: 100%;
            background-color: #131313;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
            .back-calidad2 p{
                color: white;
                font-size: 30px;
            }
            .back-calidad2 h3{
                color: white;
                font-size: 30px;
                text-align: center;
            }
            .back-calidad2 button{
                margin: 20px 0px ;
                padding: 10px 20px; /*top-bottom & left right*/
                font-size: 15px;
                
                background-color: transparent;
                background-color: #005d7c7a;
                color: white;
                border: 1px solid white;
            }
            .back-calidad2 button:hover{
                border: 1px solid #005d7c;
                background-color: #005d7c;
                cursor: pointer;
            }

@media (max-width: 950px) {
    #calidad1{flex-direction: column; height: auto;}
    .back-calidad{
        width: 100%; 
        min-height: 400px; 
        height: auto;
    }
        .back-calidad hr{width: 90%;}
        .back-calidad h3{width: 80%;}
    .back-calidad2{
        width: 100%; 
        min-height: 400px; 
        height: auto
    };
}

    #calidad2{
        width: 100%;
        height: 400px;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
        .c2-imagen{
            width: 33.3%;
            height: 100%;

            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
            #c2-imagen1{background-image: url("../../Imagenes/Index/unica1.jpg");}
            #c2-imagen2{background-image: url("../../Imagenes/Index/unica2.jpg");}

        #c2-texto{
            width: 33.4%;
            height: 100%;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
            #c2-texto img{
                width: 150px;
                height: 150px;
            }
            #c2-texto p{
                margin: 20px;
                font-family: sans-serif;
            }

@media (max-width: 950px) {
    #calidad2{
        display: none;
    }
}
            

/* CLIENTES  _______________________________________________________________________________ */

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
  }
  
  .slide {
    flex: 0 0 auto;
  }
  
  .slide img {
    width: 150px;
    height: 80px; /* Ajusta la altura según tus necesidades */
    object-fit: contain; /* O 'cover' según tu preferencia */
    margin: 10px;
  }
  
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
  }

  .slider-container-reverse {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .slider-track-reverse {
    display: flex;
    animation: scroll-reverse 30s linear infinite;
  }
  
  .slide-reverse {
    flex: 0 0 auto;
  }
  
  .slide-reverse img {
    width: 150px;
    height: 80px;
    object-fit: contain;
    margin: 10px;
  }
  
  @keyframes scroll-reverse {
    0% { transform: translateX(calc(-50%)); }
    100% { transform: translateX(0); }
  }

#cliente{
    width: 100%;
    height: auto;
    height: auto;
    border-top: 0px;
    background-color: white;
}

#clients{padding: 10px;}

    #clientes h2{
        font-size: 50px;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
        color: black;
    }

    #c-logo {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;  /* Espaciado uniforme entre las imágenes */
        gap: 15px;  /* Espacio entre las imágenes */
        padding: 20px;  /* Espacio alrededor de todo el contenedor */
    }
    
    #c-logo .logo-item {
        display: block;  /* Asegura que el enlace ocupe todo el espacio de la imagen */
        padding: 10px;
        border-radius: 8px;  /* Bordes redondeados para las imágenes */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Sombra suave detrás de cada imagen */
        transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Animación suave */
    }
    
    #c-logo .logo-item:hover {
        transform: scale(1.05);  /* Animación de ampliación */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);  /* Efecto de sombra más fuerte al pasar el mouse */
    }
    
    #c-logo img {
        width: 180px;  /* Tamaño uniforme para las imágenes */
        height: 80px;  /* Altura predefinida para las imágenes */
        object-fit: contain;  /* Asegura que las imágenes no se distorsionen */
        border-radius: 6px;  /* Bordes redondeados para las imágenes */
    }
    
    

/* CONTACTO _______________________________________________________________________________*/
#contactanos{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: linear-gradient(rgba(0, 0, 0, 0.356), rgba(0, 0, 0, 0.356)), url("../../Imagenes/Index/IMG-20240327-WA0007.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
    .c1{
        width: 100%;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
        .c1 h2{
            color: white;
            font-size: 40px; 
        }
        .c1 hr{
            color: black;
            width: 100px;
            height: 4px;
            background-color: white;
            margin: 10px 0px;
            border: 0;
        }
    
    .c2{
        background-color: white;
        width: 90%;
        margin: 30px 0px 100px 0px;
        padding: 20px;
        border-radius: 15px;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
   
    }
        .c2 div{
            width: 33%;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
            .icono {
                max-width: 64px;
                max-height: 64px;

                display: flex;
                justify-content: center;
                align-items: center;

                border-radius: 50%;
                border: 1px solid #005d7c;

                padding: 10px; 
            }
            .icono img {
                width: 100%;  
                height: auto;
            }
            .c2 div h3{margin: 20px 0px;}
            .c2 div p{text-align: center;}
            

@media (max-width: 680px) {
    .c2{
        flex-direction: column; 
        gap: 30px; 
        width: 80%;
    }   
        .c2 div{width: 100%;}
}

/* AYUDA */
#ayuda {padding: 20px;}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.logo-box {
    padding: 10px;
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#ay_texto {
    margin-top: 30px;
  	margin-left: 20px;
  	margin-right: 20px;
    text-align: center;
    font-size: 16px;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-box {height: 120px;}
}

@media (max-width: 480px) {
    .logo-box {height: 100px;}
}

/* SCROLL TO TOP _______________________________________________________________________________*/
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
#scrollToTop {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    font-size: 30px; 
    background-color: #005d7c; 
    color: white; 
    border: none; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#scrollToTop:hover {
    background-color: #0056b3; /* Cambiar color al pasar el ratón */
}
/* FOOTER _______________________________________________________________________________*/
/* _______________________________________________________________________ */
/* _______________________________________________________________________ */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #005d7c;
}

    .footer1 {
        width: 100%;
        margin: 20px 0px;
        color: white;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

        #footer1 section {
            width: 33.3%;
            display: flex;
            flex-direction: column; 
            align-items: center;
            
        }
            #f-logo{
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
                #f-logo img {height: 150px;}
                .f-centrar{text-align: center; }
                    .lista {
                        list-style: none;
                        margin-top: 10px;
                    }
                        .lista li {margin-top: 10px;}
                        .lista a {
                            text-decoration: none;
                            color: white;
                        }
                
                        .wrapper .icon{
                            position: relative;
                            background-color: #ffffff;
                            border-radius: 50%;
                            margin: 10px;
                            width: 50px;
                            height: 50px;
                            line-height: 50px;
                            font-size: 22px;
                            display: inline-block;
                            align-items: center;
                            box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
                            cursor: pointer;
                            transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
                            color: #333;
                            text-decoration: none;
                        }
                            .wrapper .icon:hover span{text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);}
                            .wrapper .facebook:hover{
                                background-color: #3b5999;
                                color: #ffffff;
                            }
                            .wrapper .instagram:hover{
                                background-color: #e1306c;
                                color: #ffffff;
                            }
                            .wrapper .linkedin:hover{
                                background-color: #0a66c2;
                                color: #ffffff;
                            }

                            .facebook span{margin-left: 35%}
                            .instagram span, .linkedin span{margin-left: 30%}

    .footer2 {
        width: 100%;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        .footer2 hr{width: 100%;}

@media (max-width: 890px) {
    .footer1 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #footer1 section {
        width: 100%;
        padding: 0 10px;
    }

    .lista {margin: 0;}
    h2 {margin: 0;}
}