File size: 16,322 Bytes
f209c2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Travel Blog - TravelinLite Pro</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        * {
            font-family: 'Poppins', sans-serif;
        }
        
        .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .blog-card {
            transition: all 0.3s ease;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .read-more {
            color: #667eea;
            font-weight: 600;
        }
        
        .read-more:hover {
            color: #764ba2;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Navigation -->
    <nav class="fixed w-full z-50 bg-white shadow-lg">
        <div class="container mx-auto px-6 py-4">
            <div class="flex items-center justify-between">
                <div class="flex items-center space-x-2">
                    <a href="index.html" class="flex items-center space-x-2">
                        <i data-feather="map-pin" class="text-purple-600 w-8 h-8"></i>
                        <span class="text-2xl font-bold gradient-text">TravelinLite Pro</span>
                    </a>
                </div>
                <div class="hidden md:flex items-center space-x-8">
                        <a href="index.html" class="text-gray-700 hover:text-purple-600 transition-colors">Home</a>
                        <a href="destinations.html" class="text-gray-700 hover:text-purple-600 transition-colors">Destinations</a>
                        <a href="packages.html" class="text-gray-700 hover:text-purple-600 transition-colors">Packages</a>
                        <a href="blog.html" class="text-purple-600 font-semibold">Blog</a>
                        <a href="contact.html" class="text-gray-700 hover:text-purple-600 transition-colors">Contact</a>
                        <button class="bg-purple-600 text-white px-6 py-2 rounded-full hover:bg-purple-700 transition-colors">
                            Book Now
                        </button>
                    </div>
                    <button class="md:hidden" id="mobileMenuBtn">
                            <i data-feather="menu" class="w-6 h-6"></i>
                        </button>
                    </div>
                </div>
            </nav>

            <!-- Hero Section -->
            <section class="pt-32 pb-20 bg-gradient-to-r from-blue-500 to-purple-600 text-white">
                <div class="container mx-auto px-6 text-center">
                    <h1 class="text-5xl md:text-6xl font-bold mb-6">
                        Travel Blog
                    </h1>
                    <p class="text-xl mb-8 max-w-3xl mx-auto">
                    Discover travel tips, destination guides, and inspiring stories from fellow lightweight travelers.
                </p>
            </div>
        </section>

        <!-- Blog Posts -->
        <section class="py-20 bg-white">
            <div class="container mx-auto px-6">
                <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
                    <!-- Blog Post 1 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/travel/640x360/211" alt="Packing Tips" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">PACKING GUIDE</span>
                            <h3 class="text-xl font-bold my-3">10 Essential Items for Lightweight Travel</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Learn what to pack and what to leave behind for your next adventure...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>5 min read</span>
                                <span>Mar 15, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>

                    <!-- Blog Post 2 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/nature/640x360/212" alt="Budget Travel" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">BUDGET TIPS</span>
                            <h3 class="text-xl font-bold my-3">How to Travel the World on $50 a Day</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Discover how to explore amazing destinations without breaking the bank...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>7 min read</span>
                                <span>Mar 12, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>

                    <!-- Blog Post 3 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/people/640x360/213" alt="Solo Travel" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">SOLO TRAVEL</span>
                            <h3 class="text-xl font-bold my-3">The Ultimate Guide to Solo Travel Safety</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Essential safety tips and precautions for solo adventurers...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>8 min read</span>
                                <span>Mar 8, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>

                    <!-- Blog Post 4 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/food/640x360/214" alt="Local Cuisine" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">FOOD GUIDE</span>
                            <h3 class="text-xl font-bold my-3">Must-Try Street Foods Around the World</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Explore the delicious world of street food from Bangkok to Mexico City...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>6 min read</span>
                                <span>Mar 5, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>

                    <!-- Blog Post 5 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/travel/640x360/215" alt="Photography" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">PHOTOGRAPHY</span>
                            <h3 class="text-xl font-bold my-3">10 Photography Tips for Stunning Travel Shots</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Capture your adventures like a pro with these simple photography techniques...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>9 min read</span>
                                <span>Mar 1, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>

                    <!-- Blog Post 6 -->
                    <article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
                        <img src="https://static.photos/nature/640x360/216" alt="Sustainable Travel" class="w-full h-48 object-cover">
                        <div class="p-6">
                            <span class="text-sm text-purple-600 font-semibold">SUSTAINABILITY</span>
                            <h3 class="text-xl font-bold my-3">How to Travel Sustainably in 2024</h3>
                            <p class="text-gray-600 text-sm mb-4">
                                Learn how to reduce your environmental impact while exploring the world...
                            </p>
                            <div class="flex justify-between items-center text-sm text-gray-500">
                                <span>11 min read</span>
                                <span>Feb 26, 2024</span>
                        </div>
                        <a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
                                Read More
                            </a>
                        </div>
                    </article>
                </div>
            </div>
        </section>

        <!-- Newsletter -->
        <section class="py-20 bg-gray-50">
            <div class="container mx-auto px-6 text-center">
                <h2 class="text-3xl font-bold mb-6 gradient-text">Never Miss a Post</h2>
                <p class="text-gray-600 mb-8 max-w-2xl mx-auto">
                Subscribe to our blog and get the latest travel tips and destination guides delivered to your inbox.
            </p>
            <div class="flex flex-col sm:flex-row gap-4 justify-center max-w-md mx-auto">
                <input type="email" placeholder="Enter your email" class="flex-1 px-6 py-3 rounded-full border border-gray-300 focus:outline-none focus:border-purple-600" id="blogNewsletter">
                <button class="bg-purple-600 text-white px-8 py-3 rounded-full hover:bg-purple-700 transition-colors">
                    Subscribe
                </button>
            </div>
        </section>

        <!-- Footer -->
        <footer class="bg-gray-900 text-white py-12">
            <div class="container mx-auto px-6">
                <div class="grid md:grid-cols-4 gap-8 mb-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <i data-feather="map-pin" class="text-purple-400 w-6 h-6"></i>
                        <span class="text-xl font-bold">TravelinLite Pro</span>
                    </div>
                    <p class="text-gray-400">
                        Your gateway to featherweight adventures around the world.
                    </p>
                </div>
                <div>
                    <h4 class="font-semibold mb-4">Quick Links</h4>
                    <ul class="space-y-2 text-gray-400">
                        <li><a href="index.html" class="hover:text-white transition-colors">Home</a></li>
                        <li><a href="destinations.html" class="hover:text-white transition-colors">Destinations</a></li>
                        <li><a href="packages.html" class="hover:text-white transition-colors">Packages</a></li>
                        <li><a href="blog.html" class="hover:text-white transition-colors">Blog</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-semibold mb-4">Support</h4>
                    <ul class="space-y-2 text-gray-400">
                        <li><a href="contact.html" class="hover:text-white transition-colors">Contact</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">Help Center</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">Safety Info</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">Terms</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-semibold mb-4">Follow Us</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i data-feather="facebook" class="w-6 h-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i data-feather="twitter" class="w-6 h-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i data-feather="instagram" class="w-6 h-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i data-feather="youtube" class="w-6 h-6"></i>
                        </a>
                    </div>
                </div>
            </div>
            <div class="border-t border-gray-800 pt-8 text-center text-gray-400">
                        <p>&copy; 2024 TravelinLite Pro. All rights reserved. Made with ❤️ for travelers.</p>
                    </div>
                </div>
            </footer>

            <script>
                feather.replace();

                // Newsletter subscription
                document.getElementById('blogNewsletter').addEventListener('keypress', function(e) {
                    if (e.key === 'Enter') {
                        subscribeBlog();
                    }
                });

                document.querySelector('#blogNewsletter').nextElementSibling.addEventListener('click', subscribeBlog);

                function subscribeBlog() {
                    const email = document.getElementById('blogNewsletter').value;
                    if (email && email.includes('@')) {
                        alert('Thank you for subscribing to our travel blog!');
                        document.getElementById('blogNewsletter').value = '';
                    } else {
                        alert('Please enter a valid email address.');
                    }
                }

                // Mobile menu toggle
                const mobileMenuBtn = document.getElementById('mobileMenuBtn');
                mobileMenuBtn.addEventListener('click', function() {
                        alert('Mobile menu would open here');
                    });
                </script>
            </body>
            </html>