{% extends 'expat_life/base.html' %}
{% block title %}Private Listings{% endblock %}

{% block content %}

<style>
    /* =========================================================
       PRIVATE LISTINGS PAGE - PREMIUM LIVE IN SRI LANKA THEME
    ========================================================= */

    :root {
        --lis-deep: #07131c;
        --lis-navy: #0b2638;
        --lis-blue: #0d6efd;
        --lis-blue-dark: #0b3d91;
        --lis-teal: #0f766e;
        --lis-teal-bright: #20c997;
        --lis-gold: #ffc107;
        --lis-gold-light: #ffd45f;
        --lis-soft-blue: #f5f9ff;
        --lis-sand: #fff8ed;
        --lis-white: #ffffff;
        --lis-text: #102033;
        --lis-muted: #64748b;
        --lis-border: rgba(15, 42, 64, 0.10);
        --lis-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
        --lis-shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.16);
    }

    .private-listings-section {
        position: relative;
        overflow: hidden;
        min-height: 78vh;
        display: flex;
        align-items: center;
        background:
            radial-gradient(circle at 10% 12%, rgba(255, 193, 7, 0.13), transparent 28%),
            radial-gradient(circle at 88% 14%, rgba(13, 110, 253, 0.10), transparent 30%),
            radial-gradient(circle at 82% 86%, rgba(15, 118, 110, 0.12), transparent 32%),
            linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
        padding: 90px 0;
    }

    .private-listings-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -190px;
        top: -190px;
        border-radius: 50%;
        background: rgba(255, 193, 7, 0.12);
        pointer-events: none;
    }

    .private-listings-section::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        left: -170px;
        bottom: -180px;
        border-radius: 50%;
        background: rgba(13, 110, 253, 0.08);
        pointer-events: none;
    }

    .private-listings-wrap {
        position: relative;
        z-index: 2;
        max-width: 920px;
        margin: 0 auto;
    }

    .detail-card {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(15, 42, 64, 0.08);
        border-radius: 36px;
        background:
            radial-gradient(circle at 92% 8%, rgba(255, 193, 7, 0.14), transparent 32%),
            linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--lis-shadow-strong);
        padding: 56px 44px;
        text-align: center;
    }

    .detail-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg, var(--lis-gold), var(--lis-teal), var(--lis-blue));
        z-index: 2;
    }

    .detail-card::after {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: -120px;
        bottom: -120px;
        border-radius: 50%;
        background: rgba(15, 118, 110, 0.08);
        pointer-events: none;
    }

    .private-listings-icon {
        position: relative;
        z-index: 3;
        width: 94px;
        height: 94px;
        margin: 0 auto 24px;
        border-radius: 30px;
        background:
            radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 28%),
            linear-gradient(135deg, var(--lis-gold-light), var(--lis-gold));
        color: var(--lis-deep);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 2.65rem;
        box-shadow:
            0 18px 38px rgba(255, 193, 7, 0.28),
            0 0 0 10px rgba(255, 193, 7, 0.10);
    }

    .section-mini-title {
        position: relative;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 7px 15px;
        border-radius: 999px;
        background: rgba(15, 118, 110, 0.09);
        border: 1px solid rgba(15, 118, 110, 0.14);
        color: var(--lis-teal);
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.075em;
        margin-bottom: 16px;
    }

    .section-mini-title::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--lis-gold);
        box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.14);
    }

    .detail-card h1 {
        position: relative;
        z-index: 3;
        color: var(--lis-text);
        font-weight: 950;
        letter-spacing: -0.035em;
        line-height: 1.12;
        font-size: clamp(2.1rem, 4vw, 3.2rem);
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .detail-card > p {
        position: relative;
        z-index: 3;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        color: var(--lis-muted) !important;
        line-height: 1.78;
        font-size: 1.05rem;
    }

    .info-note-box {
        position: relative;
        z-index: 3;
        max-width: 760px;
        margin: 30px auto 0;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        padding: 1.2rem 1.25rem;
        border-radius: 22px;
        background:
            radial-gradient(circle at 92% 10%, rgba(255, 193, 7, 0.12), transparent 32%),
            linear-gradient(135deg, rgba(255, 193, 7, 0.10), rgba(15, 118, 110, 0.06));
        border: 1px solid rgba(255, 193, 7, 0.20);
        color: #475569;
        line-height: 1.7;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
    }

    .info-note-box i {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 16px;
        background:
            linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(13, 110, 253, 0.08));
        color: var(--lis-teal);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        box-shadow: 0 12px 24px rgba(15, 118, 110, 0.10);
    }

    .private-listing-preview-grid {
        position: relative;
        z-index: 3;
        margin-top: 30px;
    }

    .private-preview-card {
        height: 100%;
        padding: 1.2rem;
        border-radius: 24px;
        background:
            radial-gradient(circle at 92% 10%, rgba(13, 110, 253, 0.08), transparent 32%),
            linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        border: 1px solid rgba(15, 42, 64, 0.08);
        box-shadow: var(--lis-shadow);
        text-align: left;
    }

    .private-preview-card i {
        width: 46px;
        height: 46px;
        border-radius: 17px;
        background:
            linear-gradient(135deg, #ecfdf5 0%, #e9f2ff 100%);
        color: var(--lis-teal);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        margin-bottom: 0.9rem;
    }

    .private-preview-card h5 {
        color: var(--lis-text);
        font-weight: 950;
        letter-spacing: -0.015em;
        margin-bottom: 0.45rem;
    }

    .private-preview-card p {
        color: var(--lis-muted);
        line-height: 1.65;
        font-size: 0.93rem;
        margin-bottom: 0;
    }

    @media (max-width: 767.98px) {
        .private-listings-section {
            padding: 60px 0;
            min-height: auto;
        }

        .detail-card {
            border-radius: 28px;
            padding: 42px 24px;
        }

        .private-listings-icon {
            width: 82px;
            height: 82px;
            border-radius: 26px;
            font-size: 2.25rem;
        }

        .info-note-box {
            flex-direction: column;
            text-align: center;
            align-items: center;
        }
    }

    @media (max-width: 420px) {
        .detail-card {
            padding: 36px 20px;
        }

        .detail-card h1 {
            font-size: 2rem;
        }
    }
</style>

<section class="private-listings-section">
    <div class="container">
        <div class="private-listings-wrap">
            <div class="detail-card">

                <div class="private-listings-icon">
                    <i class="bi bi-shield-lock"></i>
                </div>

                <span class="section-mini-title">Private Listings</span>

                <h1 class="mb-3">Confirmed Guest Access Area</h1>

                <p class="mb-4">
                    This is where protected rental listings, support services, and future approved private resources will appear.
                </p>

                <div class="info-note-box">
                    <i class="bi bi-info-circle-fill"></i>
                    <div>
                        In the next phase, you can place approved rental properties, helper profiles,
                        and other protected resources here for confirmed guests only.
                    </div>
                </div>

                <div class="row g-3 private-listing-preview-grid">
                    <div class="col-md-4">
                        <div class="private-preview-card">
                            <i class="bi bi-house-heart"></i>
                            <h5>Private Rentals</h5>
                            <p>
                                Approved rental homes, villas, apartments, and long-stay options can appear here.
                            </p>
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="private-preview-card">
                            <i class="bi bi-person-check"></i>
                            <h5>Trusted Support</h5>
                            <p>
                                Helper profiles, local assistants, and guest support services can be shown securely.
                            </p>
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="private-preview-card">
                            <i class="bi bi-stars"></i>
                            <h5>Approved Resources</h5>
                            <p>
                                Future private guides, special offers, and verified living resources can be added later.
                            </p>
                        </div>
                    </div>
                </div>

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

{% endblock %}