The water looks blue-green in the shallows because it isn't as deep, so the green wavelengths aren't filtered out.