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

<section class="section-dark">
<div class="container">
<h2 class="text-gold mb-4 text-center">Book Executive Transport</h2>

<form action="api/create_booking.php" method="POST">

<div class="row">

<div class="col-md-6">
<h5>Customer Details</h5>

<div class="form-group">
<label>Name</label>
<input type="text" name="name" class="form-control" required>
</div>

<div class="form-group">
<label>Phone</label>
<input type="text" name="phone" class="form-control" required>
</div>

<div class="form-group">
<label>Email</label>
<input type="email" name="email" class="form-control">
</div>

</div>

<div class="col-md-6">
<h5>Booking Details</h5>

<div class="form-group">
<label>Service</label>
<select name="service_type" class="form-control" required>
<option value="arrival">Airport Arrival ($65)</option>
<option value="departure">Airport Departure</option>
<option value="point">Point to Point ($65)</option>
<option value="city">City Tour ($120)</option>
<option value="limo">Limousine ($120)</option>
<option value="hourly">Hourly</option>
</select>
</div>

<div class="form-group">
<label>Region (Departure Only)</label>
<select name="region" class="form-control">
<option value="">Select Region</option>
<option value="East">East</option>
<option value="North">North</option>
<option value="West">West</option>
<option value="Central">Central</option>
</select>
</div>

<div class="form-group">
<label>Pickup Location</label>
<input type="text" name="pickup_location" class="form-control" required>
</div>

<div class="form-group">
<label>Dropoff Location</label>
<input type="text" name="dropoff_location" class="form-control" required>
</div>

<div class="form-group">
<label>Hours (Hourly Only)</label>
<input type="number" name="hours" class="form-control">
</div>

<div class="form-group">
<label>Vehicle Type</label>
<select name="vehicle_type" class="form-control" required>
<option value="sedan">Sedan</option>
<option value="suv">SUV</option>
<option value="mpv">MPV</option>
<option value="limousine">Limousine</option>
</select>
</div>

<div class="form-group">
<label>Pickup Date & Time</label>
<input type="datetime-local" name="pickup_datetime" class="form-control" required>
</div>

</div>

</div>

<button type="submit" class="btn btn-gold btn-lg btn-block mt-4">
Confirm Booking
</button>

</form>

</div>
</section>

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