{% extends "website/base.html" %}
{% load static %}
{% block content %}
<section class="section">
  <div class="card">
    <div class="card-title">
      <div class="icon">💬</div>
      <div>
        <h1 class="h1" style="margin:0">Support</h1>
        <div class="small">Send us a message and we’ll respond as soon as possible.</div>
      </div>
    </div>
    <div class="sep"></div>

    <form method="post" class="form">
      {% csrf_token %}
      <div class="grid-2">
        <div>
          <label class="label">Full name</label>
          {{ form.full_name }}
        </div>
        <div>
          <label class="label">Phone</label>
          {{ form.phone }}
        </div>
      </div>
      <div class="grid-2">
        <div>
          <label class="label">Email</label>
          {{ form.email }}
        </div>
        <div>
          <label class="label">Subject</label>
          {{ form.subject }}
        </div>
      </div>

      <div>
        <label class="label">Message</label>
        {{ form.message }}
      </div>

      <div style="display:flex;gap:10px;flex-wrap:wrap;margin-top:12px">
        <button class="btn btn-primary" type="submit">Submit</button>
        <a class="btn" href="{% url 'website:contact' %}">Contact page</a>
      </div>
      <div class="hint">For emergencies, call your local emergency number. This service is non-emergency support.</div>
    </form>
  </div>
</section>
{% endblock %}
