{% extends "base.html" %}
{% block title %}Find Financing - {{ config.APP_NAME }}{% endblock %}

{% block content %}
<main class="container-page py-12">
  <div class="heading-group">
    <h1 class="text-2xl">Find Financing for Your Padel Project</h1>
    <p>We work with banks and investors experienced in sports facility financing. Tell us about your project and we'll make introductions.</p>
  </div>

  <div class="card max-w-2xl">
    <form method="post" class="space-y-4">
      <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">

      <div>
        <label for="location" class="form-label">Project location</label>
        <input type="text" id="location" name="location" class="form-input" placeholder="City, region, or country" required>
      </div>

      <div>
        <label for="court_count" class="form-label">Number of courts</label>
        <input type="number" id="court_count" name="court_count" class="form-input" min="1" max="50" value="{{ prefill.get('court_count', 4) }}">
      </div>

      <div>
        <label for="budget" class="form-label">Estimated total investment</label>
        <input type="text" id="budget" name="budget" class="form-input" placeholder="e.g. 500000">
        <p class="form-hint">The total CAPEX from your financial plan.</p>
      </div>

      <div>
        <label for="message" class="form-label">Additional details</label>
        <textarea id="message" name="message" rows="4" class="form-input" placeholder="How much equity can you contribute? Do you have existing real estate? Any existing banking relationships?"></textarea>
      </div>

      <button type="submit" class="btn">Find Financing Partners</button>
    </form>
  </div>
</main>
{% endblock %}
