body {
    margin: 0;
    padding: 0;
}
.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-shape .shape-fill {
    fill: #cdcfda;
}
/* Contenedor de la portada */
.fl-row {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Video de fondo */
.fl-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Capa con contenido sobre el video */
.content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
}

.content-overlay h1 {
    font-size: 2.5rem;

    font-family: emoji;
    font-weight: 700;
    letter-spacing: 1px;
}

.tour-button {
    padding: 12px 30px;
    background-color: rgb(255 60 107);
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 30px;
    border: 2px solid #bfbebe;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    display: inline-block;
    max-width: 90%;
    text-align: center;
    white-space: nowrap;
}
.tour-button:hover {
    background-color: #636363;
    color: white;
}

/* Estilos para la sección de servicios */
.servicios-slider {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.owl-carousel .servicio {
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin: 10px;
}

.service-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.service-details {
    padding: 15px 0;
}

.service-details h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #333;
}

.service-details p {
    font-size: 1em;
    color: #666;
}

.service-link .fl-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.service-link .fl-button:hover {
    background-color: #0056b3;
}

/* Estilos para los botones de navegación del carrusel */
.owl-nav {
    text-align: center;
    margin-top: 20px;
}

.owl-nav button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: #333;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    margin: 0 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.owl-nav button:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Por defecto, solo mostramos el video de escritorio */
.video-mobile {
    display: none;
}

/* En móviles mostramos el video móvil - VERSIÓN MODIFICADA */
@media (max-width: 768px) {
    .fl-row {
        height: 100vh; /* Utilizamos vh en lugar de dvh para asegurar que ocupe toda la altura de la pantalla */
        min-height: 100vh; /* Establecemos también un mínimo de altura para evitar espacios en dispositivos con barras de herramientas */
    }
    
    .video-desktop {
        display: none;
    }

    .video-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-mobile video {
        position: absolute;
        top: 0; /* Aseguramos que el video empiece desde la parte superior */
        left: 0; /* Aseguramos que el video empiece desde la parte izquierda */
        width: 100%; /* El video debe llenar todo el ancho */
        height: 100%; /* El video debe llenar toda la altura */
        object-fit: cover; /* Hace que el video cubra toda la pantalla sin distorsión */
    }
    
    /* Pequeño ajuste para el contenido en móviles */
    .content-overlay {
        top: 52%; /* Pequeño ajuste de posición */
        width: 90%; /* Mejor adaptación */
    }
    
    .content-overlay h1 {
        font-size: 2rem; /* Tamaño ligeramente menor para móviles */
    }
    .wave-shape svg {
        height:50px;
    }
}
@media (max-width: 480px) {
      .wave-shape svg {
        height: 30px;
    }
}
/* Asegura que ambos videos llenen el contenedor */
.fl-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

