so , in time , the locals had learned to be a little more self-reliant and a little more wary of strangers who strayed away from the lavish hotels with their posh bars , spas , private beaches and swimming pools .