AP Sports Writer
SAN DIEGO (AP) -- The San Diego Padres are having a mercurial season.
Swept by the Giants in San Francisco last weekend, the Padres returned the favor by taking three games from the defending World Series champions at Petco Park.
Chase Headley, Nick Hundley and Alexi Amarista homered off Ryan Vogelsong to lead the Padres to a 6-4 victory Sunday. It was San Diego's first three-game sweep of the Giants since May 2010.
It was the fifth sweep the Padres have been involved in this season. After losing three games at home to Colorado two weekends ago, the Padres turned around and beat the Dodgers in three straight at Los Angeles.
"Can't explain it. Wish I could," manager Bud Black said. "Baseball's a game a lot of times that's unpredictable. You never know how a month's going to play out, or let alone a week. It's good to see we were able to come out today and get Vogelsong and Jason (Marquis) did his thing. Wish I could explain it."
The Padres remain in last place in the NL West but feel they're playing better. They hit better in this series than they did in San Francisco and got some nice defense.
"We're definitely playing a lot better baseball right now," said right fielder Chris Denorfia, who saved two runs with an impressive diving catch of Andres Torres' fly ball with runners on second and third and two outs in the eighth. "Our pitching's been outstanding the last week, maybe more. Our hitting's coming around. We've got Chase and Carlos (Quentin) back in the lineup so we're starting to be the team we knew we could be coming out of spring training."
Headley had three hits and Amarista scored three runs for the Padres, who've won four straight.
"It's great to see some guys hit some home runs today," Headley said.
The difference between the two series with the Giants was "not all that much, to be honest," Headley said. "We executed the little things, we're making plays defensively and got a couple of big hits. Our pitching did a nice job for us. Not a huge difference but enough to swing the series."
Pablo Sandoval had an RBI single among his career high-tying four hits for the Giants, who lost their season-high fifth straight game. They've lost eight of 12 following a 9-4 start.
"We haven't been playing so well," manager Bruce Bochy said. "We've been making mistakes that have hurt us in this little streak we are in. Guys could use a little break, too. It's a tough series. You're going to have them, as much as you don't like them. We're going to deal with it."
Buster Posey extended his hitting streak to nine games with a two-run homer to pull the Giants to 6-4 in the eighth. Sandoval was aboard after his third single.
San Diego's Jason Marquis (2-2) bounced back from a 7-1 loss to Milwaukee on Monday night in which he allowed a season-high seven runs, including first-inning homers to Ryan Braun and Yuniesky Betancourt.
Marquis pitched out of trouble after loading the bases in both the second and third innings. He allowed two runs and six hits in 6 2-3 innings, walked four and struck out three.
Headley and Hundley each hit their second homer of the year while Amarista had his first. The Padres are the only team in the majors that doesn't have a player with at least three homers.
Headley homered to straightaway center field with two outs in the first.
After Brandon Crawford hit a sacrifice fly to tie it in the second, Hundley hit a two-run shot into the balcony on the second level of the Western Metal Supply Co. brick warehouse in the left-field corner with two outs in the bottom of the inning to give San Diego a 3-1 lead. Amarista was aboard on a single.
With rookie Jedd Gyorko aboard on a leadoff double, Amarista hit a two-run homer in the fourth that landed on top of the new right field fence and bounced over the Jack Daniel's Old No. 7 Deck and into the seats. It was the first time the Padres benefited from the new fence, which was moved in 11 feet in an attempt to make the spacious downtown ballyard play fairer.
Opponents have hit four homers that wouldn't have gone out last year, including Posey's shot in the eighth that ticked off the glove of leaping right fielder Chris Denorfia. It was Posey's third.