/* ================================
   CONFIGURACIÓN GENERAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* ================================
   ENCABEZADO
================================ */

header {
    width: 100%;
    height: 100px;
    padding: 10px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: #111111;

    border-bottom: 1px solid #2a2a2a;

    z-index: 1000;
}
/* LOGO */

.logo img {
    width: 300px;
    height: auto;
    display: block;
}

/* MENÚ */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

nav a:visited {
    color: #ffffff !important;
}

nav a:hover {
    color: #ff6600 !important;
}


/* REDES SOCIALES */

.redes {
    display: flex;
    align-items: center;
    gap: 45px;

    margin-left: 0;
    padding-left: 0;

    border-left: none;
}

.redes a {
    color: #ffffff !important;
    text-decoration: none;

    font-size: 30px;

    transition: 0.3s;
}

.redes a:visited {
    color: #ffffff !important;
}

.redes a:hover {
    color: #ff6600 !important;
    transform: translateY(-2px);
}

/* ================================
   SECCIONES
================================ */

section {
    padding: 100px 7%;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

section > p {
    color: #bbbbbb;
}


/* ================================
   INICIO
================================ */

#inicio {
    min-height: 85vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    position: relative;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.60),
            rgba(0, 0, 0, 0.80)
        ),
       url("img/portada.jpeg");

    background-size: cover;
    background-position: center;
}


#inicio h1 {
    font-size: 56px;
    color: #ffffff;
    margin-bottom: 20px;
}

#inicio p {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 35px;
}


/* ================================
   BOTONES
================================ */

.boton {
    display: inline-block;

    padding: 14px 30px;

    background-color: #ff6600;
    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-weight: bold;

    transition: 0.3s;
}

.boton:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}


/* ================================
   FLOTA
================================ */

#flota {

    background-color: #151515;

}


/* FOTOS DE LA FLOTA */

.flota {
    max-width: 1200px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.auto {
    background-color: #1d1d1d;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid #2a2a2a;
}

.auto img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}





/* ================================
   BENEFICIOS
================================ */

.beneficios {
    max-width: 1100px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.beneficios > div {
    background-color: #1d1d1d;

    padding: 30px 20px;

    border: 1px solid #2a2a2a;

    border-radius: 10px;

    transition: 0.3s;
}

.beneficios > div:hover {
    transform: translateY(-5px);

    border-color: #ff6600;
}

.beneficios h3 {
    color: #ff6600;

    margin-bottom: 10px;

    font-size: 20px;
}

.beneficios p {
    color: #bbbbbb;
}



/* ================================
   RESEÑAS
================================ */

#resenas {
    background-color: #151515;
}

#resenas > p {
    color: #bbbbbb;
    margin-bottom: 40px;
}

.carrusel-resenas {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.resenas-track {
    display: flex;
    width: 800%;
    animation: pasarResenas 32s infinite;
}

.resena {
    width: 12.5%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.resena img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}
@keyframes pasarResenas {

    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(0);
    }

    12.5% {
        transform: translateX(-12.5%);
    }

    22.5% {
        transform: translateX(-12.5%);
    }

    25% {
        transform: translateX(-25%);
    }

    35% {
        transform: translateX(-25%);
    }

    37.5% {
        transform: translateX(-37.5%);
    }

    47.5% {
        transform: translateX(-37.5%);
    }

    50% {
        transform: translateX(-50%);
    }

    60% {
        transform: translateX(-50%);
    }

    62.5% {
        transform: translateX(-62.5%);
    }

    72.5% {
        transform: translateX(-62.5%);
    }

    75% {
        transform: translateX(-75%);
    }

    85% {
        transform: translateX(-75%);
    }

    87.5% {
        transform: translateX(-87.5%);
    }

    100% {
        transform: translateX(-87.5%);
    }
}


/* ================================
   REQUISITOS
================================ */

#requisitos {
    text-align: center;
}

#requisitos > p {
    color: #bbbbbb;
    margin-bottom: 40px;
}

.lista-requisitos {
    max-width: 800px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.requisito {
    display: flex;
    align-items: center;
    gap: 20px;

    background-color: #1d1d1d;

    padding: 20px 25px;

    border: 1px solid #2a2a2a;
    border-radius: 8px;

    text-align: left;

    transition: 0.3s;
}

.requisito:hover {
    border-color: #ff6600;
    transform: translateX(5px);
}

.requisito > span {
    color: #ff6600;

    font-size: 18px;
    font-weight: bold;

    min-width: 35px;
}

.requisito h3 {
    color: #ffffff;
    margin-bottom: 3px;
    font-size: 18px;
}

.requisito p {
    color: #bbbbbb;
    font-size: 14px;
}


/* ================================
   CONTACTO
================================ */

#contacto {
    background-color: #151515;
}

#contacto p {
    margin-bottom: 30px;

    color: #bbbbbb;
}


/* ================================
   PIE DE PÁGINA
================================ */

footer {
    padding: 40px 7%;

    text-align: center;

    background-color: #0b0b0b;

    color: #888888;
}

footer p:first-child {
    color: #ff6600;

    font-weight: bold;

    font-size: 20px;

    margin-bottom: 5px;
}


/* ================================
   CELULARES
================================ */

@media (max-width: 768px) {

    header {
        flex-direction: column;

        gap: 15px;

        padding: 20px;
    }

    nav {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    #inicio h1 {
        font-size: 40px;
    }

    #inicio p {
        font-size: 17px;
    }

    section {
        padding: 70px 20px;
    }

    section h2 {
        font-size: 30px;
    }

    .beneficios {
        grid-template-columns: 1fr;
    }

}