<?php
$pageTitle='Contact — Almost Heaven Radio';
include __DIR__ . '/header.php';
include __DIR__ . '/menu.php';
$sent = isset($_GET['sent']) && $_GET['sent'] === '1';
$err = isset($_GET['err']);
?>
<main class="content-area"><div class="content-wrapper page-shell"><section class="content-card"><h1>📨 Contact the Station</h1><p>Send a message to Almost Heaven Radio.</p><?php if($sent): ?><div class="comment-item">Your message has been sent.</div><?php elseif($err): ?><div class="comment-item">Please complete all required fields.</div><?php endif; ?><form method="post" action="send_contact.php" class="d-grid" style="gap:14px;margin-top:18px;"><input type="hidden" name="return_to" value="<?= htmlspecialchars($_SERVER['REQUEST_URI'] ?? '/contact.php') ?>"><div class="row g-3"><div class="col-md-6"><input type="text" name="name" placeholder="Your name" required></div><div class="col-md-6"><input type="email" name="email" placeholder="Your email" required></div></div><input type="text" name="subject" placeholder="Subject"><textarea name="message" rows="8" placeholder="Your message" required></textarea><div><button class="play-button" type="submit">Send Message</button></div></form></section></div></main>
<?php include __DIR__ . '/footer.php'; ?>
