# Generated by Django 6.1.1 on 2026-09-06 11:27

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ServiceCategory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('slug', models.SlugField(blank=True, unique=True)),
                ('description', models.TextField(blank=True)),
            ],
            options={
                'verbose_name': 'Service Category',
                'verbose_name_plural': 'Service Categories',
            },
        ),
        migrations.CreateModel(
            name='Service',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=150)),
                ('slug', models.SlugField(blank=True, unique=True)),
                ('short_description', models.TextField(help_text='Brief summary for cards')),
                ('full_description', models.TextField(help_text='Full in-depth service overview')),
                ('icon', models.CharField(default='Code', help_text='Lucide icon name: Code, Globe, Smartphone, Palette, Cpu, Shield, Database, Wrench', max_length=50)),
                ('key_features', models.JSONField(default=list, help_text="List of feature bullet points e.g. ['Custom Architecture', 'High Scalability']")),
                ('benefits', models.JSONField(default=list, help_text='List of client benefits')),
                ('technologies', models.CharField(default='React, Django, Python, PostgreSQL, Flutter, Docker', help_text='Key tech stack used', max_length=255)),
                ('image_url', models.URLField(blank=True, default='https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=800&q=80')),
                ('order', models.PositiveIntegerField(default=0)),
                ('is_featured', models.BooleanField(default=True)),
                ('is_active', models.BooleanField(default=True)),
                ('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='services', to='services.servicecategory')),
            ],
            options={
                'verbose_name': 'Service',
                'verbose_name_plural': 'Services',
                'ordering': ['order', 'title'],
            },
        ),
    ]
