<!-- templates/emails/expat_life/base_expat_email.html -->

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

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

        .email-wrapper {
            width: 100%;
            background-color: #f5f9ff;
            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(15, 23, 42, 0.08);
        }

        .email-header {
            background:
                radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 34%),
                linear-gradient(135deg, #07131c 0%, #0b3d91 55%, #0f766e 100%);
            padding: 32px 28px;
            color: #ffffff;
            text-align: center;
        }

        .email-header h1 {
            margin: 0;
            font-size: 26px;
            color: #ffffff;
        }

        .email-header p {
            margin: 10px 0 0;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.88);
        }

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

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

        .email-button {
            display: inline-block;
            background: linear-gradient(135deg, #0d6efd, #0b3d91);
            color: #ffffff !important;
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: bold;
            margin-top: 18px;
        }

        .email-button:hover {
            background: linear-gradient(135deg, #0f766e, #07131c);
            color: #ffffff !important;
        }

        .email-note {
            background-color: #f8fbff;
            border-left: 4px solid #0f766e;
            padding: 14px 16px;
            margin: 20px 0;
            border-radius: 8px;
            color: #334155;
        }

        .email-footer {
            background:
                linear-gradient(135deg, #041019 0%, #07131c 100%);
            color: rgba(255, 255, 255, 0.78);
            padding: 22px 30px;
            text-align: center;
            font-size: 13px;
        }

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

        .email-footer a:hover {
            color: #ffd36b;
        }

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

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

            .email-header {
                padding: 26px 20px;
            }
        }
    </style>

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

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

            <div class="email-header">
                <h1>{% block brand_title %}Live in Sri Lanka{% endblock %}</h1>
                <p>{% block brand_subtitle %}Your trusted lifestyle support platform in Sri Lanka{% 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 Live in Sri Lanka</a>
                        </p>
                    {% endif %}
                {% endblock %}

                {% block footer_text %}
                    <p style="margin: 0 0 8px; font-size: 12px; color: #dddddd; line-height: 1.5;">
                        Designed to help international guests discover better tropical living.
                    </p>

                    <p style="margin: 0; font-size: 12px; color: #dddddd; line-height: 1.5;">
                        &copy; 2026 Ensolanka LLC. All rights reserved.
                    </p>
                {% endblock %}

            </div>

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