-- Insert sample data for ThrillWiki

-- Insert sample locations
INSERT INTO public.locations (id, name, country, state_province, city, postal_code, latitude, longitude, timezone) VALUES
('550e8400-e29b-41d4-a716-446655440001', 'Orlando, Florida', 'United States', 'Florida', 'Orlando', '32819', 28.3852, -81.5639, 'America/New_York'),
('550e8400-e29b-41d4-a716-446655440002', 'Anaheim, California', 'United States', 'California', 'Anaheim', '92802', 33.8121, -117.9190, 'America/Los_Angeles'),
('550e8400-e29b-41d4-a716-446655440003', 'Sandusky, Ohio', 'United States', 'Ohio', 'Sandusky', '44870', 41.4814, -82.6830, 'America/New_York'),
('550e8400-e29b-41d4-a716-446655440004', 'Busch Gardens Tampa', 'United States', 'Florida', 'Tampa', '33612', 28.0373, -82.4194, 'America/New_York'),
('550e8400-e29b-41d4-a716-446655440005', 'Valencia, California', 'United States', 'California', 'Valencia', '91355', 34.4208, -118.5973, 'America/Los_Angeles'),
('550e8400-e29b-41d4-a716-446655440006', 'Doswell, Virginia', 'United States', 'Virginia', 'Doswell', '23047', 37.7606, -77.4472, 'America/New_York'),
('550e8400-e29b-41d4-a716-446655440007', 'Williamsburg, Virginia', 'United States', 'Virginia', 'Williamsburg', '23185', 37.2707, -76.7075, 'America/New_York'),
('550e8400-e29b-41d4-a716-446655440008', 'Alton, England', 'United Kingdom', 'Staffordshire', 'Alton', 'ST10 4DB', 52.9875, -1.8889, 'Europe/London'),
('550e8400-e29b-41d4-a716-446655440009', 'Rust, Germany', 'Germany', 'Baden-Württemberg', 'Rust', '77977', 48.2665, 7.7221, 'Europe/Berlin'),
('550e8400-e29b-41d4-a716-446655440010', 'Kaatsheuvel, Netherlands', 'Netherlands', 'North Brabant', 'Kaatsheuvel', '5171 KW', 51.6500, 5.0431, 'Europe/Amsterdam');

-- Insert sample companies
INSERT INTO public.companies (id, name, slug, description, company_type, website_url, founded_year, headquarters_location, logo_url) VALUES
('660e8400-e29b-41d4-a716-446655440001', 'The Walt Disney Company', 'disney', 'American multinational mass media and entertainment conglomerate', 'operator', 'https://www.disney.com', 1923, 'Burbank, California', null),
('660e8400-e29b-41d4-a716-446655440002', 'Cedar Fair Entertainment Company', 'cedar-fair', 'American amusement park operator', 'operator', 'https://www.cedarfair.com', 1983, 'Sandusky, Ohio', null),
('660e8400-e29b-41d4-a716-446655440003', 'SeaWorld Parks & Entertainment', 'seaworld', 'American theme park and entertainment company', 'operator', 'https://seaworldparks.com', 1959, 'Orlando, Florida', null),
('660e8400-e29b-41d4-a716-446655440004', 'Six Flags Entertainment Corporation', 'six-flags', 'American amusement park corporation', 'operator', 'https://www.sixflags.com', 1961, 'Arlington, Texas', null),
('660e8400-e29b-41d4-a716-446655440005', 'Bolliger & Mabillard', 'bolliger-mabillard', 'Swiss roller coaster manufacturer', 'manufacturer', 'https://www.bolliger-mabillard.com', 1988, 'Monthey, Switzerland', null),
('660e8400-e29b-41d4-a716-446655440006', 'Intamin Amusement Rides', 'intamin', 'Swiss amusement ride manufacturer', 'manufacturer', 'https://www.intamin.com', 1967, 'Schaan, Liechtenstein', null),
('660e8400-e29b-41d4-a716-446655440007', 'Merlin Entertainments', 'merlin', 'British entertainment company', 'operator', 'https://www.merlinentertainments.biz', 1999, 'Poole, England', null),
('660e8400-e29b-41d4-a716-446655440008', 'Europa-Park GmbH & Co', 'europa-park', 'German theme park operator', 'operator', 'https://www.europapark.de', 1975, 'Rust, Germany', null),
('660e8400-e29b-41d4-a716-446655440009', 'Efteling', 'efteling', 'Dutch theme park operator', 'operator', 'https://www.efteling.com', 1952, 'Kaatsheuvel, Netherlands', null);

