The golden hour (just before sunset) and the blue hour (just after sunset) offer the best lighting conditions.