Planning a trip to San Francisco

I'm planning a trip to San Francisco... any thoughts? I want to see:
- San Francisco itself (what are the best things to do there)
- Redwood trees (I hear Muir Woods is close and impressive)
- Wine country (I have no idea where to start)
It'll be seven days end of June. I'm open to any ideas and suggestions on where to stay what to do the whole works.