<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Invitation to Jennifer Adebonojo's 40th Birthday Celebration!</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        p { line-height: 1.8;}
        .header {
            background: #fff8dd;
            color: white;
            padding: 8px 20px;
            border-radius: 8px 8px 0 0;
            text-align: center;
            margin-bottom: 12px;
        }
        .header h2, .header p {
            margin: 0;
            padding: 0;
        }
        h3 {
            color: #2c3e50;
            border-bottom: 1px solid #eaeaea;
            padding-bottom: 10px;
            margin-top: 0;
        }
        .content {
            background: #f9f9f9;
            padding: 15px;
        }
        .booking-details {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border: 2px solid #D4AF37;
        }
        .qr-code {
            text-align: center;
            margin: 20px 0;
        }
        .qr-code img {
            max-width: 200px;
            height: auto;
        }
        .footer {
            background: #333;
            color: white;
            padding: 15px;
            text-align: center;
            border-radius: 0 0 8px 8px;
            font-size: 12px;
        }
        .highlight {
            color: #D4AF37;
            font-weight: bold;
        }
        ul li {
            line-height: 2.0;
        }
    </style>
</head>
<body>
    <div class="content">

        <h3>Dear {{ guest.first_name }} {{ guest.last_name }},</h3>
        
        <p>The wait is over - your exclusive access card for Club Jen is ready!</p>

        {% if guest.ticket_number %}
        <div class="qr-code">
            <img src="{{ qr_code_url }}" alt="Access QR Code">
        </div>
        {% endif %}

        <div class="booking-details">
            <h3>Here are your event details:</h3>
            <ul style="list-style-type: none; margin: 5px; padding: 5px; list-style-position: inside;">
               <li>📅 Saturday, 9th May 2026.</li>
                <li>📍 Victoria Island, Lagos.</li>
                <li>Dress code: All black • Upscale nightlife.</li>
                <!-- <li>⏰ Time: 3:00 PM.</li> -->
            </ul>
        </div> 
        <p>Get ready to step into a night of rhythm, lights, and celebration!</p>

        <p>Please note that this event is strictly by invitation.</p>                          
        
        <p>With joy,<br>
         Jennifer Adebonojo</p>
    </div>

    <div class="footer">
        <p>&copy; {% now "Y" %} Jennifer Adebonojo's 40th Birthday Celebration</p>
        <p>This is an automated email. Please do not reply to this message.</p>
    </div>
</body>
</html>