<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Dashboard_model extends CI_Model {

    public function __construct() {
        log_message('info', 'Dashboard_model initialized');
    }

    public function get_dashboard_stats() {
        return array(
            'total_views' => 24534,
            'total_enquiries' => 342,
            'portfolio_items' => 156,
            'growth_rate' => 23
        );
    }

    public function get_analytics_data() {
        return array(
            'labels' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
            'primary_data' => [4000, 3000, 5000, 8000, 9000, 9500],
            'secondary_data' => [500, 550, 600, 650, 700, 750]
        );
    }
}