@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
}

:root{
    --color_text-primary: #363062;
    --color_text-secundary: #435585;
    --color_text-tertiary: #485663;
    --main_color-primary: #818FB4;
    --main_color-secundary: #F5E8C7;
    --main_color-tertiary: #363062;
    --background_color: #FAFBFE;
    --lowText_font_size: 16px;
    --text_size_title: 40px;
    --text_title_card: 24px;
    --text_title_cardv2: 20px;
    --text_paragraph: 16px;
    --box_shadow-primary: 0px 5px 50px -20px rgba(0,0,0,0.2);
    --ancho_pagina: 1200px;
}
header{
    width: 100%;
    height: 120px;
    position: fixed;/*ES PARA QUE ESTE POR ENCIMA DE TODO*/
    z-index: 100;
}

.container__header{
    max-width: var(--ancho_pagina);
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
}

.logo{
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 300px;
}

.logo a img{
    width: 350px;
    height: 100px;
    border-radius: 20px;

}

.menu{
    display: flex;
    align-items: center;
}

.menu nav{
    margin: 0px 20px;
}

.menu nav ul{
    display: flex;
}

.menu nav ul li{
    list-style: none;/*PARA QUITARLE LOS PUNTOS A LAS LISTAS*/
    margin: 20px 16px;
}

.menu nav ul li a{
    color: var(--color_text-secundary);
    font-size: var(--lowText_font_size);
    position: relative;
}

.menu nav ul li a:hover{
    color: var(--color_text-primary);
}

.menu nav ul li a {
    position: relative;
    color: var(--color_text-secundary);
    transition: color 0.3s ease;
}

.btn__quote{
    display: block;/*PARA QUE SE CONVIERTA EN UN BLOQUE*/
    padding: 8px 40px;
    border-radius: 8px;
    font-weight: 500;
    margin: 0px 20px;
    text-align: center;
    background: transparent;
    border: 2px solid var(--main_color-tertiary);
    color: var(--color_text-primary);
    transition: all 300ms;
}

.btn__quote:hover{
    background: var(--main_color-tertiary);
    color: white;
    border-radius: 8px;
    border: 2px solid transparent;
}

.menu .socialMedia{
    margin: 0px 10px;
}

.menu .socialMedia a{
    margin: 0px 10px;
}

.menu .socialMedia img{
    width: 20px;
}

/*INICIO*/
.container__inicio {
    padding-bottom: 100px;
    padding-top: 100px;
    background: #ADD8E6;;
}

.inicio{
    margin: auto;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    max-width: var(--ancho_pagina);
}

.text__cover{
    width: 100%;
    padding-right: 150px;
}

.text__cover h1{
    font-size: 45px;
    color: var(--color_text-secundary);
}

.text__cover p{
    font-size: var(--text_paragraph);
    margin-top: 50px;
    color: var(--color_text-tertiary);
    text-align: justify;
}

.image__cover{
    width: 100%;
    margin-top: 70px;
}