-- Insert sample parks
INSERT INTO public.parks (id, name, slug, description, status, park_type, opening_date, website_url, phone, email, location_id, operator_id, property_owner_id, banner_image_url, card_image_url, average_rating, review_count, ride_count, coaster_count) VALUES
('770e8400-e29b-41d4-a716-446655440001', 'Magic Kingdom', 'magic-kingdom', 'The most magical place on Earth! Experience classic Disney attractions, meet beloved characters, and create unforgettable memories in this iconic theme park.', 'operating', 'theme_park', '1971-10-01', 'https://disneyworld.disney.go.com/parks/magic-kingdom/', '(407) 939-5277', null, '550e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440001', null, null, 4.6, 15432, 23, 3),

('770e8400-e29b-41d4-a716-446655440002', 'Cedar Point', 'cedar-point', 'Known as "America''s Roller Coast," Cedar Point features world-class roller coasters and thrilling rides on the shores of Lake Erie.', 'operating', 'amusement_park', '1870-01-01', 'https://www.cedarpoint.com/', '(419) 627-2350', null, '550e8400-e29b-41d4-a716-446655440003', '660e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440002', null, null, 4.8, 8976, 68, 17),

('770e8400-e29b-41d4-a716-446655440003', 'Disneyland Park', 'disneyland', 'The original Disney theme park where it all began. Experience the magic that started Walt Disney''s dream in Anaheim, California.', 'operating', 'theme_park', '1955-07-17', 'https://disneyland.disney.go.com/parks/disneyland/', '(714) 781-4636', null, '550e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440001', null, null, 4.5, 12847, 35, 5),

('770e8400-e29b-41d4-a716-446655440004', 'Busch Gardens Tampa Bay', 'busch-gardens-tampa', 'African-themed adventure park combining thrilling rides with one of North America''s largest zoos featuring over 300 species.', 'operating', 'theme_park', '1975-03-31', 'https://buschgardens.com/tampa/', '(813) 884-4386', null, '550e8400-e29b-41d4-a716-446655440004', '660e8400-e29b-41d4-a716-446655440003', '660e8400-e29b-41d4-a716-446655440003', null, null, 4.4, 6234, 42, 9),

('770e8400-e29b-41d4-a716-446655440005', 'Six Flags Magic Mountain', 'six-flags-magic-mountain', 'The Thrill Capital of the World! Home to more roller coasters than any other theme park, with 19 world-class coasters.', 'operating', 'amusement_park', '1971-05-29', 'https://www.sixflags.com/magicmountain', '(661) 255-4100', null, '550e8400-e29b-41d4-a716-446655440005', '660e8400-e29b-41d4-a716-446655440004', '660e8400-e29b-41d4-a716-446655440004', null, null, 4.3, 9876, 45, 19),

('770e8400-e29b-41d4-a716-446655440006', 'Kings Dominion', 'kings-dominion', 'Virginia''s premier amusement park featuring 60+ rides including 13 roller coasters and the iconic Eiffel Tower replica.', 'operating', 'amusement_park', '1975-05-03', 'https://www.kingsdominion.com/', '(804) 876-5000', null, '550e8400-e29b-41d4-a716-446655440006', '660e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440002', null, null, 4.2, 5432, 60, 13),

('770e8400-e29b-41d4-a716-446655440007', 'Busch Gardens Williamsburg', 'busch-gardens-williamsburg', 'European-themed park known as "The Most Beautiful Theme Park in the World" with world-class roller coasters and shows.', 'operating', 'theme_park', '1975-05-25', 'https://buschgardens.com/williamsburg/', '(757) 229-4386', null, '550e8400-e29b-41d4-a716-446655440007', '660e8400-e29b-41d4-a716-446655440003', '660e8400-e29b-41d4-a716-446655440003', null, null, 4.7, 7123, 32, 8),

