{% extends 'base.html' %}
{% block content %}
<section class="card">
  <h1>
    {% if page == 'schedule' %}{{ t('schedule') }}{% endif %}
    {% if page == 'hotels' %}{{ t('hotels') }}{% endif %}
    {% if page == 'taxi' %}{{ t('taxi') }}{% endif %}
    {% if page == 'location' %}{{ t('location') }}{% endif %}
  </h1>

  {% if page == 'schedule' %}
    <p>{{ t('schedule_text') }}</p>
  {% elif page == 'hotels' %}
    <p>{{ t('hotels_text') }}</p>
  {% elif page == 'taxi' %}
    <p>{{ t('taxi_text') }}</p>
  {% elif page == 'location' %}
    <p><strong>{{ location_name }}</strong></p>
    <p>{{ location_address }}</p>
    <div class="map-wrap">
      <iframe
        src="{{ google_maps_embed_url }}"
        loading="lazy"
        referrerpolicy="no-referrer-when-downgrade"
        allowfullscreen
      ></iframe>
    </div>
    <a class="btn" href="{{ location_website_url }}" target="_blank" rel="noopener">{{ t('visit_location') }}</a>
  {% endif %}
</section>
{% endblock %}
