<?php
$pageTitle='Join the Team — 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"><span class="section-kicker">Almost Heaven Radio</span><h1>Join the Team</h1><p>Want to host a show, help with production, or bring your own style to the station? Tell us a little about yourself and we’ll take a look.</p></section><?php if($sent): ?><section class="content-card"><p>Your application has been sent.</p></section><?php elseif($err): ?><section class="content-card"><p>Please complete all required fields.</p></section><?php endif; ?><section class="content-card"><form method="post" action="send_join.php" enctype="multipart/form-data" class="d-grid" style="gap:14px;"><input type="hidden" name="return_to" value="<?= htmlspecialchars($_SERVER['REQUEST_URI'] ?? '/team.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><div class="row g-3"><div class="col-md-6"><input type="text" name="role" placeholder="Role you're interested in" required></div><div class="col-md-6"><input type="text" name="experience" placeholder="Your experience" required></div></div><textarea name="why" rows="8" placeholder="Why do you want to join?" required></textarea><input type="file" name="demo" accept="audio/*"><div><button class="play-button" type="submit">Submit Application</button></div></form></section></div></main>
<?php include __DIR__ . '/footer.php'; ?>
