:root {
    --azul-oscuro: #0a3142;
    --verde-premium: #28a745;
    --amarillo-explora: #ffc107;
    --gris-fondo: #f4f7f6;
    --gradiente-ig: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

body { 
    color: #ffffff; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    /* IMAGEN DE FONDO */
    background: linear-gradient(rgba(10, 49, 66, 0.6), rgba(10, 49, 66, 0.6)), 
                url('../img/fondo-playa.jpg') no-repeat center center fixed; 
    background-size: cover;
}


.navbar {
    background-color: rgba(10, 49, 66, 0.95) !important; 
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--verde-premium); 
    padding: 15px 0;
    transition: 0.3s;
}

/* --- RESTAURACIÓN DE CUADROS (MISIÓN Y VISIÓN) --- */
.card-luxury {
    transition: all 0.4s ease;
    position: relative; 
    margin-top: 50px; /* Espacio para el icono flotante */
    border: none !important;
}

.card-luxury:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}

/* Círculo Flotante Superior */
.icon-circle-floating {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    position: absolute;
    top: -37px; /* Mitad afuera */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Colores específicos para los iconos flotantes */
.bg-mision-icon { background: var(--amarillo-explora); color: var(--azul-oscuro); }
.bg-vision-icon { background: var(--verde-premium); color: #ffffff; }

.card-mision-antigua { 
    background-color: rgba(255, 255, 255, 0.1) !important; 
    backdrop-filter: blur(10px); 
    color: #ffffff !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.card-vision-antigua { 
    background-color: rgba(10, 49, 66, 0.5) !important; 
    backdrop-filter: blur(10px); 
    color: #ffffff !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}



/* --- SECCIÓN PRÓXIMAS SALIDAS PREMIUM (Look Foto 2) --- */
.glass-container-tours {
    background: rgba(10, 49, 66, 0.4) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 50px 40px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px auto;
}

/* Forzamos el blanco puro en la tarjeta */
.tour-card-custom {
    background-color: #ffffff !important; 
    border-radius: 30px !important;
    border: none !important;
    transition: all 0.4s ease;
    padding: 12px !important;
    max-width: 350px;
    margin: 0 auto;
}

/* Forzamos el texto oscuro para que se lea sobre el blanco */
.tour-card-custom h4, 
.tour-card-custom .card-title {
    color: #0a3142 !important; 
    font-weight: 800 !important;
    text-shadow: none !important;
    margin-top: 15px;
}

/* Color azul para la fecha */
.tour-card-custom p, 
.tour-card-custom .text-primary {
    color: #0d6efd !important;
    font-weight: 700 !important;
}

.tour-card-custom img {
    height: 190px !important;
    object-fit: cover;
    border-radius: 22px !important;
    width: 100%;
}

/* Títulos dentro de la tarjeta blanca */
.tour-card-custom h4 {
    color: #0a3142 !important;
    font-weight: 800;
    font-size: 1.4rem;
    text-shadow: none !important; /* Quitamos sombras de texto aquí */
}

/* Botón de Reserva Premium */
.btn-reservar-azul {
    background: #0d6efd !important;
    color: #fff !important;
    border-radius: 15px !important;
    font-weight: 700;
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    text-transform: none; /* Se ve más moderno en minúsculas/sentencia */
    transition: 0.3s;
}




.card-destino-premium {
    background-color: #ffffff !important;
    border-radius: 30px !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px !important; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-destino-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

/* Imagen con esquinas redondeadas internas */
.card-destino-premium img {
    border-radius: 20px !important;
    height: 230px !important;
    object-fit: cover;
    width: 100%;
}

/* Botones estilo Cápsula (SIMÉTRICOS Y ELEGANTES) */
.btn-pill-premium {
    border-radius: 50px !important; 
    padding: 12px 20px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px; /* Misma altura para ambos */
}

/* Botón Detalles (Contorno azul fino) */
.btn-detalles-outline {
    background: transparent !important;
    border: 2px solid #0d6efd !important;
    color: #0d6efd !important;
}

.btn-detalles-outline:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
}

/* Botón Reservar (Amarillo vibrante) */
.btn-reservar-vibrante {
    background: #ffc107 !important;
    color: #0a3142 !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-reservar-vibrante:hover {
    background: #e0a800 !important;
    transform: scale(1.02);
}

.btn-reservar-azul:hover {
    background: #0056b3 !important;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* --- ACCESO Y DASHBOARD (ESTILO SWITCH) --- */
.nav-tabs-wrapper {
    background: #f1f3f5;
    border-radius: 20px;
    padding: 8px;
}

.nav-pills .nav-link { 
    color: var(--azul-oscuro) !important;
    font-weight: 800;
    border-radius: 15px;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-pills .nav-link.active { 
    background-color: var(--azul-oscuro) !important;
    color: var(--amarillo-explora) !important;
    opacity: 1;
    box-shadow: 0 8px 15px rgba(10, 49, 66, 0.25);
}

/* --- IDENTIDAD SOCIAL (ESTILO INSTAGRAM) --- */
.ig-icon-gradient {
    background: var(--gradiente-ig);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.avatar-ig-active {
    background: var(--gradiente-ig);
    padding: 4px;
    border-radius: 50%;
}

.avatar-standard {
    background: var(--azul-oscuro);
    padding: 4px;
    border-radius: 50%;
}

.badge-social {
    font-weight: 700;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- BOTONES DE ACCIÓN --- */
.btn-reserva, .btn-auth-action {
    background-color: var(--verde-premium);
    color: white;
    border: none;
    font-weight: 800;
    border-radius: 50px;
    padding: 10px 25px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-reserva:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* --- BOTÓN WHATSAPP --- */
.btn-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

/* --- FOOTER --- */
footer {
    background-color: #051b24 !important;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
}
/* Color para resaltar texto como en la segunda imagen */
h2, .hero-text h1 span {
    color: #00e6e6 !important; 
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.3);
}
/* --- PROTECCIÓN UNIVERSAL PARA MODO OSCURO --- */
@media (prefers-color-scheme: dark) {
    .tour-card-custom, 
    .card-destino-premium {
        /* Obligamos a que el cuadro sea blanco sólido solo en modo oscuro */
        background-color: #ffffff !important; 
        box-shadow: 0 15px 35px rgba(0,0,0,0.5) !important;
    }

    .tour-card-custom h4, 
    .tour-card-custom p,
    .tour-card-custom .card-title,
    .card-destino-premium h4,
    .card-destino-premium p {
        /* Aseguramos que el texto sea oscuro sobre el fondo blanco */
        color: #0a3142 !important;
        text-shadow: none !important;
    }
}