the countryside was starting to get hillier and straddling the top of a higher hill were the white buildings with red roofs of a small town , dominated by a striking church and the ruins of a castle .