('770e8400-e29b-41d4-a716-446655440008', 'Alton Towers', 'alton-towers', 'Britain''s greatest escape! Home to world-class roller coasters including The Smiler, Nemesis, and Oblivion in stunning historic grounds.', 'operating', 'theme_park', '1980-04-04', 'https://www.altontowers.com/', '+44 1538 704000', null, '550e8400-e29b-41d4-a716-446655440008', '660e8400-e29b-41d4-a716-446655440007', '660e8400-e29b-41d4-a716-446655440007', null, null, 4.4, 8765, 28, 7),

('770e8400-e29b-41d4-a716-446655440009', 'Europa-Park', 'europa-park', 'Germany''s largest theme park with 18 themed areas representing different European countries and over 100 attractions.', 'operating', 'theme_park', '1975-07-12', 'https://www.europapark.de/en', '+49 7822 770', null, '550e8400-e29b-41d4-a716-446655440009', '660e8400-e29b-41d4-a716-446655440008', '660e8400-e29b-41d4-a716-446655440008', null, null, 4.8, 11234, 100, 13),

('770e8400-e29b-41d4-a716-446655440010', 'Efteling', 'efteling', 'One of the world''s oldest theme parks, famous for its fairy tale forest, magical attractions, and enchanting atmosphere for all ages.', 'operating', 'theme_park', '1952-05-31', 'https://www.efteling.com/en', '+31 416 537 777', null, '550e8400-e29b-41d4-a716-446655440010', '660e8400-e29b-41d4-a716-446655440009', '660e8400-e29b-41d4-a716-446655440009', null, null, 4.6, 9876, 45, 6),

('770e8400-e29b-41d4-a716-446655440011', 'Knott''s Berry Farm', 'knotts-berry-farm', 'America''s First Theme Park! Experience the Old West with thrilling rides, delicious food, and rich history dating back to 1920.', 'operating', 'theme_park', '1920-01-01', 'https://www.knotts.com/', '(714) 220-5200', null, '550e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440002', null, null, 4.1, 6543, 40, 8),

('770e8400-e29b-41d4-a716-446655440012', 'Carowinds', 'carowinds', 'The Thrill Capital of the Southeast! Featuring 13 roller coasters including Fury 325, one of the world''s tallest and fastest giga coasters.', 'operating', 'amusement_park', '1973-03-31', 'https://www.carowinds.com/', '(704) 588-2600', null, '550e8400-e29b-41d4-a716-446655440006', '660e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440002', null, null, 4.3, 7890, 50, 13);

-- Insert sample ride models
INSERT INTO public.ride_models (id, name, slug, manufacturer_id, category, ride_type, description, technical_specs) VALUES
('880e8400-e29b-41d4-a716-446655440001', 'Hyper Coaster', 'hyper-coaster', '660e8400-e29b-41d4-a716-446655440005', 'roller_coaster', 'Hyper Coaster', 'High-speed steel roller coaster with hills over 200 feet tall', '{"height_range": "200-300ft", "typical_speed": "70-90mph"}'),
('880e8400-e29b-41d4-a716-446655440002', 'Inverted Coaster', 'inverted-coaster', '660e8400-e29b-41d4-a716-446655440005', 'roller_coaster', 'Inverted Coaster', 'Roller coaster where riders sit in chairs directly attached to the wheel carriage', '{"typical_inversions": "4-7", "typical_height": "100-200ft"}'),
('880e8400-e29b-41d4-a716-446655440003', 'Accelerator Coaster', 'accelerator-coaster', '660e8400-e29b-41d4-a716-446655440006', 'roller_coaster', 'Accelerator Coaster', 'Launched roller coaster using hydraulic or magnetic propulsion', '{"launch_speed": "0-120mph", "launch_time": "3-4 seconds"}');

-- Insert sample rides  
INSERT INTO public.rides (id, name, slug, description, park_id, ride_model_id, manufacturer_id, category, status, opening_date, height_requirement, capacity_per_hour, duration_seconds, max_speed_kmh, max_height_meters, length_meters, inversions, average_rating) VALUES
('990e8400-e29b-41d4-a716-446655440001', 'Steel Vengeance', 'steel-vengeance', 'The world''s first hyper-hybrid roller coaster, combining a wooden structure with steel track for an incredible ride experience.', '770e8400-e29b-41d4-a716-446655440002', '880e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440006', 'roller_coaster', 'operating', '2018-05-05', 122, 1200, 150, 119, 62.5, 1676, 4, 4.9),

