We study dynamics of the atom-photon interaction in cavity quantum electrodynamics, considering a cold two-level atom in a single-mode high-finesse standing-wave cavity as a nonlinear Hamiltonian system with three coupled degrees of freedom: translational, internal atomic, and the field. The system proves to have different types of motion including Lévy flights and chaotic walkings of an atom in a cavity. The corresponding equations of motion for expectation values of the atom and field variables have two characteristic time scales: fast Rabi oscillations of the internal atomic and field quantities and slow translational oscillations of the center of the atom mass. It is shown that the translational motion, related to the atom recoils, is governed by an equation of a parametric nonlinear pendulum with a frequency modulated by the Rabi oscillations. This type of dynamics is chaotic with some width of the stochastic layer that is estimated analytically. The width is fairly small for realistic values of the control parameters, the normalized detuning delta and atomic recoil frequency alpha. We consider the Poincaré sections of the dynamics, compute the Lyapunov exponents, and find a range of the detuning, |delta| less, similar 3, where chaos is prominent. It is demonstrated how the atom-photon dynamics with a given value of alpha depends on the values of delta and initial conditions. Two types of Lévy flights, one corresponding to the ballistic motion of the atom and the other corresponding to small oscillations in a potential well, are found. These flights influence statistical properties of the atom-photon interaction such as distribution of Poincaré recurrences and moments of the atom position x. The simulation shows different regimes of motion, from slightly abnormal diffusion with <x(2)> approximately tau(1.13) at delta=1.2 to a superdiffusion with <x(2)> approximately tau(2.2) at delta=1.92 that corresponds to a superballistic motion of the atom with an acceleration. The obtained results can be used to find new ways to manipulate atoms, to cool and trap them by adjusting the detuning delta.