File size: 70,828 Bytes
58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e b3850d0 58e7b3e | 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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 | <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HoyDoon - Hotel Booking Platform</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>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
:root {
--primary-color: #2c786c;
--secondary-color: #004445;
--accent-color: #f8b400;
--light-color: #faf5e4;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f5f5f5;
}
.somali-font {
font-family: 'Roboto', sans-serif;
}
.hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
background-size: cover;
background-position: center;
}
.language-toggle {
cursor: pointer;
transition: all 0.3s ease;
}
.language-toggle:hover {
transform: scale(1.05);
}
.hotel-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.amenity-icon {
width: 24px;
height: 24px;
margin-right: 8px;
}
.booking-form {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.tab-active {
border-bottom: 3px solid var(--accent-color);
font-weight: 500;
color: var(--secondary-color);
}
.tab-inactive {
color: #6b7280;
}
.rating-stars {
color: var(--accent-color);
}
.btn-primary {
background-color: var(--primary-color);
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: var(--secondary-color);
transform: translateY(-2px);
}
.btn-secondary {
background-color: var(--accent-color);
transition: all 0.3s ease;
}
.btn-secondary:hover {
background-color: #e09e00;
transform: translateY(-2px);
}
/* Animation for loading */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Language Toggle -->
<div class="bg-gray-800 text-white py-2 px-4 flex justify-end">
<div class="flex items-center space-x-2">
<span id="currentLanguage" class="font-medium">English</span>
<button id="toggleLanguage" class="language-toggle bg-white text-gray-800 px-3 py-1 rounded-full text-sm font-medium">
<i class="fas fa-exchange-alt"></i>
</button>
</div>
</div>
<!-- Navigation -->
<nav class="bg-white shadow-md">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-hotel text-2xl text-green-700"></i>
<a href="#" class="text-xl font-bold text-green-700 somali-font">HoyDoon</a>
</div>
<div class="hidden md:flex items-center space-x-6">
<a href="#home" class="text-gray-700 hover:text-green-700 font-medium">Home</a>
<a href="#hotels" class="text-gray-700 hover:text-green-700 font-medium">Hotels</a>
<a href="#cities" class="text-gray-700 hover:text-green-700 font-medium">Cities</a>
<a href="#about" class="text-gray-700 hover:text-green-700 font-medium">About</a>
</div>
<div class="flex items-center space-x-4">
<button id="loginBtn" class="px-4 py-2 text-gray-700 font-medium hover:text-green-700">Login</button>
<button id="registerBtn" class="px-4 py-2 bg-green-700 text-white rounded-md font-medium hover:bg-green-800">Register</button>
<button class="md:hidden text-gray-700">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero-section text-white py-20">
<div class="container mx-auto px-4">
<div class="max-w-2xl mx-auto text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-6 somali-font">Raadi Hoygaaga Somaliyeed</h1>
<p class="text-xl mb-8">Find the perfect accommodation for your stay in Somalia's major cities</p>
<!-- Search Form -->
<div class="booking-form bg-white rounded-lg p-6">
<div class="flex border-b mb-4">
<button id="hotelsTab" class="tab-active py-2 px-4 font-medium">Hotels</button>
<button id="apartmentsTab" class="tab-inactive py-2 px-4 font-medium">Apartments</button>
<button id="guestHousesTab" class="tab-inactive py-2 px-4 font-medium">Guest Houses</button>
</div>
<form id="searchForm" class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div>
<label for="city" class="block text-black text-sm font-medium mb-1">City</label>
<select id="city" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 text-black">
<option value="">Select City</option>
<option value="mogadishu">Mogadishu</option>
<option value="hargeisa">Hargeisa</option>
<option value="bosaso">Bosaso</option>
<option value="garowe">Garowe</option>
<option value="kismayo">Kismayo</option>
</select>
</div>
<div>
<label for="checkin" class="block text-black text-sm font-medium mb-1">Check-in</label>
<input type="date" id="checkin" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 text-black">
</div>
<div>
<label for="checkout" class="block text-black text-sm font-medium mb-1">Check-out</label>
<input type="date" id="checkout" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 text-black">
</div>
<div class="flex items-end">
<button type="submit" class="w-full btn-primary text-white py-2 px-4 rounded-md font-medium">
Search <i class="fas fa-search ml-2"></i>
</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Popular Cities -->
<section id="cities" class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800">Popular Cities in Somalia</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
<!-- City 1 - Mogadishu -->
<div class="relative rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300">
<img src="https://images.unsplash.com/photo-1605152276897-4f618f831968?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Mogadishu" class="w-full h-48 object-cover">
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
<h3 class="text-white text-2xl font-bold">Mogadishu</h3>
</div>
<div class="p-4 bg-white">
<p class="text-gray-600">45 hotels available</p>
<a href="#" class="text-green-700 font-medium mt-2 inline-block">Explore <i class="fas fa-arrow-right ml-1"></i></a>
</div>
</div>
<!-- City 2 - Hargeisa -->
<div class="relative rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300">
<img src="https://images.unsplash.com/photo-1582468546235-d5e0d6f11690?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Hargeisa" class="w-full h-48 object-cover">
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
<h3 class="text-white text-2xl font-bold">Hargeisa</h3>
</div>
<div class="p-4 bg-white">
<p class="text-gray-600">32 hotels available</p>
<a href="#" class="text-green-700 font-medium mt-2 inline-block">Explore <i class="fas fa-arrow-right ml-1"></i></a>
</div>
</div>
<!-- City 3 - Bosaso -->
<div class="relative rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300">
<img src="https://images.unsplash.com/photo-1582468546235-d5e0d6f11690?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Bosaso" class="w-full h-48 object-cover">
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
<h3 class="text-white text-2xl font-bold">Bosaso</h3>
</div>
<div class="p-4 bg-white">
<p class="text-gray-600">28 hotels available</p>
<a href="#" class="text-green-700 font-medium mt-2 inline-block">Explore <i class="fas fa-arrow-right ml-1"></i></a>
</div>
</div>
<!-- City 4 -->
<div class="relative rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300">
<img src="https://images.unsplash.com/photo-1506929562872-bb421503ef21?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1368&q=80" alt="Garowe" class="w-full h-48 object-cover">
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
<h3 class="text-white text-2xl font-bold">Garowe</h3>
</div>
<div class="p-4 bg-white">
<p class="text-gray-600">18 hotels available</p>
<a href="#" class="text-green-700 font-medium mt-2 inline-block">Explore <i class="fas fa-arrow-right ml-1"></i></a>
</div>
</div>
</div>
</div>
</section>
<!-- Featured Hotels -->
<section id="hotels" class="py-12 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800">Featured Hotels</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Hotel 1 -->
<div class="hotel-card bg-white rounded-lg overflow-hidden shadow-md transition-all duration-300" data-city="mogadishu">
<div class="relative">
<img src="https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Jazeera Palace Hotel" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-yellow-500 text-white px-2 py-1 rounded-md text-sm font-medium">
<i class="fas fa-star mr-1"></i> 4.8
</div>
</div>
<div class="p-4">
<h3 class="text-xl font-bold text-gray-800 mb-1">Jazeera Palace Hotel</h3>
<p class="text-gray-600 mb-2"><i class="fas fa-map-marker-alt text-green-700 mr-2"></i> Mogadishu, Somalia</p>
<div class="flex items-center mb-3">
<div class="rating-stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<span class="text-gray-600 text-sm ml-2">(128 reviews)</span>
</div>
<div class="flex flex-wrap gap-2 mb-4">
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-wifi amenity-icon"></i> Free WiFi
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-swimming-pool amenity-icon"></i> Pool
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-utensils amenity-icon"></i> Restaurant
</span>
</div>
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Starting from</p>
<p class="text-green-700 font-bold text-xl">SOS 350,000</p>
<p class="text-gray-500 text-sm">per night</p>
</div>
<button class="btn-primary text-white px-4 py-2 rounded-md font-medium">
Book Now
</button>
</div>
</div>
</div>
<!-- Hotel 2 -->
<div class="hotel-card bg-white rounded-lg overflow-hidden shadow-md transition-all duration-300" data-city="hargeisa">
<div class="relative">
<img src="https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Maansoor Hotel" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-yellow-500 text-white px-2 py-1 rounded-md text-sm font-medium">
<i class="fas fa-star mr-1"></i> 4.5
</div>
</div>
<div class="p-4">
<h3 class="text-xl font-bold text-gray-800 mb-1">Maansoor Hotel</h3>
<p class="text-gray-600 mb-2"><i class="fas fa-map-marker-alt text-green-700 mr-2"></i> Hargeisa, Somalia</p>
<div class="flex items-center mb-3">
<div class="rating-stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
<span class="text-gray-600 text-sm ml-2">(94 reviews)</span>
</div>
<div class="flex flex-wrap gap-2 mb-4">
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-wifi amenity-icon"></i> Free WiFi
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-parking amenity-icon"></i> Free Parking
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-utensils amenity-icon"></i> Restaurant
</span>
</div>
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Starting from</p>
<p class="text-green-700 font-bold text-xl">SOS 280,000</p>
<p class="text-gray-500 text-sm">per night</p>
</div>
<button class="btn-primary text-white px-4 py-2 rounded-md font-medium">
Book Now
</button>
</div>
</div>
</div>
<!-- Hotel 3 -->
<div class="hotel-card bg-white rounded-lg overflow-hidden shadow-md transition-all duration-300" data-city="bosaso">
<div class="relative">
<img src="https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Bosaso Beach Resort" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-yellow-500 text-white px-2 py-1 rounded-md text-sm font-medium">
<i class="fas fa-star mr-1"></i> 4.7
</div>
</div>
<div class="p-4">
<h3 class="text-xl font-bold text-gray-800 mb-1">Bosaso Beach Resort</h3>
<p class="text-gray-600 mb-2"><i class="fas fa-map-marker-alt text-green-700 mr-2"></i> Bosaso, Somalia</p>
<div class="flex items-center mb-3">
<div class="rating-stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<span class="text-gray-600 text-sm ml-2">(112 reviews)</span>
</div>
<div class="flex flex-wrap gap-2 mb-4">
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-umbrella-beach amenity-icon"></i> Beachfront
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-swimming-pool amenity-icon"></i> Pool
</span>
<span class="flex items-center text-sm text-gray-700">
<i class="fas fa-spa amenity-icon"></i> Spa
</span>
</div>
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Starting from</p>
<p class="text-green-700 font-bold text-xl">SOS 420,000</p>
<p class="text-gray-500 text-sm">per night</p>
</div>
<button class="btn-primary text-white px-4 py-2 rounded-md font-medium">
Book Now
</button>
</div>
</div>
</div>
</div>
<div class="text-center mt-8">
<button class="btn-secondary text-white px-6 py-3 rounded-md font-medium">
View All Hotels <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800">What Our Guests Say</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Ahmed" class="w-12 h-12 rounded-full object-cover mr-4">
<div>
<h4 class="font-bold text-gray-800">Ahmed Ali</h4>
<div class="flex">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
</div>
</div>
</div>
<p class="text-gray-600">"Excellent service and beautiful rooms at Jazeera Palace. The staff was very helpful and the location was perfect for my business meetings in Mogadishu."</p>
</div>
<!-- Testimonial 2 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Fadumo" class="w-12 h-12 rounded-full object-cover mr-4">
<div>
<h4 class="font-bold text-gray-800">Fadumo Hassan</h4>
<div class="flex">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
</div>
</div>
</div>
<p class="text-gray-600">"The Bosaso Beach Resort was amazing! The sea view from my room was breathtaking and the food was delicious. Will definitely come back!"</p>
</div>
<!-- Testimonial 3 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Mohamed" class="w-12 h-12 rounded-full object-cover mr-4">
<div>
<h4 class="font-bold text-gray-800">Mohamed Abdi</h4>
<div class="flex">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="far fa-star text-yellow-500"></i>
</div>
</div>
</div>
<p class="text-gray-600">"Great experience at Maansoor Hotel in Hargeisa. The rooms were clean and comfortable, and the staff was very friendly. Highly recommended!"</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800">About Hoy Somali</h2>
<div class="max-w-4xl mx-auto">
<p class="text-gray-600 mb-6">
Hoy Somali is the leading hotel booking platform in Somalia, connecting travelers with the best accommodations across the country. Our mission is to make travel planning easy and accessible for everyone visiting Somalia.
</p>
<p class="text-gray-600 mb-6">
Founded in 2020, we've partnered with hundreds of hotels, apartments, and guest houses to provide you with a wide selection of options at competitive prices. Whether you're traveling for business or leisure, we've got you covered.
</p>
<p class="text-gray-600">
Our team is based in Mogadishu with local experts in each major city, ensuring we provide the most accurate information and best customer service to our users.
</p>
</div>
</div>
</section>
<!-- Call to Action -->
<section class="py-16 bg-green-700 text-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-4">Ready to book your stay in Somalia?</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of satisfied guests who have discovered the best accommodations across Somalia</p>
<button class="btn-secondary text-white px-8 py-3 rounded-md font-medium text-lg">
Find Your Perfect Hotel <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4 flex items-center">
<i class="fas fa-hotel text-2xl text-green-500 mr-2"></i> HoyDoon
</h3>
<p class="text-gray-400">Your trusted partner for hotel bookings across Somalia. We connect travelers with the best accommodations in major Somali cities.</p>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
<li><a href="#hotels" class="text-gray-400 hover:text-white">Hotels</a></li>
<li><a href="#cities" class="text-gray-400 hover:text-white">Cities</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Support</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">FAQs</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">Terms & Conditions</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Cancellation Policy</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Contact Us</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-map-marker-alt text-green-500 mr-2"></i>
<span class="text-gray-400">Mogadishu, Somalia</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone text-green-500 mr-2"></i>
<span class="text-gray-400">+252 61 123 4567</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope text-green-500 mr-2"></i>
<span class="text-gray-400">info@hoysomali.com</span>
</li>
</ul>
<div class="mt-4 flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 HoyDoon. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="backToTopBtn" class="fixed bottom-8 right-8 w-12 h-12 bg-green-700 text-white rounded-full shadow-lg hover:bg-green-800 transition-all duration-300 transform hover:scale-110 hidden z-40">
<i class="fas fa-arrow-up text-xl"></i>
</button>
<!-- Login Modal -->
<div id="loginModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg w-full max-w-md mx-4">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold text-gray-800">Login to Your Account</h3>
<button id="closeLoginModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<form id="loginForm" class="space-y-4">
<div>
<label for="loginEmail" class="block text-gray-700 font-medium mb-1">Email Address</label>
<input type="email" id="loginEmail" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div>
<label for="loginPassword" class="block text-gray-700 font-medium mb-1">Password</label>
<input type="password" id="loginPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center">
<input type="checkbox" id="rememberMe" class="mr-2">
<label for="rememberMe" class="text-gray-700">Remember me</label>
</div>
<a href="#" class="text-green-700 hover:underline">Forgot password?</a>
</div>
<button type="submit" class="w-full btn-primary text-white py-2 px-4 rounded-md font-medium">
Login
</button>
</form>
<div class="mt-6 text-center">
<p class="text-gray-600">Or login with</p>
<div class="flex justify-center space-x-4 mt-4">
<button class="bg-blue-600 text-white p-2 rounded-full">
<i class="fab fa-facebook-f"></i>
</button>
<button class="bg-red-600 text-white p-2 rounded-full">
<i class="fab fa-google"></i>
</button>
<button class="bg-blue-400 text-white p-2 rounded-full">
<i class="fab fa-twitter"></i>
</button>
</div>
</div>
<div class="mt-6 text-center">
<p class="text-gray-600">Don't have an account? <button id="switchToRegister" class="text-green-700 font-medium hover:underline">Register</button></p>
</div>
</div>
</div>
</div>
<!-- Registration Modal -->
<div id="registerModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg w-full max-w-md mx-4">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold text-gray-800">Create Your Account</h3>
<button id="closeRegisterModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<form id="registerForm" class="space-y-4">
<div>
<label for="registerName" class="block text-gray-700 font-medium mb-1">Full Name</label>
<input type="text" id="registerName" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div>
<label for="registerEmail" class="block text-gray-700 font-medium mb-1">Email Address</label>
<input type="email" id="registerEmail" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div>
<label for="registerPhone" class="block text-gray-700 font-medium mb-1">Phone Number</label>
<input type="tel" id="registerPhone" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div>
<label for="registerPassword" class="block text-gray-700 font-medium mb-1">Password</label>
<input type="password" id="registerPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div>
<label for="registerConfirmPassword" class="block text-gray-700 font-medium mb-1">Confirm Password</label>
<input type="password" id="registerConfirmPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div class="flex items-center">
<input type="checkbox" id="agreeTerms" class="mr-2" required>
<label for="agreeTerms" class="text-gray-700">I agree to the <a href="#" class="text-green-700 hover:underline">Terms & Conditions</a> and <a href="#" class="text-green-700 hover:underline">Privacy Policy</a></label>
</div>
<button type="submit" class="w-full btn-primary text-white py-2 px-4 rounded-md font-medium">
Register
</button>
</form>
<div class="mt-6 text-center">
<p class="text-gray-600">Already have an account? <button id="switchToLogin" class="text-green-700 font-medium hover:underline">Login</button></p>
</div>
</div>
</div>
</div>
<!-- Hotel Details Modal -->
<div id="hotelDetailsModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden overflow-y-auto py-8">
<div class="bg-white rounded-lg w-full max-w-4xl mx-4 max-h-screen overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-start mb-6">
<div>
<h3 class="text-2xl font-bold text-gray-800">Jazeera Palace Hotel</h3>
<p class="text-gray-600"><i class="fas fa-map-marker-alt text-green-700 mr-2"></i> Mogadishu, Somalia</p>
</div>
<button id="closeHotelModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<!-- Hotel Images Gallery -->
<div class="mb-6">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="col-span-2">
<img src="https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Jazeera Palace Hotel" class="w-full h-64 md:h-80 object-cover rounded-lg">
</div>
<div class="grid grid-cols-2 gap-4">
<img src="https://images.unsplash.com/photo-1582719478460-973ef638aac1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Hotel Room" class="w-full h-32 md:h-40 object-cover rounded-lg">
<img src="https://images.unsplash.com/photo-1565031491910-e57fac031c41?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Hotel Pool" class="w-full h-32 md:h-40 object-cover rounded-lg">
<img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Hotel Restaurant" class="w-full h-32 md:h-40 object-cover rounded-lg">
<img src="https://images.unsplash.com/photo-1571896349842-33c89424de2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Hotel Lobby" class="w-full h-32 md:h-40 object-cover rounded-lg">
</div>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<div class="lg:col-span-2">
<!-- Hotel Description -->
<div class="mb-6">
<h4 class="text-xl font-bold text-gray-800 mb-3">About Jazeera Palace Hotel</h4>
<p class="text-gray-600 mb-4">
Located in the heart of Mogadishu, Jazeera Palace Hotel offers luxurious accommodations with stunning views of the Indian Ocean. Our hotel features modern amenities, spacious rooms, and exceptional service to ensure a memorable stay for both business and leisure travelers.
</p>
<p class="text-gray-600">
Enjoy our rooftop swimming pool, state-of-the-art fitness center, and multiple dining options serving both local Somali cuisine and international dishes. Our conference facilities can accommodate up to 300 guests, making us the perfect choice for your next event in Mogadishu.
</p>
</div>
<!-- Amenities -->
<div class="mb-6">
<h4 class="text-xl font-bold text-gray-800 mb-3">Amenities</h4>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div class="flex items-center">
<i class="fas fa-wifi text-green-700 mr-3"></i>
<span class="text-gray-700">Free High-Speed WiFi</span>
</div>
<div class="flex items-center">
<i class="fas fa-swimming-pool text-green-700 mr-3"></i>
<span class="text-gray-700">Outdoor Swimming Pool</span>
</div>
<div class="flex items-center">
<i class="fas fa-utensils text-green-700 mr-3"></i>
<span class="text-gray-700">Restaurant & Bar</span>
</div>
<div class="flex items-center">
<i class="fas fa-dumbbell text-green-700 mr-3"></i>
<span class="text-gray-700">Fitness Center</span>
</div>
<div class="flex items-center">
<i class="fas fa-concierge-bell text-green-700 mr-3"></i>
<span class="text-gray-700">24-Hour Room Service</span>
</div>
<div class="flex items-center">
<i class="fas fa-parking text-green-700 mr-3"></i>
<span class="text-gray-700">Free Parking</span>
</div>
<div class="flex items-center">
<i class="fas fa-business-time text-green-700 mr-3"></i>
<span class="text-gray-700">Business Center</span>
</div>
<div class="flex items-center">
<i class="fas fa-spa text-green-700 mr-3"></i>
<span class="text-gray-700">Spa & Wellness</span>
</div>
</div>
</div>
<!-- Reviews -->
<div class="mb-6">
<h4 class="text-xl font-bold text-gray-800 mb-3">Guest Reviews</h4>
<div class="flex items-center mb-4">
<div class="text-3xl font-bold mr-4">4.8</div>
<div>
<div class="rating-stars mb-1">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="text-gray-600">Based on 128 reviews</div>
</div>
</div>
<!-- Review 1 -->
<div class="border-b border-gray-200 pb-4 mb-4">
<div class="flex justify-between mb-2">
<div class="font-medium">Ahmed Ali</div>
<div class="text-sm text-gray-500">2 days ago</div>
</div>
<div class="rating-stars text-sm mb-2">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<p class="text-gray-600">
Excellent service and beautiful rooms. The staff was very helpful and the location was perfect for my business meetings in Mogadishu.
</p>
</div>
<!-- Review 2 -->
<div class="border-b border-gray-200 pb-4 mb-4">
<div class="flex justify-between mb-2">
<div class="font-medium">Fatima Omar</div>
<div class="text-sm text-gray-500">1 week ago</div>
</div>
<div class="rating-stars text-sm mb-2">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="far fa-star"></i>
</div>
<p class="text-gray-600">
Great hotel with amazing views. The food was delicious and the rooms were very clean. Would definitely stay here again.
</p>
</div>
<button class="text-green-700 font-medium hover:underline">View All Reviews</button>
</div>
</div>
<!-- Booking Sidebar -->
<div class="bg-gray-50 p-6 rounded-lg">
<h4 class="text-xl font-bold text-gray-800 mb-4">Select Your Room</h4>
<!-- Room Type 1 -->
<div class="border-b border-gray-200 pb-4 mb-4">
<h5 class="font-bold text-gray-800 mb-2">Deluxe Room</h5>
<p class="text-gray-600 text-sm mb-3">Spacious room with king-size bed and ocean view</p>
<div class="flex justify-between items-center mb-3">
<div>
<span class="text-green-700 font-bold text-xl">SOS 350,000</span>
<span class="text-gray-500 text-sm">/ night</span>
</div>
<button class="btn-primary text-white px-3 py-1 rounded-md text-sm font-medium">
Select
</button>
</div>
<div class="text-sm text-gray-600">
<div class="flex items-center mb-1">
<i class="fas fa-bed text-green-700 mr-2"></i>
<span>1 King Bed</span>
</div>
<div class="flex items-center mb-1">
<i class="fas fa-user text-green-700 mr-2"></i>
<span>Sleeps 2</span>
</div>
<div class="flex items-center">
<i class="fas fa-ruler-combined text-green-700 mr-2"></i>
<span>35 m²</span>
</div>
</div>
</div>
<!-- Room Type 2 -->
<div class="border-b border-gray-200 pb-4 mb-4">
<h5 class="font-bold text-gray-800 mb-2">Executive Suite</h5>
<p class="text-gray-600 text-sm mb-3">Luxurious suite with separate living area and balcony</p>
<div class="flex justify-between items-center mb-3">
<div>
<span class="text-green-700 font-bold text-xl">SOS 480,000</span>
<span class="text-gray-500 text-sm">/ night</span>
</div>
<button class="btn-primary text-white px-3 py-1 rounded-md text-sm font-medium">
Select
</button>
</div>
<div class="text-sm text-gray-600">
<div class="flex items-center mb-1">
<i class="fas fa-bed text-green-700 mr-2"></i>
<span>1 King Bed</span>
</div>
<div class="flex items-center mb-1">
<i class="fas fa-user text-green-700 mr-2"></i>
<span>Sleeps 3</span>
</div>
<div class="flex items-center">
<i class="fas fa-ruler-combined text-green-700 mr-2"></i>
<span>60 m²</span>
</div>
</div>
</div>
<!-- Room Type 3 -->
<div class="pb-4 mb-4">
<h5 class="font-bold text-gray-800 mb-2">Family Room</h5>
<p class="text-gray-600 text-sm mb-3">Perfect for families with two queen beds</p>
<div class="flex justify-between items-center mb-3">
<div>
<span class="text-green-700 font-bold text-xl">SOS 420,000</span>
<span class="text-gray-500 text-sm">/ night</span>
</div>
<button class="btn-primary text-white px-3 py-1 rounded-md text-sm font-medium">
Select
</button>
</div>
<div class="text-sm text-gray-600">
<div class="flex items-center mb-1">
<i class="fas fa-bed text-green-700 mr-2"></i>
<span>2 Queen Beds</span>
</div>
<div class="flex items-center mb-1">
<i class="fas fa-user text-green-700 mr-2"></i>
<span>Sleeps 4</span>
</div>
<div class="flex items-center">
<i class="fas fa-ruler-combined text-green-700 mr-2"></i>
<span>50 m²</span>
</div>
</div>
</div>
<!-- Selected Room Summary -->
<div class="bg-white p-4 rounded-lg border border-gray-200 mb-4 hidden" id="selectedRoomSummary">
<h5 class="font-bold text-gray-800 mb-2">Deluxe Room</h5>
<div class="flex justify-between mb-2">
<span class="text-gray-600">SOS 350,000 x 2 nights</span>
<span class="text-gray-800">SOS 700,000</span>
</div>
<div class="flex justify-between mb-2">
<span class="text-gray-600">Taxes & Fees</span>
<span class="text-gray-800">SOS 70,000</span>
</div>
<div class="border-t border-gray-200 pt-2 mt-2">
<div class="flex justify-between font-bold">
<span>Total</span>
<span>SOS 770,000</span>
</div>
</div>
</div>
<!-- Booking Form -->
<form id="bookingForm" class="hidden">
<div class="mb-4">
<label for="checkinDate" class="block text-gray-700 text-sm font-medium mb-1">Check-in</label>
<input type="date" id="checkinDate" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500">
</div>
<div class="mb-4">
<label for="checkoutDate" class="block text-gray-700 text-sm font-medium mb-1">Check-out</label>
<input type="date" id="checkoutDate" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500">
</div>
<div class="mb-4">
<label for="guests" class="block text-gray-700 text-sm font-medium mb-1">Guests</label>
<select id="guests" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500">
<option>1 Adult</option>
<option>2 Adults</option>
<option>3 Adults</option>
<option>4 Adults</option>
<option>1 Adult, 1 Child</option>
<option>2 Adults, 1 Child</option>
<option>2 Adults, 2 Children</option>
</select>
</div>
<!-- Personal Information Fields -->
<div class="mt-6 mb-4">
<h5 class="font-bold text-gray-800 mb-3">Personal Information</h5>
<div class="mb-4">
<label for="fullName" class="block text-gray-700 text-sm font-medium mb-1">Full Name</label>
<input type="text" id="fullName" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700 text-sm font-medium mb-1">Email Address</label>
<input type="email" id="email" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div class="mb-4">
<label for="phone" class="block text-gray-700 text-sm font-medium mb-1">Phone Number</label>
<input type="tel" id="phone" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" required>
</div>
<div class="mb-4">
<label for="address" class="block text-gray-700 text-sm font-medium mb-1">Address</label>
<textarea id="address" rows="2" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500"></textarea>
</div>
<div class="mb-4">
<label for="specialRequests" class="block text-gray-700 text-sm font-medium mb-1">Special Requests</label>
<textarea id="specialRequests" rows="2" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500"></textarea>
</div>
</div>
<button type="submit" class="w-full btn-primary text-white py-2 px-4 rounded-md font-medium">
Complete Booking
</button>
</form>
<!-- Book Now Button (shown when no room selected) -->
<button id="showBookingForm" class="w-full btn-primary text-white py-3 px-4 rounded-md font-medium hidden">
Book Now
</button>
<!-- Need Help -->
<div class="mt-6 text-center">
<p class="text-gray-600 text-sm">Need help with your booking?</p>
<div class="flex justify-center mt-2">
<i class="fas fa-phone text-green-700 mr-2"></i>
<span class="text-green-700 font-medium">+252 61 123 4567</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Tab Switching
const hotelsTab = document.getElementById('hotelsTab');
const apartmentsTab = document.getElementById('apartmentsTab');
const guestHousesTab = document.getElementById('guestHousesTab');
function setActiveTab(activeTab) {
[hotelsTab, apartmentsTab, guestHousesTab].forEach(tab => {
tab.classList.remove('tab-active');
tab.classList.add('tab-inactive');
});
activeTab.classList.add('tab-active');
activeTab.classList.remove('tab-inactive');
// In a real app, you would update the search results here
console.log(`Showing ${activeTab.textContent.trim()} results`);
}
hotelsTab.addEventListener('click', () => setActiveTab(hotelsTab));
apartmentsTab.addEventListener('click', () => setActiveTab(apartmentsTab));
guestHousesTab.addEventListener('click', () => setActiveTab(guestHousesTab));
// Language Toggle
const toggleLanguage = document.getElementById('toggleLanguage');
const currentLanguage = document.getElementById('currentLanguage');
let isEnglish = true;
toggleLanguage.addEventListener('click', () => {
isEnglish = !isEnglish;
currentLanguage.textContent = isEnglish ? 'English' : 'Somali';
// Here you would typically reload content in the selected language
// For this demo, we're just toggling the display text
});
// Modal Handling
const loginBtn = document.getElementById('loginBtn');
const registerBtn = document.getElementById('registerBtn');
const loginModal = document.getElementById('loginModal');
const registerModal = document.getElementById('registerModal');
const closeLoginModal = document.getElementById('closeLoginModal');
const closeRegisterModal = document.getElementById('closeRegisterModal');
const switchToRegister = document.getElementById('switchToRegister');
const switchToLogin = document.getElementById('switchToLogin');
loginBtn.addEventListener('click', () => {
loginModal.classList.remove('hidden');
registerModal.classList.add('hidden');
});
registerBtn.addEventListener('click', () => {
registerModal.classList.remove('hidden');
loginModal.classList.add('hidden');
});
closeLoginModal.addEventListener('click', () => {
loginModal.classList.add('hidden');
});
closeRegisterModal.addEventListener('click', () => {
registerModal.classList.add('hidden');
});
switchToRegister.addEventListener('click', () => {
registerModal.classList.remove('hidden');
loginModal.classList.add('hidden');
});
switchToLogin.addEventListener('click', () => {
loginModal.classList.remove('hidden');
registerModal.classList.add('hidden');
});
// Close modals when clicking outside
window.addEventListener('click', (e) => {
if (e.target === loginModal) {
loginModal.classList.add('hidden');
}
if (e.target === registerModal) {
registerModal.classList.add('hidden');
}
if (e.target === hotelDetailsModal) {
hotelDetailsModal.classList.add('hidden');
}
});
// Hotel Details Modal
const hotelDetailsModal = document.getElementById('hotelDetailsModal');
const closeHotelModal = document.getElementById('closeHotelModal');
const bookNowButtons = document.querySelectorAll('.hotel-card button');
const showBookingForm = document.getElementById('showBookingForm');
const selectedRoomSummary = document.getElementById('selectedRoomSummary');
const bookingForm = document.getElementById('bookingForm');
bookNowButtons.forEach(button => {
button.addEventListener('click', () => {
hotelDetailsModal.classList.remove('hidden');
});
});
closeHotelModal.addEventListener('click', () => {
hotelDetailsModal.classList.add('hidden');
});
// Room selection
const roomSelectButtons = document.querySelectorAll('.bg-gray-50 button');
roomSelectButtons.forEach(button => {
button.addEventListener('click', (e) => {
e.preventDefault();
const roomType = e.target.closest('div').querySelector('h5').textContent;
const roomPrice = e.target.closest('div').querySelector('.text-green-700').textContent;
// Update selected room summary
selectedRoomSummary.querySelector('h5').textContent = roomType;
selectedRoomSummary.querySelectorAll('span')[1].textContent = roomPrice;
// Show summary and booking form
selectedRoomSummary.classList.remove('hidden');
bookingForm.classList.remove('hidden');
showBookingForm.classList.add('hidden');
});
});
// Form Submissions
document.getElementById('loginForm').addEventListener('submit', (e) => {
e.preventDefault();
alert('Login functionality would be implemented here');
loginModal.classList.add('hidden');
});
document.getElementById('registerForm').addEventListener('submit', (e) => {
e.preventDefault();
alert('Registration functionality would be implemented here');
registerModal.classList.add('hidden');
});
document.getElementById('bookingForm').addEventListener('submit', (e) => {
e.preventDefault();
const bookingData = {
roomType: selectedRoomSummary.querySelector('h5').textContent,
price: selectedRoomSummary.querySelectorAll('span')[1].textContent,
checkin: document.getElementById('checkinDate').value,
checkout: document.getElementById('checkoutDate').value,
guests: document.getElementById('guests').value,
fullName: document.getElementById('fullName').value,
email: document.getElementById('email').value,
phone: document.getElementById('phone').value,
address: document.getElementById('address').value,
specialRequests: document.getElementById('specialRequests').value
};
// In a real app, you would send this data to your backend
console.log('Booking submitted:', bookingData);
alert(`Booking confirmed for ${bookingData.fullName}!\nWe've sent details to ${bookingData.email}`);
hotelDetailsModal.classList.add('hidden');
});
document.getElementById('searchForm').addEventListener('submit', (e) => {
e.preventDefault();
const city = document.getElementById('city').value;
const checkin = document.getElementById('checkin').value;
const checkout = document.getElementById('checkout').value;
if (!city || !checkin || !checkout) {
alert('Please fill in all search fields');
return;
}
// Hide all hotels first
document.querySelectorAll('.hotel-card').forEach(card => {
card.style.display = 'none';
});
// Show only hotels in selected city
const matchingHotels = document.querySelectorAll(`.hotel-card[data-city="${city}"]`);
if (matchingHotels.length > 0) {
matchingHotels.forEach(hotel => {
hotel.style.display = 'block';
});
// Scroll to hotels section
document.getElementById('hotels').scrollIntoView({
behavior: 'smooth'
});
} else {
alert(`No hotels found in ${city}`);
// Show all hotels if none match
document.querySelectorAll('.hotel-card').forEach(card => {
card.style.display = 'block';
});
}
});
// Navigation Smooth Scrolling
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
targetElement.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Back to Top Button
const backToTopBtn = document.getElementById('backToTopBtn');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopBtn.classList.remove('hidden');
} else {
backToTopBtn.classList.add('hidden');
}
});
backToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Mobile menu toggle (would be implemented with more time)
// Date picker initialization (would use a library like flatpickr in a real implementation)
const today = new Date();
const tomorrow = new Date(today);
tomorrow.setDate(tomorrow.getDate() + 1);
document.getElementById('checkin').valueAsDate = today;
document.getElementById('checkout').valueAsDate = tomorrow;
document.getElementById('checkinDate').valueAsDate = today;
document.getElementById('checkoutDate').valueAsDate = tomorrow;
</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=Mucatt/https-enzostvs-deepsite-hf-space-projects-new" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |