-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
687 lines (621 loc) · 43.8 KB
/
index.html
File metadata and controls
687 lines (621 loc) · 43.8 KB
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
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Clouds End Resort | Kakkadampoyil</title>
<meta name="description" content="Experience the serenity of Western Ghats at Clouds End Resort, Kakkadampoyil. Luxury cottages, infinity pool, and breathtaking views.">
<!-- 1. TAILWIND CSS CDN -->
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<!-- 2. TAILWIND CONFIGURATION -->
<style type="text/tailwindcss">
@theme {
/* Colors */
--color-brand-green: #1a472a;
--color-brand-light: #e8f5e9;
--color-brand-gold: #c5a059;
--color-brand-dark: #0f291e;
/* Fonts */
--font-serif: "Playfair Display", serif;
--font-sans: "Inter", sans-serif;
}
</style>
<!-- Google Fonts -->
<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=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
<!-- FontAwesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- AOS Animation Library -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<!-- BEHOLD.SO WIDGET SCRIPT -->
<script src="https://w.behold.so/widget.js" type="module"></script>
<style>
/* Custom Standard CSS */
.hero-bg {
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('./files/hero.jpg');
background-size: cover;
background-position: center;
}
.glass-nav {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.text-shadow {
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Testimonial Transition */
.testimonial-slide {
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
opacity: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
pointer-events: none;
transform: translateY(20px);
}
.testimonial-slide.active {
opacity: 1;
position: relative;
pointer-events: auto;
transform: translateY(0);
}
/* Fix for AOS causing horizontal overflow */
html, body {
overflow-x: hidden;
width: 100%;
position: relative;
}
</style>
</head>
<body class="font-sans text-gray-700 antialiased selection:bg-brand-green selection:text-white overflow-x-hidden">
<!-- Navigation -->
<nav id="navbar" class="fixed w-full z-50 transition-all duration-300 py-4 bg-transparent text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center">
<!-- Logo -->
<a href="#" class="flex items-center gap-2 group">
<div class="w-10 h-10 rounded-full flex items-center justify-center text-brand-dark">
<img src="./files/logo.png" alt="Logo" class="w-full h-full object-contain">
</div>
<div class="flex flex-col">
<span class="font-serif text-2xl font-bold tracking-wide leading-none group-hover:text-brand-gold transition-colors">CLOUDS END</span>
<span class="text-[10px] tracking-[0.2em] uppercase opacity-90">Resort</span>
</div>
</a>
<!-- Desktop Menu -->
<div class="hidden md:flex items-center space-x-8 text-sm font-medium tracking-wide">
<a href="#home" class="hover:text-brand-gold transition-colors">HOME</a>
<a href="#about" class="hover:text-brand-gold transition-colors">ABOUT</a>
<a href="#rooms" class="hover:text-brand-gold transition-colors">STAY</a>
<a href="#amenities" class="hover:text-brand-gold transition-colors">EXPERIENCES</a>
<a href="gallery.html" class="hover:text-brand-gold transition-colors">GALLERY</a>
<a href="#journal" class="hover:text-brand-gold transition-colors">BLOG</a>
<button onclick="bookNowWhatsApp()" class="px-5 py-2.5 bg-brand-gold text-white hover:bg-white hover:text-brand-green transition-all duration-300 rounded-sm">BOOK NOW</button>
</div>
<!-- Mobile Menu Button (2 Stripes) -->
<div class="md:hidden">
<button id="mobile-menu-btn" class="focus:outline-none p-2">
<svg class="w-8 h-8" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 8.5H20M4 15.5H20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero-bg min-h-screen flex flex-col items-center justify-center relative pt-32 pb-20 md:pb-40 z-30">
<div class="absolute inset-0 bg-gradient-to-b from-black/30 via-transparent to-black/60"></div>
<div class="relative z-10 text-center text-white px-4 max-w-4xl mx-auto w-full" data-aos="fade-up" data-aos-duration="1200">
<p class="text-brand-gold uppercase tracking-[0.3em] text-sm md:text-base mb-4 font-semibold">Welcome to Paradise</p>
<h1 class="font-serif text-4xl md:text-7xl lg:text-8xl font-bold mb-6 text-shadow leading-tight">
Above The <br/><span class="italic text-brand-gold">Clouds</span>
</h1>
<p class="text-lg md:text-xl font-light max-w-2xl mx-auto mb-10 opacity-90 leading-relaxed">
Escape to the Western Ghats. Rejuvenate yourself and indulge in the breathtaking beauty of nature at Kakkadampoyil.
</p>
<div class="hidden md:flex flex-row gap-4 justify-center items-center">
<button onclick="document.getElementById('rooms').scrollIntoView()" class="px-8 py-4 border border-white text-white hover:bg-white hover:text-brand-green transition-all duration-300 uppercase tracking-widest text-xs font-bold w-full md:w-auto">
View Rooms
</button>
<div class="w-12 h-[1px] bg-white hidden md:block"></div>
<button onclick="document.getElementById('contact').scrollIntoView()" class="px-8 py-4 bg-brand-gold text-white hover:bg-brand-green transition-all duration-300 uppercase tracking-widest text-xs font-bold w-full md:w-auto border border-brand-gold">
Contact Us
</button>
</div>
</div>
<!-- Booking Widget -->
<div class="relative z-20 -mt-16 mx-4 w-[calc(100%-2rem)] md:absolute md:-bottom-12 md:left-0 md:right-0 md:mt-0 md:mx-auto max-w-5xl bg-white shadow-2xl rounded-sm p-6 md:p-8 grid grid-cols-1 md:grid-cols-4 gap-4 items-end border-t-4 border-brand-gold" data-aos="fade-up" data-aos-delay="400">
<div>
<label class="block text-xs uppercase tracking-wider text-gray-500 mb-1">Check In</label>
<input type="date" id="booking-checkin" class="w-full p-2 border-b border-gray-300 focus:border-brand-green outline-none text-brand-green font-medium bg-transparent">
</div>
<div>
<label class="block text-xs uppercase tracking-wider text-gray-500 mb-1">Check Out</label>
<input type="date" id="booking-checkout" class="w-full p-2 border-b border-gray-300 focus:border-brand-green outline-none text-brand-green font-medium bg-transparent">
</div>
<div>
<label class="block text-xs uppercase tracking-wider text-gray-500 mb-1">Guests</label>
<select id="booking-guests" class="w-full p-2 border-b border-gray-300 focus:border-brand-green outline-none text-brand-green font-medium bg-transparent">
<option value="2 Adults">2 Adults</option>
<option value="2 Adults, 1 Child">2 Adults, 1 Child</option>
<option value="4 Adults">4 Adults</option>
<option value="Family Group">Family Group</option>
<option value="Large Group">Large Group</option>
</select>
</div>
<button onclick="sendWhatsAppInquiry()" class="w-full bg-brand-green text-white py-3 hover:bg-brand-dark transition-colors font-medium rounded-sm">
CHECK AVAILABILITY
</button>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-24 md:py-32 bg-brand-light">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-16 items-center">
<div data-aos="fade-right">
<div class="relative">
<div class="absolute -top-4 -left-4 w-24 h-24 bg-brand-gold/20 rounded-full z-0"></div>
<img src="./files/story-horizontal.jpg" alt="Resort View" class="relative z-10 w-full rounded-sm shadow-xl grayscale hover:grayscale-0 transition-all duration-700">
<div class="absolute -bottom-6 -right-6 w-1/2">
<img src="./files/story-vertical.jpeg" alt="Pool Detail" class="w-full rounded-sm shadow-lg border-4 border-white">
</div>
</div>
</div>
<div data-aos="fade-left">
<span class="text-brand-green font-bold tracking-widest text-xs uppercase mb-2 block">Our Story</span>
<h2 class="font-serif text-4xl md:text-5xl text-brand-dark mb-6 leading-tight">A Sanctuary in the <br/>Western Ghats</h2>
<p class="text-gray-600 mb-6 leading-relaxed">
Clouds End is designed with an imaginative insight into the world of comfort and happiness. Located in the misty heights of Kakkadampoyil, we offer more than just a stay—we offer an experience.
</p>
<div class="grid grid-cols-2 gap-6 mb-8 mt-8">
<div class="flex items-center gap-3">
<i class="fa-solid fa-mountain-sun text-brand-gold text-2xl"></i>
<span class="text-sm font-medium text-brand-dark">Mountain Views</span>
</div>
<div class="flex items-center gap-3">
<i class="fa-solid fa-leaf text-brand-gold text-2xl"></i>
<span class="text-sm font-medium text-brand-dark">Eco-Friendly</span>
</div>
<div class="flex items-center gap-3">
<i class="fa-solid fa-water text-brand-gold text-2xl"></i>
<span class="text-sm font-medium text-brand-dark">Infinity Pool</span>
</div>
<div class="flex items-center gap-3">
<i class="fa-solid fa-wifi text-brand-gold text-2xl"></i>
<span class="text-sm font-medium text-brand-dark">Free Wi-Fi</span>
</div>
</div>
<a href="#amenities" class="inline-block border-b-2 border-brand-green text-brand-green pb-1 hover:text-brand-gold hover:border-brand-gold transition-colors font-medium">
Discover More Amenities
</a>
</div>
</div>
</div>
</section>
<!-- Accommodations -->
<section id="rooms" class="py-24 bg-white relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16" data-aos="fade-up">
<span class="text-brand-gold font-bold tracking-widest text-xs uppercase mb-2 block">Accommodations</span>
<h2 class="font-serif text-4xl md:text-5xl text-brand-dark mb-4">Stay in Nature</h2>
<div class="w-24 h-1 bg-brand-green mx-auto"></div>
</div>
<div class="relative group">
<!-- Buttons -->
<button id="room-prev-btn" class="absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 z-20 w-12 h-12 bg-white/90 backdrop-blur-sm rounded-full shadow-xl flex items-center justify-center text-brand-dark hover:bg-brand-gold hover:text-white transition-all opacity-0 group-hover:opacity-100 hidden md:flex">
<i class="fa-solid fa-chevron-left"></i>
</button>
<button id="room-next-btn" class="absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 z-20 w-12 h-12 bg-white/90 backdrop-blur-sm rounded-full shadow-xl flex items-center justify-center text-brand-dark hover:bg-brand-gold hover:text-white transition-all opacity-0 group-hover:opacity-100 hidden md:flex">
<i class="fa-solid fa-chevron-right"></i>
</button>
<!-- Scroll Container -->
<div id="rooms-container" class="flex overflow-x-auto gap-8 pb-10 snap-x snap-mandatory hide-scrollbar px-4 scroll-smooth">
<!-- Javascript will inject rooms here -->
</div>
</div>
<!-- Pagination Dots -->
<div id="room-dots" class="flex justify-center gap-2 mt-2"></div>
</div>
</section>
<!-- Amenities Parallax -->
<section id="amenities" class="py-24 relative bg-brand-dark text-white overflow-hidden">
<div class="absolute top-0 right-0 w-96 h-96 bg-brand-green rounded-full blur-[100px] opacity-20"></div>
<div class="absolute bottom-0 left-0 w-96 h-96 bg-brand-gold rounded-full blur-[100px] opacity-10"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-16">
<div>
<span class="text-brand-gold font-bold tracking-widest text-xs uppercase mb-2 block">Our Amenities</span>
<h2 class="font-serif text-4xl md:text-5xl mb-8 leading-tight">Designed for <br/>Your Comfort</h2>
<ul class="space-y-6">
<li class="flex items-start gap-4">
<div class="w-12 h-12 rounded-full bg-white/10 flex items-center justify-center text-brand-gold flex-shrink-0"><i class="fa-solid fa-person-swimming text-xl"></i></div>
<div><h4 class="font-serif text-xl mb-1">Infinity Pool</h4><p class="text-sm text-gray-400">Soak in the views of the valley from our edge-less pool.</p></div>
</li>
<li class="flex items-start gap-4">
<div class="w-12 h-12 rounded-full bg-white/10 flex items-center justify-center text-brand-gold flex-shrink-0"><i class="fa-solid fa-fire text-xl"></i></div>
<div><h4 class="font-serif text-xl mb-1">Campfire & BBQ</h4><p class="text-sm text-gray-400">Evening gatherings under the starry sky.</p></div>
</li>
<li class="flex items-start gap-4">
<div class="w-12 h-12 rounded-full bg-white/10 flex items-center justify-center text-brand-gold flex-shrink-0"><i class="fa-solid fa-child-reaching text-xl"></i></div>
<div><h4 class="font-serif text-xl mb-1">Kids Play Area</h4><p class="text-sm text-gray-400">Safe and fun environment for the little ones.</p></div>
</li>
<li class="flex items-start gap-4">
<div class="w-12 h-12 rounded-full bg-white/10 flex items-center justify-center text-brand-gold flex-shrink-0"><i class="fa-solid fa-truck-monster text-xl"></i></div>
<div><h4 class="font-serif text-xl mb-1">Off-Road Safari</h4><p class="text-sm text-gray-400">Adventure trips to explore the rugged terrain.</p></div>
</li>
</ul>
</div>
<div class="relative h-full min-h-[500px] rounded-sm overflow-hidden group">
<img src="./files/pool.jpg" alt="Pool" class="absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105">
<div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent flex items-end p-8">
<div>
<p class="font-serif text-2xl italic">"The view from the pool is simply unmatched."</p>
<div class="flex text-brand-gold mt-2"><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i></div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="py-24 bg-brand-light">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<span class="text-brand-green font-bold tracking-widest text-xs uppercase mb-2 block">Gallery</span>
<h2 class="font-serif text-4xl md:text-5xl text-brand-dark">Capturing Memories</h2>
</div>
<!-- Masonry-ish Layout -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 auto-rows-[200px]">
<div class="col-span-2 row-span-2 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-1.jpg" alt="Landscape" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
<div class="absolute inset-0 bg-black/30 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center"><i class="fa-solid fa-plus text-white text-3xl"></i></div>
</div>
<div class="col-span-1 row-span-1 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-2.jpeg" alt="Resort" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
<div class="col-span-1 row-span-2 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-3.jpeg" alt="Room Interior" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
<div class="col-span-1 row-span-1 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-4.jpeg" alt="Balcony" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
<div class="col-span-2 row-span-1 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-5.jpg" alt="Resort" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
<div class="col-span-1 row-span-1 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-6.jpg" alt="Food" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
<div class="col-span-1 row-span-1 relative group overflow-hidden rounded-sm cursor-pointer">
<img src="./files/gallery/gallery-7.webp" alt="Hotel" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
</div>
</div>
<div class="text-center mt-12">
<a href="gallery.html" class="inline-block px-8 py-3 border border-brand-dark text-brand-dark hover:bg-brand-dark hover:text-white transition-all duration-300 uppercase tracking-widest text-xs font-bold">View Full Gallery</a>
</div>
</div>
</section>
<!-- Testimonial Slider -->
<section id="testimonial-slider" class="py-24 bg-white relative">
<div class="max-w-4xl mx-auto px-4 text-center">
<span class="text-brand-green font-bold tracking-widest text-xs uppercase mb-6 block">Guest Stories</span>
<i class="fa-solid fa-quote-left text-4xl text-brand-gold mb-8 opacity-50"></i>
<div id="testimonial-container" class="relative min-h-[300px] md:min-h-[250px] overflow-hidden"></div>
<div class="flex justify-center gap-6 mt-8">
<button id="prev-btn" class="w-10 h-10 rounded-full border border-gray-300 text-gray-400 hover:border-brand-gold hover:text-brand-gold hover:bg-brand-light transition-all flex items-center justify-center"><i class="fa-solid fa-arrow-left"></i></button>
<button id="next-btn" class="w-10 h-10 rounded-full border border-gray-300 text-gray-400 hover:border-brand-gold hover:text-brand-gold hover:bg-brand-light transition-all flex items-center justify-center"><i class="fa-solid fa-arrow-right"></i></button>
</div>
</div>
</section>
<!-- NEW BLOG SECTION (ADDED) -->
<section id="journal" class="py-24 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<span class="text-brand-green font-bold tracking-widest text-xs uppercase mb-2 block">Our Journal</span>
<h2 class="font-serif text-4xl md:text-5xl text-brand-dark">Latest from the Mountains</h2>
</div>
<!-- Blog Grid -->
<div id="blog-grid" class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Javascript will inject posts here -->
</div>
<!-- See More Button (Hidden by default) -->
<div id="blog-view-more" class="text-center mt-12 hidden">
<a href="blogs.html" class="inline-block px-8 py-3 border border-brand-dark text-brand-dark hover:bg-brand-dark hover:text-white transition-all duration-300 uppercase tracking-widest text-xs font-bold">
View All Stories
</a>
</div>
</div>
</section>
<!-- Instagram Widget -->
<section class="py-24 bg-brand-light relative" id="instagram-feed">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col items-center text-center mb-12 gap-4">
<div>
<span class="text-brand-green font-bold tracking-widest text-xs uppercase mb-2 block">Social Media</span>
<a href="https://www.instagram.com/cloudsendresort/" target="_blank" class="font-serif text-3xl md:text-4xl text-brand-dark flex items-center justify-center gap-3 hover:text-brand-gold transition-colors">
<i class="fa-brands fa-instagram text-brand-gold"></i> @cloudsendresort
</a>
</div>
<a href="https://www.instagram.com/cloudsendresort/" target="_blank" class="px-6 py-2 bg-brand-green text-white rounded-full text-sm font-bold hover:bg-brand-dark transition-all flex items-center gap-2 mt-2">
Follow Us <i class="fa-solid fa-arrow-right"></i>
</a>
</div>
<div class="w-full">
<behold-widget feed-id="K80NBXBmi49olUqPx06H"></behold-widget>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 bg-brand-green text-white text-center relative overflow-hidden">
<div class="absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/cubes.png')] opacity-10"></div>
<div class="relative z-10 max-w-3xl mx-auto px-4">
<h2 class="font-serif text-4xl md:text-5xl mb-6">Ready to Touch the Clouds?</h2>
<p class="text-brand-light/80 mb-10 text-lg">Book your stay today and experience the magic of Western Ghats.</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<button onclick="bookNowWhatsApp()" class="px-8 py-4 bg-white text-brand-green font-bold rounded-sm hover:bg-brand-gold hover:text-white transition-all duration-300 shadow-lg cursor-pointer"><i class="fa-brands fa-whatsapp mr-2"></i> Book via WhatsApp</button>
<a href="mailto:cloudsendresort@gmail.com" class="px-8 py-4 border border-white text-white font-bold rounded-sm hover:bg-white hover:text-brand-green transition-all duration-300">Email Us</a>
</div>
</div>
</section>
<!-- Footer -->
<footer id="contact" class="bg-brand-dark text-white pt-20 pb-10 border-t border-white/10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16">
<!-- Brand -->
<div>
<div class="flex items-center gap-2 mb-6">
<div class="w-8 h-8 rounded-full flex items-center justify-center text-brand-dark"><img src="./files/logo.png"></div>
<span class="font-serif text-xl font-bold">CLOUDS END</span>
</div>
<p class="text-gray-400 text-sm leading-relaxed mb-6">Located in the serene hills of Kakkadampoyil, we offer a perfect blend of luxury and nature.</p>
<div class="flex gap-4">
<a href="#" class="w-10 h-10 rounded-full bg-white/5 hover:bg-brand-gold hover:text-brand-dark flex items-center justify-center transition-all duration-300"><i class="fa-brands fa-facebook-f"></i></a>
<a href="#" class="w-10 h-10 rounded-full bg-white/5 hover:bg-brand-gold hover:text-brand-dark flex items-center justify-center transition-all duration-300"><i class="fa-brands fa-instagram"></i></a>
<a href="#" class="w-10 h-10 rounded-full bg-white/5 hover:bg-brand-gold hover:text-brand-dark flex items-center justify-center transition-all duration-300"><i class="fa-brands fa-whatsapp"></i></a>
</div>
</div>
<!-- Links -->
<div>
<h4 class="font-serif text-lg mb-6 text-brand-gold">Quick Links</h4>
<ul class="space-y-3 text-sm text-gray-400">
<li><a href="#home" class="hover:text-white transition-colors">Home</a></li>
<li><a href="#about" class="hover:text-white transition-colors">About Us</a></li>
<li><a href="#rooms" class="hover:text-white transition-colors">Accommodations</a></li>
<li><a href="gallery.html" class="hover:text-white transition-colors">Gallery</a></li>
<li><a href="#" class="hover:text-white transition-colors">Blog</a></li>
</ul>
</div>
<!-- Contact -->
<div>
<h4 class="font-serif text-lg mb-6 text-brand-gold">Contact Us</h4>
<ul class="space-y-4 text-sm text-gray-400">
<li class="flex items-start gap-3">
<i class="fa-solid fa-location-dot mt-1 text-brand-gold"></i>
<a href="https://maps.app.goo.gl/Bz9UKbHb8MJAAiE59" target="_blank">Vallanthodu, Kakkadampoyil,<br>Kozhikode, Kerala - 673603</a>
</li>
<li class="flex items-center gap-3">
<i class="fa-solid fa-phone text-brand-gold"></i>
<a href="tel:+91 95628 93891">+91 95628 93891</a>
</li>
<li class="flex items-center gap-3">
<i class="fa-solid fa-envelope text-brand-gold"></i>
<a href="mailto:cloudsendresort@gmail.com">cloudsendresort@gmail.com</a>
</li>
</ul>
</div>
<!-- Map -->
<div class="rounded-sm overflow-hidden h-48 bg-gray-800 relative shadow-lg">
<iframe title="Location Map" class="w-full h-full grayscale hover:grayscale-0 transition-all duration-500" src="https://maps.google.com/maps?q=Clouds%20End%20Resort%20Kakkadampoyil&t=&z=14&ie=UTF8&iwloc=&output=embed" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
</div>
</div>
<div class="border-t border-white/5 pt-8 flex flex-col md:flex-row justify-between items-center text-xs text-gray-500">
<p>© 2025 Clouds End Resort. All Rights Reserved.</p>
<div class="flex gap-6 mt-4 md:mt-0"><a href="#" class="hover:text-white">Privacy Policy</a><a href="#" class="hover:text-white">Terms of Service</a></div>
</div>
</div>
</footer>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed inset-0 z-[60] bg-brand-dark/95 backdrop-blur-lg transform translate-x-full transition-transform duration-300 flex flex-col items-center justify-center space-y-8 hidden">
<button id="close-menu-btn" class="absolute top-6 right-6 text-white text-xl p-2 hover:text-brand-gold transition-colors focus:outline-none"><i class="fa-solid fa-xmark"></i></button>
<a href="#home" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Home</a>
<a href="#about" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">About</a>
<a href="#rooms" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Accommodations</a>
<a href="#amenities" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Experiences</a>
<a href="gallery.html" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Gallery</a>
<a href="#journal" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Blog</a>
<a href="#contact" class="text-2xl font-serif text-white hover:text-brand-gold mobile-link">Contact</a>
<button onclick="bookNowWhatsApp()" class="px-8 py-3 bg-brand-gold text-brand-dark font-bold rounded-full">Book Now</button>
</div>
<!-- Scripts -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
const phoneNumber = "919562893891";
function sendWhatsAppInquiry() {
const checkIn = document.getElementById('booking-checkin').value;
const checkOut = document.getElementById('booking-checkout').value;
const guests = document.getElementById('booking-guests').value;
let message = "Hello, I would like to check availability at Clouds End Resort.";
if (checkIn && checkOut) message += `\n\nCheck-in: ${checkIn}\nCheck-out: ${checkOut}`;
message += `\nGuests: ${guests}`;
window.open(`https://wa.me/${phoneNumber}?text=${encodeURIComponent(message)}`, '_blank');
}
function bookNowWhatsApp() {
const message = "Hello, I am interested in booking a stay at Clouds End Resort. Please let me know the availability.";
window.open(`https://wa.me/${phoneNumber}?text=${encodeURIComponent(message)}`, '_blank');
}
function bookSpecificRoom(roomName) {
const message = `Hello, I'm interested in booking the *${roomName}* at Clouds End Resort.\n\nPlease provide details regarding availability and pricing.`;
window.open(`https://wa.me/${phoneNumber}?text=${encodeURIComponent(message)}`, '_blank');
}
AOS.init({ once: true, offset: 100, duration: 800 });
const navbar = document.getElementById('navbar');
let isScrolled = false;
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
if (!isScrolled) {
navbar.classList.add('glass-nav', 'shadow-sm', 'py-2', 'text-brand-dark');
navbar.classList.remove('py-4', 'text-white');
isScrolled = true;
}
} else {
if (isScrolled) {
navbar.classList.remove('glass-nav', 'shadow-sm', 'py-2', 'text-brand-dark');
navbar.classList.add('py-4', 'text-white');
isScrolled = false;
}
}
});
const mobileBtn = document.getElementById('mobile-menu-btn');
const closeMenuBtn = document.getElementById('close-menu-btn');
const mobileMenu = document.getElementById('mobile-menu');
const mobileLinks = document.querySelectorAll('.mobile-link');
function toggleMenu() {
if (mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.remove('hidden');
document.body.classList.add('overflow-hidden');
setTimeout(() => mobileMenu.classList.remove('translate-x-full'), 10);
} else {
mobileMenu.classList.add('translate-x-full');
document.body.classList.remove('overflow-hidden');
setTimeout(() => mobileMenu.classList.add('hidden'), 300);
}
}
mobileBtn.addEventListener('click', toggleMenu);
closeMenuBtn.addEventListener('click', toggleMenu);
mobileLinks.forEach(link => link.addEventListener('click', toggleMenu));
const testimonials = [
{ text: "A dream destination that promises you an incredible space, service and brings you an unforgettable experience.", author: "George Kurian" },
{ text: "The treehouse experience was magical. Waking up to the mist and the sound of birds was unforgettable.", author: "Sarah Jenkins" },
{ text: "We stayed at the A-Frame cabin and it was stunning. The staff went above and beyond.", author: "Rahul & Priya" },
{ text: "Perfect getaway from the city chaos. The off-road drive to reach the resort set the mood.", author: "Arun Nair" }
];
let currentTestimonialIndex = 0;
const sliderContainer = document.getElementById('testimonial-container');
const prevBtn = document.getElementById('prev-btn');
const nextBtn = document.getElementById('next-btn');
function renderTestimonials() {
sliderContainer.innerHTML = '';
testimonials.forEach((t, index) => {
const div = document.createElement('div');
div.className = `testimonial-slide ${index === currentTestimonialIndex ? 'active' : ''} absolute inset-0 flex flex-col items-center justify-center px-4`;
div.innerHTML = `<p class="font-serif text-xl md:text-3xl text-brand-dark italic mb-6 leading-relaxed">"${t.text}"</p><cite class="not-italic font-bold text-gray-500 uppercase tracking-widest text-xs">- ${t.author}</cite>`;
sliderContainer.appendChild(div);
});
}
function nextTestimonial() {
currentTestimonialIndex = (currentTestimonialIndex + 1) % testimonials.length;
renderTestimonials();
}
function prevTestimonial() {
currentTestimonialIndex = (currentTestimonialIndex - 1 + testimonials.length) % testimonials.length;
renderTestimonials();
}
renderTestimonials();
nextBtn.addEventListener('click', () => { nextTestimonial(); resetAutoSlide(); });
prevBtn.addEventListener('click', () => { prevTestimonial(); resetAutoSlide(); });
let autoSlideInterval = setInterval(nextTestimonial, 5000);
function resetAutoSlide() { clearInterval(autoSlideInterval); autoSlideInterval = setInterval(nextTestimonial, 5000); }
const roomsList = [
{ title: "Tree House Cottage", desc: "Elevated luxury amidst the canopy.", img: "./files/rooms/single-treehouse.jpg", beds: "2", view: "View", ac: "AC", badge: "Most Popular" },
{ title: "A Frame Cottage", desc: "Iconic design with stunning vistas.", img: "https://images.unsplash.com/photo-1449156493391-d2cfa28e468b?q=80&w=2067&auto=format&fit=crop", beds: "2", view: "Balcony", ac: "AC", badge: null },
{ title: "Double Cottage", desc: "Spacious comfort for the whole group.", img: "https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?q=80&w=2070&auto=format&fit=crop", beds: "4", view: "Lounge", ac: "AC", badge: null },
{ title: "Single Cottage", desc: "Iconic design with stunning vistas.", img: "https://images.unsplash.com/photo-1449156493391-d2cfa28e468b?q=80&w=2067&auto=format&fit=crop", beds: "2", view: "Balcony", ac: "AC", badge: null },
{ title: "Double Tree Cottage", desc: "Spacious comfort for the whole group.", img: "https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?q=80&w=2070&auto=format&fit=crop", beds: "4", view: "Lounge", ac: "AC", badge: null },
];
const roomsContainer = document.getElementById('rooms-container');
const roomPrevBtn = document.getElementById('room-prev-btn');
const roomNextBtn = document.getElementById('room-next-btn');
const dotsContainer = document.getElementById('room-dots');
function renderRooms() {
roomsContainer.innerHTML = '';
roomsList.forEach((room, index) => {
const roomCard = document.createElement('div');
roomCard.className = "flex-shrink-0 w-[85vw] md:w-[400px] bg-white shadow-lg rounded-sm overflow-hidden flex flex-col group transform transition-all duration-500 hover:shadow-2xl hover:-translate-y-2 snap-center";
const badgeHTML = room.badge ? `<div class="absolute top-4 right-4 bg-white/90 text-brand-dark px-3 py-1 text-xs font-bold uppercase tracking-wider shadow-sm z-10">${room.badge}</div>` : '';
roomCard.innerHTML = `
<div class="relative w-full aspect-[4/5] overflow-hidden"><img src="${room.img}" alt="${room.title}" class="w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-700">${badgeHTML}</div>
<div class="p-6 text-center flex-1 flex flex-col justify-between">
<div><h3 class="font-serif text-2xl text-brand-dark mb-2 group-hover:text-brand-gold transition-colors">${room.title}</h3><p class="text-gray-500 text-sm mb-4">${room.desc}</p><div class="flex justify-center gap-4 text-gray-400 text-sm mb-6 border-b border-gray-100 pb-6"><span title="Beds"><i class="fa-solid fa-bed"></i> ${room.beds}</span><span title="View"><i class="fa-solid fa-image"></i> ${room.view}</span><span title="AC"><i class="fa-solid fa-snowflake"></i> ${room.ac}</span></div></div>
<button onclick="bookSpecificRoom('${room.title}')" class="w-full inline-flex items-center justify-center gap-2 px-6 py-3 border border-brand-green text-brand-green hover:bg-brand-green hover:text-white transition-all duration-300 rounded-sm font-bold uppercase tracking-wider text-xs"><i class="fa-brands fa-whatsapp text-lg"></i> Book via WhatsApp</button>
</div>`;
roomsContainer.appendChild(roomCard);
});
}
function renderDots() {
dotsContainer.innerHTML = '';
roomsList.forEach((_, index) => {
const dot = document.createElement('button');
dot.className = `h-2 rounded-full transition-all duration-300 ${index === 0 ? 'w-8 bg-brand-gold' : 'w-2 bg-gray-300 hover:bg-brand-gold/50'}`;
dot.addEventListener('click', () => {
const card = roomsContainer.children[index];
const scrollPos = card.offsetLeft - (roomsContainer.clientWidth / 2) + (card.clientWidth / 2);
roomsContainer.scrollTo({ left: scrollPos, behavior: 'smooth' });
});
dotsContainer.appendChild(dot);
});
}
function updateActiveDot() {
const center = roomsContainer.scrollLeft + (roomsContainer.clientWidth / 2);
const cards = Array.from(roomsContainer.children);
let activeIndex = 0, minDist = Infinity;
cards.forEach((card, index) => {
const cardCenter = card.offsetLeft + (card.clientWidth / 2);
const dist = Math.abs(center - cardCenter);
if (dist < minDist) { minDist = dist; activeIndex = index; }
});
const dots = dotsContainer.children;
for (let i = 0; i < dots.length; i++) {
dots[i].className = i === activeIndex ? "h-2 rounded-full transition-all duration-300 w-8 bg-brand-gold" : "h-2 rounded-full transition-all duration-300 w-2 bg-gray-300 hover:bg-brand-gold/50";
}
}
renderRooms();
renderDots();
const scrollAmount = 400;
if (roomNextBtn) roomNextBtn.addEventListener('click', () => roomsContainer.scrollBy({ left: scrollAmount, behavior: 'smooth' }));
if (roomPrevBtn) roomPrevBtn.addEventListener('click', () => roomsContainer.scrollBy({ left: -scrollAmount, behavior: 'smooth' }));
roomsContainer.addEventListener('scroll', () => window.requestAnimationFrame(updateActiveDot));
// --- BLOG LOGIC ---
const blogPosts = [
{
title: "Explore Kakkadampoyil: The Gavi of Malabar",
date: "May 12, 2022",
desc: "Experience the Western Ghats coming alive with lush greenery and misty mornings.",
image: "./files/blogs/explore-kakkadampoyil/cover.jpeg",
link: "blogs/explore-kakkadampoyil.html"
}
];
const blogGrid = document.getElementById('blog-grid');
const blogViewMore = document.getElementById('blog-view-more');
function renderBlogs() {
const visiblePosts = blogPosts.slice(0, 3);
blogGrid.innerHTML = visiblePosts.map(post => `
<a href="${post.link}" class="group block bg-white shadow-md hover:shadow-xl transition-all duration-300 rounded-sm overflow-hidden">
<div class="relative h-64 overflow-hidden">
<img src="${post.image}" alt="${post.title}" class="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110">
<div class="absolute inset-0 bg-black/10 group-hover:bg-black/0 transition-colors"></div>
</div>
<div class="p-6">
<span class="text-xs font-bold text-brand-gold uppercase tracking-wider mb-2 block">${post.date}</span>
<h3 class="font-serif text-xl text-brand-dark mb-3 group-hover:text-brand-green transition-colors">${post.title}</h3>
<p class="text-gray-500 text-sm leading-relaxed mb-4">${post.desc}</p>
<span class="text-xs font-bold text-brand-dark border-b border-brand-dark pb-1 inline-block group-hover:text-brand-gold group-hover:border-brand-gold transition-all">Read Story</span>
</div>
</a>
`).join('');
if (blogPosts.length > 3) blogViewMore.classList.remove('hidden');
}
renderBlogs();
</script>
</body>
</html>