I get this weird lower hip pain that seems to to go to the side of my calf and shin. Hurts worse when lying down. What could it be?

Thigh with calf pain. Pain in that area is typically from a nerve injury or part of the muscle fascial complex on the lateral part ot f the hip and thigh which helps pull your leg away from the midline. Either can be worsened by certain positions including the supine position.