MARIETTA, Ga. -

Justin Ross Harris was a devoted and loving father who talked about his toddler son often, his friends and family said. But prosecutors have portrayed him as a man unhappy in his marriage who exchanged nude photos with several women as his son died in a hot SUV.

Harris, 33, faces murder and child cruelty charges in the June 18 death of his 22-month-old son Cooper, who police said was left in a vehicle for about seven hours on a day when temperatures in the Atlanta area reached at least into the high 80s. The medical examiner's office has said the boy died of hyperthermia -- essentially overheating -- and has called his death a homicide.

During a three-hour hearing Thursday, prosecutor Chuck Boring questioned a police detective at length, outlining evidence he said proves Harris intentionally left his young boy in the hot SUV. But defense attorney Maddox Kilgore argued the evidence was insufficient and that the boy's death was a tragic accident.

A judge declined at the end of the hearing to grant Harris bond, meaning he will remain in jail as law enforcement officers continue to investigate and present their findings to the Cobb County district attorney, who will decide how to proceed with the case.

Alex Hall and Winston Milling, who have both been friends with Harris since college and worked with him at Home Depot, testified that Harris talked all the time about how he loved his son. The two went to lunch with Harris the day the boy died and had planned to go to a movie after work that day.

"Nothing stuck out," Hall said. "Nothing was weird."

The two men later dropped Harris off so he could put a couple of light bulbs he had purchased in his car.

Kilgore, the defense attorney, said that showed Harris did not mean to leave the boy there.

"Why would he take his closest friends to his crime scene?" he asked.

Kilgore said Harris had also sent his wife a text that afternoon asking, "When are you going to pick up my buddy?"

And Harris described himself to police as a doting father who always kissed his son when he strapped him into the car seat because "he wanted Cooper to know his daddy loves him," Cobb County Police Detective Phil Stoddard testified.

Harris is a native of Tuscaloosa, Alabama, and moved to Georgia in 2012 to work for Home Depot.

Harris told police that on the day of the boy's death, he had watched cartoons in bed with Cooper, then had breakfast with him at a Chick-fil-A restaurant.

Surveillance video from the restaurant showed a child who "appeared wide awake and happy," Stoddard said. Harris told police he forgot to drop the boy off at day care, instead driving straight to work.

Harris told police he realized the boy was still in the car as he drove to the movies after work. A defense witness testified that Harris appeared to be extremely upset after pulling into the parking lot, trying to do CPR on his son.

"He was saying, 'Oh my God, oh my God, my son is dead, oh my God,'" witness Leonard Madden said.

But Stoddard, the detective, said witness accounts were not consistent. Harris never called 911 but was on his cellphone when officers arrived, Stoddard said. Harris twice refused an officer's request to get off the phone and was arrested when he used profanity, Stoddard said. Harris showed no emotion while being interviewed by investigators, Stoddard said.

Evidence uncovered by investigators shows Harris was unhappy in his marriage and was practically leading a double life, Stoddard said. He was exchanging nude photos with several women, including at least one teenager, even on the day his son died when he was at work, Stoddard said.

Kilgore, the defense attorney, said that evidence had no bearing on Harris' intent.
"I think the real purpose of all that is to publicly shame him," Kilgore said.

Kilgore also said Harris and his family will have to deal with what he called a catastrophic accident for the rest of their lives. Harris, who was stoic through most of the hearing, began crying at that point.