<?php

return [
    'name' => 'RIASEC Personality Test',
    'brand' => [
        'name' => 'SENTRAL College Penang',
        'tagline' => 'Personality assessment and administrator console',
        'logo' => 'images/sentral-college-penang-logo.png',
        'theme_color' => '#1c6944',
    ],
    'base_path' => '/RIASEC/public',
    'default_language' => 'en',
    'database' => [
        'host' => getenv('RIASEC_DB_HOST') ?: '127.0.0.1',
        'port' => (int) (getenv('RIASEC_DB_PORT') ?: 3306),
        'database' => getenv('RIASEC_DB_DATABASE') ?: 'riasec',
        'username' => getenv('RIASEC_DB_USERNAME') ?: 'root',
        'password' => getenv('RIASEC_DB_PASSWORD') ?: '',
        'charset' => 'utf8mb4',
    ],
    'supported_languages' => [
        'en' => 'English',
        'ms' => 'Bahasa Melayu',
        'zh' => '中文',
        'ta' => 'தமிழ்',
    ],
    'source_files' => [
        'questions' => BASE_PATH . '/resources/riasex test (new).xlsx',
        'report' => BASE_PATH . '/resources/riasec personality test results.docx',
    ],
    'storage' => [
        'reports' => BASE_PATH . '/storage/reports',
        'pdfs' => BASE_PATH . '/storage/pdfs',
        'translation_cache' => BASE_PATH . '/storage/translation-cache',
    ],
    'translation_service' => [
        'enabled' => filter_var(getenv('RIASEC_TRANSLATION_ENABLED') ?: '1', FILTER_VALIDATE_BOOL),
        'endpoint' => getenv('RIASEC_TRANSLATION_ENDPOINT') ?: 'https://translate.googleapis.com/translate_a/single',
        'timeout' => (int) (getenv('RIASEC_TRANSLATION_TIMEOUT') ?: 8),
    ],
    'riasec_areas' => [
        'R' => [
            'name' => 'Realistic',
            'color' => '#8A5A44',
            'description' => 'People with strong Realistic interests usually prefer practical, hands-on tasks, tools, machinery, outdoor work, and visible results.',
            'career_opportunities' => ['Agriculture', 'Construction', 'Manufacturing', 'Transportation', 'Safety services'],
            'suitable_programmes' => ['Programme setup pending administrator confirmation'],
        ],
        'I' => [
            'name' => 'Investigative',
            'color' => '#2A6F97',
            'description' => 'People with strong Investigative interests are drawn to analysis, research, problem solving, science, technology, and evidence-based thinking.',
            'career_opportunities' => ['Data analysis', 'Engineering', 'Health sciences', 'Research', 'Technology'],
            'suitable_programmes' => ['CBIT', 'DCST', 'DIA'],
        ],
        'A' => [
            'name' => 'Artistic',
            'color' => '#C66B3D',
            'description' => 'People with strong Artistic interests often enjoy creative expression, design, aesthetics, performance, storytelling, and original ideas.',
            'career_opportunities' => ['Creative media', 'Design', 'Performing arts', 'Content creation', 'Visual communication'],
            'suitable_programmes' => ['Programme setup pending administrator confirmation'],
        ],
        'S' => [
            'name' => 'Social',
            'color' => '#4C956C',
            'description' => 'People with strong Social interests usually enjoy helping, teaching, supporting, mentoring, listening, and working closely with others.',
            'career_opportunities' => ['Counselling', 'Education', 'Community services', 'Human development', 'Healthcare support'],
            'suitable_programmes' => ['Programme setup pending administrator confirmation'],
        ],
        'E' => [
            'name' => 'Enterprising',
            'color' => '#B56576',
            'description' => 'People with strong Enterprising interests are typically energized by leadership, persuasion, initiative, business goals, and influencing outcomes.',
            'career_opportunities' => ['Business development', 'Entrepreneurship', 'Marketing', 'Sales', 'Project leadership'],
            'suitable_programmes' => ['Programme setup pending administrator confirmation'],
        ],
        'C' => [
            'name' => 'Conventional',
            'color' => '#6D597A',
            'description' => 'People with strong Conventional interests usually prefer structure, accuracy, orderly systems, detailed processes, and dependable routines.',
            'career_opportunities' => ['Administration', 'Finance support', 'Operations', 'Records management', 'Office systems'],
            'suitable_programmes' => ['Programme setup pending administrator confirmation'],
        ],
    ],
    'admin_users' => [
        [
            'name' => 'System Administrator',
            'email' => 'admin@riasec.local',
            'password_hash' => password_hash('Admin123!', PASSWORD_DEFAULT),
        ],
    ],
];