{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    {% block meta_tags %}{% endblock %}

    <title>{% block title %}Host in Sri Lanka | Hosting Partner Portal{% endblock %}</title>

    <!-- Favicon -->
    <link rel="icon" type="image/png" href="{% static 'expat_life/images/favicon_h.png' %}">

    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Bootstrap Icons -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">

    <!-- Existing Shared Main Style -->
    <link rel="stylesheet" href="{% static 'expat_life/css/style.css' %}">
    <link rel="stylesheet" href="{% static 'expat_life/css/hosting.css' %}">
    <!-- Cropper JS CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.6.2/cropper.min.css">

    <!-- Cropper JS -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.6.2/cropper.min.js"></script>

    {% block extra_css %}{% endblock %}
</head>

<body>

<!-- =========================================================
     TOP BAR
========================================================= -->
<div class="topbar d-none d-lg-block">
    <div class="container">
        <div class="d-flex justify-content-between align-items-center">

            <div class="topbar-left">
                <span>
                    <i class="bi bi-stars"></i>
                    Helping Sri Lankan venues become unforgettable settings for romantic and celebration experiences
                </span>
            </div>

            <div class="topbar-right d-flex align-items-center gap-3">

                <!-- Future: Replace # with hosting about page URL -->
                <a href="{% url 'hosting_app:about_us_hosting' %}">
                    <i class="bi bi-info-circle-fill me-1"></i> About
                </a>

                <!-- Future: Replace # with hosting contact page URL -->
                <a href="{% url 'hosting_app:contact_page' %}">
                    <i class="bi bi-envelope-fill me-1"></i> Contact
                </a>

                {% if request.user.is_authenticated %}

                    {% with active_portal=request.session.active_hosting_portal %}

                        {% if active_portal == "client" and request.user.hosting_client_profile %}
                            <a href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                <i class="bi bi-speedometer2 me-1"></i>
                                My Client Dashboard
                            </a>

                        {% elif active_portal == "host" and request.user.host_profile %}
                            <a href="{% url 'hosting_app:host_dashboard' %}">
                                <i class="bi bi-grid-fill me-1"></i>
                                My Host Dashboard
                            </a>

                        {% elif request.user.host_profile %}
                            <a href="{% url 'hosting_app:host_dashboard' %}">
                                <i class="bi bi-grid-fill me-1"></i>
                                My Host Dashboard
                            </a>

                        {% elif request.user.hosting_client_profile %}
                            <a href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                <i class="bi bi-speedometer2 me-1"></i>
                                My Client Dashboard
                            </a>
                        {% endif %}

                    {% endwith %}

                {% endif %}
            </div>

        </div>
    </div>
</div>


<!-- =========================================================
     MAIN NAVBAR
========================================================= -->
<nav class="navbar navbar-expand-lg premium-navbar sticky-top">
    <div class="container">

        <!-- BRAND -->
        <a class="navbar-brand premium-brand d-flex align-items-center gap-2"
           href="{% url 'hosting_app:home_hosting' %}">

            <span class="brand-logo-circle">
                <img src="{% static 'expat_life/images/ensolanka_logo_h.png' %}"
                     alt="Ensolanka Logo"
                     class="brand-logo-img">
            </span>

            <span class="brand-text-wrap d-flex flex-column">
                <span class="brand-title">Host in Sri Lanka</span>
                <small class="brand-subtitle">Be the place couples choose.</small>
            </span>
        </a>

        <!-- MOBILE TOGGLER -->
        <button class="navbar-toggler premium-toggler"
                type="button"
                data-bs-toggle="collapse"
                data-bs-target="#hostingMainNav"
                aria-controls="hostingMainNav"
                aria-expanded="false"
                aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>


        <!-- NAV CONTENT -->
        <div class="collapse navbar-collapse" id="hostingMainNav">
            <ul class="navbar-nav ms-auto align-items-lg-center">

                <!-- HOME -->
                <li class="nav-item">
                    <a class="nav-link premium-nav-link"
                       href="{% url 'hosting_app:home_hosting' %}">
                        Home
                    </a>
                </li>

                <!-- ABOUT -->
                <li class="nav-item">
                    <!-- Future: Replace # with hosting about page URL -->
                    <a class="nav-link premium-nav-link" href="{% url 'hosting_app:about_us_hosting' %}">
                        About
                    </a>
                </li>

                <!-- CLIENT PORTAL -->
                <li class="nav-item dropdown">
                    <a class="nav-link premium-nav-link dropdown-toggle"
                       href="#"
                       id="clientPortalDropdown"
                       role="button"
                       data-bs-toggle="dropdown"
                       aria-expanded="false">
                        Client Portal
                    </a>

                    <ul class="dropdown-menu" aria-labelledby="clientPortalDropdown">

                        <li>
                            <a class="dropdown-item" href="{% url 'hosting_app:public_host_venue_list' %}">
                                <i class="bi bi-search-heart-fill me-2"></i>
                                Browse & Book Hosts
                            </a>
                        </li>

                        {% if not request.user.is_authenticated %}
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:hosting_client_login' %}">
                                    <i class="bi bi-person-check-fill me-2"></i>
                                    Client Login
                                </a>
                            </li>
                        {% endif %}

                        {% if request.user.is_authenticated and request.user.hosting_client_profile %}
                            <li><hr class="dropdown-divider"></li>

                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                    <i class="bi bi-speedometer2 me-2"></i>
                                    My Client Dashboard
                                </a>
                            </li>

                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:hosting_client_payment_center' %}">
                                    <i class="bi bi-wallet2 me-2"></i>
                                    My Client Payment Center
                                </a>
                            </li>
                        {% endif %}

                        {% if request.user.is_authenticated and request.user.host_profile and request.user.hosting_client_profile %}
                            {% with active_portal=request.session.active_hosting_portal %}
                                <li><hr class="dropdown-divider"></li>

                                {% if active_portal == "client" %}
                                    <li>
                                        <a class="dropdown-item" href="{% url 'hosting_app:switch_hosting_portal' 'host' %}">
                                            <i class="bi bi-building-heart me-2"></i>
                                            Switch to Host Portal
                                        </a>
                                    </li>
                                {% else %}
                                    <li>
                                        <a class="dropdown-item" href="{% url 'hosting_app:switch_hosting_portal' 'client' %}">
                                            <i class="bi bi-person-check-fill me-2"></i>
                                            Switch to Client Portal
                                        </a>
                                    </li>
                                {% endif %}
                            {% endwith %}
                        {% endif %}

                    </ul>
                </li>

                <!-- HOSTING PARTNER ACCESS DROPDOWN -->
                <li class="nav-item dropdown">
                    <a class="nav-link premium-nav-link dropdown-toggle"
                       href="#"
                       id="hostingPartnerAccessDropdown"
                       role="button"
                       data-bs-toggle="dropdown"
                       aria-expanded="false">
                        Hosting Partner Access
                    </a>

                    <ul class="dropdown-menu" aria-labelledby="hostingPartnerAccessDropdown">

                        {% if request.user.is_authenticated and request.user.host_profile %}

                            <li>
                                <a class="dropdown-item"
                                   href="{% url 'hosting_app:host_dashboard' %}">
                                    My Host Dashboard
                                </a>
                            </li>

                            <!-- Future pages -->
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_profile_page' %}">
                                    My Hosting Profile
                                </a>
                            </li>

                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_venue_create' %}">
                                    Add New Venue
                                </a>
                            </li>

                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_venue_list' %}">
                                    My Venues
                                </a>
                            </li>

                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_event_package_list' %}">
                                    Event Packages
                                </a>
                            </li>
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_meal_plan_list' %}">
                                    Meal Plans
                                </a>
                            </li>
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_add_on_service_list' %}">
                                    Add-on Services
                                </a>
                            </li>
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_booking_list' %}">
                                    Bookings
                                </a>
                            </li>
                            <li>
                                <a class="dropdown-item" href="{% url 'hosting_app:host_banking_details' %}">
                                    Banking Details
                                </a>
                            </li>

                        {% else %}

                            <li>
                                <a class="dropdown-item"
                                   href="{% url 'hosting_app:host_signup' %}">
                                    Become a Hosting Partner
                                </a>
                            </li>

                            <li>
                                <a class="dropdown-item"
                                   href="{% url 'hosting_app:host_login' %}">
                                    Hosting Partner Sign In
                                </a>
                            </li>

                        {% endif %}

                    </ul>
                </li>

                <!-- CONTACT -->
                <li class="nav-item">
                    <!-- Future: Replace # with hosting contact page URL -->
                    <a class="nav-link premium-nav-link" href="{% url 'hosting_app:contact_page' %}">
                        Contact
                    </a>
                </li>


                <!-- AUTHENTICATED USER AREA -->
                {% if request.user.is_authenticated %}

                    {% with active_portal=request.session.active_hosting_portal %}

                        {% if active_portal == "client" and request.user.hosting_client_profile %}
                            <li class="nav-item">
                                <a class="nav-link premium-nav-link"
                                   href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                    Client Dashboard
                                </a>
                            </li>

                        {% elif active_portal == "host" and request.user.host_profile %}
                            <li class="nav-item">
                                <a class="nav-link premium-nav-link"
                                   href="{% url 'hosting_app:host_dashboard' %}">
                                    Host Dashboard
                                </a>
                            </li>

                        {% elif request.user.host_profile %}
                            <li class="nav-item">
                                <a class="nav-link premium-nav-link"
                                   href="{% url 'hosting_app:host_dashboard' %}">
                                    Host Dashboard
                                </a>
                            </li>

                        {% elif request.user.hosting_client_profile %}
                            <li class="nav-item">
                                <a class="nav-link premium-nav-link"
                                   href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                    Client Dashboard
                                </a>
                            </li>
                        {% endif %}

                    {% endwith %}

                    <li class="nav-item ms-lg-3 mt-3 mt-lg-0">
                        <form method="post" action="{% url 'smart_logout' %}" class="d-inline">
                            {% csrf_token %}
                            <button type="submit" class="btn btn-outline-dark premium-nav-btn">
                                Sign Out
                            </button>
                        </form>
                    </li>

                {% else %}

                    <!-- PUBLIC CTA BUTTONS - HOSTING PARTNER FOCUS -->
                    <li class="nav-item ms-lg-3 mt-3 mt-lg-0">
                        <a href="{% url 'hosting_app:host_login' %}"
                           class="btn btn-outline-dark premium-nav-btn me-2">
                            Host Sign In
                        </a>

                        <a href="{% url 'hosting_app:host_signup' %}"
                           class="btn btn-warning premium-nav-btn">
                            Become a Host
                        </a>
                    </li>

                {% endif %}

            </ul>
        </div>

    </div>
</nav>


<!-- =========================================================
     DJANGO MESSAGES
========================================================= -->
{% if messages %}
<div class="container mt-3">
    {% for message in messages %}
        <div class="alert 
            {% if message.tags %}
                alert-{{ message.tags }}
            {% else %}
                alert-info
            {% endif %}
            shadow-sm rounded-4">
            {{ message }}
        </div>
    {% endfor %}
</div>
{% endif %}


<!-- =========================================================
     PAGE CONTENT
========================================================= -->
{% block content %}{% endblock %}


<!-- =========================================================
     FLOATING HOSTING CTA BUTTON
========================================================= -->
{% if request.user.is_authenticated %}

    {% with active_portal=request.session.active_hosting_portal %}

        {% if active_portal == "client" and request.user.hosting_client_profile %}
            <a href="{% url 'hosting_app:hosting_client_dashboard' %}"
               class="floating-guest-btn btn btn-warning shadow">
                <i class="bi bi-person-check-fill me-1"></i>
                My Client Dashboard
            </a>

        {% elif active_portal == "host" and request.user.host_profile %}
            <a href="{% url 'hosting_app:host_dashboard' %}"
               class="floating-guest-btn btn btn-warning shadow">
                <i class="bi bi-speedometer2 me-1"></i>
                My Host Dashboard
            </a>

        {% elif request.user.host_profile %}
            <a href="{% url 'hosting_app:host_dashboard' %}"
               class="floating-guest-btn btn btn-warning shadow">
                <i class="bi bi-speedometer2 me-1"></i>
                My Host Dashboard
            </a>

        {% elif request.user.hosting_client_profile %}
            <a href="{% url 'hosting_app:hosting_client_dashboard' %}"
               class="floating-guest-btn btn btn-warning shadow">
                <i class="bi bi-person-check-fill me-1"></i>
                My Client Dashboard
            </a>
        {% endif %}

    {% endwith %}

{% else %}

    <a href="{% url 'hosting_app:host_signup' %}"
       class="floating-guest-btn btn btn-warning shadow">
        <i class="bi bi-building-heart me-1"></i>
        Become a Hosting Partner
    </a>

{% endif %}


<!-- =========================================================
     FOOTER
========================================================= -->
<footer class="premium-footer">

    <div class="footer-main py-5">
        <div class="container">
            <div class="row g-4">

                <!-- BRAND / INTRO -->
                <div class="col-lg-4">
                    <div class="footer-brand-block">

                        <div class="d-flex align-items-center mb-3">
                            <span class="brand-logo-circle footer-logo-circle me-3">
                                <img src="{% static 'expat_life/images/ensolanka_logo_h.png' %}"
                                     alt="Ensolanka Logo"
                                     class="brand-logo-img">
                            </span>

                            <div>
                                <h4 class="footer-brand-title mb-0">Host in Sri Lanka</h4>
                                <small class="footer-brand-subtitle">
                                    Be the place couples choose.
                                </small>
                            </div>
                        </div>

                        <p class="footer-text">
                            A hosting partner portal helping Sri Lankan venues, hospitality businesses,
                            and celebration spaces present memorable experiences for romantic dates,
                            proposals, anniversaries, birthdays, and meaningful guest moments.
                        </p>
                        <!-- Secure Trust Badge -->
                        <div class="footer-secure-trust-wrap">
                            <div class="footer-secure-trust-badge">
                                <img src="{% static 'expat_life/images/secure_https_badge.png' %}"
                                    alt="Secure HTTPS SSL TLS Protected"
                                    class="footer-secure-trust-img">

                                <div class="footer-secure-trust-text">
                                    <strong>Secure HTTPS Connection</strong>
                                    <span>SSL/TLS encrypted connection protected by a trusted certificate.</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <!-- EXPLORE -->
                <div class="col-6 col-lg-2">
                    <h6 class="footer-heading">Explore</h6>

                    <ul class="footer-links list-unstyled">
                        <li>
                            <a href="{% url 'hosting_app:home_hosting' %}">
                                Home
                            </a>
                        </li>

                        <!-- Future pages -->
                        <li><a href="{% url 'hosting_app:about_us_hosting' %}">About</a></li>
                        <li><a href="{% url 'hosting_app:public_host_venue_list' %}">Public Hosts</a></li>
                        <li><a href="{% url 'hosting_app:contact_page' %}">Contact</a></li>
                    </ul>
                </div>


                <!-- HOSTING / CLIENT JOURNEY -->
                <div class="col-6 col-lg-2">
                    <h6 class="footer-heading">
                        {% if request.user.is_authenticated %}
                            {% with active_portal=request.session.active_hosting_portal %}
                                {% if active_portal == "client" and request.user.hosting_client_profile %}
                                    Client Journey
                                {% elif request.user.hosting_client_profile and not request.user.host_profile %}
                                    Client Journey
                                {% elif request.user.host_profile %}
                                    Hosting Partner Journey
                                {% else %}
                                    Start Hosting Journey
                                {% endif %}
                            {% endwith %}
                        {% else %}
                            Hosting Partner Journey
                        {% endif %}
                    </h6>

                    <ul class="footer-links list-unstyled">

                        {% if request.user.is_authenticated %}

                            {% with active_portal=request.session.active_hosting_portal %}

                                {% if active_portal == "client" and request.user.hosting_client_profile %}

                                    <li>
                                        <a href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                            My Client Dashboard
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:hosting_client_payment_center' %}">
                                            My Client Payment Center
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:public_host_venue_list' %}">
                                            Browse & Book Hosts
                                        </a>
                                    </li>

                                    {% if request.user.host_profile %}
                                        <li>
                                            <a href="{% url 'hosting_app:switch_hosting_portal' 'host' %}">
                                                Switch to Host Portal
                                            </a>
                                        </li>
                                    {% endif %}

                                {% elif request.user.host_profile %}

                                    <li>
                                        <a href="{% url 'hosting_app:host_dashboard' %}">
                                            My Dashboard
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_profile_page' %}">
                                            My Profile
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_venue_create' %}">
                                            Add Venue
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_venue_list' %}">
                                            My Venues
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_meal_plan_list' %}">
                                            Meal Plans
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_event_package_list' %}">
                                            Event Packages
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:host_booking_list' %}">
                                            Bookings
                                        </a>
                                    </li>

                                    {% if request.user.hosting_client_profile %}
                                        <li>
                                            <a href="{% url 'hosting_app:switch_hosting_portal' 'client' %}">
                                                Switch to Client Portal
                                            </a>
                                        </li>
                                    {% endif %}

                                {% elif request.user.hosting_client_profile %}

                                    <li>
                                        <a href="{% url 'hosting_app:hosting_client_dashboard' %}">
                                            My Client Dashboard
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:hosting_client_payment_center' %}">
                                            My Client Payment Center
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:public_host_venue_list' %}">
                                            Browse & Book Hosts
                                        </a>
                                    </li>

                                {% else %}

                                    <!-- Authenticated user, but no hosting/client profile yet -->
                                    <li>
                                        <a href="{% url 'hosting_app:host_signup' %}">
                                            Become a Hosting Partner
                                        </a>
                                    </li>

                                    <li>
                                        <a href="{% url 'hosting_app:public_host_venue_list' %}">
                                            View Public Hosts
                                        </a>
                                    </li>

                                {% endif %}

                            {% endwith %}

                        {% else %}

                            <li>
                                <a href="{% url 'hosting_app:host_signup' %}">
                                    Hosting Partner Signup
                                </a>
                            </li>

                            <li>
                                <a href="{% url 'hosting_app:host_login' %}">
                                    Host Sign In
                                </a>
                            </li>

                            <li>
                                <a href="{% url 'hosting_app:public_host_venue_list' %}">
                                    View Public Hosts
                                </a>
                            </li>

                            <li>
                                <a href="{% url 'hosting_app:hosting_client_login' %}">
                                    Client Sign In
                                </a>
                            </li>

                        {% endif %}

                    </ul>
                </div>


                <!-- LEGAL / POLICIES -->
                <div class="col-6 col-lg-2">
                    <h6 class="footer-heading">Legal & Policies</h6>

                    <ul class="footer-links list-unstyled">
                        <!--
                            Temporary placeholders.
                            Replace these with proper hosting_app URL paths
                            after creating legal and policy pages.
                        -->
                        <li><a href="{% url 'hosting_app:terms_conditions' %}">Terms & Conditions</a></li>
                        <li><a href="{% url 'hosting_app:privacy_policy' %}">Privacy Policy</a></li>
                        <li><a href="{% url 'hosting_app:refund_payment_policy' %}">Refund & Payment Policy</a></li>
                        <li><a href="{% url 'hosting_app:disclaimer' %}">Disclaimer</a></li>
                        <li><a href="{% url 'hosting_app:cookie_policy' %}">Cookie Policy</a></li>
                        <li><a href="{% url 'hosting_app:faq' %}">FAQ</a></li>
                    </ul>
                </div>


                <!-- CTA BLOCK -->
                <div class="col-6 col-lg-2">

                    {% if request.user.is_authenticated %}
                        {% with active_portal=request.session.active_hosting_portal %}

                            {% if active_portal == "client" and request.user.hosting_client_profile %}
                                <h6 class="footer-heading">Plan Your Event</h6>

                                <p class="footer-text small">
                                    Browse trusted host venues, review your bookings,
                                    and continue payments for your selected hosted experiences.
                                </p>

                                <div class="d-grid gap-2">
                                    <a href="{% url 'hosting_app:hosting_client_dashboard' %}"
                                       class="btn btn-warning btn-sm">
                                        My Client Dashboard
                                    </a>

                                    <a href="{% url 'hosting_app:public_host_venue_list' %}"
                                       class="btn btn-outline-light btn-sm">
                                        Browse Hosts
                                    </a>
                                </div>

                            {% elif request.user.host_profile %}
                                <h6 class="footer-heading">Create Memorable Moments</h6>

                                <p class="footer-text small">
                                    Present your venue, showcase your celebration packages,
                                    and connect with foreign guests looking for beautiful experiences in Sri Lanka.
                                </p>

                                <div class="d-grid gap-2">
                                    <a href="{% url 'hosting_app:host_dashboard' %}"
                                       class="btn btn-warning btn-sm">
                                        My Dashboard
                                    </a>

                                    <a href="{% url 'hosting_app:host_venue_create' %}"
                                       class="btn btn-outline-light btn-sm">
                                        Add Venue
                                    </a>
                                </div>

                            {% elif request.user.hosting_client_profile %}
                                <h6 class="footer-heading">Plan Your Event</h6>

                                <p class="footer-text small">
                                    Browse trusted host venues, review your bookings,
                                    and continue payments for your selected hosted experiences.
                                </p>

                                <div class="d-grid gap-2">
                                    <a href="{% url 'hosting_app:hosting_client_dashboard' %}"
                                       class="btn btn-warning btn-sm">
                                        My Client Dashboard
                                    </a>

                                    <a href="{% url 'hosting_app:public_host_venue_list' %}"
                                       class="btn btn-outline-light btn-sm">
                                        Browse Hosts
                                    </a>
                                </div>
                            {% endif %}

                        {% endwith %}

                    {% else %}

                        <h6 class="footer-heading">Create Memorable Moments</h6>

                        <p class="footer-text small">
                            Present your venue, showcase your celebration packages,
                            and connect with foreign guests looking for beautiful experiences in Sri Lanka.
                        </p>

                        <div class="d-grid gap-2">
                            <a href="{% url 'hosting_app:host_signup' %}"
                               class="btn btn-warning btn-sm">
                                Become a Partner
                            </a>

                            <a href="{% url 'hosting_app:host_login' %}"
                               class="btn btn-outline-light btn-sm">
                                Host Sign In
                            </a>
                        </div>

                    {% endif %}

                </div>

            </div>
        </div>
    </div>


    <!-- FOOTER BOTTOM -->
    <div class="footer-bottom py-3">
        <div class="container">
            <div class="d-flex flex-column flex-md-row justify-content-between align-items-center gap-2">

                <small>&copy; 2026 Ensolanka LLC. All rights reserved.</small>

                <small>
                    Designed to connect Sri Lankan venues with guests seeking romantic and celebration experiences.
                </small>

            </div>
        </div>
    </div>

</footer>


<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>

{% block extra_js %}{% endblock %}

</body>
</html>