<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\ContactMessage $message
 * @var string $fullName
 */
?>
<!DOCTYPE html>
<html>
<body style="margin:0;padding:24px;background:#FAF8F5;font-family:'Plus Jakarta Sans',Arial,sans-serif;color:#1C1917;">
    <table role="presentation" style="max-width:560px;margin:0 auto;background:#fff;border-radius:16px;padding:32px;border:1px solid #E7E2DA;">
        <tr>
            <td>
                <h1 style="font-size:22px;font-weight:800;letter-spacing:-0.02em;margin:0 0 8px;">Thank you, <?= h($fullName) ?>.</h1>
                <p style="color:#44403C;margin:0 0 18px;line-height:1.5;">We have your enquiry and a real person will read it within two working days. No autoresponders after this one — when we reply, it'll be from someone at the studio.</p>

                <div style="margin:20px 0;padding:16px;background:#FAF8F5;border-radius:12px;font-size:14px;">
                    <strong style="color:#1C1917;">What you told us</strong>
                    <div style="color:#78716C;margin-top:8px;">
                        Interest: <strong style="color:#1C1917;"><?= h(ucwords(str_replace('_', ' ', (string)$message->interest_area))) ?></strong><br>
                        <?php if (!empty($message->experience_level)): ?>
                            Experience: <strong style="color:#1C1917;"><?= h(ucfirst((string)$message->experience_level)) ?></strong><br>
                        <?php endif; ?>
                        <?php if (!empty($message->subject)): ?>
                            Subject: <strong style="color:#1C1917;"><?= h((string)$message->subject) ?></strong>
                        <?php endif; ?>
                    </div>
                </div>

                <p style="color:#78716C;font-size:13px;margin:18px 0 0;">In the meantime, feel free to <a href="#" style="color:#B45C3D;">browse classes</a> or reply to this email if anything else comes to mind.</p>
                <p style="color:#78716C;font-size:13px;margin:4px 0 0;">— CandleCraft Academy</p>
            </td>
        </tr>
    </table>
</body>
</html>
