Since, $e^{i\pi}=-1$,
right part of the equation ($-1$) is real and left part is seemingly complex as
$e^{ix}=\cos(x)+i\sin(x)$ which is a complex number( I am not sure though).
I am a freshman, and don't know much regarding Euler's equations and advanced Mathematics.
Real numbers are also complex numbers; their imaginary part is $0$. If $x$ is a real number then $e^{ix}$ is, in general, complex, but, in special cases, it can be real. The only real numbers of the form $e^{ix}$ ($x$ real) are $1$ and $-1$.