<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('home_settings', function (Blueprint $table) {
            $table->id();
            $table->string('logo')->nullable();
            $table->string('favicon')->nullable();
            $table->string('site_name')->nullable();
            $table->string('site_name_en')->nullable();
            $table->text('footer')->nullable();
            $table->text('footer_en')->nullable();
            $table->string('phone')->nullable();
            $table->string('email')->nullable();
            $table->string('facebook')->nullable();
            $table->string('twitter')->nullable();
            $table->string('instagram')->nullable();
            $table->string('linkedin')->nullable();

            $table->string('section1_title')->nullable();
            $table->text('section1_content')->nullable();
            $table->string('section1_title_en')->nullable();
            $table->text('section1_content_en')->nullable();
            $table->string('section1_image')->nullable();

            $table->string('section2_title')->nullable();
            $table->string('section2_subtitle')->nullable();
            $table->string('section2_title_en')->nullable();
            $table->string('section2_subtitle_en')->nullable();
            $table->string('section2_image1')->nullable();
            $table->string('section2_image2')->nullable();
            $table->text('section2_content')->nullable();
            $table->string('section2_subtitle2')->nullable();
            $table->text('section2_content_en')->nullable();
            $table->string('section2_subtitle2_en')->nullable();

            $table->string('section3_title')->nullable();
            $table->text('section3_content')->nullable();
            $table->string('section3_title_en')->nullable();
            $table->text('section3_content_en')->nullable();
            $table->string('section3_image')->nullable();

            $table->string('section4_title')->nullable();
            $table->text('section4_content')->nullable();
            $table->string('section4_title_en')->nullable();
            $table->text('section4_content_en')->nullable();
            $table->string('section4_image1')->nullable();
            $table->string('section4_image2')->nullable();

            $table->string('section5_title')->nullable();
            $table->string('section5_subtitle')->nullable();
            $table->string('section5_title_en')->nullable();
            $table->string('section5_subtitle_en')->nullable();
            $table->string('section6_title')->nullable();
            $table->string('section6_subtitle')->nullable();
            $table->string('section6_title_en')->nullable();
            $table->string('section6_subtitle_en')->nullable();
            $table->string('section7_title')->nullable();
            $table->string('section7_subtitle')->nullable();
            $table->string('section7_title_en')->nullable();
            $table->string('section7_subtitle_en')->nullable();
            $table->string('section8_title')->nullable();
            $table->string('section8_subtitle')->nullable();
            $table->string('section8_title_en')->nullable();
            $table->string('section8_subtitle_en')->nullable();
            $table->string('section9_title')->nullable();
            $table->string('section9_subtitle')->nullable();
            $table->string('section9_title_en')->nullable();
            $table->string('section9_subtitle_en')->nullable();
            $table->string('section10_title')->nullable();
            $table->string('section10_subtitle')->nullable();
            $table->string('section10_title_en')->nullable();
            $table->string('section10_subtitle_en')->nullable();
            $table->string('section11_title')->nullable();
            $table->string('section11_subtitle')->nullable();
            $table->string('section11_title_en')->nullable();
            $table->string('section11_subtitle_en')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::dropIfExists('home_settings');
    }
};
