<?php

namespace App\Domain\Website\Models;

use App\Domain\Shared\Traits\BelongsToAcademy;
use Illuminate\Database\Eloquent\Model;

class WebsiteSetting extends Model
{
    use BelongsToAcademy;

    protected $fillable = [
        'academy_id',
        'template',
        'primary_color',
        'secondary_color',
        'accent_color',
        'text_color',
        'background_color',
        'surface_color',
        'border_color',
        'muted_text_color',
        'heading_font',
        'body_font',
        'font_size_scale',
        'heading_weight',
        'line_height',
        'letter_spacing',
        'density',
        'border_radius_preset',
        'card_style',
        'section_divider',
        'image_shape',
        'animations_enabled',
        'animation_speed',
        'navbar_style',
        'site_title',
        'site_title_en',
        'site_description',
        'site_description_en',
        'social_links',
        'whatsapp_number',
        'custom_css',
        'google_analytics_id',
        'facebook_pixel_id',
        'is_published',
        'published_at',
    ];

    protected $casts = [
        'social_links' => 'array',
        'is_published' => 'boolean',
        'animations_enabled' => 'boolean',
        'published_at' => 'datetime',
    ];
}
