CREATE TABLE sections (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    section_key VARCHAR(50) NOT NULL UNIQUE,
    title VARCHAR(255) NOT NULL,
    subtitle TEXT NULL,
    content TEXT NULL,
    sort_order INT NOT NULL DEFAULT 0,
    is_visible TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);

INSERT INTO sections (section_key, title, subtitle, content, sort_order, is_visible) VALUES
('hero', 'Build Your Business Online', 'Simple websites that help your business grow.', 'Get a professional website without unnecessary complexity.', 1, 1),
('about', 'About Us', 'We build practical digital solutions.', 'Digi Expan helps businesses with websites, advertising and content.', 2, 1),
('services', 'Our Services', 'What we can help you with.', 'Website Building|Google & Facebook Ads|Social Media Management|Videography & Photography', 3, 1),
('contact', 'Contact Us', 'Let us know what you need.', 'hello@example.com', 4, 1);
