<?php 
$mail_body = '
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <style>
    body {
      font-family: Arial, sans-serif;
      color: #333;
      background-color: #f9f9f9;
      padding: 20px;
    }
    .container {
      background-color: #ffffff;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 20px;
      max-width: 600px;
      margin: auto;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    h2 {
      color: #2eb79d;
      margin-bottom: 10px;
    }
    h3 {
      color: #444;
      margin-top: 25px;
      margin-bottom: 10px;
      border-bottom: 1px solid #ddd;
      padding-bottom: 5px;
    }
    .label {
      font-weight: bold;
    }
    .footer {
      font-size: 0.9em;
      color: #555;
      margin-top: 30px;
    }
    a {
      color: #2eb79d;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }
  </style>
</head>
<body>
  <div class="container">
    <h2>New Contact Form Submission</h2>

    <h3>Client Information</h3>
    <p><span class="label">Name:</span> [your-name]</p>
    <p><span class="label">Email:</span> <a href="mailto:[your-email]">[your-email]</a></p>
    <p><span class="label">Phone number:</span> [your-phone]</p>

    <h3>Message</h3>
    <p><span class="label">Subject:</span> [your-subject]</p>
    <p><span class="label">Message:</span><br>
    [your-message]</p>

    <h3>Property Details</h3>
    <p><span class="label">Reference:</span> [property-ref]</p>

    <h3>Submission Details</h3>
    <p><span class="label">Submitted from:</span> 
      <a href="[_url]" target="_blank" rel="noopener noreferrer">[_url]</a>
    </p>
    <p><span class="label">Date of submission:</span> [_date]</p>

    <div class="footer">
      --<br>
      This is a notification that a contact form was submitted on your website 
      (<strong>[_site_title]</strong>, <a href="[_site_url]" target="_blank" rel="noopener noreferrer">[_site_url]</a>).
    </div>
  </div>
</body>
</html>';
