body {
    background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.hero {
    text-align: center;
    padding: 110px 20px 60px;
    color: #1e293b;
    
    
}

    .hero h1 {
        font-weight: 800;
        font-size: 2.4rem;
        text-shadow: 5px 4px 8px #fff;
        margin-bottom: 8px;
    }

    .hero .lead {
        font-size: 1.3rem;
        font-weight: 400;
        text-shadow: 2px 2px 8px #fff;
        
    }

/* ── Search bar ── */
.search-container {
    max-width: 680px;
    margin: 28px auto 0;
    padding: 0 16px;
}

.search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    overflow: hidden;
    padding: 6px 6px 6px 20px;
    gap: 0;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.search-icon {
    font-size: 1.1rem;
    color: #94a3b8;
    flex-shrink: 0;
}

.search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 0.92rem;
    color: #1e293b;
    padding: 10px 0;
    width: 100%;
    min-width: 0;
}

.search-input::placeholder { color: #9ca3af; }

.search-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 0 12px;
}

.date-field { flex: 0 0 auto; min-width: 160px; }

.search-btn {
    background: #1a7a4a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s;
}

.search-btn:hover {
    background: #15693e;
    transform: translateY(-1px);
}

@@media (max-width: 600px) {
    .search-inner { flex-wrap: wrap; border-radius: 20px; padding: 12px 16px; gap: 8px; }
    .search-divider { display: none; }
    .date-field { min-width: 0; flex: 1; }
    .search-btn { width: 100%; justify-content: center; border-radius: 12px; }
}

.panel-resultados {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin: 30px auto;
    max-width: 1100px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: slideUp 0.45s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    background: #fff;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .card img {
        height: 160px;
        object-fit: cover;
        width: 100%;
    }


#detalleTour {
    display: none;
    position: fixed; /* Ahora es un overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1500; /* Por encima de todo, pero bajo los modales */
    overflow-y: auto; /* Permite scroll si el contenido es largo */
    padding: 40px 20px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Ajuste para que la imagen no sea gigante en el overlay */
#detalleTour img.main-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.detalle-container {
    max-width: 900px;
    margin: 0 auto;
}

.empresa {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

    .empresa img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        object-fit: contain;
        background: #fff;
        padding: 6px;
    }

.btn-volver {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    margin-top: 18px;
}

    .btn-volver:hover {
        background: #0b5ed7;
    }

.quote {
    font-style: italic;
    text-align: center;
    margin-top: 36px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    text-shadow: 0 3px 6px #fff;
    letter-spacing: .5px;
}

#panelResultadosHeader {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.fecha-chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(13,110,253,0.08);
    color: #0d6efd;
    font-weight: 600;
    font-size: .9rem;
}


.btn-turismo-info {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 26px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.4);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .btn-turismo-info:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 22px rgba(46, 204, 113, 0.55);
    }

.btn-turismo-volver {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(9, 132, 227, 0.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .btn-turismo-volver:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 22px rgba(9, 132, 227, 0.50);
    }


/* LOADING SCREEN */
#cargandoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 8px solid #e0e0e0;
    border-top: 8px solid #0d6efd;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.footer-turismo {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
}

/* Botón estiloso “Síguenos” */
.btn-siguenos {
    background: linear-gradient(45deg, #ff7d50, #ffb347);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.35s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 80, 0.4);
}

    .btn-siguenos:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(255, 140, 80, 0.55);
        cursor: pointer;
    }

/* Redes sociales */
.redes .red-icon {
    margin: 0 8px;
    font-size: 1.7rem;
    transition: 0.3s ease;
    color: #fff;
}

    .redes .red-icon:hover {
        transform: scale(1.2);
        opacity: 0.85;
    }

/* Estilos individuales */
.red-icon.ig i {
    color: #ff6f91;
}

.red-icon.fb i {
    color: #4d8aff;
}

.red-icon.yt i {
    color: #ff4e4e;
}

/* ==================== FIX: SweetAlert SIEMPRE AL FRENTE ==================== */
/* Asegurar que SweetAlert2 aparezca sobre todos los modales */
.swal2-container {
    z-index: 10000 !important;
}

.swal2-popup {
    z-index: 10001 !important;
}



