Can an idempotent matrix be complex?
Solution 1:
A assume that by "can $A$ be complex", you mean "can $A$ have any non-real entries". Well, it can! For instance, take $$ A = \pmatrix{1&i\\0&0} $$ In general: for any complex column-vector $x$, $A = \frac{xx^*}{x^*x}$ (where $*$ denotes the conjugate-transpose) is such a matrix.
Solution 2:
A projection to a subspace is idempotent. Therefore $A$ has no reason to be real. For example, take a subspace $S$ of $\mathbb{C}^2$ and $A$ be the matrix of the projection on to $S$ with respect to the standard basis.