File size: 6,542 Bytes
523377a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en" dir="ltr" id="html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Media Hub | NABAD</title>
    <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        'brand-dark': '#0D1B2A',
                        'brand-blue': '#3A86FF',
                        'brand-gold': '#FFBE0B',
                        'brand-light': '#E0E1DD',
                        'brand-gray': '#415A77',
                    },
                    fontFamily: {
                        'tajawal': ['Tajawal', 'sans-serif']
                    }
                }
            }
        }
    </script>
    <style>
        body { font-family: 'Tajawal', sans-serif; background-color: #0D1B2A; color: #E0E1DD; }
        .glass-card { background: rgba(65, 90, 119, 0.2); backdrop-filter: blur(12px); border: 1px solid rgba(224, 225, 221, 0.1); }
        .filter-btn.active { background-color: #3A86FF; color: white; }
        .video-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .video-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(58, 134, 255, 0.2); }
        .rtl { direction: rtl; }
        .ltr { direction: ltr; }
    </style>
</head>
<body class="font-tajawal">

    <!-- Header -->
    <header class="sticky top-0 w-full z-50 bg-brand-dark/80 backdrop-blur-md border-b border-brand-gray/50">
        <nav class="max-w-screen-xl mx-auto px-6 py-4 flex justify-between items-center">
             <a href="index.html" class="flex items-center space-x-4">
                <i class="fas fa-wave-square text-brand-blue text-3xl"></i>
                <h1 class="text-2xl font-bold text-white" data-en="NABAD" data-ar="نَبَض">NABAD</h1>
            </a>
            <div class="flex items-center space-x-4">
                 <a href="dashboard.html" class="px-6 py-2 bg-brand-blue text-white font-bold rounded-full hover:bg-opacity-80 transition-all hidden sm:block">
                    <span data-en="Dashboards" data-ar="لوحات التحكم">Dashboards</span>
                </a>
                <button onclick="toggleLanguage()" class="w-10 h-10 border-2 border-brand-gray rounded-full hover:border-brand-blue transition-colors">
                    <span id="lang-toggle">ع</span>
                </button>
            </div>
        </nav>
    </header>

    <main class="max-w-screen-xl mx-auto px-6 py-16">
        <!-- Featured Video -->
        <section class="mb-20">
            <div class="text-center mb-10">
                 <h1 class="text-4xl font-extrabold text-white mb-4" data-en="NABAD Media Hub" data-ar="المركز الإعلامي لمنصة نَبَض">NABAD Media Hub</h1>
                 <p class="text-lg text-brand-light max-w-3xl mx-auto" data-en="Explore the stories, achievements, and future visions of Saudi Arabia." data-ar="استكشف قصص وإنجازات ورؤى المستقبل للمملكة العربية السعودية.">Explore the stories, achievements, and future visions of Saudi Arabia.</p>
            </div>
            <div class="grid lg:grid-cols-5 gap-8 items-center">
                <div class="lg:col-span-3 aspect-video rounded-2xl overflow-hidden shadow-2xl shadow-brand-blue/20">
                    <iframe id="featured-video-iframe" class="w-full h-full" src="https://www.youtube.com/embed/dfrPtS4MSlw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
                </div>
                <div class="lg:col-span-2">
                    <span class="bg-brand-gold text-brand-dark px-3 py-1 rounded-full text-sm font-bold" data-en="Featured" data-ar="مميز">Featured</span>
                    <h2 class="text-3xl font-bold text-white mt-4 mb-3" data-en="Vision 2030: A Reality Unfolding" data-ar="رؤية 2030: واقع يتحقق">Vision 2030: A Reality Unfolding</h2>
                    <p class="text-brand-light" data-en="A comprehensive look at the tangible achievements and ongoing progress of Saudi Arabia's ambitious national transformation plan." data-ar="نظرة شاملة على الإنجازات الملموسة والتقدم المستمر لخطة التحول الوطني الطموحة في المملكة العربية السعودية.">A comprehensive look at the tangible achievements and ongoing progress of Saudi Arabia's ambitious national transformation plan.</p>
                </div>
            </div>
        </section>

        <!-- Video Gallery -->
        <section>
            <div class="flex flex-col md:flex-row justify-between items-center mb-10">
                <div class="flex flex-wrap gap-3 mb-6 md:mb-0">
                    <button class="filter-btn active px-4 py-2 rounded-full glass-card" data-filter="all" data-en="All" data-ar="الكل">All</button>
                    <button class="filter-btn px-4 py-2 rounded-full glass-card" data-filter="vision2030" data-en="Vision 2030" data-ar="رؤية 2030">Vision 2030</button>
                    <button class="filter-btn px-4 py-2 rounded-full glass-card" data-filter="pride" data-en="National Pride" data-ar="فخر وطني">National Pride</button>
                    <button class="filter-btn px-4 py-2 rounded-full glass-card" data-filter="technology" data-en="Technology" data-ar="التقنية">Technology</button>
                </div>
                <div class="relative w-full md:w-auto">
                    <input type="text" id="video-search" class="w-full md:w-80 px-4 py-2 glass-card rounded-full" placeholder="Search videos...">
                    <i class="fas fa-search absolute top-1/2 right-4 transform -translate-y-1/2 text-brand-gray"></i>
                </div>
            </div>

            <div id="video-grid" class="grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
                <!-- Video Cards will be injected here by JS -->
            </div>
        </section>
    </main>
    
    <script src="translations.js"></script>
    <script src="script.js"></script>
</body>
</html>