File size: 26,513 Bytes
28deb8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Artisan Bakery</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=Lora:wght@400;600;700&family=Open+Sans:wght@300;400;500&display=swap');
        
        body {
            font-family: 'Open Sans', sans-serif;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Lora', serif;
        }
        
        .hero-image {
            background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1608190003443-83f8141e0416?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
            background-size: cover;
            background-position: center;
            height: 70vh;
        }
        
        .menu-item:hover .menu-item-overlay {
            opacity: 1;
        }
        
        .menu-item-overlay {
            transition: opacity 0.3s ease;
        }
        
        .mobile-menu {
            transition: all 0.3s ease;
        }
    </style>
</head>
<body class="bg-[#F5E8C7] text-[#8B4513]">
    <!-- Navigation -->
    <nav class="bg-[#2F4F4F] text-white shadow-lg sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" />
                </svg>
                <span class="text-xl font-bold">Artisan Bakery</span>
            </div>
            
            <div class="hidden md:flex space-x-6">
                <a href="#home" class="nav-link active">Home</a>
                <a href="#menu" class="nav-link">Menu</a>
                <a href="#contact" class="nav-link">Contact</a>
            </div>
            
            <button id="mobile-menu-button" class="md:hidden text-white focus:outline-none">
                <i class="fas fa-bars text-2xl"></i>
            </button>
        </div>
        
        <!-- Mobile Menu -->
        <div id="mobile-menu" class="mobile-menu hidden md:hidden bg-[#2F4F4F] w-full px-4 pb-4">
            <a href="#home" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Home</a>
            <a href="#menu" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Menu</a>
            <a href="#contact" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Contact</a>
        </div>
    </nav>

    <!-- Page Content -->
    <div id="content">
        <!-- Home Section -->
        <section id="home" class="page-section">
            <div class="hero-image flex items-center justify-center">
                <div class="text-center px-4">
                    <h1 class="text-4xl md:text-6xl font-bold text-white mb-4">Welcome to Artisan Bakery</h1>
                    <p class="text-xl md:text-2xl text-white mb-8">Handcrafted with love since 1995</p>
                    <a href="#menu" class="bg-[#8B4513] hover:bg-[#6d3710] text-white font-bold py-3 px-6 rounded-full transition duration-300">View Our Menu</a>
                </div>
            </div>
            
            <div class="container mx-auto px-4 py-16">
                <div class="text-center mb-12">
                    <h2 class="text-3xl font-bold mb-4">Our Story</h2>
                    <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
                    <p class="max-w-3xl mx-auto text-lg">
                        Founded in a small kitchen with just an oven and a dream, Artisan Bakery has grown into a beloved neighborhood institution. 
                        We use only the finest ingredients and traditional techniques to bring you breads and pastries that taste like they came 
                        straight from a French countryside bakery.
                    </p>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="text-[#2F4F4F] text-4xl mb-4">
                            <i class="fas fa-bread-slice"></i>
                        </div>
                        <h3 class="text-xl font-bold mb-2">Fresh Daily</h3>
                        <p>Our products are baked fresh every morning to ensure maximum flavor and quality.</p>
                    </div>
                    
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="text-[#2F4F4F] text-4xl mb-4">
                            <i class="fas fa-seedling"></i>
                        </div>
                        <h3 class="text-xl font-bold mb-2">Local Ingredients</h3>
                        <p>We source our flour, dairy, and other ingredients from local farmers and producers.</p>
                    </div>
                    
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="text-[#2F4F4F] text-4xl mb-4">
                            <i class="fas fa-heart"></i>
                        </div>
                        <h3 class="text-xl font-bold mb-2">Made with Love</h3>
                        <p>Every item is handcrafted by our team of passionate bakers who truly care about their craft.</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- Menu Section -->
        <section id="menu" class="page-section bg-white py-16 hidden">
            <div class="container mx-auto px-4">
                <div class="text-center mb-12">
                    <h2 class="text-3xl font-bold mb-4">Our Menu</h2>
                    <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
                    <p class="max-w-3xl mx-auto text-lg">
                        From crusty sourdough to delicate pastries, we offer a wide variety of baked goods to satisfy every craving. 
                        All items are available for takeout or can be enjoyed in our cozy café.
                    </p>
                </div>
                
                <div class="mb-12">
                    <h3 class="text-2xl font-bold mb-6 text-center">Breads</h3>
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1549931319-a545dcf3bc73?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Sourdough Bread" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">Sourdough</h4>
                                    <p class="mb-2">$6.50</p>
                                    <p>Our signature bread with a perfect crust and tangy flavor</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1608190003443-83f8141e0416?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Baguette" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">French Baguette</h4>
                                    <p class="mb-2">$5.00</p>
                                    <p>Crispy crust with a light, airy interior</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Whole Wheat Bread" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">Whole Wheat</h4>
                                    <p class="mb-2">$7.00</p>
                                    <p>Nutritious and hearty with a rich, nutty flavor</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="mb-12">
                    <h3 class="text-2xl font-bold mb-6 text-center">Pastries</h3>
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1560180474-e8563e4fd1a4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Croissant" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">Butter Croissant</h4>
                                    <p class="mb-2">$3.50</p>
                                    <p>Flaky, buttery layers that melt in your mouth</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1558315956-d3a3ed47e965?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Cinnamon Roll" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">Cinnamon Roll</h4>
                                    <p class="mb-2">$4.00</p>
                                    <p>Sweet, gooey, and topped with cream cheese frosting</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
                            <img src="https://images.unsplash.com/photo-1627834377411-8da5f4f09de8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" 
                                 alt="Chocolate Eclair" class="w-full h-64 object-cover">
                            <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
                                <div class="text-white text-center p-4">
                                    <h4 class="text-xl font-bold">Chocolate Éclair</h4>
                                    <p class="mb-2">$4.50</p>
                                    <p>Light choux pastry filled with vanilla cream and topped with chocolate</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="text-center">
                    <p class="text-lg mb-4">We also offer custom cakes and catering for special occasions!</p>
                    <a href="#contact" class="inline-block bg-[#2F4F4F] hover:bg-[#1e3e3e] text-white font-bold py-3 px-6 rounded-full transition duration-300">
                        Contact Us for Special Orders
                    </a>
                </div>
            </div>
        </section>

        <!-- Contact Section -->
        <section id="contact" class="page-section bg-[#F5E8C7] py-16 hidden">
            <div class="container mx-auto px-4">
                <div class="text-center mb-12">
                    <h2 class="text-3xl font-bold mb-4">Contact Us</h2>
                    <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
                    <p class="max-w-3xl mx-auto text-lg">
                        Have questions or want to place an order? We'd love to hear from you! Visit us during business hours or 
                        send us a message using the form below.
                    </p>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-12">
                    <div>
                        <h3 class="text-2xl font-bold mb-6">Get in Touch</h3>
                        
                        <div class="mb-8">
                            <div class="flex items-start mb-4">
                                <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
                                    <i class="fas fa-map-marker-alt"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold">Address</h4>
                                    <p>123 Baker Street<br>Flourville, CA 90210</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start mb-4">
                                <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
                                    <i class="fas fa-phone-alt"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold">Phone</h4>
                                    <p>(555) 123-4567</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start mb-4">
                                <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
                                    <i class="fas fa-envelope"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold">Email</h4>
                                    <p>hello@artisanbakery.com</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
                                    <i class="fas fa-clock"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold">Hours</h4>
                                    <p>Monday - Friday: 7am - 6pm<br>
                                    Saturday: 8am - 5pm<br>
                                    Sunday: 8am - 3pm</p>
                                </div>
                            </div>
                        </div>
                        
                        <div>
                            <h4 class="font-bold mb-4">Follow Us</h4>
                            <div class="flex space-x-4">
                                <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
                                    <i class="fab fa-facebook"></i>
                                </a>
                                <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
                                    <i class="fab fa-instagram"></i>
                                </a>
                                <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
                                    <i class="fab fa-twitter"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <h3 class="text-2xl font-bold mb-6">Send Us a Message</h3>
                        <form id="contact-form" class="space-y-4">
                            <div>
                                <label for="name" class="block font-medium mb-1">Name</label>
                                <input type="text" id="name" name="name" required 
                                       class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
                            </div>
                            
                            <div>
                                <label for="email" class="block font-medium mb-1">Email</label>
                                <input type="email" id="email" name="email" required 
                                       class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
                            </div>
                            
                            <div>
                                <label for="phone" class="block font-medium mb-1">Phone (optional)</label>
                                <input type="tel" id="phone" name="phone" 
                                       class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
                            </div>
                            
                            <div>
                                <label for="subject" class="block font-medium mb-1">Subject</label>
                                <select id="subject" name="subject" 
                                        class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
                                    <option value="general">General Inquiry</option>
                                    <option value="order">Order Inquiry</option>
                                    <option value="catering">Catering Request</option>
                                    <option value="feedback">Feedback</option>
                                </select>
                            </div>
                            
                            <div>
                                <label for="message" class="block font-medium mb-1">Message</label>
                                <textarea id="message" name="message" rows="5" required 
                                          class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]"></textarea>
                            </div>
                            
                            <button type="submit" 
                                    class="bg-[#2F4F4F] hover:bg-[#1e3e3e] text-white font-bold py-3 px-6 rounded-full transition duration-300 w-full">
                                Send Message
                            </button>
                        </form>
                        
                        <div id="form-success" class="hidden mt-4 p-4 bg-green-100 text-green-800 rounded-lg">
                            Thank you for your message! We'll get back to you soon.
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- Footer -->
    <footer class="bg-[#2F4F4F] text-white py-8">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div>
                    <h3 class="text-xl font-bold mb-4">Artisan Bakery</h3>
                    <p>Handcrafted baked goods made with love and the finest ingredients since 1995.</p>
                </div>
                
                <div>
                    <h3 class="text-xl font-bold mb-4">Quick Links</h3>
                    <ul class="space-y-2">
                        <li><a href="#home" class="hover:text-[#F5E8C7]">Home</a></li>
                        <li><a href="#menu" class="hover:text-[#F5E8C7]">Menu</a></li>
                        <li><a href="#contact" class="hover:text-[#F5E8C7]">Contact</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-xl font-bold mb-4">Newsletter</h3>
                    <p>Subscribe to receive updates on specials and events.</p>
                    <form class="mt-4 flex">
                        <input type="email" placeholder="Your email" 
                               class="px-4 py-2 rounded-l-lg focus:outline-none text-gray-800 w-full">
                        <button type="submit" 
                                class="bg-[#8B4513] hover:bg-[#6d3710] px-4 py-2 rounded-r-lg">
                            <i class="fas fa-paper-plane"></i>
                        </button>
                    </form>
                </div>
            </div>
            
            <div class="border-t border-gray-700 mt-8 pt-8 text-center">
                <p>&copy; 2023 Artisan Bakery. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Mobile menu toggle
        document.getElementById('mobile-menu-button').addEventListener('click', function() {
            const menu = document.getElementById('mobile-menu');
            menu.classList.toggle('hidden');
        });

        // Simple page routing
        document.querySelectorAll('.nav-link').forEach(link => {
            link.addEventListener('click', function(e) {
                e.preventDefault();
                const targetId = this.getAttribute('href').substring(1);
                showPage(targetId);
                
                // Update active nav link
                document.querySelectorAll('.nav-link').forEach(navLink => {
                    navLink.classList.remove('active');
                });
                this.classList.add('active');
                
                // Close mobile menu if open
                document.getElementById('mobile-menu').classList.add('hidden');
            });
        });

        function showPage(pageId) {
            // Hide all pages
            document.querySelectorAll('.page-section').forEach(section => {
                section.classList.add('hidden');
            });
            
            // Show selected page
            document.getElementById(pageId).classList.remove('hidden');
            
            // Scroll to top
            window.scrollTo(0, 0);
        }

        // Show home page by default
        showPage('home');

        // Form submission
        document.getElementById('contact-form').addEventListener('submit', function(e) {
            e.preventDefault();
            
            // In a real application, you would send the form data to a server here
            // For this demo, we'll just show a success message
            
            // Reset form
            this.reset();
            
            // Show success message
            const successMessage = document.getElementById('form-success');
            successMessage.classList.remove('hidden');
            
            // Hide success message after 5 seconds
            setTimeout(() => {
                successMessage.classList.add('hidden');
            }, 5000);
        });

        // Highlight active nav link based on scroll position
        window.addEventListener('scroll', function() {
            const sections = document.querySelectorAll('.page-section');
            let currentSection = '';
            
            sections.forEach(section => {
                const sectionTop = section.offsetTop;
                const sectionHeight = section.clientHeight;
                
                if (pageYOffset >= (sectionTop - 100)) {
                    currentSection = section.getAttribute('id');
                }
            });
            
            document.querySelectorAll('.nav-link').forEach(link => {
                link.classList.remove('active');
                if (link.getAttribute('href') === `#${currentSection}`) {
                    link.classList.add('active');
                }
            });
        });
    </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=dfbdokk/bakery" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>