forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1199 lines (1053 loc) · 42.3 KB
/
index.html
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
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="BuddyTrail is a travel agency website that helps you pick out your holiday vacation"
/>
<meta name="robots" content="index,follow" />
<link rel="stylesheet" href="RatingStyle.css">
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Pattaya&family=Poppins:wght@400;500&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="/icons/airplane.svg" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>BuddyTrail</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
display: flex;
align-items: flex-start; /* Align items at the start of the container */
justify-content: space-between; /* Space between elements */
gap: 20px; /* Optional gap between form and rating section */
height: auto; /* Adjust height if necessary */
}
.form-section {
width: 70%; /* Adjust width as needed */
}
.rating-wrap {
width: 30%; /* Adjust width as needed */
text-align: left;
}
.center {
width: auto;
display: inline-flex; /* Align stars and rating count in a row */
align-items: center;
gap: 10px; /* Add some space between the stars and the count */
}
.rating {
height: 50px;
}
.rating:hover {
cursor: pointer;
}
#rating-value {
font-size: 1.2rem; /* Adjust font size */
font-weight: bold;
color: black; /* Optional: change the color to match the theme */
}
.rating {
border: none;
float:right;
}
.rating > input {
display: none;
}
.rating > label:before {
content: '\f005';
font-family: FontAwesome;
margin: 5px;
font-size: 1.5rem;
display: inline-block;
cursor: pointer;
}
.rating > .half:before {
content: '\f089';
position: absolute;
cursor: pointer;
}
.rating > label {
color: #ddd; /* Empty stars initially */
float: right;
cursor: pointer;
}
/* Filled stars on hover and selection */
.rating > input:checked ~ label,
.rating:not(:checked) > label {
color: #ddd; /* Keep stars empty until interaction */
}
.rating > input:checked ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label {
color: rgb(230, 166, 17); /* Green for filled stars */
}
.rating > label:hover ~ label,
.rating > label:hover {
color:rgb(230, 166, 17); /* Green hover effect */
}
.chatbot-container {
position: fixed;
bottom: 20px; /* Adjust as needed */
right: 20px; /* Adjust as needed */
z-index: 1000; /* Ensure it appears above other elements */
}
.chatbot-button {
background-color: #007bff; /* Change to your preferred color */
border: none;
border-radius: 50%;
padding: 5px; /* Smaller padding */
cursor: pointer;
position: relative;
width: 50px; /* Adjusted size */
height: 50px; /* Adjusted size */
}
.chatbot-button img {
width: 30px; /* Adjusted image size */
height: 30px; /* Adjusted image size */
}
.tooltip-text {
display: none; /* Hide by default */
position: absolute;
top: -10%; /* Position above the button */
left: -230px;
transform: translateX(-230px, -50%);
background-color: #333; /* Background color for tooltip */
color: #fff; /* Tooltip text color */
padding: 5px;
border-radius: 5px;
white-space: nowrap; /* Prevent text from wrapping */
}
.chatbot-button:hover .tooltip-text {
display: block; /* Show on hover */
}
.logo{
display: flex;
flex-direction: row;
align-items: center;
}
.card:hover {
cursor: pointer;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
</head>
<body class="light-mode">
<div id="progressBarContainer">
<div id="progressBar"></div>
</div>
<!-- Google Translate Button -->
<div class="translate-container">
<button class="language-toggle" id="languageToggle">🌐</button>
<div id="google_translate_element"></div>
</div>
<script>
// Initialization function
function googleTranslateElementInit() {
new google.translate.TranslateElement(
{
pageLanguage: "en",
includedLanguages:
"en,es,fr,de,it,pt,ja,zh-CN,hi,bn,ml,te,ta,gu,kn,or",
layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
},
"google_translate_element"
);
// Toggle visibility
if (
translateElement.style.display === "none" ||
translateElement.style.display === ""
) {
translateElement.style.display = "block";
} else {
translateElement.style.display = "none";
}
}
//Providing scroll animation between different parts of the page using jquery
$(document).ready(function () {
$ ("a[href^='#']").on("click", function (event) {
event.preventDefault();
if (this.hash !== "") {
event.preventDefault();
var hash = this.hash;
var navbarHeight = $(".main-head").outerHeight();
$("html, body").animate(
{
scrollTop: $(hash).offset().top - navbarHeight,
},
1000
);
event.preventDefault();
}
event.preventDefault();
});
event.preventDefault();
});
</script>
<script src="script.js"></script>
<div id="cursor"></div>
<script>
window.cursor={
emoji: "🌤️",
color: "black",
};
</script>
<script src="cursor.js" defer="defer"></script>
<div id="progress-bar"></div>
<!-- funcioning of progress bar -->
<script>
window.addEventListener('scroll', function () {
// Calculate the scroll progress
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
const scrollPercent = (scrollTop / scrollHeight) * 100;
// Update the width of the progress bar
document.getElementById('progress-bar').style.width = scrollPercent + '%';
});
</script>
<main>
<section class="hero" id="home">
<h2>Travel Beyond Limits</h2>
<h3>
Connect, Explore, and Discover Together. <br />
BuddyTrail: Your Journey Begins with the Perfect Travel Companion.
</h3>
<button id="btn"><a href="book.html ">Book now</a></button>
</section>
<section id="locations">
<header class="locations-head">
<h2>The Perfect Travel Experience!</h2>
</script>
<script src="script.js"></script>
<header class="main-head">
<nav>
<div class="logo">
<img src="img/logo.png" id="logo-web">
<h1 id="logo"><a href="#home">BuddyTrail</a></h1>
</div>
<!-- Hamburger button for mobile -->
<button class="hamburger" id="hamburger">☰</button>
<ul id="nav-list">
<!-- Close button for dropdown -->
<span class="dropdown-close-btn" id="closeBtn">×</span>
<li><a href="#home" class="navhover">Home</a></li>
<li><a href="#locations" class="navhover">Location</a></li>
<li><a href="#benefits" class="navhover">Benefits</a></li>
<li><a href="#About" class="navhover">About</a></li>
<li><a href="#itineraries" class="navhover">Travel Itineraries</a></li>
<li><a href="#contact" class="navhover">Contact</a></li>
<li><a href="#reviews" class="navhover">Reviews</a></li>
<li><a href="auth.html" class="navhover">Sign In</a></li>
</ul>
<!-- Toggle Button -->
<button class="mode-toggle" id="modeToggle">
<span class="sun-icon glow"><img src="day-mode.png"></span>
</button>
</nav>
</header>
<!-- JS to handle hamburger and close button -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const hamburger = document.getElementById("hamburger");
const navList = document.getElementById("nav-list");
const closeBtn = document.getElementById("closeBtn");
hamburger.addEventListener("click", function () {
navList.classList.toggle("active");
});
closeBtn.addEventListener("click", function () {
navList.classList.remove("active");
});
});
</script>
<div id="progress-bar"></div>
<!-- funcioning of progress bar -->
<script>
window.addEventListener("scroll", function () {
// Calculate the scroll progress
const scrollTop =
document.documentElement.scrollTop || document.body.scrollTop;
const scrollHeight =
document.documentElement.scrollHeight -
document.documentElement.clientHeight;
const scrollPercent = (scrollTop / scrollHeight) * 100;
// Update the width of the progress bar
document.getElementById("progress-bar").style.width =
scrollPercent + "%";
});
</script>
<main>
<section class="hero">
<h2>Travel Beyond Limits</h2>
<h3>
We handle everything, from finding the ideal travel buddy to
selecting your perfect hotel, flight, and destination.
</h3>
<img src="/img/cloud.png" class="moving-cloud-1 cloud" />
<img src="/img/cloud.png" class="moving-cloud-2 cloud" />
</header>
</section>
<section id="benefits">
<header class="benefits-head">
<h2>The Perfect travel</h2>
<h3>
we cover everything from picking the perfect hotel, <br />to flight
and destination
</h3>
</header>
<div class="cards">
<div class="card">
<div class="card-icon">
<img src="/icons/route-solid.svg" />
</div>
<h4>Travel</h4>
<p>
Discover budget-friendly getaways for families and friends! From
serene mountains to sunny beaches, find your next adventure
without breaking the bank. Start exploring now!
</p>
</div>
<div class="card">
<div class="card-icon">
<img src="/icons/bed-solid.svg" />
</div>
<h4>Hotel</h4>
<p>
We've handpicked top-rated options that offer exceptional value.
Book your perfect stay today and enjoy premium accommodations
without the premium price tag!
</p>
</div>
<div class="card">
<div class="card-icon">
<img src="/icons/plane-departure-solid.svg" />
</div>
<h4>Fly</h4>
<p>
Fly to your dream destination without breaking the bank! We offers
the best flight deals, combining comfort and affordability for
perfect journey. Book now and take off for less!
</p>
</div>
</div>
</section>
<!-- deals -->
<section id="deals" class="deals-section">
<h2>Exclusive Deals and Offers</h2>
<p>Explore our best deals on flights, hotels, and travel packages. Save big on your next adventure!</p>
<div class="carousel">
<div class="carousel-inner">
<!-- Deal 1: Flight Offer -->
<div class="deal-item">
<h3>Flight to Dubai</h3>
<p>Save 20% on round-trip flights to Dubai. Limited time offer!</p>
<p><strong>Price:</strong> ₹20,000 <span class="discount">₹25,000 </span></p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 2: Hotel Offer -->
<div class="deal-item">
<h3>Luxury Stay in Goa</h3>
<p>Get 30% off on a 5-star hotel stay in Goa. Enjoy the best of luxury at an affordable price!</p>
<p><strong>Price:</strong> ₹10,500 <span class="discount"> ₹15,000</span> per night</p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 3: Travel Package -->
<div class="deal-item">
<h3>Kerala Backwaters Package</h3>
<p>Experience the serene beauty of Kerala's backwaters with a 4-day, 3-night package. All-inclusive deal!</p>
<p><strong>Price:</strong> ₹40,000 <span class="discount">₹50,000</span></p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 4: International Trip -->
<div class="deal-item">
<h3>Paris Romantic Getaway</h3>
<p>Enjoy a romantic trip to Paris with your loved one. Special package for couples!</p>
<p><strong>Price:</strong> ₹1,20,000 <span class="discount"> ₹1,50,000</span> per couple</p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 5: Adventure Trip -->
<div class="deal-item">
<h3>Adventure in Bali</h3>
<p>Book an adventure trip to Bali with activities like snorkeling, trekking, and more. Discount available for groups!</p>
<p><strong>Price:</strong> ₹48,000 <span class="discount">₹60,000</span> per person</p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 6: Ski Trip in Switzerland -->
<div class="deal-item">
<h3>Ski Trip in Switzerland</h3>
<p>Hit the slopes with an amazing package for skiing in the Swiss Alps. All equipment included!</p>
<p><strong>Price:</strong> ₹75,000 <span class="discount">₹90,000</span> per person</p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
<!-- Deal 7: Wildlife Safari in Kenya -->
<div class="deal-item">
<h3>Wildlife Safari in Kenya</h3>
<p>Experience the thrill of a wildlife safari in Kenya. See the Big Five!</p>
<p><strong>Price:</strong> ₹1,00,000 <span class="discount">₹1,20,000</span> per person</p>
<button onclick="window.location.href='#book-now'">Book Now</button>
</div>
</div>
<button class="carousel-button prev" onclick="moveSlide(-1)">❮</button>
<button class="carousel-button next" onclick="moveSlide(1)">❯</button>
</div>
</section>
<style>
/* Existing CSS */
.deals-section {
text-align: center;
}
.carousel {
position: relative;
overflow: hidden;
width: 100%;
max-width: 800px;
margin: 0 auto;
}
.carousel-inner {
display: flex;
transition: transform 0.5s ease;
}
.deal-item {
min-width: calc(100% / 3); /* Show 3 cards */
box-sizing: border-box;
padding: 20px;
border: 1px solid #150f0f;
border-radius: 8px;
margin: 10px;
transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition */
}
.highlight {
transform: scale(1.05); /* Slightly enlarge the center card */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add shadow for emphasis */
}
.carousel-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(17, 16, 16, 0.7);
border: none;
cursor: pointer;
padding: 10px;
border-radius: 50%;
font-size: 24px;
transition: background-color 0.3s;
opacity: 1; /* Always show buttons */
}
.prev {
left: 10px;
}
.next {
right: 10px;
}
/* Optional hover effects */
.carousel-button:hover {
background-color: rgb(6, 6, 6);
}
</style>
<script>
let currentSlide = 0;
function moveSlide(direction) {
const slides = document.querySelectorAll('.deal-item');
const totalSlides = slides.length;
const slidesToShow = 3; // Number of cards to show at once
// Calculate the new slide index
currentSlide = (currentSlide + direction + Math.ceil(totalSlides / slidesToShow)) % Math.ceil(totalSlides / slidesToShow);
// Update the transform to show the correct slides
const carouselInner = document.querySelector('.carousel-inner');
carouselInner.style.transform = `translateX(-${currentSlide * (100 / slidesToShow)}%)`;
// Remove highlight class from all cards
slides.forEach(slide => slide.classList.remove('highlight'));
// Calculate the index of the center card
const centerCardIndex = currentSlide * slidesToShow + Math.floor(slidesToShow / 2);
// Add highlight class to the center card
if (centerCardIndex < totalSlides) {
slides[centerCardIndex].classList.add('highlight');
}
}
// Initial highlight
document.addEventListener('DOMContentLoaded', () => {
const slides = document.querySelectorAll('.deal-item');
slides[Math.floor(slides.length / 2)].classList.add('highlight'); // Highlight the initial center card
});
</script>
<!-- travel itineraries -->
<section id="itineraries" class="itineraries-section">
<h2>Travel Itineraries</h2>
<p>
Plan your trips effortlessly with our curated travel itineraries
tailored for different types of adventures. Whether you're planning a
family vacation, a solo adventure, or a romantic getaway, we’ve got
you covered!
</p>
<div class="itinerary-list">
<div class="itinerary">
<h3>Family Vacation</h3>
<p>
Explore the best family-friendly destinations with day-by-day
guides that include must-see attractions and activities for all
ages.
</p>
<button>View Itinerary</button>
</div>
<div class="itinerary">
<h3>Solo Adventure</h3>
<p>
Embark on a solo journey with our handpicked itineraries, offering
exciting experiences and peaceful retreats just for you.
</p>
<button>View Itinerary</button>
</div>
<div class="itinerary">
<h3>Romantic Getaway</h3>
<p>
Plan the perfect romantic escape with itineraries that include
serene locations, romantic dinners, and memorable experiences.
</p>
<button>View Itinerary</button>
</div>
</div>
</section>
<!-- Cab or Auto Booking -->
<section id="cab-booking" class="cab-booking-section light-mode">
<div class="booking-container">
<h2>Book a Cab or Auto</h2>
<form action="/book-cab" method="POST">
<div class="form-group">
<label for="pickup-location" style="font-size: 15px;"><strong>Pickup Location</strong></label>
<input type="text" id="pickup-location" name="pickup-location" placeholder="Enter pickup location" required />
<iframe src="https://www.google.com/maps/embed?pb=!1m16!1m12!1m3!1d2965.0824050173574!2d-93.63905729999999!3d41.998507000000004!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!2m1!1sWebFilings%2C+University+Boulevard%2C+Ames%2C+IA!5e0!3m2!1sen!2sus!4v1390839289319" width="100%" height="60" frameborder="0" style="border:0"></iframe>
</div>
<div class="form-group">
<label for="drop-location" style="font-size: 15px;"><strong>Drop Location</strong></label>
<input type="text" id="drop-location" name="drop-location" placeholder="Enter drop location" required />
<iframe src="https://www.google.com/maps/embed?pb=!1m16!1m12!1m3!1d2965.0824050173574!2d-93.63905729999999!3d41.998507000000004!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!2m1!1sWebFilings%2C+University+Boulevard%2C+Ames%2C+IA!5e0!3m2!1sen!2sus!4v1390839289319" width="100%" height="60" frameborder="0" style="border:0"></iframe>
</div>
<form
action="/book-cab"
method="POST"
style="
margin-left: 40px;
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
"
>
<div style="display: flex; align-items: center; margin-bottom: 20px;">
<label style="font-size: 1.5em; margin-right: 35px;" for="vehicle-type">
<strong>Vehicle Type</strong>
</label>
<select
id="vehicle-type"
name="vehicle-type"
style="width: 150px; height: 35px; padding: 5px;"
required >
<option value="cab">Cab</option>
<option value="auto">Auto</option>
<option value = "Sharing cab">Sharing Cab</option>
<option value = "Sharing cab">Sharing Auto</option>
<option value = "Sharing cab">Bike</option>
<option value = "Sharing cab">Premium Bike</option>
</select>
</div>
<div class="form-group">
<label for="travel-date" style="font-size: 15px;"><strong>Travel Date</strong></label>
<input type="date" id="travel-date" name="travel-date" required />
</div>
<div class="form-group">
<label for="travel-time" style="font-size: 15px;"><strong>Travel Time</strong></label>
<input type="time" id="travel-time" name="travel-time" required />
</div>
<button class="book-btn" type="submit" style="padding: 15px; font-size:20px">Book now</button>
</section>
<!-- recommendations -->
<section id="recommendations" class="recommendations-section">
<h2>Personalized Recommendations</h2>
<p>
We’ve picked these destinations, hotels, and activities just for you,
based on your preferences.
</p>
<div class="recommendation-list">
<!-- Example Recommendation -->
<div class="recommendation-item">
<h3>Beach Resort in Goa</h3>
<p>
Based on your love for sunny destinations, we recommend this
beachfront resort in Goa for a perfect getaway.
</p>
<button onclick="window.location.href='#book-now'">
Explore More
</button>
</div>
<div class="recommendation-item">
<h3>Cultural Tour in Rajasthan</h3>
<p>
Explore the rich cultural heritage of Rajasthan. This tour is
highly recommended based on your interest in historical places.
</p>
<button onclick="window.location.href='#book-now'">
Explore More
</button>
</div>
<div class="recommendation-item">
<h3>Adventure Trek in Himachal</h3>
<p>
For the adventure lover in you, we recommend a thrilling trek in
the mountains of Himachal Pradesh.
</p>
<button onclick="window.location.href='#book-now'">
Explore More
</button>
</div>
</div>
</section>
<!--forum Section-->
<header class="forum_1">
<h1>Travel Discussion Forum</h1>
<nav class="hi">
<ul>
<li><a href="#destinations">Destinations</a></li>
<li><a href="#travel-planning">Travel Planning</a></li>
<li><a href="#experiences">Travel Experiences</a></li>
<li><a href="#gear">Travel Gear</a></li>
<li><a href="#safety">Travel Safety</a></li>
<li><a href="#sustainable">Sustainable Travel</a></li>
</ul>
</nav>
</header>
<main>
<section id="destinations">
<h2>Destination Guides</h2>
<div class="post-container">
<h3>Share Your Experiences</h3>
<form id="postForm">
<textarea id="postContent" placeholder="Write your post here..." required></textarea>
<button type="submit">Submit</button>
</form>
<div id="posts"></div>
</div>
</section>
<!-- Add more sections for other categories -->
</main>
<script src="script.js"></script>
<style>
.recommendation-item {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recommendation-item:hover {
transform: translateY(-10px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
</style>
<!-- Map Section -->
<section class="map-section" id="explore">
<h2>Explore Popular Destinations</h2>
<p>Click on the markers to learn more about each destination.</p>
<div id="map"></div>
</section>
<!-- Google Maps JavaScript API -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCYcdQdpiSF7BjZl6JF_pyucrblrUCZMxc&callback=initMap"
async defer></script>
<!-- Map Section -->
<!-- Google Maps JavaScript API -->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCYcdQdpiSF7BjZl6JF_pyucrblrUCZMxc&callback=initMap"
async
defer
></script>
<!-- CONTACT US-->
<section id="contact">
<div class="container">
<div class="contact-container">
<div class="grid-container">
<div class="text-container">
<div class="heading">
<h2 class="title">CONTACT US</h2>
<p class="description">At BuddyTrail, we are here to assist you every step of the way! Whether you have questions, feedback, or just want to learn more about our platform, feel free to reach out to us. Our team is committed to providing you with the best experience as you explore new trails and make new friends along the way.</p>
</div>
<ul class="info-list">
<li class="info-item">
<div class="icon bg-blue-900">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"></path>
<path d="M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"></path>
</svg>
</div>
<div class="info-text-content">
<h3 class="info-title">Our Address</h3>
<p class="info-description">123 Trailblazer Lane, Adventure</p>
</div>
</li>
<li class="info-item">
<div class="icon bg-blue-900">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2"></path>
<path d="M15 7a2 2 0 0 1 2 2"></path>
<path d="M15 3a6 6 0 0 1 6 6"></path>
</svg>
</div>
<div class="info-text-content">
<h3 class="info-title">Contact</h3>
<p class="info-description">Mobile: +91 921 456-7890</p>
<p class="info-description">Mail: [email protected]</p>
</div>
</li>
<li class="info-item">
<div class="icon bg-blue-900">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"></path>
<path d="M12 7v5l3 3"></path>
</svg>
</div>
<div class="info-text-content">
<h3 class="wr">Working Hours</h3>
<p class="info-description">Monday - Friday: 08:00 - 17:00</p>
<p class="info-description">Saturday & Sunday: 08:00 - 12:00</p>
</div>
</li>
</ul>
</div>
<div class="form-container">
<h2 class="form-title">Ready to Get Started?</h2>
<form id="contactForm">
<div class="input-group">
<input type="text" id="name" placeholder="Your name" class="input-field">
<input type="email" id="email" placeholder="Your email address" class="input-field">
<textarea id="textarea" placeholder="Write your message..." class="input-field"></textarea>
</div>
<div class="submit-button-container">
<button type="submit" class="submit-button">Send Message</button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Add this custom popup HTML -->
<div id="confirmationPopup" class="popup" style="display: none;">
<div class="popup-content">
<h2>Thank You!</h2>
<p>Your message has been sent successfully. We will get back to you soon.</p>
<button onclick="closePopup()">Close</button>
</div>
</div>
</section>
<!-- Add this custom popup HTML -->
<div id="confirmationPopup" class="popup" style="display: none;">
<div class="popup-content">
<h2>Thank You!</h2>
<p>Your message has been sent successfully. We will get back to you soon.</p>
<button onclick="closePopup()">Close</button>
</div>
</div>
</main>
<section id="testimonials" class="testimonials-section">
<h1 class="testimonials-heading">Testimonials</h1>
<div class="testimonials-container">
<figure class="snip1533">
<figcaption>
<blockquote>
<p>It made solo travel a breeze! I met amazing companions and discovered hidden gems.</p>
</blockquote>
<h3>Wisteria Ravenclaw</h3>
<h4>Traveller</h4>
</figcaption>
</figure>
<figure class="snip1533">
<figcaption>
<blockquote>
<p>Finding the perfect travel group was so easy with Buddy Trail. Unforgettable trips, hassle-free planning!
</p>
</blockquote>
<h3>Ursula Gurnmeister</h3>
<h4>Traveller</h4>
</figcaption>
</figure>
<figure class="snip1533">
<figcaption>
<blockquote>
<p>I found great travel buddies for my Europe trip! The platform is intuitive and made my adventure even
better. </p>
</blockquote>
<h3>Ingredia Nutrisha</h3>
<h4>Traveller</h4>
</figcaption>
</figure>
</div>
</section>
<section id="reviews" class="reviews-section">
<div class="revieww">
<div class="review-form">
<h2>Rate your experience</h2>
<p class="review-p">
Read what others have to say about their experiences with various
destinations, hotels, flights, and activities. Share your own reviews
and help fellow travelers make informed decisions.
</p>
<div style="margin-top: 20px">
<form class="form" id="reviewForm">
<label for="name">Your Name:</label>
<input type="text" id="name" name="name" required />
<label for="destination">Destination/Service:</label>
<input type="text" id="destination" name="destination" required />
<label for="rating">Rating:</label>
<select id="rating" class="rating" name="rating">
<option value="5">⭐⭐⭐⭐⭐</option>
<option value="4">⭐⭐⭐⭐</option>
<option value="3">⭐⭐⭐</option>
<option value="2">⭐⭐</option>
<option value="1">⭐</option>
</select>
<label for="review">Your Review:</label>
<textarea id="review" name="review" rows="4" required></textarea>
<label for="complaint">Complaint (if any):</label>
<textarea id="complaint" name="complaint" rows="3"
placeholder="Describe any issue with the staff here. Please explain every single detail ex:location,name of the person"></textarea>
<div class="form-button">
<button type="submit">Send</button>
</div>
</form>
<!-- Thank You Message -->
<div id="thankYouMessage" style="display: none; margin-top: 20px;">
<p>Thank you! We use CustomerSure to collect and manage all your feedback because we are absolutely
committed to making you a happy customer. We will read your feedback, and we'll take it seriously.</p>
</div>
</div>
</div>
</div>
</section>
<a href="chatbot.html">
<div class="fixed bottom-0 right-2 chatbot-container">
<button class="chatbot-button group">
<img class="h-20" src="chatbot.gif" alt="chatbot" />
<span class="tooltip-text">
Welcome to Buddytrail! <br />
How can I help You? ^_^
</span>
</button>
</div>
</a>
<div class="fixed bottom-0 right-2 scroll-container">
<button class="scroll-button group" id="scrollTopBtn">
<span class="tooltip-text-scroll">
<i class="fa-solid fa-arrow-up"></i>
</span>
</button>
</div>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<footer>
<div class="footer-container">
<div class="footer-column">
<footer>
<div class="footer-container">
<div class="footer-column">
<h3>About Us</h3>
<p>We are a team of passionate developers creating amazing web experiences.</p>
</div>
<div class="footer-column">
<h3>Quick Links</h3>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Contact Us</h3>
<p>Email: [email protected]</p>
<p>Phone: +123 456 7890</p>
</div>
<div class="footer-column">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="https://discord.com/invite/priyaghosal" ><i class="fab fa-discord"></i></a>
<a href="https://x.com/https://twitter.com/PriyaGhosa39968"><i class="fa-brands fa-x-twitter"></i></i></a>
<a href="https://github.com/PriyaGhosal/BuddyTrail"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/priya-ghosal-785771286/"><i class="fab fa-linkedin-in"></i></a>
</div>