For a first trip, 7 to 10 days are ideal. With 5 days you get to know one region well. For cities, desert and sea in one trip, take two weeks.
Having enough time in each place matters more than seeing many places. In Syria, a short cup of tea easily turns into a long afternoon. These are often the moments you remember most.