<?php include 'includes/header.php'; ?>

<!-- Page Hero -->
<section class="internal-hero" style="background-color: #1f8693; min-height: 350px; position: relative; overflow: hidden;">
    <div class="container py-5 text-center internal-hero-content">
        <div class="text-white mb-4">
            <i class="fas fa-universal-access fa-3x"></i>
        </div>
        <h1 class="display-3 fw-bold mb-3 text-white">Register Your Team</h1>
        <p class="lead opacity-95 max-w-2xl mx-auto text-white">Charity Boat Race 2026 • 14th June • London Regatta Centre</p>
    </div>
</section>

<section class="py-5 bg-light">
    <div class="container py-5">
        <div class="row justify-content-center">
            <div class="col-lg-8">
                <div class="mb-4">
                    <a href="activities.php" class="text-muted text-decoration-none small"><i class="fas fa-arrow-left me-2"></i> Back to Activities</a>
                </div>
                
                <div class="card p-5 border-0 shadow-lg rounded-4">
                    <h2 class="fw-bold mb-4">Your Details</h2>
                    
                    <form action="handlers/registration-handler.php" method="POST">
                        <input type="hidden" name="registration_type" value="event">
                        
                        <div class="row g-4">
                            <div class="col-12">
                                <label class="form-label fw-bold">Full Name *</label>
                                <input type="text" name="full_name" class="form-control border p-3 rounded-3 shadow-none" placeholder="Your full name" required>
                            </div>
                            <div class="col-12">
                                <label class="form-label fw-bold">Email Address *</label>
                                <input type="email" name="email" class="form-control border p-3 rounded-3 shadow-none" placeholder="your@email.com" required>
                            </div>
                            <div class="col-12">
                                <label class="form-label fw-bold">Phone Number</label>
                                <input type="tel" name="phone" class="form-control border p-3 rounded-3 shadow-none" placeholder="+44 7700 000000" required>
                            </div>
                            <div class="col-12">
                                <label class="form-label fw-bold">Number of Participants *</label>
                                <input type="number" name="num_participants" class="form-control border p-3 rounded-3 shadow-none" value="1" min="1" max="20">
                                <span class="text-muted small">Max 20 per registration</span>
                            </div>
                            
                            <div class="col-12 pt-3">
                                <button type="submit" class="btn btn-primary w-100 py-3 fw-bold rounded-pill shadow-none" style="background-color: #f16522; border-color: #f16522;">Submit Registration</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>

<?php include 'includes/footer.php'; ?>
