

{% extends "base.html" %}
{% block title %}{% if category %}{{ category.name }} Tours{% else %}Our Tour Packages{% endif %} - Lankatravelbee {% endblock %}
{% block inner_hero_background %}/static/images/tour-packages-inner.avif{% endblock %}
{% block inner_hero_title %}
   Our {% if category %}
        {{ category.name }} Tours
    {% else %}
        {% if tours_by_category.keys()|length == 1 %}
            {{ tours_by_category.keys()|first.name }} Tours
        {% else %}
            Our Tour Packages
        {% endif %}
    {% endif %}
{% endblock %}
{% block inner_hero_subtitle %}Discover the wonders of Sri Lanka at your own pace, while experiencing the ultimate comfort and convenience.{% endblock %}
{% block content %}
<div class="container mt-5">
    {% for category, tours in tours_by_category.items() %}
       
        <div class="row">
            {% if tours %}
                {% for tour in tours %}
                     {% include 'partials/tour_card.html' %}
                {% endfor %}
            {% else %}
                <p>No tours available for {{ category.name }}.</p>
            {% endif %}
        </div>
    {% else %}
        <p>No tours available.</p>
    {% endfor %}
</div>
{% endblock %}