/* === Reset y contenedores base === */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* === Video de fondo === */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(60%);
}

/* === Logo central === */
.logo-central {
    position: absolute;
    top: 25%;
    left: 10%;
    transform: translate(-40%, -50%);
    z-index: 2;
    max-width: 200px;
    margin-bottom: 20px;
}

.logo-central img {
    max-width: 350px;
    width: 500px;
    height: 200px;
    object-fit: contain;
}

/* === Navbar inferior === */
.navbar-inferior {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 120px;
    background-color: rgba(77, 148, 83, 0.38);
    z-index: 2;
    text-align: center;
    padding-top: 30px;
    border-top-left-radius: 100% 150px;
}

.navbar-inferior a,
.navbar-inferior .nav-link {
    color: white !important;
    margin: 0 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 20px;
}

.navbar-inferior .navbar-brand img {
    max-height: 50px;
}

/* === Navbar responsive === */
.custom-navbar {
    background: transparent;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        bottom: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(57, 97, 60, 0.57);
        z-index: 999;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item .nav-link {
        color: white !important;
        padding: 10px;
    }
}

/* === Menú desplegable === */
.navbar .dropdown-menu {
    top: auto !important;
    bottom: 100%;
    margin-bottom: 0.5rem;
    transform: none !important;
    background-color: rgba(27, 43, 28, 0.57);
    border: none;
    border-radius: 0;
}

.navbar .dropdown-menu .dropdown-item {
    color: white;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* === Slider de destinos === */
.destino-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.slider-multiple {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
}

/* Ocultar scroll horizontal */
#sliderDestinos {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
#sliderDestinos::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Elementos del slider */
.slider-item {
    flex-shrink: 0;
    width: 16.66%; /* 6 en pantalla */
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-item { width: 50%; }
}

@media (max-width: 576px) {
    .slider-item { width: 100%; }
}

/* Efecto hover verde transparente */
.slider-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 128, 0, 0.137);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.slider-item:hover::after {
    opacity: 1;
}

/* Contenido interno del card */
.slider-item .card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 15px;
    overflow: hidden;
}

/* Imagen en relación 4:3 */
.img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%; /* 4:3 ratio */
    overflow: hidden;
    border-radius: 15px;
}

.img-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Título en overlay */
.titulo-overlay {
    background-color: rgba(6, 44, 17, 0.445);
    padding: 8px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Botones de navegación del slider */
.nav-left,
.nav-right {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-left:hover,
.nav-right:hover {
    background-color: rgba(10, 44, 24, 0.8);
}

.nav-left { left: 10px; }
.nav-right { right: 10px; }

.bloque-cuatro {
    position: relative;
    background-image: url('/images/default.jpg'); /* Este será reemplazado dinámicamente desde Blade */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bloque-cuatro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.bloque-cuatro-contenido {
    position: relative;
    z-index: 1;
}
.text-justify-custom {
    text-align: justify;
}

.floating-social {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-float {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-float.whatsapp { background-color: #25D366; }
.btn-float.tiktok   { background-color: #000000; }
.btn-float.facebook { background-color: #3b5998; }
.btn-float.email    { background-color: #ea4335; }

.btn-float:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.btn-float {
    text-decoration: none !important;
    color: white !important;
    outline: none;
}

.btn-float:focus,
.btn-float:active,
.btn-float:hover {
    text-decoration: none !important;
    color: white !important;
}

 .titulo-central-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: white;
    text-align: center;
    background-color: rgba(5, 116, 29, 0.23);
    padding: 20px 40px;
    border-radius: 80px;
}

.titulo-central-video h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
}

    .video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

