============================================================
  SkyWave Airlines — Setup Guide
  Version: 2.0 LIVE (No Hardcoded Data)
============================================================

STEP 1: UPLOAD FILES
  Upload ALL files inside this folder to your web hosting
  (Namecheap, Hostinger, cPanel, etc.)
  Keep the folder structure exactly as is.

STEP 2: DATABASE SETUP (phpMyAdmin)
  a) Create a new database called: skywave_db
  b) Click "Import" → choose file: backend/skywave_db.sql
  c) Click "Go" to import the full schema

STEP 3: EDIT DATABASE CREDENTIALS
  Open: backend/config/db.php
  Change:
    define('DB_USER', 'your_db_username');
    define('DB_PASS', 'your_db_password');
  (Leave DB_NAME as skywave_db unless you renamed it)

STEP 4: LOGIN TO ADMIN PANEL
  Visit: yoursite.com/admin.html
  Default password: admin123
  CHANGE THIS PASSWORD IMMEDIATELY from Settings.

STEP 5: ADD FLIGHTS
  In the admin panel, click "Manage Flights" → "+ Add Flight"
  Fill in: route, times, pricing for all cabin classes, dates
  Click Save — flights appear LIVE on your website instantly!

STEP 6: MANAGE PAYMENT METHODS
  In admin: "Payment Methods" → Fill in your wallet addresses,
  bank details, PayPal email, etc. → Toggle ON → Save

============================================================
  HOW IT WORKS (Live Flow)
============================================================

  ADMIN adds flight → MySQL database → ALL users see it live
  USER searches flights → PHP queries database → live results
  USER books → PHP saves booking → Admin sees in Bookings panel
  ADMIN confirms → Booking status updates → User can see receipt

  ZERO hardcoded data. Everything comes from your database.

============================================================
  FILE STRUCTURE
============================================================

  index.html          — Homepage (live routes from API)
  search.html         — Flight search (live from database)
  booking.html        — 4-step booking form
  payment.html        — Payment selection (live methods from DB)
  receipt.html        — E-ticket / booking confirmation
  tracker.html        — Live flight tracker with Leaflet map
  admin.html          — Admin panel (manage everything)

  css/style.css       — Global stylesheet
  js/api.js           — Central API client (all pages use this)

  backend/
    config/db.php     — Database connection (EDIT THIS)
    api/
      auth.php        — Admin login/logout
      flights.php     — Flight CRUD API
      bookings.php    — Booking management API
      payments.php    — Payment methods API
    skywave_db.sql    — Database schema (import this)
    .htaccess         — CORS + security headers

============================================================
  SUPPORT
============================================================
  Default admin password: admin123
  Change it in Admin → Settings → Change Password
============================================================
