Periodic motion:
A system is called periodic if it is invariant under a finite translation in time T.
meaning: If $\vec{x}(t)$ is the trajectory of a particle then $\vec{x}(t+T)=\vec{x}(t)$ where T is the period of the system.
Simple Harmonic motion: the motion of a particle of mass $m$ undergoing Simple Harmonic Motion satisfies the following differential equation (aka Hooke's Law):
$$m \frac{d^2{x}}{dt^2}=-k{x}$$
(in general k could be a matrix, but in 1D it is a constant scalar)
(Complex) Harmonic motion: the motion of a particle that in addition to the linear term in $x$ also has other terms in the differential equation. for example a dissipative (frictional) force of the form: $-\gamma \dot{x}$ or a driving force of the form $F(t)$ (for example $F(t)=A_dcos(\omega_dt))$
example of such equation is: $$m \frac{d^2{x}}{dt^2}=-k{x}-\gamma \dot{x}+F(t)$$
Note: periodic motion isn't necessarily harmonic.