/* Estilos para tooltips de destinos */

.destination-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.destination-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-5px);
}

/* Tooltip container */
.destination-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    width: 300px;
    margin-bottom: 15px;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

/* Flecha del tooltip */
.destination-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #764ba2;
}

/* Mostrar tooltip al hacer hover */
.destination-card:hover .destination-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Header del tooltip */
.tooltip-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tooltip-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* Body del tooltip */
.tooltip-body {
    padding: 15px;
}

.tooltip-description {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    opacity: 0.95;
}

/* Detalles del paquete */
.tooltip-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.tooltip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.tooltip-icon {
    font-size: 18px;
}

/* Botón de acción */
.tooltip-action {
    text-align: center;
    margin-top: 10px;
}

.tooltip-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.destination-card:hover .tooltip-btn {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .destination-tooltip {
        width: 250px;
        font-size: 12px;
    }

    .tooltip-header h3 {
        font-size: 16px;
    }

    .tooltip-description {
        font-size: 12px;
    }

    .tooltip-item {
        font-size: 12px;
        padding: 6px 10px;
    }

    .tooltip-icon {
        font-size: 16px;
    }
}

/* Animación de entrada */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.destination-card:hover .destination-tooltip {
    animation: tooltipFadeIn 0.3s ease forwards;
}
