File size: 26,370 Bytes
b755c33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PiliçBox - Menü</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
        
        :root {
            --primary-red: #ff3d3d;
            --primary-yellow: #ffcc00;
            --dark-bg: #121212;
            --darker-bg: #0a0a0a;
            --light-text: #f5f5f5;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--dark-bg);
            color: var(--light-text);
        }
        
        .neon-btn {
            position: relative;
            display: inline-block;
            padding: 12px 24px;
            color: var(--primary-yellow);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            overflow: hidden;
            transition: 0.5s;
            border: 2px solid var(--primary-red);
            border-radius: 8px;
            box-shadow: 0 0 10px var(--primary-red), 0 0 40px var(--primary-red);
        }
        
        .neon-btn:hover {
            background: var(--primary-red);
            color: #fff;
            box-shadow: 0 0 10px var(--primary-red), 0 0 40px var(--primary-red), 0 0 80px var(--primary-red);
        }
        
        .bubble {
            position: relative;
            display: inline-block;
            animation: bubble 2s infinite ease-in-out;
        }
        
        @keyframes bubble {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .sticky-nav {
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
            background-color: rgba(18, 18, 18, 0.8);
        }
        
        .menu-item {
            transition: all 0.3s ease;
        }
        
        .menu-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(255, 61, 61, 0.3);
        }
        
        .active-category {
            background-color: var(--primary-red);
            color: white;
        }
        
        .cart-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--primary-yellow);
            color: var(--dark-bg);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }
    </style>
