body { 
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: left;
}

.traductor {
    display: flex;
    flex-direction: right;
    justify-content: left;
    align-items: center;
    color: #fff;
    margin-right: 20px;
}

.espacio {
    margin-right: 10px;
}

.bandera{
    margin-left: 10px;
    width: 30px;
    height: 20px;
}

.nav-links {
    display: flex;
    flex-direction: right;
    list-style-type: none;
    justify-content: right;
    margin: 0;
    padding: 0;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 5px;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 4px 0px;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 5px 5px;
    transition: 0.3s;
}

.menu li :hover {
    background-color: #007bff;
    border-radius: 5px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-right: 10px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
}

.idiomas{
    display: flex;
    justify-content: left;
    align-items: left;
    width: 20px;
    height: 15px;
}

header {
    background-color: #003399;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-weight: bold;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

header:hover::after {
    left: 100%;
}
    /*Header lo de arriba*/

main {
    margin: 15px;
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 2rem;
}

#inicio {
    margin-top: 10px;
    text-align: center;
    padding: 100px 20px;
    background: #003399;
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 10px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffd700;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.button-text {
    margin-right: 10px;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

#prueba-conduccion {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
}

.prueba-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.prueba-detalle {
    flex-basis: calc(33.333% - 2rem);
    text-align: center;
    padding: 1rem;
    margin: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.prueba-detalle:hover {
    transform: translateY(-5px);
}

.prueba-detalle i {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.prueba-reserva {
    background-color: #f0f0f0;
    padding: 2rem;
    border-radius: 8px;
}

#reserva-form {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#reserva-form input,
#reserva-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#reserva-form button {
    background-color: #0066cc;
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#reserva-form button:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
}

.confirmacion {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeInOut 5s ease-in-out;
}

footer {
    background-color: #003399;
    padding: 10px;
    text-align: center;
}

footer a{
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer p {
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icons i {
    color: #fff;
    margin: 0 5px;
    font-size: 24px;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

@media screen and (max-width: 800px) {
    body{
        padding: 10px;
    }
    header nav {
        flex-direction: column;
    }

    .nav-links {
        position: static;
        right: 0px;
        height: 450px;
        margin-top: 10px;
        background-color: #003399;
        display: none;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .contenido h1 {
        font-size: 1.5em;
    }

    .boton-cta {
        font-size: 0.9em;
    }

    .burger {
        margin-top: 10px;
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .menu {
        flex-direction: column;
        align-items: center;
    }

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

.nav-active {
    display: flex;
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.active .line2 {
    opacity: 0;
}

.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}