File size: 36,880 Bytes
241d8c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SkyWings Airlines | Book Flights Online</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .hero-bg {
            background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc30?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1474&q=80');
            background-size: cover;
            background-position: center;
        }
        
        .flight-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .tab-active {
            border-bottom: 3px solid #2563eb;
            color: #2563eb;
            font-weight: 600;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate-fade-in {
            animation: fadeIn 0.5s ease-out forwards;
        }
    </style>
</head>
<body class="font-sans bg-gray-50">
    <!-- Top Navigation -->
    <div class="bg-blue-900 text-white py-2 px-4 text-sm">
        <div class="container mx-auto flex justify-between items-center">
            <div class="flex space-x-4">
                <a href="#" class="hover:underline">English</a>
                <a href="#" class="hover:underline">USD</a>
            </div>
            <div class="flex space-x-4">
                <a href="#" class="hover:underline"><i class="fas fa-user mr-1"></i> Sign In</a>
                <a href="#" class="hover:underline"><i class="fas fa-question-circle mr-1"></i> Help</a>
            </div>
        </div>
    </div>

    <!-- Main Navigation -->
    <nav class="bg-white shadow-md">
        <div class="container mx-auto px-4 py-4 flex justify-between items-center">
            <div class="flex items-center space-x-8">
                <a href="#" class="text-2xl font-bold text-blue-900">SKYWINGS</a>
                <div class="hidden md:flex space-x-6">
                    <a href="#" class="text-blue-900 hover:text-blue-700 font-medium">Book</a>
                    <a href="#" class="text-gray-600 hover:text-blue-700 font-medium">My Trips</a>
                    <a href="#" class="text-gray-600 hover:text-blue-700 font-medium">Flight Status</a>
                    <a href="#" class="text-gray-600 hover:text-blue-700 font-medium">Check-In</a>
                    <a href="#" class="text-gray-600 hover:text-blue-700 font-medium">Destinations</a>
                </div>
            </div>
            <div class="flex items-center space-x-4">
                <button class="md:hidden text-gray-600">
                    <i class="fas fa-bars text-xl"></i>
                </button>
                <button class="hidden md:block bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded font-medium">
                    Sign Up, Earn Miles
                </button>
            </div>
        </div>
    </nav>

    <!-- Hero Section with Booking Form -->
    <div class="hero-bg bg-blue-900 text-white py-12">
        <div class="container mx-auto px-4">
            <div class="max-w-6xl mx-auto bg-white bg-opacity-10 backdrop-filter backdrop-blur-sm rounded-lg p-6 shadow-xl">
                <div class="flex border-b border-gray-300 border-opacity-30 mb-6">
                    <button id="flight-tab" class="tab-active px-6 py-3 text-lg font-medium">Flights</button>
                    <button id="hotel-tab" class="px-6 py-3 text-lg font-medium text-gray-300 hover:text-white">Hotels</button>
                    <button id="cars-tab" class="px-6 py-3 text-lg font-medium text-gray-300 hover:text-white">Cars</button>
                    <button id="packages-tab" class="px-6 py-3 text-lg font-medium text-gray-300 hover:text-white">Packages</button>
                </div>
                
                <form id="booking-form" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                    <div>
                        <label for="trip-type" class="block text-sm font-medium mb-1">Trip Type</label>
                        <select id="trip-type" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                            <option value="roundtrip">Round Trip</option>
                            <option value="oneway">One Way</option>
                            <option value="multicity">Multi-City</option>
                        </select>
                    </div>
                    
                    <div>
                        <label for="from" class="block text-sm font-medium mb-1">From</label>
                        <input type="text" id="from" placeholder="City or Airport" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    </div>
                    
                    <div>
                        <label for="to" class="block text-sm font-medium mb-1">To</label>
                        <input type="text" id="to" placeholder="City or Airport" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    </div>
                    
                    <div class="grid grid-cols-2 gap-4">
                        <div>
                            <label for="departure" class="block text-sm font-medium mb-1">Departure</label>
                            <input type="date" id="departure" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                        <div>
                            <label for="return" class="block text-sm font-medium mb-1">Return</label>
                            <input type="date" id="return" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-3 gap-4">
                        <div>
                            <label for="adults" class="block text-sm font-medium mb-1">Adults</label>
                            <select id="adults" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                                <option value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                            </select>
                        </div>
                        <div>
                            <label for="children" class="block text-sm font-medium mb-1">Children</label>
                            <select id="children" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                                <option value="0">0</option>
                                <option value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                            </select>
                        </div>
                        <div>
                            <label for="infants" class="block text-sm font-medium mb-1">Infants</label>
                            <select id="infants" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                                <option value="0">0</option>
                                <option value="1">1</option>
                                <option value="2">2</option>
                            </select>
                        </div>
                    </div>
                    
                    <div>
                        <label for="cabin" class="block text-sm font-medium mb-1">Cabin</label>
                        <select id="cabin" class="w-full p-3 rounded bg-white bg-opacity-20 border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
                            <option value="economy">Economy</option>
                            <option value="premium">Premium Economy</option>
                            <option value="business">Business</option>
                            <option value="first">First Class</option>
                        </select>
                    </div>
                    
                    <div class="flex items-end">
                        <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-200">
                            Search Flights <i class="fas fa-arrow-right ml-2"></i>
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- Flight Deals -->
    <div class="container mx-auto px-4 py-12">
        <h2 class="text-3xl font-bold text-gray-800 mb-8">Featured Flight Deals</h2>
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
            <div class="flight-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
                <img src="https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="New York" class="w-full h-48 object-cover">
                <div class="p-6">
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">New York</h3>
                    <p class="text-gray-600 mb-4">From $199* roundtrip</p>
                    <button class="text-blue-600 font-medium hover:text-blue-800">Book Now</button>
                </div>
            </div>
            
            <div class="flight-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
                <img src="https://images.unsplash.com/photo-1503917988258-f87a78e3c995?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="London" class="w-full h-48 object-cover">
                <div class="p-6">
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">London</h3>
                    <p class="text-gray-600 mb-4">From $499* roundtrip</p>
                    <button class="text-blue-600 font-medium hover:text-blue-800">Book Now</button>
                </div>
            </div>
            
            <div class="flight-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
                <img src="https://images.unsplash.com/photo-1538970272646-f61fabb3bfdf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Tokyo" class="w-full h-48 object-cover">
                <div class="p-6">
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">Tokyo</h3>
                    <p class="text-gray-600 mb-4">From $799* roundtrip</p>
                    <button class="text-blue-600 font-medium hover:text-blue-800">Book Now</button>
                </div>
            </div>
            
            <div class="flight-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
                <img src="https://images.unsplash.com/photo-1518391846015-55a9cc003b25?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Sydney" class="w-full h-48 object-cover">
                <div class="p-6">
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">Sydney</h3>
                    <p class="text-gray-600 mb-4">From $899* roundtrip</p>
                    <button class="text-blue-600 font-medium hover:text-blue-800">Book Now</button>
                </div>
            </div>
        </div>
    </div>

    <!-- Why Choose Us -->
    <div class="bg-gray-100 py-12">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">Why Fly With SkyWings</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="bg-white p-6 rounded-lg shadow-sm text-center">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-medal"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">Award-Winning Service</h3>
                    <p class="text-gray-600">Consistently recognized for excellence in customer service and operational performance.</p>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm text-center">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-wifi"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">Free Inflight WiFi</h3>
                    <p class="text-gray-600">Stay connected with free high-speed WiFi on all domestic flights.</p>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm text-center">
                    <div class="text-blue-600 text-4xl mb-4">
                        <i class="fas fa-suitcase-rolling"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">Generous Baggage Allowance</h3>
                    <p class="text-gray-600">First checked bag free for all passengers on international flights.</p>
                </div>
            </div>
        </div>
    </div>

    <!-- Flight Search Results Modal -->
    <div id="search-results-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4">
        <div class="bg-white rounded-lg shadow-xl max-w-4xl w-full max-h-screen overflow-y-auto animate-fade-in">
            <div class="flex justify-between items-center border-b p-4">
                <h3 class="text-xl font-bold text-gray-800">Select Your Flight</h3>
                <button id="close-results" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            
            <div class="p-6">
                <div class="mb-6">
                    <h4 class="text-lg font-semibold text-gray-800 mb-2">New York (JFK) to London (LHR)</h4>
                    <p class="text-gray-600">Tue, Aug 15 - Tue, Aug 22 • 1 Adult • Economy</p>
                </div>
                
                <div class="space-y-4">
                    <!-- Flight Option 1 -->
                    <div class="border rounded-lg overflow-hidden">
                        <div class="bg-gray-50 p-4 border-b">
                            <div class="flex justify-between items-center">
                                <div>
                                    <span class="font-semibold">SkyWings</span>
                                    <span class="text-gray-600 text-sm ml-2">Flight #SW101</span>
                                </div>
                                <div class="text-blue-600 font-semibold">$499</div>
                            </div>
                        </div>
                        <div class="p-4 grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div>
                                <div class="text-xl font-bold">8:00 AM</div>
                                <div class="text-gray-600">JFK</div>
                            </div>
                            <div class="text-center">
                                <div class="text-gray-500 text-sm">7h 30m</div>
                                <div class="border-t border-gray-300 my-2"></div>
                                <div class="text-gray-500 text-sm">Nonstop</div>
                            </div>
                            <div class="text-right">
                                <div class="text-xl font-bold">3:30 PM</div>
                                <div class="text-gray-600">LHR</div>
                            </div>
                        </div>
                        <div class="bg-gray-50 p-4 border-t flex justify-end">
                            <button class="select-flight bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded font-medium">
                                Select
                            </button>
                        </div>
                    </div>
                    
                    <!-- Flight Option 2 -->
                    <div class="border rounded-lg overflow-hidden">
                        <div class="bg-gray-50 p-4 border-b">
                            <div class="flex justify-between items-center">
                                <div>
                                    <span class="font-semibold">SkyWings</span>
                                    <span class="text-gray-600 text-sm ml-2">Flight #SW205</span>
                                </div>
                                <div class="text-blue-600 font-semibold">$549</div>
                            </div>
                        </div>
                        <div class="p-4 grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div>
                                <div class="text-xl font-bold">10:30 AM</div>
                                <div class="text-gray-600">JFK</div>
                            </div>
                            <div class="text-center">
                                <div class="text-gray-500 text-sm">8h 15m</div>
                                <div class="border-t border-gray-300 my-2"></div>
                                <div class="text-gray-500 text-sm">1 Stop (BOS)</div>
                            </div>
                            <div class="text-right">
                                <div class="text-xl font-bold">6:45 PM</div>
                                <div class="text-gray-600">LHR</div>
                            </div>
                        </div>
                        <div class="bg-gray-50 p-4 border-t flex justify-end">
                            <button class="select-flight bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded font-medium">
                                Select
                            </button>
                        </div>
                    </div>
                    
                    <!-- Flight Option 3 -->
                    <div class="border rounded-lg overflow-hidden">
                        <div class="bg-gray-50 p-4 border-b">
                            <div class="flex justify-between items-center">
                                <div>
                                    <span class="font-semibold">SkyWings</span>
                                    <span class="text-gray-600 text-sm ml-2">Flight #SW308</span>
                                </div>
                                <div class="text-blue-600 font-semibold">$429</div>
                            </div>
                        </div>
                        <div class="p-4 grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div>
                                <div class="text-xl font-bold">6:00 PM</div>
                                <div class="text-gray-600">JFK</div>
                            </div>
                            <div class="text-center">
                                <div class="text-gray-500 text-sm">9h 0m</div>
                                <div class="border-t border-gray-300 my-2"></div>
                                <div class="text-gray-500 text-sm">1 Stop (ORD)</div>
                            </div>
                            <div class="text-right">
                                <div class="text-xl font-bold">3:00 AM</div>
                                <div class="text-gray-600">+1 day</div>
                                <div class="text-gray-600">LHR</div>
                            </div>
                        </div>
                        <div class="bg-gray-50 p-4 border-t flex justify-end">
                            <button class="select-flight bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded font-medium">
                                Select
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Booking Form Modal -->
    <div id="booking-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4">
        <div class="bg-white rounded-lg shadow-xl max-w-2xl w-full max-h-screen overflow-y-auto animate-fade-in">
            <div class="flex justify-between items-center border-b p-4">
                <h3 class="text-xl font-bold text-gray-800">Complete Your Booking</h3>
                <button id="close-booking" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            
            <div class="p-6">
                <div class="mb-6 bg-gray-50 p-4 rounded-lg">
                    <h4 class="text-lg font-semibold text-gray-800 mb-2">Flight Details</h4>
                    <div class="flex justify-between">
                        <div>
                            <div class="font-medium">JFK → LHR</div>
                            <div class="text-sm text-gray-600">Tue, Aug 15 • 8:00 AM - 3:30 PM</div>
                            <div class="text-sm text-gray-600">Flight #SW101 • Nonstop • 7h 30m</div>
                        </div>
                        <div class="text-right">
                            <div class="font-medium">LHR → JFK</div>
                            <div class="text-sm text-gray-600">Tue, Aug 22 • 10:00 AM - 5:30 PM</div>
                            <div class="text-sm text-gray-600">Flight #SW102 • Nonstop • 7h 30m</div>
                        </div>
                    </div>
                    <div class="mt-4 pt-4 border-t border-gray-200">
                        <div class="flex justify-between">
                            <span class="font-medium">Total Price:</span>
                            <span class="text-xl font-bold text-blue-600">$499.00</span>
                        </div>
                    </div>
                </div>
                
                <form id="passenger-form" class="space-y-6">
                    <h4 class="text-lg font-semibold text-gray-800">Passenger Information</h4>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                        <div>
                            <label for="first-name" class="block text-sm font-medium text-gray-700 mb-1">First Name</label>
                            <input type="text" id="first-name" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                        </div>
                        <div>
                            <label for="last-name" class="block text-sm font-medium text-gray-700 mb-1">Last Name</label>
                            <input type="text" id="last-name" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                        </div>
                    </div>
                    
                    <div>
                        <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
                        <input type="email" id="email" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                        <p class="text-xs text-gray-500 mt-1">Your booking confirmation will be sent here</p>
                    </div>
                    
                    <div>
                        <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label>
                        <input type="tel" id="phone" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                    </div>
                    
                    <div class="pt-4 border-t border-gray-200">
                        <h4 class="text-lg font-semibold text-gray-800 mb-4">Payment Information</h4>
                        
                        <div class="mb-4">
                            <label for="card-number" class="block text-sm font-medium text-gray-700 mb-1">Card Number</label>
                            <input type="text" id="card-number" placeholder="1234 5678 9012 3456" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                        </div>
                        
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div>
                                <label for="expiry" class="block text-sm font-medium text-gray-700 mb-1">Expiry Date</label>
                                <input type="text" id="expiry" placeholder="MM/YY" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                            </div>
                            <div>
                                <label for="cvv" class="block text-sm font-medium text-gray-700 mb-1">CVV</label>
                                <input type="text" id="cvv" placeholder="123" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                            </div>
                            <div>
                                <label for="zip" class="block text-sm font-medium text-gray-700 mb-1">ZIP Code</label>
                                <input type="text" id="zip" class="w-full p-3 rounded border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
                            </div>
                        </div>
                    </div>
                    
                    <div class="pt-4">
                        <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-200">
                            Complete Booking <i class="fas fa-lock ml-2"></i>
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- Confirmation Modal -->
    <div id="confirmation-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4">
        <div class="bg-white rounded-lg shadow-xl max-w-md w-full animate-fade-in">
            <div class="p-6 text-center">
                <div class="text-green-500 text-5xl mb-4">
                    <i class="fas fa-check-circle"></i>
                </div>
                <h3 class="text-2xl font-bold text-gray-800 mb-2">Booking Confirmed!</h3>
                <p class="text-gray-600 mb-6">Your flight has been successfully booked. A confirmation email has been sent to <span id="confirmation-email" class="font-medium">user@example.com</span>.</p>
                
                <div class="bg-gray-50 p-4 rounded-lg mb-6 text-left">
                    <div class="font-medium mb-2">Booking Reference: <span class="font-bold">SWB789456123</span></div>
                    <div class="text-sm text-gray-600">JFK → LHR • Aug 15, 2023</div>
                </div>
                
                <button id="close-confirmation" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-200">
                    Done
                </button>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white pt-12 pb-6">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <h4 class="text-lg font-semibold mb-4">About SkyWings</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Investor Relations</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Newsroom</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-semibold mb-4">Book Travel</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Flights</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Hotels</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Cars</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Vacation Packages</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-semibold mb-4">Customer Service</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Help Center</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Contact Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Feedback</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Accessibility</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-semibold mb-4">Legal</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Terms of Use</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Cookie Policy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Do Not Sell My Info</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-800 pt-6">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <span class="text-gray-400">© 2023 SkyWings Airlines. All rights reserved.</span>
                    </div>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-facebook"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-instagram"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-linkedin"></i></a>
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Tab switching functionality
        const tabs = ['flight-tab', 'hotel-tab', 'cars-tab', 'packages-tab'];
        tabs.forEach(tabId => {
            document.getElementById(tabId).addEventListener('click', function() {
                tabs.forEach(id => {
                    const tab = document.getElementById(id);
                    if (id === tabId) {
                        tab.classList.add('tab-active');
                        tab.classList.remove('text-gray-300');
                    } else {
                        tab.classList.remove('tab-active');
                        tab.classList.add('text-gray-300');
                    }
                });
            });
        });

        // Form submission for flight search
        document.getElementById('booking-form').addEventListener('submit', function(e) {
            e.preventDefault();
            document.getElementById('search-results-modal').classList.remove('hidden');
        });

        // Close search results modal
        document.getElementById('close-results').addEventListener('click', function() {
            document.getElementById('search-results-modal').classList.add('hidden');
        });

        // Select flight button
        document.querySelectorAll('.select-flight').forEach(button => {
            button.addEventListener('click', function() {
                document.getElementById('search-results-modal').classList.add('hidden');
                document.getElementById('booking-modal').classList.remove('hidden');
            });
        });

        // Close booking modal
        document.getElementById('close-booking').addEventListener('click', function() {
            document.getElementById('booking-modal').classList.add('hidden');
        });

        // Form submission for passenger info and payment
        document.getElementById('passenger-form').addEventListener('submit', function(e) {
            e.preventDefault();
            
            // Get the email to display in confirmation
            const email = document.getElementById('email').value;
            document.getElementById('confirmation-email').textContent = email;
            
            // Show confirmation modal
            document.getElementById('booking-modal').classList.add('hidden');
            document.getElementById('confirmation-modal').classList.remove('hidden');
            
            // In a real app, you would send this data to your server
            console.log('Booking submitted:', {
                firstName: document.getElementById('first-name').value,
                lastName: document.getElementById('last-name').value,
                email: email,
                phone: document.getElementById('phone').value,
                cardNumber: document.getElementById('card-number').value,
                expiry: document.getElementById('expiry').value,
                cvv: document.getElementById('cvv').value,
                zip: document.getElementById('zip').value
            });
            
            // Here you would typically send an email confirmation
            // This is just a simulation
            setTimeout(() => {
                console.log(`Email sent to ${email} with booking confirmation`);
            }, 1000);
        });

        // Close confirmation modal
        document.getElementById('close-confirmation').addEventListener('click', function() {
            document.getElementById('confirmation-modal').classList.add('hidden');
            
            // Reset form for demo purposes
            document.getElementById('passenger-form').reset();
        });

        // Mobile menu toggle (would need more implementation)
        document.querySelector('.md\\:hidden').addEventListener('click', function() {
            alert('Mobile menu would open here in a full implementation');
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=patoconnect/skyfly" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>