These were energy efficient or green buildings... Zubara fort is one such building...

They have cooling towers... courtyards are shaded... captures breeze and every single drop of water/early morning dew...