Dense fog covered much of the Sacramento Valley early Sunday, reducing visibility to about a quarter mile in some areas.