Nonlinear waves and nearshore currents over variable bathymetry in curve-shaped coastal areas