-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiking.html
1886 lines (1668 loc) · 105 KB
/
hiking.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">
<title>Mafoy africa Safaris | Luxury Safari Experience</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f8f8f8;
color: #333;
line-height: 1.6;
}
/* Header Section */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
color: #ffffff; /* White text */
background-color: #007bff; /* Blue background for the header */
width: 100%; /* Ensure the blue color covers the entire width */
position: relative; /* Positioning for menu button inside header */
}
/* Logo */
.logo {
display: flex;
align-items: center;
color: #333; /* Black color for logo text */
background-color: #ffffff; /* White background for logo in mobile view */
padding: 10px 20px;
border-radius: 5px;
}
.logo img {
width: 50px;
margin-right: 10px;
}
.logo span {
font-size: 1.4rem;
font-weight: bold;
}
/* Mobile Menu Button */
.menu-btn {
display: flex;
cursor: pointer;
flex-direction: column;
gap: 5px;
position: absolute; /* Position absolutely inside the header */
right: 20px; /* Align the button to the right inside the header */
background-color: transparent; /* No background for the button itself */
padding: 10px; /* Add padding to make button area clickable */
}
.menu-btn div {
width: 30px;
height: 4px;
background-color: #ffffff; /* White color for mobile menu lines */
}
/* Mobile Navigation */
.mobile-nav {
display: none;
flex-direction: column;
background-color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 100%;
}
.mobile-nav.active {
display: flex;
}
.mobile-nav ul {
list-style: none;
width: 100%;
padding: 0;
}
.mobile-nav ul li {
width: 100%;
}
.mobile-nav ul li a {
display: block;
text-align: center;
text-decoration: none;
font-size: 1.1rem;
font-weight: 700;
text-transform: uppercase;
color: #333;
padding: 15px;
border-bottom: 1px solid #ddd;
transition: background-color 0.3s, color 0.3s;
}
.mobile-nav ul li a:hover {
background-color: #f4f4f4;
color: #007bff; /* Blue color on hover */
}
/* Desktop View */
@media (min-width: 769px) {
header {
padding: 10px 5%;
display: flex;
justify-content: space-between; /* Align logo and menu at opposite ends */
align-items: center;
}
.menu-btn {
display: none;
}
/* Hide Menu Text in desktop view */
.menu-text {
display: none;
}
/* Align the navigation to the right */
header nav {
margin-left: auto; /* Push navigation to the right */
}
header nav ul {
display: flex;
list-style: none;
gap: 20px;
}
header nav ul li {
position: relative;
}
header nav ul li a {
text-decoration: none;
color: #ffffff; /* White text for navigation items */
font-weight: 600;
transition: color 0.3s;
}
header nav ul li a:hover {
color: #e6a400; /* Gold color on hover */
}
/* Dropdown Styling */
.dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: white;
min-width: 200px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
/* Show the dropdown when hovering over the parent */
header nav ul li:hover .dropdown {
display: block;
}
.dropdown li {
width: 100%;
}
.dropdown a {
display: block;
padding: 10px 15px;
color: #333;
}
.dropdown a:hover {
background-color: #f4f4f4;
}
/* Update logo background to blue for desktop view */
.logo {
background-color: #007bff; /* Blue background for logo on desktop */
color: white; /* White text color for logo text */
}
.logo img {
width: 50px; /* Adjust logo size */
margin-right: 10px;
}
.logo span {
font-size: 1.6rem; /* Increase font size for better visibility */
font-weight: bold;
}
}
/* Mobile Specific Adjustments */
@media (max-width: 768px) {
/* Make the entire header section blue on mobile */
header {
display: block;
padding: 0; /* Remove default padding */
background-color: #007bff; /* Blue background for the entire header */
width: 100%; /* Make the blue background cover the entire width */
}
/* Logo on top of the header in mobile view with full-width blue background */
.logo {
display: flex;
justify-content: center;
align-items: center;
width: 100%; /* Full-width */
background-color: #ffffff; /* White background for logo part */
padding: 30px 0; /* Increased padding for larger header */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}
.logo img {
width: 60px; /* Adjust logo size */
margin-right: 10px;
}
.logo span {
font-size: 1.6rem; /* Increase font size for better visibility */
font-weight: bold;
}
/* Header section with mobile menu icon */
header nav {
display: none; /* Hidden by default */
}
/* Mobile Navigation visible when active */
.mobile-nav.active {
display: flex;
}
/* "Menu" Text */
.menu-text {
color: white;
font-size: 1.4rem;
font-weight: bold;
margin-left: 20px;
}
/* Dropdown menu visibility when "Tours" is clicked */
.mobile-nav ul li .dropdown {
display: none;
}
.mobile-nav ul li.active .dropdown {
display: block;
}
}
</style>
</head>
<body>
<!-- Header with Navigation -->
<header>
<!-- Logo (Visible in both mobile and desktop but different positioning) -->
<div class="logo">
<img src="mafoy2.jpg.png" alt="Mafoy africa Safaris">
<span>Mafoy africa Safaris</span>
</div>
<!-- Mobile Menu Button and "Menu" Text -->
<div class="menu-btn" onclick="toggleMobileMenu()">
<div></div>
<div></div>
<div></div>
</div>
<span class="menu-text">Menu</span> <!-- Menu Text added here -->
<!-- Desktop Navigation -->
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="destinations.html">Destinations</a></li>
<li class="tour-item">
<a href="tours.html" onclick="toggleDropdown(event)">Tours</a>
<ul class="dropdown">
<li><a href="day-trips.html">Day Trip Packages</a></li>
<li><a href="budget-tours.html">Budget Tour Packages</a></li>
<li><a href="midrange-tours.html">Midrange Tour Packages</a></li>
<li><a href="luxury-tours.html">Luxury Tour Packages</a></li>
<li><a href="hiking.html">Hiking Packages</a></li>
<li><a href="zanzibar-holidays.html">Zanzibar Holidays Packages</a></li>
</ul>
</li>
<li><a href="about us.html">Testimonials</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<!-- Mobile Navigation -->
<nav class="mobile-nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="destinations.html">Destinations</a></li>
<li class="tour-item">
<a href="tours.html" onclick="toggleDropdown(event)">Tours</a>
<ul class="dropdown">
<li><a href="day-trips.html">Day Trip Packages</a></li>
<li><a href="budget-tours.html">Budget Tour Packages</a></li>
<li><a href="midrange-tours.html">Midrange Tour Packages</a></li>
<li><a href="luxury-tours.html">Luxury Tour Packages</a></li>
<li><a href="hiking.html">Hiking Packages</a></li>
<li><a href="zanzibar-holidays.html">Zanzibar Holidays Packages</a></li>
</ul>
</li>
<li><a href="about us.html">About us</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<script>
// Toggle Mobile Menu
function toggleMobileMenu() {
document.querySelector('.mobile-nav').classList.toggle('active');
}
// Toggle Dropdown for "Tours"
function toggleDropdown(event) {
event.preventDefault();
const parentLi = event.target.parentElement;
parentLi.classList.toggle('active');
}
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Safari Packages | Tanzania Adventures</title>
<style>
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
}
/* Main Content */
.main-content {
margin-top: 0px;
/* Reduced top margin */
padding: 1rem;
/* Reduced padding */
max-width: 100%;
margin-left: 0;
margin-right: 0;
display: flex;
flex-direction: column;
align-items: center;
opacity: 0;
animation: fadeIn 1s forwards;
}
/* Safari Packages Grid */
.packages-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
/* Exactly 4 columns on desktop */
gap: 1.5rem;
/* Reduced gap between items */
width: 100%;
margin-top: 1.5rem;
/* Reduced margin-top */
justify-items: stretch;
}
/* Package Card */
.package-card {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
opacity: 0;
animation: fadeInUp 0.8s forwards;
}
.package-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/* Package Image */
.package-image {
width: 100%;
height: 180px;
/* Adjusted height for better spacing */
object-fit: cover;
/* Ensure the image covers the container without stretching */
transition: transform 0.3s ease, opacity 0.3s ease;
}
.package-card:hover .package-image {
transform: scale(1.05);
opacity: 0.8;
}
.package-content {
padding: 1rem;
/* Reduced padding */
}
.package-title {
font-size: 1.4rem;
/* Slightly smaller font size */
color: #2c3e50;
margin-bottom: 0.3rem;
/* Reduced bottom margin */
opacity: 0;
animation: fadeInUp 1s 0.2s forwards;
}
/* Responsive Font Size Adjustments */
@media (max-width: 1200px) {
.package-title {
font-size: 1.3rem;
}
}
@media (max-width: 992px) {
.package-title {
font-size: 1.2rem;
}
}
@media (max-width: 768px) {
.package-title {
font-size: 1.1rem;
}
}
@media (max-width: 480px) {
.package-title {
font-size: 1rem;
}
}
.package-details {
margin-bottom: 0.5rem;
/* Reduced margin-bottom */
color: #666;
opacity: 0;
animation: fadeInUp 1s 0.4s forwards;
}
.package-price {
font-weight: bold;
color: #2c3e50;
font-size: 1.1rem;
/* Reduced font size */
margin-bottom: 0.8rem;
/* Reduced margin-bottom */
opacity: 0;
animation: fadeInUp 1s 0.6s forwards;
}
.view-details-btn {
display: inline-block;
padding: 0.8rem 1.5rem;
/* Adjusted padding */
background-color: #0099ff;
color: #fff;
text-decoration: none;
border-radius: 6px;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
font-weight: 500;
text-align: center;
width: 100%;
box-sizing: border-box;
margin-top: 1rem;
font-size: 1.1rem;
}
.view-details-btn:hover {
background-color: #2980b9;
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 10%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 2000;
}
.modal.active {
display: block;
animation: fadeInModal 0.5s forwards;
}
.modal-content {
position: relative;
background-color: #fff;
width: 100%;
max-width: 10000px;
margin: 2rem auto;
border-radius: 12px;
max-height: 90vh;
overflow: hidden;
display: flex;
flex-direction: column;
opacity: 0;
animation: fadeInUp 1s forwards;
}
.modal-header {
padding: 1rem;
/* Reduced padding */
background-color: #3498db;
border-bottom: 1px solid #dee2e6;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-title {
font-size: 1.4rem;
/* Slightly smaller font size */
color: #fff;
}
.close-modal {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #fff;
padding: 0.5rem;
}
.close-modal:hover {
color: #f8f9fa;
}
.modal-body {
display: flex;
height: calc(100vh - 140px);
opacity: 0;
animation: fadeInUp 1s 0.3s forwards;
}
.modal-sidebar {
width: 250px;
background-color: #f8f9fa;
border-right: 1px solid #dee2e6;
padding: 1rem;
overflow-y: auto;
overflow-x: auto;
}
.modal-nav {
list-style: none;
}
.modal-nav-item {
margin-bottom: 0.5rem;
}
.modal-nav-link {
display: block;
padding: 0.8rem 1rem;
color: #666;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
}
.modal-nav-link:hover,
.modal-nav-link.active {
background-color: #3498db;
color: #fff;
}
.modal-main {
flex: 1;
padding: 1rem;
/* Reduced padding */
overflow-y: auto;
}
.tab-content {
display: none; /* Initially hidden */
padding: 20px; /* Padding for spacing inside the container */
background-color: #ffffff; /* Clean white background for maximum contrast */
border: 1px solid #dcdcdc; /* Subtle border for structure */
border-radius: 8px; /* Smooth rounded corners */
font-size: 18px; /* Larger font size for readability */
line-height: 1.8; /* Comfortable line spacing */
color: #1a1a1a; /* Very dark gray text for excellent contrast */
text-align: justify; /* Ensure text fills the width evenly */
word-wrap: break-word; /* Prevent long words from breaking the layout */
width: 100%; /* Ensure the content spans the full width of the container */
box-sizing: border-box; /* Include padding and border in the element's width */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
/* Display content when active */
.tab-content.active {
display: block; /* Show content */
animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
}
/* Styling for itinerary headings */
.itinerary-day h4 {
font-size: 1.4rem; /* Professional and legible font size */
color: #004080; /* Deep blue color for a clean and modern look */
margin-bottom: 0.5rem; /* Space below heading for separation */
font-weight: 600; /* Slightly bold for emphasis */
text-transform: uppercase; /* Uppercase for a structured appearance */
}
/* Fade-in animation for smooth transitions */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Adjustments for larger desktop screens */
@media (min-width: 1024px) {
.tab-content {
font-size: 20px; /* Slightly larger text for desktop */
padding: 25px; /* More padding for a spacious look */
line-height: 2; /* Increase line spacing for better readability */
}
.itinerary-day h4 {
font-size: 1.6rem; /* Slightly larger heading size for desktop */
}
}
/* Adjustments for mobile devices */
@media (max-width: 768px) {
.tab-content {
font-size: 16px; /* Slightly smaller font for mobile */
padding: 15px; /* Compact padding for smaller screens */
}
.itinerary-day h4 {
font-size: 1.2rem; /* Adjust heading size for smaller screens */
}
}
.tab-content.active {
display: block;
}
.tab-content img {
width: 100% !important;
height: 50px !important;
object-fit: cover !important;
border-radius: 0px;
margin-bottom: 0rem;
animation: fadeInImage 1s ease-in-out;
height: fit-content;
}
.back-to-packages {
display: inline-block;
padding: 0.8rem 1.5rem;
background-color: #1471cd;
color: #fff;
text-decoration: none;
border-radius: 6px;
margin-top: 1.5rem;
transition: background-color 0.3s ease;
height: fit-content;
}
.back-to-packages:hover {
background-color: #34495e;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInModal {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInImage {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Responsive Design */
@media (max-width: 1200px) {
.packages-grid {
grid-template-columns: repeat(3, 1fr);
/* 3 columns for medium screens */
}
}
@media (max-width: 992px) {
.packages-grid {
grid-template-columns: repeat(2, 1fr);
/* 2 columns for tablet */
}
}
@media (max-width: 768px) {
.main-content {
padding: 1rem;
}
.packages-grid {
grid-template-columns: 1fr;
/* Single column for mobile */
}
.package-card {
margin-bottom: 1rem;
}
.package-image {
height: 150px;
/* Resize image for mobile */
}
.modal-body {
flex-direction: column;
}
.modal-sidebar {
width: 100%;
max-height: fit-content;
border-right: none;
border-bottom: 1px solid #dee2e6;
}
.modal-nav {
display: flex;
overflow-x: auto;
padding-bottom: 0.5rem;
gap: 0rem;
min-height: fit-content;
overflow-y: auto;
}
.modal-nav-item {
flex: 0 0 auto;
margin-bottom: 0;
}
.modal-nav-link {
white-space: nowrap;
padding: 0.5rem 1rem;
}
.modal-main {
height: calc(90vh - 250px);
}
.nav-menu {
display: none;
}
}
@media (max-width: 400px) {
.package-card {
margin-bottom: 1rem;
}
.modal-content {
width: 100%;
margin: 0rem auto;
}
.modal-header {
padding: 0rem;
}
.modal-title {
font-size: 0.2rem;
}
h1 {
font-size: 0.0rem;
}
}
/* Modal Full-Screen View */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
/* Slightly darker overlay for emphasis */
overflow: auto;
padding: 2rem;
box-sizing: border-box;
}
.modal-content {
margin: auto;
background-color: #fff;
border-radius: 10px;
width: 100%;
max-width: 1600px;
/* Larger maximum width */
height: 100%;
/* Take up more screen height */
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
/* Deeper shadow for more prominence */
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.0rem rem;
background-color: hwb(210 16% 0%);
/* Darker blue for contrast */
color: #fff;
font-size: 4rem;
/* Larger font size */
font-weight: bold;
}
General Style for .modal */
.modal {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 10vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
overflow: hidden; /* Prevent scrolling */
overflow: visible;
}
/* General Style for .modal-content */
.modal-content {
background-color: #fff;
border-radius: 10px;
width: 100%;
max-width: 1600px; /* Larger maximum width for desktops */
height: auto; /* Default height */
display: flex;
flex-direction: column;
box-sizing: border-box; /* Ensures padding/border are included in dimensions */
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Shadow for prominence */
}
/* Mobile View (Small Screens) */
@media (max-width: 768px) {
.modal {
padding: 0; /* Remove any internal padding */
}
.modal-content {
width: 100vw; /* Full viewport width */
height: 100vh; /* Full viewport height */
border-radius: 0; /* Remove rounded corners */
margin: 0; /* Remove margins */
padding: 0; /* Remove padding */
box-shadow: none; /* Remove shadow for fullscreen */
}
}
/* Disable body scrolling when modal is open */
body.modal-open {
overflow: hidden;
}
.modal-sidebar {
flex: 0 0 25%; /* Reduced width for a sleek, modern look */
background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Minimalist soft gradient */
padding: 1rem; /* Balanced padding */
overflow-y: auto;
border-right: 1px solid #e5e5e5; /* Subtle border for separation */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Soft shadow for a floating effect */
border-radius: 12px; /* Rounded corners for a modern aesthetic */
color: #2b2b2b; /* Neutral dark text color */
font-family: 'Inter', sans-serif; /* Clean and modern font */
font-size: 0.95rem; /* Comfortable font size */
transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
overflow-x: auto;
}
/* Sidebar Navigation Styles */
.modal-nav {
list-style: none;
padding: 0;
margin: 0;
}
.modal-nav-item {
margin-bottom: 0.8rem; /* Clean spacing between items */
}
.modal-nav-link {
display: block;
padding: 0.8rem 1rem; /* Balanced padding for a clean look */
text-decoration: none;
color: #4a4a4a; /* Subtle dark gray for links */
background-color: #fdfdfd; /* Crisp white background */
border: 1px solid #e5e5e5; /* Subtle border for structure */
border-radius: 8px; /* Modern rounded corners */
font-weight: 500; /* Medium font weight for clarity */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Light shadow for depth */
transition: all 0.3s ease; /* Smooth transitions for hover effects */
font-size: 0.9rem; /* Sleek, slightly smaller text */
}
.modal-nav-link:hover {
background: linear-gradient(135deg, #007bff, #0056b3); /* Gradient hover effect */
color: #ffffff; /* White text on hover */
border-color: #0056b3; /* Accent border */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
transform: translateY(-3px); /* Lift effect */
}
.modal-nav-link.active {