File size: 5,675 Bytes
336527d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Apple Store Clone</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <style>
        :root {
            --apple-black: #1d1d1f;
            --apple-dark-gray: #333;
            --apple-gray: #86868b;
            --apple-light-gray: #f5f5f7;
            --apple-blue: #2997ff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
        }
        
        body {
            background-color: #fff;
            color: var(--apple-black);
        }
        
        .navbar {
            position: sticky;
            top: 0;
            background-color: rgba(0,0,0,0.8);
            backdrop-filter: blur(20px);
            color: #f5f5f7;
            padding: 0 22px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        
        .nav-links {
            display: flex;
            gap: 24px;
            font-size: 12px;
            font-weight: 400;
        }
        
        .nav-links a {
            color: inherit;
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s;
        }
        
        .nav-links a:hover {
            opacity: 1;
        }
        
        .hero {
            background: var(--apple-light-gray);
            text-align: center;
            padding: 60px 0;
        }
        
        .hero h1 {
            font-size: 56px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .hero h2 {
            font-size: 28px;
            font-weight: 400;
            margin-bottom: 20px;
        }
        
        .cta-links {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }
        
        .cta-link {
            font-size: 17px;
            color: var(--apple-blue);
            text-decoration: none;
        }
        
        .cta-link:hover {
            text-decoration: underline;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 10px;
        }
        
        .product-card {
            background: var(--apple-light-gray);
            border-radius: 18px;
            padding: 40px 20px;
            text-align: center;
        }
        
        .product-card h3 {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .product-card p {
            font-size: 17px;
            margin-bottom: 20px;
        }
        
        footer {
            background: var(--apple-light-gray);
            padding: 20px;
            font-size: 12px;
            color: var(--apple-gray);
            margin-top: 40px;
        }
    </style>
</head>
<body>
    <nav class="navbar">
        <div class="nav-links">
            <a href="#"><i class="fab fa-apple"></i></a>
            <a href="#">Store</a>
            <a href="#">Mac</a>
            <a href="#">iPad</a>
            <a href="#">iPhone</a>
            <a href="#">Watch</a>
            <a href="#">AirPods</a>
            <a href="#">TV & Home</a>
            <a href="#">Entertainment</a>
            <a href="#">Accessories</a>
            <a href="#">Support</a>
            <a href="#"><i class="fas fa-search"></i></a>
            <a href="#"><i class="fas fa-shopping-bag"></i></a>
        </div>
    </nav>
    
    <section class="hero">
        <h1>iPhone 15 Pro</h1>
        <h2>Titanium. So strong. So light. So Pro.</h2>
        <div class="cta-links">
            <a href="#" class="cta-link">Learn more &gt;</a>
            <a href="#" class="cta-link">Buy &gt;</a>
        </div>
    </section>
    
    <section class="products-grid">
        <div class="product-card">
            <h3>MacBook Air 15"</h3>
            <p>Impressively big. Impossibly thin.</p>
            <div class="cta-links">
                <a href="#" class="cta-link">Learn more &gt;</a>
                <a href="#" class="cta-link">Buy &gt;</a>
            </div>
        </div>
        <div class="product-card">
            <h3>iPad Pro</h3>
            <p>Supercharged by M2.</p>
            <div class="cta-links">
                <a href="#" class="cta-link">Learn more &gt;</a>
                <a href="#" class="cta-link">Buy &gt;</a>
            </div>
        </div>
        <div class="product-card">
            <h3>Apple Watch Series 9</h3>
            <p>Smarter. Brighter. Mightier.</p>
            <div class="cta-links">
                <a href="#" class="cta-link">Learn more &gt;</a>
                <a href="#" class="cta-link">Buy &gt;</a>
            </div>
        </div>
        <div class="product-card">
            <h3>AirPods Pro</h3>
            <p>Adaptive Audio. Now playing.</p>
            <div class="cta-links">
                <a href="#" class="cta-link">Learn more &gt;</a>
                <a href="#" class="cta-link">Buy &gt;</a>
            </div>
        </div>
    </section>
    
    <footer>
        <p>Copyright © 2023 Apple Inc. All rights reserved.</p>
    </footer>

    <script src="assets/js/main.js"></script>
</body>
</html>