<?php
require_once __DIR__ . '/includes/functions.php';
require_once __DIR__ . '/includes/seo.php';

if (!headers_sent()) http_response_code(404);

$seo = [
    'title' => 'Page Not Found | ' . SITE_NAME,
    'description' => 'The page you are looking for could not be found.',
    'path' => current_path(),
];
include __DIR__ . '/includes/header.php';
?>
<section class="section-pad">
  <div class="container error-page">
    <div class="code">404</div>
    <h1>This page has moved on — like Kigali itself.</h1>
    <p class="lede">The page you're looking for doesn't exist or may have been relocated. Let's get you back on track.</p>
    <div class="flex gap-4 mt-6">
      <a href="/" class="btn btn-primary">Back to Home</a>
      <a href="/properties" class="btn btn-outline">Browse Properties</a>
    </div>
  </div>
</section>
<?php include __DIR__ . '/includes/footer.php'; ?>
