Spaces:
Running

File size: 33,868 Bytes
23c3edd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Redeemer's Revival Fire Ministry</title>
    <meta name="description" content="Welcome to Redeemer's Revival Fire Ministry - a.k.a Household of Faith; Arena of Breakthrough">
    
    <!-- TailwindCSS CDN -->
    <script src="https://cdn.tailwindcss.com"></script>
    
    <!-- Custom Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap" rel="stylesheet">
    
    <!-- Custom Properties -->
    <style>
        :root {
            --primary: #89B3DA;
            --primary-light: #A8C7E6;
            --primary-dark: #6B96C7;
            --bg-color: #F0F8FF;
            --text-color: hsl(216, 12%, 28%);
            --text-light: hsl(216, 12%, 45%);
            --accent: hsl(212, 33%, 94%);
            --nav-bg: rgba(240, 248, 255, 0.95);
            --nav-text: hsl(216, 12%, 28%);
            --nav-hover: rgba(168, 199, 230, 0.5);
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .dark {
            --bg-color: #1a1a1a;
            --text-color: #e5e5e5;
            --text-light: #a1a1a1;
            --accent: #2d3748;
            --nav-bg: rgba(26, 26, 26, 0.95);
            --nav-text: #e5e5e5;
            --nav-hover: rgba(107, 150, 199, 0.2);
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            transition: background-color 0.3s ease, color 0.3s ease;
            overflow-x: hidden;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-color);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        @keyframes slideIn {
            from { transform: translateX(-100%); }
            to { transform: translateX(0); }
        }

        @keyframes scaleIn {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .animate-fadeIn {
            animation: fadeIn 0.6s ease-out;
        }

        .animate-bounce {
            animation: bounce 2s infinite;
        }

        .animate-scaleIn {
            animation: scaleIn 0.3s ease-out;
        }

        /* Hero Background */
        .hero-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.pexels.com/photos/208359/pexels-photo-208359.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        /* Card Hover Effects */
        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background-color: var(--bg-color);
            border-radius: 12px;
            padding: 2rem;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        /* Form Styles */
        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--primary-light);
            border-radius: 8px;
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: border-color 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(137, 179, 218, 0.2);
        }

        .form-input.error {
            border-color: #ef4444;
        }

        .error-message {
            color: #ef4444;
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }

        /* Loading Spinner */
        .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid var(--primary-light);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-bg {
                background-attachment: scroll;
            }
        }

        /* No-js fallback */
        .no-js .modal-overlay {
            display: none;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }

        .theme-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--primary-light);
            transition: 0.4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--primary);
        }

        input:checked + .slider:before {
            transform: translateX(20px);
        }
    </style>