.image__cover img{
    width: 550px;
    height: 550px;
    border-radius: 50%;
    transition: transform 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

.image__cover img:hover{
    transform: scale(1.1);
    border-radius: 0%; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
}

/*SECCION SOBRE NOSOTROS*/
.container__about{
    padding: 70px 0px;
    background: var(--background_color);
}

.about{
    max-width: 1200px;
    margin: auto;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-items: center;
}

.text__about{
    width: 100%;
    padding-right: 40px;
}

.text__about h1{
    color: var(--color_text-secundary);
    font-weight: 600;
}

.text__about p{
    font-size: var(--text_paragraph);
    margin-top: 40px;
    color: var(--color_text-tertiary);
    text-align: justify;
}

.image__about{
    display: flex;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

.image__about img{
    width: 0px;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s ease;
}

.image__about img:hover{
    cursor: pointer;
    width: 70%;
    opacity: 1;
    filter: contrast(120%);
}

/*CARTAS DEBAJO DE SOBRE NOSOTROS*/
.container__box-cardPrimary{
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;/*PARA QUE AL MINIMIZAR LA PAGINA SE ADECUE AL TAMAÑO*/
}

.box__card-primary{
    max-width: 350px;
    padding: 60px 40px;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    margin: 14px;
    transition: all 300ms;
}

.box__card-primary:hover{
    border: 1px solid transparent;
    box-shadow: var(--box_shadow-primary);
}

.box__card-primary h2{
    font-size: var(--text_title_card);
    margin-top: 40px;
    font-weight: 500;
}

.box__card-primary p{
    margin-top: 20px;
    text-align: justify;
}

.box__card-primary img{
    width: 120px;
    height: 120px;
    margin-left: 25%;
}

.box__card-primary a{
    margin: 100px;;
}

/*RUTAS*/
.text__card-primary{
    max-width: 800px;
    margin: auto;
}

.text__card-primary p{
    color: var(--color_text-primary);
    letter-spacing: 4px;
    font-size: 15px;
    font-weight: 500;
}

.text__card-primary h1{
    font-size: 45px;
    font-weight: 600;
    color: var(--color_text-secundary);
}

.container__card-primary{
    padding-top: 50px;
}

.card__primary{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding-bottom: 50px;
}

/*IMAGENES RUTAS*/
.text__rutas{
    width: 30%;
    padding-left: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.text__rutas p{
    font-size: 20px;
}

.slider__rutas{
    height: 500px;
    width: 800px;
    margin-top: 20px;
    overflow: hidden;
}

.slider__rutas ul{
    display: flex;
    padding: 0;
    width: 400%;
    animation: slide 10s infinite alternate ease-in-out;
}

.slider__rutas li{
    width: 100%;
    list-style: none;
    position: relative;
}

.slider__rutas ul li img{
    width: 100%;
}
.text__slider{
    position: absolute;
    text-align: center;
    padding: 0 200px;
    top: 200px;
    color: white;
}

.text__slider h2{
    font-size: 30px;
    margin-bottom: 35px;
}

.text__slider p{
    font-size: 15px;
    text-align: center;
    width: 250px;
}

.slider__rutas img{
    width: 100%;
    border: 1px solid white;
}

@keyframes slide{
    0% { margin-left:0;}
    20% { margin-left:0;}
    
    25% { margin-left:-100%;}
    45% { margin-left:-100%;}
    
    50% { margin-left:-200%;}
    70% { margin-left:-200%;}
    
    75% { margin-left:-300%;}
    100% { margin-left:-300%;}
}


@media (max-width: 990px){
    .body{
        padding: 0 25px;
    }
    .slider__rutas{
        width: 100%;    
    }
    .text__slider{
        top:150px;
        padding: 0;
        text-align: center;
    }
    .text__slider h1{
        font-size: 25px;
        margin-bottom: 15px;
    }
    .text__slider p{
        font-size: 15px;
        text-align: center;
    }
}

/*CHOFERES*/

.driver{
    width: 100%;
    padding: 50px 20px;
    margin-top: 50px;
    background: var(--background_color);
}

.card__driver{
    max-width: 1200px;
    text-align: center;
    padding-bottom: 50px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.card{
    max-width: 250px;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    /*background: var(--main_color-secundary);*/
    background: var(--background_color);
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    cursor: default;
    transition: all 300ms ease;
}

.card:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
}

.card img{
    width: 100%
}

.card .description__driver{
    padding: 15px;
    text-align: center;
}

.card .description__driver p{
    line-height: 1.5;
    color: #6a6a6a;
}

.card .description__driver h3{
    font-weight: 400;
    margin-bottom: 15px;
}

/*ANIMACION DEL MENU*/
header.abajo{
    background: var(--background_color);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 500ms ease;
}

div[id]{
    scroll-margin-top:100px;
}

html{
    scroll-behavior: smooth;
}

.menu nav ul li a{
    position: relative;
}

.menu nav ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    top: calc(100% + 4px);
    background-color: transparent;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu nav ul li a.selected::after,
.menu nav ul li a:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: var(--color_text-primary);
}

/*ANIMACION DE ENTRADA Y SALIDAD*/
.animated {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated.show {
  opacity: 1;
  transform: translateY(0);
}
.contact-info {
    background-color: #f5f5f5;
    border: 2px solid #007bff;
    border-radius: 15px;
    padding: 30px;
    align-items: center;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    width: 30px;
    margin-left: 10px;
}

.whatsapp-header {
    text-align: center; /* Esto centra el texto horizontalmente */
}

.contact-info h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.contact-info ul {
    padding: 0;
    margin: 0;
}

.contact-info li {
    list-style-type: none;
    margin-bottom: 15px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info p {
    font-size: 20px;
    color: #555;
    margin-top: 20px;
}

/*ANIMACION*/
@keyframes show{
    from{
        opacity: 0;
        scale: 25%;
    }to{
        opacity: 1;
        scale: 100%;
    }
}


