What are the key safety considerations and potential risks for tourists visiting Yosemite National Park in California, including factors such as wildlife encounters, weather conditions, terrain challenges, and trail safety? Could you provide a comprehensive guide to help visitors stay safe while exploring the park's diverse landscapes, including Yosemite Valley, Glacier Point, and Tuolumne Meadows? What are the best practices for hiking, camping, and driving in the park, and how can tourists prepare for and avoid common hazards such as dehydration, altitude sickness, and sudden weather changes? Additionally, what emergency services, park rangers, and safety protocols are in place, and what precautions should visitors take to ensure a safe and enjoyable experience, particularly during peak seasons and off-season months?