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

$districts = get_districts();
$seo = [
    'title' => 'Investment Locations in Kigali | ' . SITE_NAME,
    'description' => 'Explore Kigali\'s top investment districts — Nyarutarama, Kimihurura, Kibagabaga, Rebero, Bugesera and more — compared by price, growth and rental yield.',
    'path' => '/investment-locations',
];
$locationsHero = brand_asset('hero-estate-aerial') ?: 'assets/images/districts/rebero.jpg';
include __DIR__ . '/includes/header.php';
?>
<section class="hero" style="min-height:55vh;">
  <div class="hero-media"><img src="/<?= e($locationsHero) ?>" alt="Aerial view of a Kigali hillside investment district" fetchpriority="high"></div>
  <div class="container hero-content">
    <div class="eyebrow" style="color:var(--color-accent-light);">Investment Locations</div>
    <h1>Where Kigali Is Growing</h1>
    <p class="lede">Every hill in Kigali tells a different investment story. Compare our ten core districts by price positioning, growth trajectory and lifestyle fit before you choose where to buy.</p>
  </div>
</section>

<section class="section-pad">
  <div class="container">
    <div class="grid grid-3">
      <?php foreach ($districts as $i => $d): ?>
        <div class="reveal" data-delay="<?= $i % 3 + 1 ?>"><?php include __DIR__ . '/includes/partials/district-card.php'; ?></div>
      <?php endforeach; ?>
    </div>
  </div>
</section>

<section class="section-pad-sm" style="background:var(--color-cream);">
  <div class="container">
    <div class="cta-band" style="background:var(--color-black);">
      <div class="eyebrow" style="justify-content:center;color:var(--color-accent-light);">Not Sure Which District Fits?</div>
      <h2>Get a Personalised District Comparison</h2>
      <p style="color:var(--color-fog);max-width:52ch;margin-inline:auto;">Tell us your budget and goals — our advisors will map out the districts that fit your investment profile best.</p>
      <div class="actions">
        <a href="/contact" class="btn btn-accent">Speak to an Advisor</a>
        <a href="/blog/best-kigali-neighbourhoods-to-invest" class="btn btn-outline-light">Read the District Guide</a>
      </div>
    </div>
  </div>
</section>
<?php include __DIR__ . '/includes/footer.php'; ?>
