<?php

namespace Database\Seeders;

use App\Models\Room;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;

class RoomSeeder extends Seeder
{
    public function run(): void
    {
        $rooms = [
            [
                'name' => 'Deluxe Boutique',
                'slug' => 'deluxe-boutique',
                'short_description' => 'Relax in a cosy queen-size bed with elegant wooden furnishings',
                'description' => 'The Deluxe Boutique Room at Hotel Bardan Boutique will help you relax in the cosy queen-size bed or catch up on your reading whilst seated at the wooden desk. This room features modern amenities and elegant décor that creates a peaceful sanctuary for your stay.',
                'image' => 'https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=800&h=600&fit=crop&q=80',
                'images' => ['https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=800&h=600&fit=crop&q=80', 'https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=800&h=600&fit=crop&q=80'],
                'price_per_night' => 8500.00,
                'max_adults' => 2,
                'max_children' => 1,
                'bed_type' => 'Queen Size',
                'room_size' => '25 sqm',
                'amenities' => ['Free WiFi', 'Air Conditioning', 'Flat Screen TV', 'Mini Bar', 'Private Bathroom', 'Work Desk', 'Room Service'],
                'is_featured' => true,
                'is_available' => true,
            ],
            [
                'name' => 'Deluxe Twin Boutique',
                'slug' => 'deluxe-twin-boutique',
                'short_description' => 'Bright and spacious room with twin beds and stunning views',
                'description' => 'Deep in the golden light of the sun, the Deluxe Twin Boutique room will surprise you by its brilliant beauty. Through the lengthened arc crystal glass window you will delight yourself with the picturesque panorama. Perfect for friends or colleagues traveling together.',
                'image' => 'https://images.unsplash.com/photo-1590490360182-c33d57733427?w=800&h=600&fit=crop&q=80',
                'images' => ['https://images.unsplash.com/photo-1590490360182-c33d57733427?w=800&h=600&fit=crop&q=80', 'https://images.unsplash.com/photo-1618221195710-dd6b41faaea8?w=800&h=600&fit=crop&q=80'],
                'price_per_night' => 9000.00,
                'max_adults' => 2,
                'max_children' => 0,
                'bed_type' => 'Twin Beds',
                'room_size' => '28 sqm',
                'amenities' => ['Free WiFi', 'Air Conditioning', 'Flat Screen TV', 'Mini Bar', 'Private Bathroom', 'Mountain View', 'Room Service'],
                'is_featured' => true,
                'is_available' => true,
            ],
            [
                'name' => 'Deluxe Family Boutique',
                'slug' => 'deluxe-family-boutique',
                'short_description' => 'Spacious family room with twin queen-sized beds',
                'description' => 'The Deluxe Family room at Hotel Bardan Boutique is equipped with twin Queen-sized beds, which accommodates up to 2 adults and 2 children or 3 Adults and 1 child (below 12 years old). You will find this room perfect for family stays with all modern conveniences.',
                'image' => 'https://images.unsplash.com/photo-1595576508898-0ad5c879a061?w=800&h=600&fit=crop&q=80',
                'images' => ['https://images.unsplash.com/photo-1595576508898-0ad5c879a061?w=800&h=600&fit=crop&q=80', 'https://images.unsplash.com/photo-1618220179428-22790b461013?w=800&h=600&fit=crop&q=80'],
                'price_per_night' => 12000.00,
                'max_adults' => 3,
                'max_children' => 2,
                'bed_type' => '2 Queen Size Beds',
                'room_size' => '35 sqm',
                'amenities' => ['Free WiFi', 'Air Conditioning', 'Flat Screen TV', 'Mini Bar', 'Private Bathroom', 'Extra Space', 'Room Service', 'Children Amenities'],
                'is_featured' => true,
                'is_available' => true,
            ],
            [
                'name' => 'Executive Boutique',
                'slug' => 'executive-boutique',
                'short_description' => 'Luxurious executive room with premium amenities',
                'description' => 'The Executive room at Hotel Bardan Boutique has ample natural light and decorations that will surprise you by its brilliant beauty. The bed will help you get a comfortable night\'s sleep and re-energize your body. This room offers the perfect blend of luxury and functionality.',
                'image' => 'https://images.unsplash.com/photo-1611892440504-42a792e24d32?w=800&h=600&fit=crop&q=80',
                'images' => ['https://images.unsplash.com/photo-1611892440504-42a792e24d32?w=800&h=600&fit=crop&q=80', 'https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?w=800&h=600&fit=crop&q=80'],
                'price_per_night' => 15000.00,
                'max_adults' => 2,
                'max_children' => 1,
                'bed_type' => 'King Size',
                'room_size' => '40 sqm',
                'amenities' => ['Free WiFi', 'Air Conditioning', 'Smart TV', 'Premium Mini Bar', 'Luxury Bathroom', 'Work Station', 'Premium Toiletries', 'Room Service', 'City View'],
                'is_featured' => false,
                'is_available' => true,
            ],
            [
                'name' => 'Executive Family Boutique',
                'slug' => 'executive-family-boutique',
                'short_description' => 'Ultimate luxury for families with premium services',
                'description' => 'The Executive Family room at Hotel Bardan Boutique has ample natural light and decorations that will surprise you by its brilliant beauty. The twin beds will help you get a comfortable night\'s sleep and re-energize your body. Perfect for families seeking luxury and space.',
                'image' => 'https://images.unsplash.com/photo-1618221195710-dd6b41faaea8?w=800&h=600&fit=crop&q=80',
                'images' => ['https://images.unsplash.com/photo-1618221195710-dd6b41faaea8?w=800&h=600&fit=crop&q=80', 'https://images.unsplash.com/photo-1595576508898-0ad5c879a061?w=800&h=600&fit=crop&q=80'],
                'price_per_night' => 18000.00,
                'max_adults' => 4,
                'max_children' => 2,
                'bed_type' => '2 King Size Beds',
                'room_size' => '50 sqm',
                'amenities' => ['Free WiFi', 'Air Conditioning', 'Smart TV', 'Premium Mini Bar', 'Luxury Bathroom', 'Living Area', 'Premium Toiletries', 'Room Service', 'Panoramic View', 'Children Amenities'],
                'is_featured' => false,
                'is_available' => true,
            ],
        ];

        foreach ($rooms as $room) {
            Room::create($room);
        }
    }
}

