# Generated by Django 5.2.7 on 2026-01-24 03:16

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0015_banner'),
    ]

    operations = [
        migrations.CreateModel(
            name='HomeSection',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200, verbose_name='Title (EN)')),
                ('title_ar', models.CharField(blank=True, max_length=200, verbose_name='Title (AR)')),
                ('subtitle', models.CharField(blank=True, max_length=255, verbose_name='Subtitle (EN)')),
                ('subtitle_ar', models.CharField(blank=True, max_length=255, verbose_name='Subtitle (AR)')),
                ('content', models.TextField(blank=True, verbose_name='Content (EN)')),
                ('content_ar', models.TextField(blank=True, verbose_name='Content (AR)')),
                ('image', models.ImageField(blank=True, null=True, upload_to='home_sections/', verbose_name='Image')),
                ('order', models.PositiveIntegerField(default=0, verbose_name='Order')),
                ('is_active', models.BooleanField(default=True, verbose_name='Is Active')),
                ('section_type', models.CharField(choices=[('SIMPLE', 'Simple Text & Image'), ('FEATURES', 'Features List'), ('CTA', 'Call to Action')], default='SIMPLE', max_length=20)),
                ('background_color', models.CharField(default='white', help_text='e.g. white, light, primary', max_length=50)),
            ],
            options={
                'verbose_name': 'Home Section',
                'verbose_name_plural': 'Home Sections',
                'ordering': ['order'],
            },
        ),
    ]