</head>
<body class="min-h-screen">
    <!-- Navigation -->
    <nav class="sticky-nav border-b border-gray-800 py-4">
        <div class="container mx-auto px-4 flex justify-between items-center">
            <div class="flex items-center">
                <img src="http://static.photos/food/200x200/1" alt="PiliçBox Logo" class="h-12 w-12 rounded-full mr-3">
                <span class="text-2xl font-bold text-white">Piliç<span class="text-yellow-400">Box</span></span>
            </div>
            <div class="hidden md:flex space-x-6">
                <a href="index.html" class="text-white hover:text-yellow-400 transition">Ana Sayfa</a>
                <a href="#grilled" class="text-white hover:text-yellow-400 transition">Izgara Tavuklar</a>
                <a href="#sauced" class="text-white hover:text-yellow-400 transition">Soslu Tavuklar</a>
                <a href="#snacks" class="text-white hover:text-yellow-400 transition">Atıştırmalıklar</a>
                <a href="#drinks" class="text-white hover:text-yellow-400 transition">İçecekler</a>
            </div>
            <div class="flex items-center space-x-4">
                <a href="cart.php" class="relative text-white hover:text-yellow-400 transition">
                    <i data-feather="shopping-cart"></i>
                    <span class="cart-badge" id="cartCount">0</span>
                </a>
                <div class="md:hidden">
                    <button class="text-white focus:outline-none">
                        <i data-feather="menu"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Menu Header -->
    <section class="py-12 bg-gradient-to-r from-gray-900 to-gray-800 px-4 text-center">
        <h1 class="text-4xl md:text-5xl font-bold mb-4">Piliç<span class="text-yellow-400">Box</span> Menü</h1>
        <p class="text-xl text-gray-300 max-w-2xl mx-auto">Özel lezzetlerimizle hazırlanan menülerimizi inceleyin, beğendiklerinizi sepete ekleyin!</p>
    </section>

    <!-- Menu Categories -->
    <section class="py-8 px-4 bg-gray-800 sticky top-16 z-50">
        <div class="container mx-auto">
            <div class="flex overflow-x-auto space-x-4 pb-2 scrollbar-hide">
                <button onclick="filterMenu('all')" class="category-btn whitespace-nowrap px-6 py-2 bg-gray-700 text-white rounded-full hover:bg-red-500 transition active-category">Tüm Menü</button>
                <button onclick="filterMenu('grilled')" class="category-btn whitespace-nowrap px-6 py-2 bg-gray-700 text-white rounded-full hover:bg-red-500 transition" id="grilled-btn">Izgara Tavuklar</button>
                <button onclick="filterMenu('sauced')" class="category-btn whitespace-nowrap px-6 py-2 bg-gray-700 text-white rounded-full hover:bg-red-500 transition" id="sauced-btn">Soslu Tavuklar</button>
                <button onclick="filterMenu('snacks')" class="category-btn whitespace-nowrap px-6 py-2 bg-gray-700 text-white rounded-full hover:bg-red-500 transition" id="snacks-btn">Atıştırmalıklar</button>
                <button onclick="filterMenu('drinks')" class="category-btn whitespace-nowrap px-6 py-2 bg-gray-700 text-white rounded-full hover:bg-red-500 transition" id="drinks-btn">İçecekler</button>
            </div>
        </div>
    </section>

    <!-- Search Box -->
    <section class="py-8 px-4">
        <div class="container mx-auto max-w-2xl">
            <div class="relative">
                <input type="text" id="menuSearch" placeholder="Menüde ara..." class="w-full bg-gray-800 border border-gray-700 rounded-full px-6 py-3 text-white focus:outline-none focus:ring-2 focus:ring-red-400 pl-12">
                <i data-feather="search" class="absolute left-4 top-3 text-gray-500"></i>
            </div>
        </div>
    </section>

    <!-- Menu Items -->
    <section class="py-8 px-4">
        <div class="container mx-auto">
            <!-- Izgara Tavuklar -->
            <div class="mb-16" id="grilled">
                <h2 class="text-2xl font-bold mb-8 flex items-center">
                    <i data-feather="sun" class="text-yellow-400 mr-3"></i>
                    <span>Izgara Tavuklar</span>
                </h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 menu-section" data-category="grilled">
                    <!-- Item 1 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Klasik Izgara Tavuk">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/11" alt="Klasik Izgara Tavuk" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Klasik Izgara Tavuk</h3>
                        <p class="text-gray-400 mb-4">Özel baharatlarla marine edilmiş, kömür ateşinde pişirilmiş 1/2 tavuk</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺39.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 2 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Baharatlı Izgara Tavuk">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/12" alt="Baharatlı Izgara Tavuk" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Baharatlı Izgara Tavuk</h3>
                        <p class="text-gray-400 mb-4">Özel baharat karışımı ile marine edilmiş, kömür ateşinde pişirilmiş 1/2 tavuk</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺44.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 3 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Izgara Tavuk Kanat">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/13" alt="Izgara Tavuk Kanat" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Izgara Tavuk Kanat</h3>
                        <p class="text-gray-400 mb-4">6 adet özel baharatlı tavuk kanat, kömür ateşinde pişirilmiş</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺34.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Soslu Tavuklar -->
            <div class="mb-16" id="sauced">
                <h2 class="text-2xl font-bold mb-8 flex items-center">
                    <i data-feather="droplet" class="text-red-400 mr-3"></i>
                    <span>Soslu Tavuklar</span>
                </h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 menu-section" data-category="sauced">
                    <!-- Item 1 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Acılı Tavuk">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/14" alt="Acılı Tavuk" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Acılı Tavuk</h3>
                        <p class="text-gray-400 mb-4">Özel acı sosumuzla hazırlanan, 1/2 tavuk</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺49.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 2 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Ballı Hardal Soslu Tavuk">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/15" alt="Ballı Hardal Soslu Tavuk" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Ballı Hardal Soslu Tavuk</h3>
                        <p class="text-gray-400 mb-4">Bal ve hardalın mükemmel uyumuyla hazırlanan 1/2 tavuk</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺49.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 3 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Barbekü Soslu Tavuk">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/16" alt="Barbekü Soslu Tavuk" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Barbekü Soslu Tavuk</h3>
                        <p class="text-gray-400 mb-4">Özel barbekü sosumuzla hazırlanan 1/2 tavuk</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺49.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Atıştırmalıklar -->
            <div class="mb-16" id="snacks">
                <h2 class="text-2xl font-bold mb-8 flex items-center">
                    <i data-feather="coffee" class="text-yellow-400 mr-3"></i>
                    <span>Atıştırmalıklar</span>
                </h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 menu-section" data-category="snacks">
                    <!-- Item 1 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Patates Kızartması">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/17" alt="Patates Kızartması" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Patates Kızartması</h3>
                        <p class="text-gray-400 mb-4">Özel kesilmiş, çıtır çıtır patates kızartması</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺19.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 2 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Soğan Halkası">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/18" alt="Soğan Halkası" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Soğan Halkası</h3>
                        <p class="text-gray-400 mb-4">Çıtır çıtır, özel ekmek kırıntılı soğan halkaları</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺24.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 3 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Mozzarella Çubukları">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/19" alt="Mozzarella Çubukları" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Mozzarella Çubukları</h3>
                        <p class="text-gray-400 mb-4">Çıtır dışı, yumuşak içi mozzarella çubukları</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺29.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- İçecekler -->
            <div class="mb-16" id="drinks">
                <h2 class="text-2xl font-bold mb-8 flex items-center">
                    <i data-feather="droplet" class="text-blue-400 mr-3 bubble"></i>
                    <span>İçecekler</span>
                </h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 menu-section" data-category="drinks">
                    <!-- Item 1 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Kola">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/20" alt="Kola" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Kola</h3>
                        <p class="text-gray-400 mb-4">330ml soğuk kola</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺9.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 2 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Fanta">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/21" alt="Fanta" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Fanta</h3>
                        <p class="text-gray-400 mb-4">330ml soğuk fanta</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺9.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                    
                    <!-- Item 3 -->
                    <div class="menu-item bg-gray-800 rounded-xl p-6" data-name="Ayran">
                        <div class="bg-gray-700 rounded-lg h-48 mb-4 overflow-hidden">
                            <img src="http://static.photos/food/640x360/22" alt="Ayran" class="w-full h-full object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2 text-white">Ayran</h3>
                        <p class="text-gray-400 mb-4">330ml soğuk ayran</p>
                        <div class="flex justify-between items-center">
                            <span class="text-yellow-400 font-bold">₺9.90</span>
                            <button class="add-to-cart bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg transition flex items-center">
                                <i data-feather="plus" class="mr-2"></i> Sepete Ekle
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Cart Floating Button -->
    <div class="fixed bottom-8 right-8 z-50">
        <a href="cart.php" class="bg-red-500 hover:bg-red-600 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-xl transition transform hover:scale-110">
            <i data-feather="shopping-cart"></i>
            <span class="cart-badge" id="floatingCartCount">0</span>
        </a>
    </div>

    <script>
        AOS.init();
        feather.replace();
        
        // Cart functionality
        let cart = JSON.parse(localStorage.getItem('cart')) || [];
        
        function updateCartCount() {
            const totalItems = cart.reduce((total, item) => total + item.quantity, 0);
            document.getElementById('cartCount').textContent = totalItems;
            document.getElementById('floatingCartCount').textContent = totalItems;
        }
        
        // Add to cart
        document.querySelectorAll('.add-to-cart').forEach(button => {
            button.addEventListener('click', function() {
                const menuItem = this.closest('.menu-item');
                const itemName = menuItem.dataset.name;
                const itemPrice = parseFloat(menuItem.querySelector('span').textContent.replace('₺', ''));
                
                // Check if item already in cart
                const existingItem = cart.find(item => item.name === itemName);
                
                if (existingItem) {
                    existingItem.quantity += 1;
                } else {
                    cart.push({
                        name: itemName,
                        price: itemPrice,
                        quantity: 1
                    });
                }
                
                localStorage.setItem('cart', JSON.stringify(cart));
                updateCartCount();
                
                // Show notification
                const notification = document.createElement('div');
                notification.className = 'fixed top-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg shadow-lg z-50 animate-fade-in-out';
                notification.textContent = `${itemName} sepete eklendi!`;
                document.body.appendChild(notification);
                
                setTimeout(() => {
                    notification.remove();
                }, 2000);
            });
        });
        
        // Filter menu by category
        function filterMenu(category) {
            // Update active button
            document.querySelectorAll('.category-btn').forEach(btn => {
                btn.classList.remove('active-category');
            });
            
            if (category === 'all') {
                document.querySelector('.category-btn').classList.add('active-category');
                document.querySelectorAll('.menu-section').forEach(section => {
                    section.style.display = 'grid';
                });
            } else {
                document.getElementById(`${category}-btn`).classList.add('active-category');
                document.querySelectorAll('.menu-section').forEach(section => {
                    if (section.dataset.category === category) {
                        section.style.display = 'grid';
                    } else {
                        section.style.display = 'none';
                    }
                });
            }
            
            // Scroll to category if not "all"
            if (category !== 'all') {
                document.getElementById(category).scrollIntoView({
                    behavior: 'smooth'
                });
            }
        }
        
        // Search functionality
        document.getElementById('menuSearch').addEventListener('input', function() {
            const searchTerm = this.value.toLowerCase();
            
            document.querySelectorAll('.menu-item').forEach(item => {
                const itemName = item.dataset.name.toLowerCase();
                
                if (itemName.includes(searchTerm)) {
                    item.style.display = 'block';
                } else {
                    item.style.display = 'none';
                }
            });
        });
        
        // Initialize cart count
        updateCartCount();
    </script>
</body>
</html>