<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\Setting;

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $settings = [
            // Store Identity
            'site_name' => 'SmartGrocery SaaS',
            'contact_email' => 'support@smartgrocery.com',
            'contact_phone' => '+1 234 567 8900',
            'email' => 'support@smartgrocery.com',
            'phone' => '+1 234 567 8900',
            'currency_symbol' => '$',
            'currency_code' => 'USD',
            'tax_percentage' => '5',
            'address' => '123 Smart Plaza, New York, USA',
            'contact_address' => '123 Smart Plaza, New York, USA',
            'default_language' => 'English',
            'copyright_text' => 'Crafted for Excellence.',
            'site_description' => 'Redefining your grocery experience with premium organic products and ultra-fast delivery. Quality you can taste, service you can trust.',

            // Hero Section
            'hero_badge1_label' => 'Organic',
            'hero_badge1_value' => '100%',
            'hero_badge2_label' => 'Delivery',
            'hero_badge2_value' => 'Fast',
            'hero_title1' => 'Premium Quality',
            'hero_title2' => 'Organic & Fresh',
            'hero_title3' => 'Groceries Everyday',
            'hero_title' => 'Quality Groceries Straight to Your Door',
            'hero_description' => 'Experience the next generation of grocery shopping. Fresh, organic, and handpicked items delivered in under 30 minutes with elite care.',
            'hero_cta_text' => 'START SHOPPING',
            'hero_video_text' => 'Watch Story',
            'hero_emoji' => '🥗',
            'hero_stat1_label' => 'Happy Clients',
            'hero_stat1_value' => '50k+',
            'hero_stat2_label' => 'Organic Products',
            'hero_stat2_value' => '1.2k+',
            'hero_stat3_label' => 'Expert Farmers',
            'hero_stat3_value' => '150+',

            // Home Sections
            'new_arrivals_badge' => 'Trending Now',
            'new_arrivals_view_all' => 'View All',
            'new_arrivals_title1' => 'Fresh',
            'new_arrivals_title2' => 'Weekly',
            'new_arrivals_title3' => 'Arrivals',

            'category_section_badge' => 'Shop by category',
            'category_section_view_all' => 'View All',
            'category_section_title1' => 'Curated',
            'category_section_title2' => 'Freshness',
            'category_section_title3' => 'For Your Kitchen',

            'coupon_section_badge' => 'Exclusive Offers',
            'coupon_section_title1' => 'Save Big with',
            'coupon_section_title2' => 'Premium Coupons',
            'coupon_section_description' => 'Get access to limited-time offers and save more on your daily essentials.',

            // Sale & Reviews
            'flash_sale_badge' => 'Flash Sale',
            'flash_sale_title1' => 'Fresh',
            'flash_sale_title2' => 'Deals',

            'review_section_badge' => 'Happy Customers',
            'review_section_title1' => 'What Our',
            'review_section_title2' => 'Elite',
            'review_section_title3' => 'Family Says',

            // Mobile & Testimonials
            'mobile_badge' => 'Mobile App',
            'mobile_title1' => 'Download',
            'mobile_title2' => 'Our Mobile',
            'mobile_description' => 'Get the best shopping experience on your phone. Fast, secure and easy to use.',

            'testimonial_badge' => 'Stories',
            'testimonial_title1' => 'What',
            'testimonial_title2' => 'People',
            'testimonial_title3' => 'Say',

            // Trust & Features
            'feature1_title' => 'Free Shipping',
            'feature1_desc' => 'On orders over ৳500',
            'feature1_icon' => 'fas fa-truck-fast',
            'feature2_title' => 'Quick Payment',
            'feature2_desc' => '100% secure payment',
            'feature2_icon' => 'fas fa-credit-card',
            'feature3_title' => 'Daily Offer',
            'feature3_desc' => 'Save up to 50% off',
            'feature3_icon' => 'fas fa-tags',
            'feature4_title' => 'Quality Goods',
            'feature4_desc' => 'Hand-picked organic',
            'feature4_icon' => 'fas fa-leaf',

            // Footer & Contact
            'footer_newsletter_title' => 'Subscribe to our newsletter',
            'footer_newsletter_placeholder' => 'Enter your email address',
            'footer_phone' => '+880 123 456 789',
            'footer_email' => 'hello@nestorganic.com',
            'footer_address' => '123 Elite Plaza, Gulshan, Dhaka, Bangladesh',
            'footer_copyright' => '© 2026 SmartGrocery SaaS. All rights reserved.',
            'site_description' => 'SmartGrocery SaaS is your premier destination for high-quality organic groceries. We bridge the gap between local farmers and your kitchen.',
            'working_hours' => 'Mon - Sat: 9:00 AM - 10:00 PM',
            
            'facebook_link' => 'https://facebook.com/nestorganic',
            'instagram_link' => 'https://instagram.com/nestorganic',
            'twitter_link' => 'https://twitter.com/nestorganic',
            'youtube_link' => 'https://youtube.com/nestorganic',
        ];

        foreach ($settings as $key => $value) {
            Setting::updateOrCreate(
                ['key' => $key],
                ['value' => $value]
            );
        }
    }
}
