-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode2.html
More file actions
643 lines (640 loc) · 25.4 KB
/
Copy pathcode2.html
File metadata and controls
643 lines (640 loc) · 25.4 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
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
<!DOCTYPE html>
<html class="light" lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Pluspuu Homes</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com" rel="preconnect" />
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect" />
<link
href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
rel="stylesheet"
/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
primary: "#1773cf",
"background-light": "#f6f7f8",
"background-dark": "#111921",
"text-main": "#111418",
"text-secondary": "#637588",
},
fontFamily: {
display: ["Manrope", "sans-serif"],
},
borderRadius: {
DEFAULT: "0.25rem",
lg: "0.5rem",
xl: "0.75rem",
full: "9999px",
},
},
},
};
</script>
<style>
html {
scroll-behavior: smooth;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.fade-in-up {
animation: fadeInUp 1s ease-out forwards;
opacity: 0;
transform: translateY(20px);
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body
class="font-display bg-white dark:bg-background-dark text-text-main dark:text-white transition-colors duration-200"
>
<div class="relative flex min-h-screen w-full flex-col overflow-x-hidden">
<header
id="main-header"
class="absolute bg-gradient-to-b from-black/30 to-transparent top-0 left-1/2 -translate-x-1/2 w-full z-50 px-6 py-6 lg:px-6 transition-all duration-300"
>
<div class="max-w-[1600px] mx-auto flex items-center justify-between">
<div class="flex items-center gap-3 text-white">
<span class="material-symbols-outlined text-3xl drop-shadow-md"
>cabin</span
>
<h2 class="text-xl font-bold tracking-tight drop-shadow-md">
Pluspuu
</h2>
</div>
<div class="hidden md:flex items-center gap-10">
<nav class="flex items-center gap-8">
<a
class="text-sm font-bold text-white/90 hover:text-white transition-colors drop-shadow-sm"
href="#"
>Our Process</a
>
<a
class="text-sm font-bold text-white/90 hover:text-white transition-colors drop-shadow-sm"
href="#"
>Our Work</a
>
<a
class="text-sm font-bold text-white/90 hover:text-white transition-colors drop-shadow-sm"
href="#"
>About Us</a
>
<a
class="text-sm font-bold text-white/90 hover:text-white transition-colors drop-shadow-sm"
href="#"
>Sustainability</a
>
</nav>
<button
class="bg-white/20 hover:bg-white/30 backdrop-blur-md border border-white/20 text-white px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-300"
>
Get in Touch
</button>
</div>
<div class="md:hidden text-white">
<span
class="material-symbols-outlined text-3xl cursor-pointer drop-shadow-md"
>menu</span
>
</div>
</div>
</header>
<section class="relative w-full h-screen min-h-[700px] flex items-center">
<div
class="absolute inset-0 bg-cover bg-center bg-no-repeat z-0"
style="background-image: url('./main.png')"
></div>
<div
class="absolute inset-0 bg-gradient-to-r from-black/60 via-black/20 to-transparent z-0"
></div>
<div
class="absolute inset-0 bg-gradient-to-t from-black/40 to-transparent z-0"
></div>
<div
class="relative z-10 w-full max-w-[1600px] mx-auto px-6 md:px-12 lg:px-20 pt-20"
>
<div class="max-w-2xl flex flex-col gap-6 fade-in-up">
<h1
class="text-white text-5xl md:text-7xl lg:text-8xl leading-[1.1] tracking-tight drop-shadow-lg"
>
Sanctuary.<br />
Legacy.<br />
Resilience.
</h1>
<p
class="text-white/90 text-xl md:text-2xl font-light leading-relaxed max-w-lg drop-shadow-md mt-2"
>
Sustainable, luxury Scandinavian log homes designed for the modern
lifestyle.
</p>
<div class="flex flex-wrap gap-4 mt-8 items-center">
<a
href="#models"
class="bg-white text-black hover:bg-gray-100 px-8 py-4 rounded-full text-base font-bold transition-all shadow-lg hover:shadow-xl hover:scale-105"
>
Explore Models
</a>
<!-- <button
class="flex items-center gap-2 text-white hover:text-white/80 px-6 py-4 rounded-full text-base font-medium transition-colors group"
>
<span
class="border border-white/50 rounded-full px-3 group-hover:bg-white/10 transition-colors"
>
<span class="material-symbols-outlined text-xl"
>play_arrow</span
>
</span>
Watch the Film
</button> -->
</div>
</div>
</div>
<div
class="absolute bottom-10 left-1/2 -translate-x-1/2 text-white/50 animate-bounce"
>
<span class="material-symbols-outlined text-4xl"
>keyboard_arrow_down</span
>
</div>
</section>
<section id="models" class="pb-24 pt-40 bg-white dark:bg-background-dark">
<div class="max-w-[900px] mx-auto px-6 text-center">
<span
class="text-primary font-bold tracking-widest uppercase text-xs mb-4 block"
>The Collection</span
>
<h2
class="text-text-main dark:text-white text-4xl md:text-5xl font-bold leading-tight mb-6 tracking-tight"
>
Designed for nature. Built for life.
</h2>
<p
class="text-text-secondary dark:text-gray-400 text-xl font-light leading-relaxed"
>
Explore our signature models, meticulously crafted for elegance,
thermal efficiency, and a seamless connection to the outdoors.
</p>
</div>
</section>
<section class="pb-40 bg-white dark:bg-background-dark">
<div class="max-w-[1600px] mx-auto px-6 md:px-12">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12">
<div class="group flex flex-col gap-6 cursor-pointer">
<div
class="w-full aspect-[4/3] bg-gray-100 dark:bg-gray-800 rounded-2xl overflow-hidden relative shadow-sm hover:shadow-xl transition-shadow duration-500"
>
<div
class="w-full h-full bg-cover bg-center transition-transform duration-700 ease-out group-hover:scale-105"
style="background-image: url('./VILLA_KAWAGAMA.jpg')"
></div>
</div>
<div>
<div class="flex justify-between items-baseline mb-2">
<h3
class="text-text-main dark:text-white text-2xl font-bold tracking-tight"
>
Villa Kawagama
</h3>
<span
class="text-text-secondary dark:text-gray-400 font-mono text-sm"
>973 sq ft</span
>
</div>
<p
class="text-text-secondary dark:text-gray-400 text-base leading-relaxed"
>
A cozy 3- season cottage designed for a young, growing family,
located in Dorset, ON, on a private island on Lake Kawagama!
</p>
</div>
</div>
<div class="group flex flex-col gap-6 cursor-pointer">
<div
class="w-full aspect-[4/3] bg-gray-100 dark:bg-gray-800 rounded-2xl overflow-hidden relative shadow-sm hover:shadow-xl transition-shadow duration-500"
>
<div
class="w-full h-full bg-cover bg-center transition-transform duration-700 ease-out group-hover:scale-105"
style="background-image: url('villa_shelburne.png')"
></div>
</div>
<div>
<div class="flex justify-between items-baseline mb-2">
<h3
class="text-text-main dark:text-white text-2xl font-bold tracking-tight"
>
Villa Shelburne
</h3>
<span
class="text-text-secondary dark:text-gray-400 font-mono text-sm"
>1,300 sq ft</span
>
</div>
<p
class="text-text-secondary dark:text-gray-400 text-base leading-relaxed"
>
Inspired by the coastal shores of Nova Scotia’s historic town
of Shelburne, the Massey’s had always envisioned constructing
a rental property on Canada’s east coast!
</p>
</div>
</div>
<div class="group flex flex-col gap-6 cursor-pointer">
<div
class="w-full aspect-[4/3] bg-gray-100 dark:bg-gray-800 rounded-2xl overflow-hidden relative shadow-sm hover:shadow-xl transition-shadow duration-500"
>
<div
class="w-full h-full bg-cover bg-center transition-transform duration-700 ease-out group-hover:scale-105"
style="background-image: url('pictou.png')"
></div>
</div>
<div>
<div class="flex justify-between items-baseline mb-2">
<h3
class="text-text-main dark:text-white text-2xl font-bold tracking-tight"
>
Villa Pictou
</h3>
<span
class="text-text-secondary dark:text-gray-400 font-mono text-sm"
>1624 sq ft</span
>
</div>
<p
class="text-text-secondary dark:text-gray-400 text-base leading-relaxed"
>
A custom designed Kustavi constructed on the shores of the
Atlantic Ocean! Designed as a costal summer cottage and a
legacy property for the next generation to enjoy!
</p>
</div>
</div>
</div>
<div class="flex justify-center mt-20">
<button
class="text-text-main dark:text-white border-b-2 border-primary hover:border-black dark:hover:border-white pb-1 transition-colors text-lg font-medium flex items-center gap-2"
>
View Our Work
<span class="material-symbols-outlined text-sm"
>arrow_forward</span
>
</button>
</div>
</div>
</section>
<section class="py-24 bg-background-light dark:bg-gray-900/50">
<div class="max-w-[1440px] mx-auto px-6 md:px-12">
<div class="text-center mb-16">
<h2
class="text-text-main dark:text-white text-3xl font-bold mb-4 tracking-tight"
>
The Scandinavian Standard
</h2>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-12">
<div class="flex flex-col items-center text-center gap-6">
<div
class="size-20 rounded-2xl bg-white dark:bg-gray-800 shadow-sm flex items-center justify-center text-primary mb-2"
>
<span class="material-symbols-outlined text-4xl">forest</span>
</div>
<h3 class="text-text-main dark:text-white text-xl font-bold">
Sustainable Timber
</h3>
<p
class="text-text-secondary dark:text-gray-400 leading-relaxed max-w-sm"
>
We source responsibly managed pine, ensuring longevity and
minimal environmental impact.
</p>
</div>
<div class="flex flex-col items-center text-center gap-6">
<div
class="size-20 rounded-2xl bg-white dark:bg-gray-800 shadow-sm flex items-center justify-center text-primary mb-2"
>
<span class="material-symbols-outlined text-4xl"
>thermostat</span
>
</div>
<h3 class="text-text-main dark:text-white text-xl font-bold">
Thermal Efficiency
</h3>
<p
class="text-text-secondary dark:text-gray-400 leading-relaxed max-w-sm"
>
Engineered for the harshest winters, our triple-pane windows and
insulated logs keep you warm.
</p>
</div>
<div class="flex flex-col items-center text-center gap-6">
<div
class="size-20 rounded-2xl bg-white dark:bg-gray-800 shadow-sm flex items-center justify-center text-primary mb-2"
>
<span class="material-symbols-outlined text-4xl">schedule</span>
</div>
<h3 class="text-text-main dark:text-white text-xl font-bold">
Rapid Assembly
</h3>
<p
class="text-text-secondary dark:text-gray-400 leading-relaxed max-w-sm"
>
Precision-cut logs allow for on-site assembly in weeks, not
months, getting you settled faster.
</p>
</div>
</div>
</div>
</section>
<section class="py-24 md:py-32 bg-white dark:bg-background-dark">
<div
class="max-w-[1440px] mx-auto px-6 md:px-12 grid grid-cols-1 lg:grid-cols-2 gap-20 items-center"
>
<div class="order-2 lg:order-1 flex flex-col gap-8">
<div
class="inline-flex items-center gap-2 text-primary font-bold text-xs tracking-[0.2em] uppercase"
>
<span class="w-12 h-[1px] bg-primary"></span>
Our Philosophy
</div>
<h2
class="text-text-main dark:text-white text-4xl md:text-6xl font-bold leading-[1.1] tracking-tight"
>
Crafted for<br />Generations
</h2>
<div
class="space-y-6 text-lg text-text-secondary dark:text-gray-400 leading-relaxed font-light"
>
<p>
A Pluspuu Home is more than a structure; it's a legacy. We
combine ancient woodworking techniques with cutting-edge
architectural design to create homes that breathe.
</p>
<p>
Every log is selected for its density and grain, ensuring your
home stands strong against the elements while aging gracefully
alongside your family.
</p>
</div>
<div class="pt-6">
<a
class="inline-flex items-center gap-3 text-text-main dark:text-white font-bold border-b border-gray-300 dark:border-gray-700 pb-1 hover:border-primary transition-all"
href="#"
>
Read Our Story
<span class="material-symbols-outlined text-sm"
>arrow_forward</span
>
</a>
</div>
</div>
<div class="order-1 lg:order-2 relative h-[600px] w-full">
<div
class="w-full h-full rounded-2xl overflow-hidden relative shadow-2xl"
>
<div
class="absolute inset-0 bg-cover bg-center"
style="
background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDw85WDdLb8XoFvExqlXQVBCPp168ChCfgJaHcCCGHpolA_-vRDptFPURVd7s526cgnM9FNw1fOqtjL0WdX0ZxEZAD6ymHOJhOdHOYrnA1NtPCe4Sy9zjGXWgD9VxGGGVsPHbZxrXZkLpFcQIRl-UDCxaeaIfI1p_QGhCnoG1Gwy_ylQKUx0Oq3O1Vex0N28n_47YBjT6vWv6ZjIbBrBjYxzXe00M5ypA5oMyVMLIAoXR9GVbubv19mJzbZq32sNkI2NJ4W_w_s8CTB');
"
></div>
</div>
<div
class="absolute -bottom-10 -left-10 w-2/3 h-2/3 bg-background-light dark:bg-gray-800 -z-10 rounded-2xl"
></div>
</div>
</div>
</section>
<section
class="py-24 md:py-32 bg-background-dark text-white relative overflow-hidden"
>
<div class="max-w-[800px] mx-auto px-6 text-center relative z-10">
<h2 class="text-4xl md:text-6xl font-bold mb-8 tracking-tight">
Ready to build your sanctuary?
</h2>
<p
class="text-gray-400 text-lg md:text-xl mb-12 leading-relaxed font-light"
>
Download our full catalog or book a private consultation at our
showroom to start your journey.
</p>
<div class="flex flex-col sm:flex-row gap-6 w-full justify-center">
<button
class="bg-white text-black hover:bg-gray-200 transition-colors px-10 py-4 rounded-full font-bold text-base shadow-lg flex items-center justify-center gap-2"
>
<span class="material-symbols-outlined">download</span>
Download Catalog
</button>
<button
class="bg-transparent hover:bg-white/10 transition-colors px-10 py-4 rounded-full font-bold text-base text-white flex items-center justify-center gap-2"
>
<span class="material-symbols-outlined">calendar_month</span>
Book Consultation
</button>
</div>
</div>
</section>
<footer
class="bg-white dark:bg-background-dark pt-20 pb-10 border-t border-gray-100 dark:border-gray-800"
>
<div class="max-w-[1600px] mx-auto px-6 md:px-12">
<div
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-12 mb-16"
>
<div class="lg:col-span-2 flex flex-col gap-6 pr-8">
<div
class="flex items-center gap-2 text-text-main dark:text-white"
>
<span class="material-symbols-outlined text-primary text-2xl"
>cabin</span
>
<span class="font-bold text-lg tracking-tight">Pluspuu</span>
</div>
<p
class="text-text-secondary dark:text-gray-500 text-sm leading-relaxed max-w-sm"
>
Bringing the serenity of Scandinavian design to the world, one
log home at a time. Designed with simplicity, built for
resilience.
</p>
<div class="flex gap-4 mt-2">
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary transition-colors"
href="#"
>
<span class="material-symbols-outlined">photo_camera</span>
</a>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary transition-colors"
href="#"
>
<span class="material-symbols-outlined">public</span>
</a>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary transition-colors"
href="#"
>
<span class="material-symbols-outlined">alternate_email</span>
</a>
</div>
</div>
<div class="flex flex-col gap-4">
<h4
class="text-text-main dark:text-white font-bold text-sm uppercase tracking-wider"
>
Discover
</h4>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Our Models</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Gallery</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Virtual Tours</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Pricing</a
>
</div>
<div class="flex flex-col gap-4">
<h4
class="text-text-main dark:text-white font-bold text-sm uppercase tracking-wider"
>
Company
</h4>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Our Story</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Sustainability</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Careers</a
>
<a
class="text-text-secondary dark:text-gray-400 hover:text-primary text-sm"
href="#"
>Contact</a
>
</div>
<div class="flex flex-col gap-4">
<h4
class="text-text-main dark:text-white font-bold text-sm uppercase tracking-wider"
>
Stay Updated
</h4>
<p class="text-text-secondary dark:text-gray-400 text-xs">
Latest designs and offers directly to your inbox.
</p>
<div class="flex gap-2">
<input
class="bg-background-light dark:bg-gray-800 border-none rounded-lg px-4 py-3 text-sm w-full focus:ring-2 focus:ring-primary outline-none dark:text-white"
placeholder="Email address"
type="email"
/>
<button
class="bg-primary hover:bg-blue-700 text-white rounded-lg px-4 py-2 text-sm font-bold transition-colors"
>
<span class="material-symbols-outlined text-sm">send</span>
</button>
</div>
</div>
</div>
<div
class="border-t border-gray-100 dark:border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center gap-4"
>
<p class="text-text-secondary dark:text-gray-500 text-xs">
© 2023 Pluspuu. All rights reserved.
</p>
<div class="flex gap-6">
<a
class="text-text-secondary dark:text-gray-500 hover:text-text-main dark:hover:text-white text-xs"
href="#"
>Privacy Policy</a
>
<a
class="text-text-secondary dark:text-gray-500 hover:text-text-main dark:hover:text-white text-xs"
href="#"
>Terms of Service</a
>
</div>
</div>
</div>
</footer>
</div>
<script>
const header = document.getElementById("main-header");
// Classes for the initial state
// Removed "left-0" as we are now using "left-1/2 -translate-x-1/2" permanently
const initialClasses = [
"absolute",
"top-0",
"w-full",
"py-6",
"bg-transparent",
];
// Classes for the scrolled state (floating pill)
// Removed "left-1/2", "-translate-x-1/2" as they are now permanent
const scrolledClasses = [
"fixed",
"top-4",
"w-[90%]",
"max-w-[1400px]",
"bg-background-dark/80",
"backdrop-blur-md",
"shadow-lg",
"rounded-full",
"py-4",
];
window.addEventListener("scroll", () => {
if (window.scrollY > 150) {
// Add scrolled classes, remove initial positioning classes
header.classList.add(...scrolledClasses);
header.classList.remove(...initialClasses);
} else {
// Revert to initial state
header.classList.remove(...scrolledClasses);
header.classList.add(...initialClasses);
}
});
</script>
</body>
</html>