/* 
* SLIDE
*
*/
.slider {
    overflow: hidden;
    max-width: 100%;
    /* Ajusta al ancho que prefieras */
}

.slide-container {
    display: flex;
    transition: transform 2s ease;
    will-change: transform;
}

.slide {
    min-width: 100%;
    /* Asegura que cada slide tenga el ancho del contenedor */
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    /* Asegura que las imágenes se escalen correctamente */
    height: auto;
    display: block;
}




/*
 * CONTAINERS
 *
*/
.bg-playa {
    background-image: url('/assets/playa.jpg');
    padding: 100px 100px;
    text-align: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.bg-playa:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.rnavbar {
    position: absolute;
    z-index: 11;
    width: 100%;
    top: 0;
    background-color: #00000027;

}

.rnavbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.rnavbar ul li {
    padding-inline: 10px;
    padding-block: 20px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

/* Contenedor principal - ajustado para mostrar tarjetas en fila */
.vuelos-container {
    width: 100%;
    max-width: 1200px; /* Aumentado para acomodar múltiples tarjetas */
    padding-inline: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row; /* Asegura que las tarjetas estén en fila */
    gap: 20px; /* Espacio entre tarjetas */
    flex-wrap: wrap; /* Permite que las tarjetas se envuelvan en pantallas pequeñas */
    justify-content: center; /* Centra las tarjetas */
    z-index: 1000;
}

/* Tarjeta individual - ajustada para tener un ancho fijo */
.vuelos-card {
    width: 350px; /* Ancho fijo para cada tarjeta */
    border-radius: 20px; /* Bordes más redondeados como en la imagen */
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-sizing: border-box;
    flex-shrink: 0; /* Evita que las tarjetas se compriman */
}

/* Contenedor de la imagen */
.image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Altura fija para todas las imágenes */
    overflow: hidden;
    border-radius: 20px;
}

/* Imagen */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
}

.image-container:hover .card-image {
    transform: scale(1.05);
}

/* Overlay general semi-transparente */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Más sutil como en la imagen */
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    box-sizing: border-box;
}

/* Efecto de desenfoque en la parte inferior */
.blur-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Altura del área desenfocada */
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px); /* Más desenfoque como en la imagen */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
}

/* Tarjeta de información */
.info-card {
    position: relative;
    z-index: 2;
    background-color: white;
    border-radius: 15px;
    padding: 12px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-content {
    display: flex;
    flex-direction: column;
}

.destino {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.descripcion {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.precio {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .vuelos-container {
        flex-direction: column;
        align-items: center;
    }
    
    .vuelos-card {
        width: 100%;
        max-width: 350px;
    }
}

.vuelo-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1b365d;
}


header {
    height: 60vh;
    position: relative;
    /* Asegura que el video se posicione dentro del header */
    overflow: hidden;
    /* Oculta cualquier parte del video que sobresalga */
}

header video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Hace que el video cubra completamente el header */
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6);
}

.navbar {
    position: absolute;
    top: 200px;
    z-index: 10;
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar span:nth-child(1) {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.navbar span:nth-child(2) {
    color: #b2292e;
    font-size: 55px;
    margin-right: 20px;
    font-weight: 800;
    font-style: oblique;
    text-decoration: underline;
}

.navtext {
    position: absolute;
    top: 230px;
    z-index: 11;
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 20px;
    font-weight: 600;
}

.navbutton {
    position: absolute;
    top: 300px;
    z-index: 11;
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1b365d;
    font-size: 20px;
    font-weight: 600;
}

.navbutton p {
    background-color: #fff;
    padding-inline: 20px;
    padding-block: 6px;
    border-radius: 20px;
}


.topper {
    position: absolute;
    z-index: 999;
    width: 100vw;
    height: 100vh;
}