('990e8400-e29b-41d4-a716-446655440002', 'Millennium Force', 'millennium-force', 'A legendary giga coaster that defined a generation of roller coaster enthusiasts with its incredible height and speed.', '770e8400-e29b-41d4-a716-446655440002', '880e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440006', 'roller_coaster', 'operating', '2000-05-13', 122, 1300, 140, 150, 94.5, 2010, 0, 4.8),

('990e8400-e29b-41d4-a716-446655440003', 'Fury 325', 'fury-325', 'One of the tallest and fastest giga coasters in the world, delivering an incredible 325-foot drop and speeds over 95 mph.', '770e8400-e29b-41d4-a716-446655440012', '880e8400-e29b-41d4-a716-446655440001', '660e8400-e29b-41d4-a716-446655440005', 'roller_coaster', 'operating', '2015-03-28', 122, 1470, 185, 153, 99.1, 2012, 0, 4.7),

('990e8400-e29b-41d4-a716-446655440004', 'Banshee', 'banshee', 'The world''s longest inverted roller coaster with 4,124 feet of track and seven inversions.', '770e8400-e29b-41d4-a716-446655440006', '880e8400-e29b-41d4-a716-446655440002', '660e8400-e29b-41d4-a716-446655440005', 'roller_coaster', 'operating', '2014-04-18', 137, 1650, 168, 109, 51.2, 1257, 7, 4.5),

('990e8400-e29b-41d4-a716-446655440005', 'SheiKra', 'sheikra', 'A massive floorless dive coaster featuring a 200-foot vertical drop and an underground tunnel.', '770e8400-e29b-41d4-a716-446655440004', null, '660e8400-e29b-41d4-a716-446655440005', 'roller_coaster', 'operating', '2005-05-21', 137, 1800, 180, 112, 61.0, 914, 2, 4.4),

('990e8400-e29b-41d4-a716-446655440006', 'The Smiler', 'the-smiler', 'The world record holder for most inversions on a roller coaster with 14 inversions in a twisted, mind-bending layout.', '770e8400-e29b-41d4-a716-446655440008', null, null, 'roller_coaster', 'operating', '2013-05-31', 140, 1000, 165, 85, 30.0, 1170, 14, 4.2);

-- Insert sample reviews
INSERT INTO public.reviews (id, user_id, park_id, rating, title, content, visit_date, helpful_votes, total_votes, moderation_status, created_at, updated_at) VALUES
('aa0e8400-e29b-41d4-a716-446655440001', '00000000-0000-0000-0000-000000000000', '770e8400-e29b-41d4-a716-446655440002', 5, 'Absolutely incredible!', 'Cedar Point exceeded all my expectations. Steel Vengeance is simply the best roller coaster I''ve ever ridden. The park is well-maintained and the staff is friendly. Can''t wait to come back!', '2024-08-15', 23, 25, 'approved', now() - interval '2 weeks', now() - interval '2 weeks'),

('aa0e8400-e29b-41d4-a716-446655440002', '00000000-0000-0000-0000-000000000000', '770e8400-e29b-41d4-a716-446655440009', 5, 'Magical experience at Europa-Park', 'Europa-Park is absolutely stunning! The theming is incredible, the food is amazing, and the rides are world-class. Blue Fire and Silver Star are must-rides. This park sets the standard for European theme parks.', '2024-07-22', 18, 20, 'approved', now() - interval '3 weeks', now() - interval '3 weeks'),

('aa0e8400-e29b-41d4-a716-446655440003', '00000000-0000-0000-0000-000000000000', '770e8400-e29b-41d4-a716-446655440001', 4, 'Classic Disney magic', 'Magic Kingdom never gets old. The atmosphere is unmatched and Space Mountain still delivers thrills. The crowds can be overwhelming, but the Disney magic makes up for it. Perfect for families!', '2024-09-01', 31, 35, 'approved', now() - interval '1 week', now() - interval '1 week');