</head>
<body class="bg-[var(--bg-color)] text-[var(--text-color)]">
    <!-- Header -->
    <header id="header" class="fixed top-0 left-0 right-0 z-50 transition-all duration-300 bg-[var(--nav-bg)] text-[var(--nav-text)] shadow-sm">
        <nav class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center h-16">
                <!-- Logo -->
                <a href="index.html" class="flex items-center space-x-2">
                    <svg class="w-8 h-8 text-[var(--primary)]" fill="currentColor" viewBox="0 0 20 20">
                        <path d="M10 2a8 8 0 100 16 8 8 0 000-16zM8.5 6a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM10 14l-4-4h8l-4 4z"/>
                    </svg>
                    <span class="font-bold text-xl">RRFM</span>
                </a>

                <!-- Desktop Navigation -->
                <div class="hidden md:flex items-center space-x-8">
                    <a href="index.html" class="hover:text-[var(--primary)] transition-colors">Home</a>
                    <a href="about.html" class="hover:text-[var(--primary)] transition-colors">About</a>
                    <a href="sermons.html" class="hover:text-[var(--primary)] transition-colors">Sermons</a>
                    <a href="contact.html" class="hover:text-[var(--primary)] transition-colors">Contact</a>
                    
                    <!-- Theme Toggle -->
                    <div class="relative">
                        <button id="themeToggle" class="p-2 rounded-lg hover:bg-[var(--nav-hover)] transition-colors">
                            <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
                                <path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"/>
                            </svg>
                        </button>
                        <div id="themeDropdown" class="absolute right-0 mt-2 w-48 bg-[var(--bg-color)] border border-[var(--accent)] rounded-lg shadow-lg hidden">
                            <button class="theme-option w-full text-left px-4 py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="light">Light</button>
                            <button class="theme-option w-full text-left px-4 py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="dark">Dark</button>
                            <button class="theme-option w-full text-left px-4 py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="system">System</button>
                        </div>
                    </div>

                    <a href="donation.html" class="bg-[var(--primary)] text-white px-4 py-2 rounded-lg hover:bg-[var(--primary-dark)] transition-colors">
                        Donation
                    </a>
                </div>

                <!-- Mobile Menu Button -->
                <button id="mobileMenuBtn" class="md:hidden p-2 rounded-lg hover:bg-[var(--nav-hover)] transition-colors">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
                    </svg>
                </button>
            </div>
        </nav>

        <!-- Mobile Menu -->
        <div id="mobileMenu" class="md:hidden fixed inset-0 bg-[var(--nav-bg)] z-40 transform -translate-x-full transition-transform duration-300">
            <div class="flex justify-end p-4">
                <button id="closeMobileMenu" class="p-2 rounded-lg hover:bg-[var(--nav-hover)] transition-colors">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
                    </svg>
                </button>
            </div>
            <nav class="flex flex-col items-center space-y-6 py-8">
                <a href="index.html" class="text-2xl hover:text-[var(--primary)] transition-colors">Home</a>
                <a href="about.html" class="text-2xl hover:text-[var(--primary)] transition-colors">About</a>
                <a href="sermons.html" class="text-2xl hover:text-[var(--primary)] transition-colors">Sermons</a>
                <a href="contact.html" class="text-2xl hover:text-[var(--primary)] transition-colors">Contact</a>
                <a href="donation.html" class="text-2xl text-[var(--primary)] hover:text-[var(--primary-dark)] transition-colors">Donation</a>
                
                <div class="pt-8">
                    <p class="text-sm text-[var(--text-light)] mb-4">Theme</p>
                    <div class="space-y-2">
                        <button class="theme-option block w-full text-center py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="light">Light</button>
                        <button class="theme-option block w-full text-center py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="dark">Dark</button>
                        <button class="theme-option block w-full text-center py-2 hover:bg-[var(--nav-hover)] transition-colors" data-theme="system">System</button>
                    </div>
                </div>
            </nav>
        </div>
    </header>

    <!-- Hero Section -->
    <section class="hero-bg min-h-screen flex items-center justify-center text-white relative">
        <div class="text-center px-4 animate-fadeIn">
            <h1 class="text-5xl md:text-7xl font-bold mb-4">Redeemer's Revival Fire Ministry</h1>
            <p class="text-xl md:text-2xl mb-8">a.k.a Household of Faith; Arena of Breakthrough</p>
            <a href="#about" class="inline-block bg-[var(--primary)] text-white px-8 py-3 rounded-lg hover:bg-[var(--primary-dark)] transition-colors">
                Learn More
            </a>
        </div>
        
        <!-- Scroll Indicator -->
        <div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce">
            <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"></path>
            </svg>
        </div>
    </section>

    <!-- About Section -->
    <section id="about" class="py-20 bg-[var(--accent)]">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold mb-4">Our Ministries</h2>
                <p class="text-[var(--text-light)]">Discover how we serve our community</p>
            </div>
            
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Worship Ministry -->
                <div class="card-hover bg-[var(--bg-color)] rounded-lg p-6 text-center shadow-md cursor-pointer" onclick="openMinistryModal('worship')">
                    <div class="w-16 h-16 bg-[var(--primary)] rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="currentColor" viewBox="0 0 20 20">
                            <path d="M18 3a1 1 0 00-1.196-.98l-10 2A1 1 0 006 5v9.114A4.369 4.369 0 005 14c-1.657 0-3 .895-3 2s1.343 2 3 2 3-.895 3-2 1.657-2 3-2h.5V5a2 2 0 012-2h.5V3a1 1 0 011-1z"/>
                        </svg>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Worship Ministry</h3>
                    <p class="text-[var(--text-light)]">Leading our congregation in heartfelt worship and praise.</p>
                </div>

                <!-- Youth Ministry -->
                <div class="card-hover bg-[var(--bg-color)] rounded-lg p-6 text-center shadow-md cursor-pointer" onclick="openMinistryModal('youth')">
                    <div class="w-16 h-16 bg-[var(--primary)] rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="currentColor" viewBox="0 0 20 20">
                            <path d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3z"/>
                        </svg>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Youth Ministry</h3>
                    <p class="text-[var(--text-light)]">Empowering the next generation with faith and purpose.</p>
                </div>

                <!-- Community Outreach -->
                <div class="card-hover bg-[var(--bg-color)] rounded-lg p-6 text-center shadow-md cursor-pointer" onclick="openMinistryModal('outreach')">
                    <div class="w-16 h-16 bg-[var(--primary)] rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="currentColor" viewBox="0 0 20 20">
                            <path fill-rule="evenodd" d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z"/>
                        </svg>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Community Outreach</h3>
                    <p class="text-[var(--text-light)]">Extending God's love through service to our community.</p>
                </div>
            </div>
            
            <div class="text-center mt-12">
                <a href="about.html" class="inline-block border border-[var(--primary)] text-[var(--primary)] px-8 py-3 rounded-lg hover:bg-[var(--primary)] hover:text-white transition-colors">
                    Learn More About Us
                </a>
            </div>
        </div>
    </section>

    <!-- Sermons Section -->
    <section class="py-20">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold mb-4">Recent Sermons</h2>
                <p class="text-[var(--text-light)]">Be inspired by our latest messages</p>
            </div>
            
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Sermon 1 -->
                <div class="bg-[var(--bg-color)] rounded-lg overflow-hidden shadow-md">
                    <img src="https://images.pexels.com/photos/208359/pexels-photo-208359.jpeg?auto=compress&cs=tinysrgb&w=400&h=300&fit=crop" alt="Sermon" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2">The Power of Faith</h3>
                        <p class="text-[var(--text-light)] mb-4">Pastor John • March 10, 2024</p>
                        <a href="#" class="inline-block bg-[var(--primary)] text-white px-4 py-2 rounded hover:bg-[var(--primary-dark)] transition-colors">
                            Watch Now
                        </a>
                    </div>
                </div>

                <!-- Sermon 2 -->
                <div class="bg-[var(--bg-color)] rounded-lg overflow-hidden shadow-md">
                    <img src="https://images.pexels.com/photos/208359/pexels-photo-208359.jpeg?auto=compress&cs=tinysrgb&w=400&h=300&fit=crop" alt="Sermon" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2">Walking in Victory</h3>
                        <p class="text-[var(--text-light)] mb-4">Pastor Sarah • March 3, 2024</p>
                        <a href="#" class="inline-block bg-[var(--primary)] text-white px-4 py-2 rounded hover:bg-[var(--primary-dark)] transition-colors">
                            Watch Now
                        </a>
                    </div>
                </div>

                <!-- Sermon 3 -->
                <div class="bg-[var(--bg-color)] rounded-lg overflow-hidden shadow-md">
                    <img src="https://images.pexels.com/photos/208359/pexels-photo-208359.jpeg?auto=compress&cs=tinysrgb&w=400&h=300&fit=crop" alt="Sermon" class="w-full h-48 object-cover">
                    <div class="p-6">
                        <h3 class="text-xl font-semibold mb-2">Breaking Barriers</h3>
                        <p class="text-[var(--text-light)] mb-4">Pastor Mike • February 25, 2024</p>
                        <a href="#" class="inline-block bg-[var(--primary)] text-white px-4 py-2 rounded hover:bg-[var(--primary-dark)] transition-colors">
                            Watch Now
                        </a>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-12">
                <a href="sermons.html" class="inline-block border border-[var(--primary)] text-[var(--primary)] px-8 py-3 rounded-lg hover:bg-[var(--primary)] hover:text-white transition-colors">
                    View All Sermons
                </a>
            </div>
        </div>
    </section>

    <!-- Location & Contact Section -->
    <section class="py-20 bg-[var(--accent)]">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid md:grid-cols-2 gap-12">
                <!-- Contact Info -->
                <div>
                    <h2 class="text-3xl font-bold mb-6">Visit Us</h2>
                    <div class="space-y-4">
                        <div class="flex items-start space-x-3">
                            <svg class="w-6 h-6 text-[var(--primary)] mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path>
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path>
                            </svg>
                            <div>
                                <p class="font-semibold">Address</p>
                                <p class="text-[var(--text-light)]">123 Faith Avenue, Grace City</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start space-x-3">
                            <svg class="w-6 h-6 text-[var(--primary)] mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                            </svg>
                            <div>
                                <p class="font-semibold">Service Times</p>
                                <p class="text-[var(--text-light)]">Sunday: 9:00 AM & 11:00 AM</p>
                                <p class="text-[var(--text-light)]">Wednesday: 7:00 PM</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start space-x-3">
                            <svg class="w-6 h-6 text-[var(--primary)] mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path>
                            </svg>
                            <div>
                                <p class="font-semibold">Contact</p>
                                <p class="text-[var(--text-light)]">Phone: (555) 123-4567</p>
                                <p class="text-[var(--text-light)]">Email: info@rrfm.org</p>
                            </div>
                        </div>
                    </div>
                    
                    <button class="mt-6 bg-[var(--primary)] text-white px-6 py-2 rounded-lg hover:bg-[var(--primary-dark)] transition-colors">
                        Get Directions
                    </button>
                </div>

                <!-- Webmail Login -->
                <div class="bg-[var(--bg-color)] p-6 rounded-lg shadow-md">
                    <h3 class="text-xl font-semibold mb-4">Webmail Login</h3>
                    <form id="webmailForm" class="space-y-4">
                        <div>
                            <label class="block text-sm font-medium mb-2">Email</label>
                            <input type="email" class="form-input" placeholder="your@email.com" required>
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-2">Password</label>
                            <input type="password" class="form-input" placeholder="••••••••" required>
                        </div>
                        <button type="submit" class="w-full bg-[var(--primary)] text-white py-2 rounded-lg hover:bg-[var(--primary-dark)] transition-colors">
                            Sign In
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-[var(--accent)] py-8">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
            <p class="text-[var(--text-light)]">&copy; 2024 Redeemer's Revival Fire Ministry. All rights reserved.</p>
        </div>
    </footer>

    <!-- Ministry Modal -->
    <div id="ministryModal" class="modal-overlay">
        <div class="modal-content">
            <div class="flex justify-between items-start mb-4">
                <h2 id="modalTitle" class="text-2xl font-bold"></h2>
                <button onclick="closeMinistryModal()" class="text-[var(--text-light)] hover:text-[var(--text-color)]">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
                    </svg>
                </button>
            </div>
            <div id="modalContent" class="space-y-4"></div>
        </div>
    </div>

    <script>
        // Theme management
        const themeToggle = document.getElementById('themeToggle');
        const themeDropdown = document.getElementById('themeDropdown');
        const themeOptions = document.querySelectorAll('.theme-option');
        
        function setTheme(theme) {
            const root = document.documentElement;
            if (theme === 'dark') {
                root.classList.add('dark');
            } else if (theme === 'light') {
                root.classList.remove('dark');
            } else {
                // System preference
                if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
                    root.classList.add('dark');
                } else {
                    root.classList.remove('dark');
                }
            }
            localStorage.setItem('theme', theme);
        }

        function getTheme() {
            return localStorage.getItem('theme') || 'system';
        }

        // Initialize theme
        setTheme(getTheme());

        // Theme toggle
        themeToggle.addEventListener('click', () => {
            themeDropdown.classList.toggle('hidden');
        });

        themeOptions.forEach(option => {
            option.addEventListener('click', (e) => {
                const theme = e.target.dataset.theme;
                setTheme(theme);
                themeDropdown.classList.add('hidden');
            });
        });

        // Close dropdown when clicking outside
        document.addEventListener('click', (e) => {
            if (!themeToggle.contains(e.target) && !themeDropdown.contains(e.target)) {
                themeDropdown.classList.add('hidden');
            }
        });

        // Header scroll effect
        const header = document.getElementById('header');
        let lastScroll = 0;

        window.addEventListener('scroll', () => {
            const currentScroll = window.pageYOffset;
            
            if (currentScroll > 50) {
                header.classList.add('shadow-md');
            } else {
                header.classList.remove('shadow-md');
            }
            
            lastScroll = currentScroll;
        });

        // Mobile menu
        const mobileMenuBtn = document.getElementById('mobileMenuBtn');
        const closeMobileMenuBtn = document.getElementById('closeMobileMenu');
        const mobileMenu = document.getElementById('mobileMenu');

        function toggleMobileMenu() {
            mobileMenu.classList.toggle('-translate-x-full');
            document.body.classList.toggle('overflow-hidden');
        }

        mobileMenuBtn.addEventListener('click', toggleMobileMenu);
        closeMobileMenuBtn.addEventListener('click', toggleMobileMenu);

        // Ministry modal
        const ministryModal = document.getElementById('ministryModal');
        const modalTitle = document.getElementById('modalTitle');
        const modalContent = document.getElementById('modalContent');

        const ministryData = {
            worship: {
                title: 'Worship Ministry',
                content: `
                    <p class="mb-4">Our Worship Ministry is dedicated to creating an atmosphere where people can encounter the presence of God through music and worship.</p>
                    <h3 class="text-lg font-semibold mb-2">What We Do:</h3>
                    <ul class="list-disc list-inside space-y-1 text-[var(--text-light)]">
                        <li>Lead Sunday services with powerful worship sessions</li>
                        <li>Organize special worship events and concerts</li>
                        <li>Train and mentor new worship leaders</li>
                        <li>Produce original worship music</li>
                    </ul>
                    <h3 class="text-lg font-semibold mb-2 mt-4">Join Us:</h3>
                    <p class="text-[var(--text-light)]">We meet every Thursday at 6:00 PM for rehearsal. All skill levels welcome!</p>
                `
            },
            youth: {
                title: 'Youth Ministry',
                content: `
                    <p class="mb-4">Our Youth Ministry empowers young people to live out their faith boldly and impact their generation for Christ.</p>
                    <h3 class="text-lg font-semibold mb-2">Programs:</h3>
                    <ul class="list-disc list-inside space-y-1 text-[var(--text-light)]">
                        <li>Friday Night Youth Services</li>
                        <li>Small Groups & Bible Studies</li>
                        <li>Outreach & Missions Trips</li>
                        <li>Summer Camps & Retreats</li>
                    </ul>
                    <h3 class="text-lg font-semibold mb-2 mt-4">Age Groups:</h3>
                    <p class="text-[var(--text-light)]">Junior (12-15) and Senior (16-21) groups available</p>
                `
            },
            outreach: {
                title: 'Community Outreach',
                content: `
                    <p class="mb-4">Our Community Outreach extends God's love beyond the church walls through practical service and support.</p>
                    <h3 class="text-lg font-semibold mb-2">Initiatives:</h3>
                    <ul class="list-disc list-inside space-y-1 text-[var(--text-light)]">
                        <li>Food bank and feeding programs</li>
                        <li>Clothing distribution drives</li>
                        <li>Prison ministry and support</li>
                        <li>Orphanage visits and support</li>
                    </ul>
                    <h3 class="text-lg font-semibold mb-2 mt-4">Get Involved:</h3>
                    <p class="text-[var(--text-light)]">Contact us to join our outreach team or donate to support our programs</p>
                `
            }
        };

        function openMinistryModal(ministry) {
            const data = ministryData[ministry];
            modalTitle.textContent = data.title;
            modalContent.innerHTML = data.content;
            ministryModal.classList.add('active');
            document.body.style.overflow = 'hidden';
        }

        function closeMinistryModal() {
            ministryModal.classList.remove('active');
            document.body.style.overflow = '';
        }

        // Close modal on escape
        document.addEventListener('keydown', (e) => {
            if (e.key === 'Escape') {
                closeMinistryModal();
            }
        });

        // Close modal on backdrop click
        ministryModal.addEventListener('click', (e) => {
            if (e.target === ministryModal) {
                closeMinistryModal();
            }
        });

        // Webmail form
        const webmailForm = document.getElementById('webmailForm');
        webmailForm.addEventListener('submit', (e) => {
            e.preventDefault();
            alert('Webmail login would redirect to email service');
        });

        // Smooth scroll for anchor links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                const target = document.querySelector(this.getAttribute('href'));
                if (target) {
                    target.scrollIntoView({
                        behavior: 'smooth',
                        block: 'start'
                    });
                }
            });
        });
    </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=Dinftech/rrfm3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>