<!-- templates/emails/hosting_app/base_hosting_email.html -->

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{% block email_title %}Host in Sri Lanka{% endblock %}</title>

    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #f4ede7;
            font-family: Arial, Helvetica, sans-serif;
            color: #2b211d;
        }

        .email-wrapper {
            width: 100%;
            background-color: #f4ede7;
            padding: 30px 0;
        }

        .email-container {
            max-width: 640px;
            margin: 0 auto;
            background-color: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 8px 28px rgba(59, 30, 24, 0.12);
        }

        /* Hosting App romantic premium gradient */
        .email-header {
            background: linear-gradient(135deg, #2f1718 0%, #7a3028 56%, #bb741d 100%);
            padding: 32px 28px;
            color: #ffffff;
            text-align: center;
        }

        .email-header h1 {
            margin: 0;
            font-size: 26px;
            letter-spacing: -0.3px;
        }

        .email-header p {
            margin: 10px 0 0;
            font-size: 14px;
            opacity: 0.92;
        }

        .email-body {
            padding: 34px 30px;
            font-size: 15px;
            line-height: 1.7;
        }

        .email-body h2 {
            margin-top: 0;
            color: #3b211d;
            font-size: 22px;
        }

        .email-body h3 {
            color: #5c3026;
            font-size: 18px;
            margin-top: 24px;
            margin-bottom: 10px;
        }

        /* warm primary button */
        .email-button {
            display: inline-block;
            background-color: #b46b1d;
            color: #ffffff !important;
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: bold;
            margin-top: 18px;
        }

        .email-button:hover {
            background-color: #965516;
        }

        /* soft warm highlight note */
        .email-note {
            background-color: #fff4e6;
            border-left: 4px solid #b46b1d;
            padding: 14px 16px;
            margin: 20px 0;
            border-radius: 8px;
            color: #5c4024;
        }

        /* credential / details box */
        .email-credential-box {
            background: #fffaf4;
            border: 1px solid #edd5b4;
            border-radius: 12px;
            padding: 20px 22px;
            margin: 20px 0;
            font-size: 15px;
        }

        .email-credential-box .credential-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f0dfc8;
        }

        .email-credential-box .credential-row:last-child {
            border-bottom: none;
        }

        .email-credential-box .credential-label {
            color: #705e56;
            font-weight: normal;
        }

        .email-credential-box .credential-value {
            color: #3b211d;
            font-weight: bold;
        }

        /* process step number */
        .email-step-number {
            display: inline-block;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #b46b1d;
            color: #ffffff;
            font-weight: 800;
            text-align: center;
            line-height: 32px;
            font-size: 14px;
            margin-right: 10px;
            vertical-align: middle;
        }

        /* premium gold badge */
        .email-badge {
            display: inline-block;
            background-color: #f2c15d;
            color: #3b211d;
            font-weight: bold;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 20px;
            margin-bottom: 10px;
        }

        /* optional soft card */
        .email-soft-card {
            background-color: #fff9f0;
            border: 1px solid #eddcc5;
            border-radius: 12px;
            padding: 16px 18px;
            margin: 18px 0;
        }

        .email-soft-card strong {
            color: #4d2c24;
        }

        /* CTA / footer area */
        .email-footer {
            background: linear-gradient(135deg, #231312 0%, #54261f 55%, #7d4518 100%);
            color: #eadfd8;
            padding: 22px 30px;
            text-align: center;
            font-size: 13px;
        }

        .email-footer a {
            color: #ffffff;
            text-decoration: none;
            font-weight: bold;
        }

        @media only screen and (max-width: 600px) {
            .email-container {
                width: 94% !important;
            }

            .email-body {
                padding: 26px 20px;
            }

            .email-header {
                padding: 26px 20px;
            }

            .email-credential-box .credential-row {
                display: block;
            }

            .email-credential-box .credential-label,
            .email-credential-box .credential-value {
                display: block;
            }

            .email-credential-box .credential-value {
                margin-top: 3px;
            }
        }
    </style>

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

<body>
    <div class="email-wrapper">
        <div class="email-container">

            <div class="email-header">
                <h1>{% block brand_title %}Host in Sri Lanka{% endblock %}</h1>
                <p>{% block brand_subtitle %}Be the place couples choose.{% endblock %}</p>
            </div>

            <div class="email-body">
                {% block email_content %}{% endblock %}
            </div>

            <div class="email-footer">

                {% block footer_top %}
                    {% if site_url %}
                        <p style="margin: 0 0 12px;">
                            <a href="{{ site_url }}">Visit Host in Sri Lanka</a>
                        </p>
                    {% endif %}
                {% endblock %}

                {% block footer_text %}
                    <p style="margin: 0 0 8px; font-size: 12px; color: #eadfd8; line-height: 1.5;">
                        Helping Sri Lankan venues host meaningful romantic and celebration experiences for global guests.
                    </p>
                    <p style="margin: 0; font-size: 12px; color: #eadfd8; line-height: 1.5;">
                        &copy; 2026 Ensolanka LLC. All rights reserved.
                    </p>
                {% endblock %}

            </div>

        </div>
    </div>
</body>
</html>