/* Reset y básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0b0b;
    color: #fff;
    overflow-x: hidden;
}

/* Video */
.video-section {
    width: 100%;
    height: 75vh;
    /* ajusta según lo compacto que quieras */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* centra verticalmente */
    overflow: hidden;
}

.video-section video {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    /* mantiene proporción y cubre el contenedor */
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

.video-desktop {
    width: auto;
    height: 90vh;
    /* ajusta según diseño deseado */
    max-width: 100%;
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .video-desktop {
        display: none;
    }

    .video-mobile {
        display: block;
        width: 100%;
        /* ocupa todo el ancho */
        height: auto;
        /* altura proporcional */
        max-height: 50vh;
        /* opcional: limitar altura máxima */
        object-fit: cover;
        /* cubre el contenedor sin deformar */
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        /* ya no es necesario centrar con translate */
    }
}

/* Navegación */
/* Banner con nav sobre ella */
/* Banner de fondo con gradiente */
.banner-section {
    position: relative;
    width: 100%;
    height: 100px;
    /* altura del banner */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Nav píldora sobre el banner */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 8rem;
    padding: 1rem 8rem;
    border-radius: 20px;
    /* píldora */
    background-color: rgba(255, 255, 255, 0.1);
    /* semi-transparente para resaltar blur */
    position: relative;
    z-index: 1;
}

.nav-tabs a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-tabs {
        gap: 2rem;
        padding: 0.8rem 4.5rem;
    }

    .nav-tabs a {
        font-size: 0.7rem;
    }
}

/* Sección con fondo */
.seccion-con-fondo {
    background-color: #fff;
    background-image: url('imagenes/aerooPW.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 70%;
    /* ajusta altura, mantiene proporción */
    width: 100%;
    min-height: 300px;
    /* ajusta según diseño */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sección horarios */
#encabezado-invertido {
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 5rem;
}

#encabezado-invertido h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 3rem;
}

#encabezado-invertido ul {
    list-style: none;
    display: inline-block;
    padding: 0;
    text-align: left;
}

#encabezado-invertido li {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Botón */
.boton {
    margin-top: 3rem;
    padding: 0.75rem 2rem;
    font-family: 'Orbitron', sans-serif;
    background-color: rgba(40, 40, 40, 0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 8px;
    transition: background 0.3s ease;
    backdrop-filter: blur(4px);
}

.boton:hover {
    background-color: crimson;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.modal.mostrar {
    display: flex;
}

.modal-contenido {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 2rem;
    background-color: rgba(30, 30, 30, 0.85);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-contenido input[type="text"] {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #555;
    background: rgba(20, 20, 20, 0.7);
    color: #fff;
}

.modal-contenido button {
    padding: 0.75rem;
    background-color: crimson;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.modal-contenido h3 {
    font-family: 'Orbitron', sans-serif;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

/* Contacto */
.contact-section {
    padding: 5rem 2rem;
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(5px);
}

.contact-info p {
    margin-bottom: 2rem;
    /* separa el párrafo de los iconos */
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-info,
.contact-form {
    flex: 1 1 300px;
    max-width: 500px;
}

/* Social links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.social-link i {
    font-size: 2rem;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.social-link.instagram i {
    color: crimson;
    /* color fijo */
}

.social-link.whatsapp i {
    color: #25D366;
    /* color fijo */
}

.social-link.instagram:hover i {
    transform: scale(1.2);
}

.social-link.whatsapp:hover i {
    transform: scale(1.2);
}

.social-text {
    font-size: 1rem;
    color: #fff;
    min-width: 160px;
    transition: opacity 0.3s, transform 0.3s;
}

/* Formulario */
.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 0.8rem 1rem;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 1rem;
    color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: crimson;
}

.form-group label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease all;
    background-color: transparent;
    padding: 0 0.25rem;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: crimson;
}

.contact-btn {
    background-color: rgba(220, 20, 60, 0.9);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.contact-btn:hover {
    background-color: crimson;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.75rem;
    background-color: #111;
    color: #eee;
}

/* Responsive */
@media(max-width:768px) {
    #encabezado-invertido h3 {
        font-size: 1.5rem;
    }

    #encabezado-invertido li {
        font-size: 1rem;
    }

    .boton {
        width: 80%;
        margin: 2rem auto;
    }
}