From Santa Monica to San Francisco take the coast highway as much as you're able (usually Pacific Coast Highway 1, sometimes 101), especially from Morro Bay north. The drive will take longer, maybe much longer if you stop at the scenic points. Driving north puts your car against the mountain. Driving south would put your car on the ocean side of the road, possibly offering better views.