Repository navigation
Expand file tree
/
Copy pathcode.html
More file actions
444 lines (427 loc) · 24.1 KB
/
Copy pathcode.html
File metadata and controls
444 lines (427 loc) · 24.1 KB
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
<!DOCTYPE html><html class="dark" lang="en" style=""><head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>L'ESSENCE PARFUMERIE | Atmospheric Luxury</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
<!-- Material Symbols -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"surface-container-highest": "#343534",
"tertiary-fixed": "#ffdea2",
"secondary-fixed-dim": "#d3c3bc",
"on-background": "#e3e2e0",
"primary-container": "#090909",
"surface-container-low": "#1a1c1b",
"secondary-container": "#50443f",
"on-error": "#690005",
"on-primary-container": "#7a7978",
"primary-fixed-dim": "#c9c6c5",
"tertiary-fixed-dim": "#e7c177",
"inverse-surface": "#e3e2e0",
"primary": "#c9c6c5",
"on-secondary": "#382e2a",
"surface-container-high": "#292a29",
"background": "#090909",
"on-secondary-fixed-variant": "#50443f",
"error": "#ffb4ab",
"on-primary-fixed-variant": "#474646",
"on-surface-variant": "#c4c7c7",
"surface-variant": "#343534",
"surface-bright": "#383938",
"error-container": "#93000a",
"tertiary-container": "#0f0800",
"outline": "#8e9192",
"on-secondary-fixed": "#221a16",
"on-secondary-container": "#c2b2ab",
"secondary-fixed": "#f0dfd8",
"on-primary": "#313030",
"surface-container-lowest": "#0d0e0e",
"on-tertiary": "#402d00",
"inverse-primary": "#5f5e5e",
"surface-container": "#1f201f",
"on-tertiary-fixed-variant": "#5c4201",
"surface-dim": "#121413",
"outline-variant": "#444748",
"on-error-container": "#ffdad6",
"surface": "#121413",
"primary-fixed": "#e5e2e1",
"on-tertiary-fixed": "#261900",
"inverse-on-surface": "#2f3130",
"tertiary": "#D8B36A",
"on-tertiary-container": "#947432",
"surface-tint": "#c9c6c5",
"on-primary-fixed": "#1c1b1b",
"secondary": "#d3c3bc",
"on-surface": "#e3e2e0"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"margin-mobile": "20px",
"container-max": "1440px",
"margin-desktop": "80px",
"unit": "8px",
"section-gap": "160px",
"gutter": "24px"
},
"fontFamily": {
"body-md": ["Inter"],
"headline-sm": ["Playfair Display"],
"headline-md": ["Playfair Display"],
"display-lg": ["Playfair Display"],
"display-lg-mobile": ["Playfair Display"],
"body-lg": ["Inter"],
"label-caps": ["Inter"]
},
"fontSize": {
"body-md": ["16px", {"lineHeight": "1.6", "fontWeight": "400"}],
"headline-sm": ["24px", {"lineHeight": "1.4", "fontWeight": "400"}],
"headline-md": ["32px", {"lineHeight": "1.3", "fontWeight": "400"}],
"display-lg": ["72px", {"lineHeight": "1.1", "letterSpacing": "-0.02em", "fontWeight": "400"}],
"display-lg-mobile": ["44px", {"lineHeight": "1.2", "fontWeight": "400"}],
"body-lg": ["18px", {"lineHeight": "1.8", "letterSpacing": "0.01em", "fontWeight": "300"}],
"label-caps": ["12px", {"lineHeight": "1.2", "letterSpacing": "0.2em", "fontWeight": "600"}]
}
},
},
}
</script>
<style>
body {
background-color: #090909;
color: #e3e2e0;
overflow-x: hidden;
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
/* Slider Transitions */
.slider-container {
height: 100vh;
width: 100vw;
position: relative;
overflow: hidden;
}
.slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 1.5s ease-in-out;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #090909;
}
.slide.active {
opacity: 1;
z-index: 10;
}
/* Progress Bar Animation */
@keyframes progress {
from { width: 0%; }
to { width: 100%; }
}
.slider-progress {
position: absolute;
bottom: 0;
left: 0;
height: 2px;
background-color: #D8B36A;
z-index: 50;
width: 0%;
}
.slider-progress.animate {
animation: progress 5s linear infinite;
}
.reveal-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.visible {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body class="font-body-md text-body-md antialiased">
<!-- TopAppBar -->
<header class="fixed top-0 w-full z-[100] bg-transparent backdrop-blur-xl transition-all duration-500 py-8" id="main-header">
<div class="flex justify-between items-center px-margin-desktop py-8 w-full max-w-container-max mx-auto">
<div class="flex items-center gap-12">
<a class="font-display-lg text-headline-md tracking-tighter text-on-surface" href="#"><img src="https://lh3.googleusercontent.com/aida-public/AB6AXuDqebTwBm_pUbdKYAZM6Jf8wMzTEkvQzBwc9xQVPdxySQ3Yzy7FoyZ1ZoHRXE6t3iWx3PJRdvBk_LsV_NYt1M7pThlWqupweQGTsaULxNJVn6GWF4El7mKDYt2lQ59rTsv2HP3Hc_BpVEaUURD-Ch90GB7ElcgA1pbalCM3QMdJ2SEEIKNtEp2WX9ekxfFqVWEsnDtma5TUPlsn7w8SHY92J5QNcd3TN_Rful_n8Ha8vOaFWjRgpnMcqk3oxIpp-3PReQ" alt="Omor Logo" class="h-12 w-auto object-contain"></a>
<nav class="hidden md:flex items-center gap-8 font-label-caps text-label-caps">
<a class="text-tertiary border-b-2 border-tertiary pb-1" href="#">Home</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors duration-500" href="#collection">Collection</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors duration-500" href="#signature">Signature</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors duration-500" href="#heritage">Heritage</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors duration-500" href="#">Contact</a>
</nav>
</div>
<div class="flex items-center gap-6 text-tertiary font-label-caps text-label-caps">
<div class="hidden md:flex items-center hover:text-tertiary transition-all duration-300 cursor-pointer">
<span class="tracking-widest">SHOP NOW</span>
</div>
<div class="flex items-center gap-4">
<button class="material-symbols-outlined hover:scale-95 duration-300 ease-out">shopping_bag</button>
<button class="material-symbols-outlined md:hidden">menu</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main>
<!-- Hero Slider -->
<section class="slider-container" id="hero-slider">
<!-- Slide 1 -->
<div class="slide" style="background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAgyMTnofjUr8mAJv0_MGN1dV3WNLwlgF7WCSIymv-l3-DdmounOcwn51ieubmsV1Nc1srRAPsJ-gjcn0VyUMuAza7bGJB7n8MrinHbDRYuPzlV0KlApft9H1b5NTP4OJ_sjyv22GKEITDDjakf5jtrfz3sFJuH6q58ZdqTvm6GJmoQqZSxEyvRSMv_F_3KRf800ZvZk5UIj1WTuIssBFcMi1AxAFJ5ieOxu6K3WQLku7bfOIocX9ZhiR_u23a1w-9SJQ");"></div>
<!-- Slide 2 -->
<div class="slide" style="background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuB3sUzA-u61nKSLfP5KFLTP3SrgMt0IYm2qFE_XHgyb8G0edsOr62YJp7wVM-Ewzi9IV4OGckr_3s3v0kaKIEsParby3mElOOANyZymXooDskTA9YPgxmVLM27yLMl0gO3plqYgqcGuRot8xn-EgkPVNN29AijH_pOdPbXAq87jOI7LDi5LjPj-hLA7z8PVEc9unfFjUKvt7DqUNs5iP8BvOlEYIxmZw1L0pRX7cL0neEB8HoZc3VOyXDx8jvkjirLstA");"></div>
<!-- Slide 3 -->
<div class="slide active" style="background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDYTEEgkq3VkthKR1GfyCt740SYf7AGENy3F3mpyWP_0vTAB65gHcOCxWybJrub7Ah5x4zoppMh5MFG9PFxkNq38P6rKAQ0dCW7tLQ111aYY8f6zR6Z1t-Pc82xzu2Ko8CAB37vXdvInMfjbh82gFEqjTgtYXUf6l93FCAPSW85l2q2OvgxqolehZWp5GMC6N0WOKGQQT6mqbJIWsOHy3Kz9bq1bcPNFMSKl1WbubBhbXLsb0H4T4H8nNYrSoTbinGX1A");"></div>
<!-- Slider Navigation -->
<button class="absolute left-8 top-1/2 -translate-y-1/2 z-50 text-tertiary opacity-40 hover:opacity-100 transition-opacity duration-300" id="prevBtn">
<span class="material-symbols-outlined text-4xl">chevron_left</span>
</button>
<button class="absolute right-8 top-1/2 -translate-y-1/2 z-50 text-tertiary opacity-40 hover:opacity-100 transition-opacity duration-300" id="nextBtn">
<span class="material-symbols-outlined text-4xl">chevron_right</span>
</button>
<!-- Pagination Dots -->
<div class="absolute bottom-12 left-1/2 -translate-x-1/2 z-50 flex gap-3" id="pagination">
<!-- Dots injected via JS -->
<div class="w-1.5 h-1.5 rounded-full transition-all duration-500 cursor-pointer bg-on-surface-variant opacity-40"></div><div class="w-1.5 h-1.5 rounded-full transition-all duration-500 cursor-pointer bg-on-surface-variant opacity-40"></div><div class="w-1.5 h-1.5 rounded-full transition-all duration-500 cursor-pointer bg-tertiary w-6"></div></div>
<!-- Progress Bar -->
<div class="slider-progress animate" id="progress-bar"></div>
</section>
<!-- Section 1: The Collection -->
<section class="py-section-gap px-margin-desktop bg-background" id="collection">
<div class="max-w-container-max mx-auto">
<div class="flex flex-col md:flex-row justify-between items-baseline mb-16 gap-4 reveal-on-scroll visible">
<h2 class="font-display-lg text-display-lg-mobile md:text-display-lg text-on-surface">Curated<br><span class="italic font-light">Essences</span></h2>
<p class="max-w-md text-on-surface-variant font-body-lg">A meticulous selection of olfactive stories, crafted with rare botanicals and atmospheric precision.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-gutter">
<!-- Product 1 -->
<div class="group reveal-on-scroll visible" style="transition-delay: 100ms;">
<div class="aspect-[4/5] overflow-hidden bg-surface-container mb-6">
<img alt="Choco Vanilla" class="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBOQ6OnncfsDCl3inWmh3SENYBqrODJ7iGsFTzqei7fF3KlHs3AqP_wf3236-OMaTBT6rjyXM3m5fjcWWMOLR8fffBEUSG8swDVN6QejgKoiLfvqpl9S9KF-hrH4JL_dTqeRFmXGrmhJ7B3cO9uFBJVtzEc9HPebu3ahbP8xq7Xo1eFAsUyCjoiB08kAPxNOgRXttr1HhpxTzS5pS1Tx_H_dBkiVjIPy4UIj2w_TyaWyBpQQIqAv4ARbVwDDPnb1QGhjw">
</div>
<div class="flex justify-between items-start">
<div>
<h3 class="font-headline-sm mb-1">Choco Vanilla</h3>
<p class="font-label-caps text-tertiary opacity-80 uppercase">Nocturnal Gourmand</p>
</div>
<span class="font-body-md text-on-surface-variant">$185</span>
</div>
<a class="inline-block mt-4 font-label-caps border-b border-tertiary/30 pb-1 hover:border-tertiary transition-colors" href="#">DISCOVER</a>
</div>
<!-- Product 2 (Asymmetrical Offset) -->
<div class="group reveal-on-scroll md:mt-24 visible" style="transition-delay: 300ms;">
<div class="aspect-[4/5] overflow-hidden bg-surface-container mb-6">
<img alt="Danh Desire" class="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAnveDdoorxqNA4EAl-DPfSaWjEv3nIDtlDd4Oqfuvg59N8awLFqf5Q0tmkSQnoBOmcaOQ_Xebodzwlb_kl516eOZWvz9fFy6VkJzX1rB7pyXMh5YdQglxc7EJ1h3oA6ticZP4w9mX7CEXcOnBl3X2reIBk5Ymqmxeo5BZ32HwsgcSci5MWEKGeIMAbQWDQOrP799D6kDnlU-sTTHWGLcM1SSr-H0hYh6NS6e8CrhQkYjvROeVe8O3JbdPvxFwGVhbgpw">
</div>
<div class="flex justify-between items-start">
<div>
<h3 class="font-headline-sm mb-1">Danh Desire</h3>
<p class="font-label-caps text-tertiary opacity-80 uppercase">Solar Amber</p>
</div>
<span class="font-body-md text-on-surface-variant">$210</span>
</div>
<a class="inline-block mt-4 font-label-caps border-b border-tertiary/30 pb-1 hover:border-tertiary transition-colors" href="#">DISCOVER</a>
</div>
<!-- Product 3 -->
<div class="group reveal-on-scroll visible" style="transition-delay: 500ms;">
<div class="aspect-[4/5] overflow-hidden bg-surface-container mb-6">
<img alt="Vampire Blood" class="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAo1ct2F-WlPk27XR5JjLTDhrNexYiQEsyesuQCWFxxRCx4zDejd2JQZurcBv0ZzZOUkZQYKC3iaqtU5wK9xJc_z_8II_LMciPmhmAd4fzqrWKYv84_wpiA6K5uX8ROFpNOApZzLbfB1n1Me1QaJX4qqRlpFWFYmaXNregqgb8AYhJDM1T-K9i1iqGxLW0IHV5mZOWCCcEZ83UJ5qir3e7y24FD8HooMRTp09ru4RCb-h3ENkWkyogKwZPn5Qit4bPWwQ">
</div>
<div class="flex justify-between items-start">
<div>
<h3 class="font-headline-sm mb-1">Vampire Blood</h3>
<p class="font-label-caps text-tertiary opacity-80 uppercase">Velvet Oud</p>
</div>
<span class="font-body-md text-on-surface-variant">$245</span>
</div>
<a class="inline-block mt-4 font-label-caps border-b border-tertiary/30 pb-1 hover:border-tertiary transition-colors" href="#">DISCOVER</a>
</div>
</div>
</div>
</section>
<!-- Section 2: Signature Scent Feature -->
<section class="min-h-screen flex flex-col md:flex-row bg-surface-container-lowest" id="signature">
<div class="w-full md:w-1/2 relative h-[60vh] md:h-auto overflow-hidden">
<img alt="Ocean Soul Signature" class="absolute inset-0 w-full h-full object-cover reveal-on-scroll visible" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCOIWmYdl2t9oMoCJAzkT_6qHYvHoq2M3dcguyQT9Fmvg2LxrLhOEwhyOlsTkW5v3i-A2BakYSoTPzCJdr9VnFC4wZFgis7-PoLbaY69XwgZHzYkTh6nLycaoJCQneRFY1N5goc5UOf5WTOhnmH2OCeR-Xw7eWMImLsF5oSAa_l1OMQDDv7o-XabhrYiOSsiIoNcnBRE1IG5nXKxuW0Yo7XLo6gMCa_mgus0RIXC04Up9wb56R6leF46XY1lmDUd_laQQ">
</div>
<div class="w-full md:w-1/2 flex items-center justify-center p-margin-mobile md:p-margin-desktop py-24">
<div class="max-w-xl reveal-on-scroll visible" style="transition-delay: 200ms;">
<span class="font-label-caps text-tertiary tracking-[0.3em] mb-6 block">SIGNATURE SCENT</span>
<h2 class="font-display-lg text-display-lg-mobile md:text-[64px] mb-8 leading-tight">Ocean Soul</h2>
<p class="font-body-lg text-on-surface-variant mb-12 leading-relaxed">
Deeper than the surface, stronger than the current. A symphony of cold marine notes intertwined with dark mineral salts and sun-bleached cedar. It is the olfactive representation of the abyss meeting the light.
</p>
<div class="space-y-4 mb-16">
<div class="flex items-center gap-4 text-on-surface">
<span class="w-8 h-[1px] bg-tertiary"></span>
<span class="font-label-caps">Top: Sea Salt, Frozen Bergamot</span>
</div>
<div class="flex items-center gap-4 text-on-surface">
<span class="w-8 h-[1px] bg-tertiary"></span>
<span class="font-label-caps">Heart: Driftwood, Coastal Sage</span>
</div>
<div class="flex items-center gap-4 text-on-surface">
<span class="w-8 h-[1px] bg-tertiary"></span>
<span class="font-label-caps">Base: Grey Amber, Mineral Moss</span>
</div>
</div>
<button class="group relative px-12 py-5 border border-tertiary text-tertiary font-label-caps overflow-hidden transition-all duration-500 hover:text-primary-container">
<span class="relative z-10">EXPERIENCE THE ABYSS</span>
<div class="absolute inset-0 bg-tertiary translate-y-full group-hover:translate-y-0 transition-transform duration-500 ease-out"></div>
</button>
</div>
</div>
</section>
<!-- Section 3: The Art of Fragrance -->
<section class="py-section-gap px-margin-desktop overflow-hidden bg-background" id="heritage">
<div class="max-w-container-max mx-auto relative">
<div class="grid grid-cols-1 md:grid-cols-12 gap-gutter items-center">
<div class="md:col-span-7 reveal-on-scroll visible">
<span class="font-label-caps text-tertiary mb-4 block">OUR HERITAGE</span>
<h2 class="font-display-lg text-display-lg-mobile md:text-headline-md lg:text-[56px] mb-8 italic">The Art of Stillness</h2>
<div class="space-y-6 text-on-surface-variant font-body-lg max-w-2xl">
<p class="">Founded in a hidden atelier in the Marais district of Paris, Omor was born from a desire to capture moments of pure atmospheric presence. We believe a fragrance is not just a scent, but a portal to a memory yet to be lived.</p>
<p class="">Each flacon is hand-finished, our ingredients sourced through ethical partnerships with small-scale flower harvesters from Grasse to the high Atlas Mountains.</p>
</div>
<div class="mt-12 flex gap-12">
<div>
<div class="font-display-lg text-tertiary text-headline-md mb-2">1924</div>
<div class="font-label-caps opacity-60">ESTABLISHED</div>
</div>
<div>
<div class="font-display-lg text-tertiary text-headline-md mb-2">14</div>
<div class="font-label-caps opacity-60">SIGNATURE BLENDS</div>
</div>
</div>
</div>
<div class="md:col-span-5 relative mt-16 md:mt-0 reveal-on-scroll visible" style="transition-delay: 300ms;">
<div class="relative z-10 border-8 border-surface-container-high/50 p-4">
<img alt="The Art of Fragrance" class="w-full h-auto grayscale hover:grayscale-0 transition-all duration-1000" src="https://lh3.googleusercontent.com/aida-public/AB6AXuDK_R31QGsk6-0iq0V-9xeRm1i1xDSofrnDR1z4COEaZiP0NvNh_2MQR__mm-mD58WKVhxfhu45xg2nwqMCISf8z5AJwxI3n_ZLwWJ-n4hniF311DK6VA091iB-use2pok3wTiPihkBx1WMysI61X0MPTDGKtETmmz2aCoNZAeLOL0nZkgHQokd5z1y36Tfeq523XAbizEiCBbtceTO-LBWO2NF_tjom1ZtvGFPeISBQDrEtRt-msjS5SYYTkM8vtZhpA">
</div>
<div class="absolute -top-12 -right-12 w-64 h-64 border border-tertiary/10 rounded-full animate-[spin_20s_linear_infinite]"></div>
</div>
</div>
</div>
</section>
<!-- Section 4: Discovery Set CTA -->
<section class="py-24 px-margin-desktop bg-tertiary text-primary-container">
<div class="max-w-container-max mx-auto text-center reveal-on-scroll visible">
<h2 class="font-display-lg text-display-lg-mobile mb-6">Begin Your Journey</h2>
<p class="font-body-lg mb-12 max-w-xl mx-auto opacity-80">Our Discovery Set features five 2ml vials of our core collection, allowing you to find your signature in your own time.</p>
<a class="inline-block bg-primary-container text-tertiary px-12 py-5 font-label-caps tracking-widest hover:bg-black transition-colors duration-300" href="#">ORDER THE SAMPLE SET</a>
<p class="mt-8 font-label-caps text-[10px] tracking-widest opacity-60 uppercase">Deductible from your first full-size purchase.</p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="w-full pt-section-gap pb-12 bg-surface-container-lowest border-t border-secondary-container">
<div class="flex flex-col items-center gap-12 px-margin-desktop w-full max-w-container-max mx-auto">
<div class="flex justify-center mb-4"><img src="https://lh3.googleusercontent.com/aida-public/AB6AXuBxyXULQ4B-P6wGOYq32HWKpFUY_HV6B0TcZeIlSJTnWPUYJikXBF34pKEla_eV-lD6nv4s-NchxmeJ4xUJ6XJAjdMgZb84soy8CVHOf_mH6fpdXfD9-2GXW694Xj_v9EReSUrigPvcRD-ztqpJZlexONTFQ6uGFUd-RzagwnczxUEEiBry4xC6sh6RJ1nDCdvsz6nPm3q9yN2UMSkgRKVsQxpMMCMS7RU5EYijQVTEk1W0Z62sHxNKrS4Sx9k9ksx7eg" alt="Omor Logo" class="h-12 w-auto object-contain"></div>
<nav class="flex flex-wrap justify-center gap-x-12 gap-y-6">
<a class="font-body-md text-body-md text-on-surface-variant hover:text-tertiary transition-colors duration-300 opacity-80 hover:opacity-100" href="#">Privacy Policy</a>
<a class="font-body-md text-body-md text-on-surface-variant hover:text-tertiary transition-colors duration-300 opacity-80 hover:opacity-100" href="#">Terms of Service</a>
<a class="font-body-md text-body-md text-on-surface-variant hover:text-tertiary transition-colors duration-300 opacity-80 hover:opacity-100" href="#">Shipping & Returns</a>
<a class="font-body-md text-body-md text-on-surface-variant hover:text-tertiary transition-colors duration-300 opacity-80 hover:opacity-100" href="#">Stockists</a>
</nav>
<div class="text-tertiary opacity-50 font-label-caps text-[10px] tracking-widest text-center">© 2024 OMOR. ALL RIGHTS RESERVED.</div>
</div>
</footer>
<script>
// Hero Slider Logic
const slides = document.querySelectorAll('.slide');
const pagination = document.getElementById('pagination');
const progressBar = document.getElementById('progress-bar');
const prevBtn = document.getElementById('prevBtn');
const nextBtn = document.getElementById('nextBtn');
let currentSlide = 0;
let slideInterval;
// Create Dots
slides.forEach((_, i) => {
const dot = document.createElement('div');
dot.className = `w-1.5 h-1.5 rounded-full transition-all duration-500 cursor-pointer ${i === 0 ? 'bg-tertiary w-6' : 'bg-on-surface-variant opacity-40'}`;
dot.addEventListener('click', () => goToSlide(i));
pagination.appendChild(dot);
});
const dots = pagination.querySelectorAll('div');
function updateSlider() {
slides.forEach((slide, i) => {
slide.classList.toggle('active', i === currentSlide);
dots[i].className = `w-1.5 h-1.5 rounded-full transition-all duration-500 cursor-pointer ${i === currentSlide ? 'bg-tertiary w-6' : 'bg-on-surface-variant opacity-40'}`;
});
// Reset progress bar animation
progressBar.classList.remove('animate');
void progressBar.offsetWidth; // Trigger reflow
progressBar.classList.add('animate');
}
function nextSlide() {
currentSlide = (currentSlide + 1) % slides.length;
updateSlider();
}
function prevSlide() {
currentSlide = (currentSlide - 1 + slides.length) % slides.length;
updateSlider();
}
function goToSlide(index) {
currentSlide = index;
updateSlider();
resetInterval();
}
function resetInterval() {
clearInterval(slideInterval);
slideInterval = setInterval(nextSlide, 5000);
}
nextBtn.addEventListener('click', () => {
nextSlide();
resetInterval();
});
prevBtn.addEventListener('click', () => {
prevSlide();
resetInterval();
});
// Initialize auto-scroll
slideInterval = setInterval(nextSlide, 5000);
// Header and Scroll Animations
const header = document.getElementById('main-header');
const revealElements = document.querySelectorAll('.reveal-on-scroll');
const scrollHandler = () => {
// Header opacity
if (window.scrollY > 50) {
header.classList.add('bg-primary-container/95', 'py-4');
header.classList.remove('py-8');
} else {
header.classList.remove('bg-primary-container/95', 'py-4');
header.classList.add('py-8');
}
// Scroll reveal
revealElements.forEach(el => {
const rect = el.getBoundingClientRect();
const isVisible = rect.top <= (window.innerHeight * 0.85);
if (isVisible) {
el.classList.add('visible');
}
});
};
window.addEventListener('scroll', scrollHandler);
// Trigger once on load
scrollHandler();
</script>
</body></html>