<?php
declare(strict_types=1);

return [
    'event' => [
        'id' => 'ebabe-thanksgiving-2026',
        'name' => "E-Babe's Season Of Thanksgiving",
        'date' => '8 November 2026',
        'location' => 'Lagos, Nigeria',
        'summary' => 'Celebrating Mrs. Catherine Chidinma Anyadimaju',
        'reply_to' => 'jamesperry080@gmail.com',
    ],
    'database' => [
        'host' => getenv('RSVP_DB_HOST') ?: '127.0.0.1',
        'name' => getenv('RSVP_DB_NAME') ?: 'ebabe_rsvp',
        'user' => getenv('RSVP_DB_USER') ?: 'root',
        'pass' => getenv('RSVP_DB_PASS') ?: '',
        'charset' => 'utf8mb4',
    ],
    'mail' => [
        'host' => getenv('RSVP_SMTP_HOST') ?: 'smtp.example.com',
        'username' => getenv('RSVP_SMTP_USER') ?: 'events@example.com',
        'password' => getenv('RSVP_SMTP_PASS') ?: '',
        'port' => (int) (getenv('RSVP_SMTP_PORT') ?: 587),
        'encryption' => getenv('RSVP_SMTP_ENCRYPTION') ?: 'tls',
        'from_email' => getenv('RSVP_FROM_EMAIL') ?: 'jamesperry080@gmail.com',
        'from_name' => getenv('RSVP_FROM_NAME') ?: 'Book NetX',
        'reply_to' => getenv('RSVP_REPLY_TO') ?: 'jamesperry080@gmail.com',
        'notification_recipients' => [
            'jamesperry080@gmail.com',
        ],
    ],
    'admin' => [
        'username' => getenv('RSVP_ADMIN_USER') ?: 'admin',
        'password' => getenv('RSVP_ADMIN_PASS') ?: 'change-this-password',
    ],
];
