forked from arhamkac/sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
535 lines (471 loc) · 13.8 KB
/
style.css
File metadata and controls
535 lines (471 loc) · 13.8 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Helvetica Neue', Arial, sans-serif;
}
body {
background-color: #121212;
color: white;
overflow-x: hidden;
}
.main-header {
position: absolute;
top: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
z-index: 10;
background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.logo { font-size: 24px; font-weight: bold; }
.main-header nav a {
color: white;
text-decoration: none;
margin: 0 15px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.btn-launcher {
background: transparent;
border: 1px solid white;
border-radius: 30px;
color: white;
padding: 8px 16px;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
}
.icon { cursor: pointer; }
.hero-carousel {
position: relative;
height: 100vh;
width: 100%;
overflow: hidden;
}
.slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #0b0b0b;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
opacity: 0;
transition: opacity 0.8s ease-in-out;
z-index: 1;
}
.slide.active {
opacity: 1;
z-index: 2;
}
.slide::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 60%;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
z-index: 1;
}
.slide-content {
position: absolute;
bottom: 100px;
left: 60px;
z-index: 3;
display: flex;
align-items: flex-end;
gap: 40px;
}
.vi-logo {
font-size: 120px;
font-weight: 900;
color: transparent;
-webkit-text-stroke: 3px white;
font-family: serif;
}
.online-logo {
width: 20vh;
height: 20vh;
margin-bottom: 5vh;
}
.text-content h4 {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 10px;
opacity: 0.9;
}
.text-content h1 {
font-size: 48px;
margin-bottom: 30px;
max-width: 600px;
line-height: 1.1;
}
.cta-buttons {
display: flex;
gap: 15px;
}
.btn {
padding: 12px 32px;
border-radius: 10vh;
border: none;
font-size: 14px;
font-weight: bold;
cursor: pointer;
text-transform: uppercase;
transition: transform 0.2s;
}
.btn:hover { transform: scale(1.05); }
.btn-pink { background-color: #f165a5; color: white;}
.btn-gold { background-color: #d6ad5e; color: black; }
.btn-outline {
background-color: transparent;
border: 2px solid white;
color: white;
}
.carousel-controls {
position: absolute;
bottom: 40px;
right: 60px;
z-index: 10;
display: flex;
align-items: center;
gap: 20px;
}
.control-icon {
background: none;
border: none;
color: white;
font-size: 14px;
cursor: pointer;
opacity: 0.7;
}
.control-icon:hover { opacity: 1; }
.dots-container {
display: flex;
gap: 10px;
}
.dot {
width: 8px;
height: 8px;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 50%;
cursor: pointer;
transition: background-color 0.3s;
}
.dot.active {
background-color: white;
width: 20px;
border-radius: 4px;
}
.site-footer {
color: #f3f3f3;
font-size: 14px;
line-height: 1.4;
}
.footer-hero {
min-height: 420px;
display: flex;
align-items: center;
justify-content: center;
background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.95)), url('image.svg');
background-size: cover;
background-position: center center;
}
.footer-hero__inner {
text-align: center;
max-width: 900px;
padding: 60px 20px;
}
.hero-brand {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-bottom: 8px;
}
.hero-brand__logo {
font-size: 32px;
font-weight: 900;
}
.hero-brand__title {
font-size: 40px;
font-weight: 700;
}
.mid {
height: 1000px;
width: screen;
background-color: #000;
}
.footer-sub {
opacity: 0.9;
max-width: 720px;
margin: 0 auto 24px;
}
.footer-cta {
display: inline-block;
background: #f3f3f3;
color: #111;
padding: 12px 28px;
border-radius: 40px;
text-decoration: none;
font-weight: 700;
}
.footer-cta {
box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
/* Global smoother transitions */
a, button {
transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
button:focus, a:focus { outline: 3px solid rgba(255,255,255,0.12); outline-offset: 3px; }
.footer-bottom {
background: #030303;
padding: 40px 36px;
display: block;
color: rgba(255,255,255,0.9);
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row--top { padding-bottom: 18px; }
.footer-row--middle {
padding: 18px 0;
border-top: 1px solid rgba(255,255,255,0.03);
border-bottom: 1px solid rgba(255,255,255,0.03);
background-color: #000; /* make middle section solid black */
transition: background-color 350ms ease; /* smooth transition when toggling themes or states */
}
.footer-row--bottom { padding-top: 18px; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-links ul,
.footer-legal ul,
.footer-social ul {
list-style: none;
display: flex;
gap: 18px;
flex-wrap: wrap;
padding: 0;
margin: 0;
}
.footer-links a,
.footer-legal a,
.footer-social a {
color: rgba(255,255,255,0.85);
text-decoration: none;
font-size: 13px;
transition: color 220ms ease, opacity 220ms ease; /* smooth color changes on hover/focus */
}
.footer-links a:focus,
.footer-legal a:focus,
.footer-social a:focus,
.lang-btn:focus { outline: 3px solid rgba(255,255,255,0.12); outline-offset: 3px; }
.lang-btn { background: transparent; color: rgba(255,255,255,0.9); border: none; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 700; }
.lang-btn .chev { opacity: 0.7; }
.footer-social svg { opacity: 0.9; }
.footer-meta__left { flex: 1; }
.footer-cities { flex: 1; text-align: center; }
.footer-meta__right { flex: 1; text-align: right; }
@media (min-width: 900px) {
.footer-hero { min-height: 480px; }
}
@media (max-width: 700px) {
.footer-hero { min-height: 300px; }
.hero-brand__title { font-size: 28px; }
.footer-bottom { padding: 20px; }
.footer-row { flex-direction: column; align-items: flex-start; }
.footer-cities { text-align: left; }
}
/* Middle content styles (feature + news list) */
.content-middle {
background-color: #000; /* solid black background */
transition: background-color 350ms ease, opacity 300ms ease, transform 300ms ease; /* smooth transitions */
color: #fff;
opacity: 0;
transform: translateY(12px);
}
.content-middle.visible {
opacity: 1;
transform: none;
}
.content-middle .container {
max-width: 1180px;
margin: 0 auto;
padding: 36px 20px 72px;
display: grid;
grid-template-columns: 1fr 360px;
gap: 36px;
align-items: start;
}
.featured { background: transparent; }
.feature-media { background: #000; display: flex; align-items: center; justify-content: center; height: 420px; overflow: hidden; }
.feature-media img { max-width: 80%; height: auto; display: block; }
.feature-text { background: #121212; padding: 36px 40px; margin-top: -6px; }
.kicker { text-transform: uppercase; font-size: 12px; opacity: 0.8; letter-spacing: 1px; }
.feature-title { font-size: 36px; line-height: 1.05; margin-top: 12px; }
.news-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.news-card { display: flex; gap: 16px; align-items: flex-start; }
.news-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; }
.news-kicker { font-size: 11px; text-transform: uppercase; opacity: 0.7; }
.news-title { font-size: 15px; margin: 6px 0; }
.news-card time { font-size: 13px; color: rgba(255,255,255,0.6); }
@media (max-width: 980px) {
.content-middle .container { grid-template-columns: 1fr 300px; }
.feature-media { height: 360px; }
}
@media (max-width: 720px) {
.content-middle .container { grid-template-columns: 1fr; padding: 22px 16px 40px; }
.feature-media { height: 260px; }
.feature-text { padding: 20px; }
}
/* Simple full-width middle hero (black background + smooth reveal) */
.middle-hero {
position: relative;
background-color: #000;
overflow: hidden;
transition: opacity 360ms ease, transform 360ms ease;
opacity: 0;
transform: translateY(12px);
}
.middle-hero.visible { opacity: 1; transform: none; }
.middle-hero__bg {
width: 100%;
height: 460px;
background-position: center;
background-size: cover;
filter: brightness(0.36);
}
.middle-hero__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mh-content { text-align: center; color: #fff; max-width: 980px; padding: 12px 20px; }
.mh-kicker { text-transform: uppercase; font-size: 12px; opacity: 0.8; letter-spacing: 1px; margin-bottom: 8px; }
.mh-title { font-size: 32px; line-height: 1.06; margin: 0; }
.mh-content { pointer-events: auto; }
@media (max-width: 900px) {
.middle-hero__bg { height: 360px; }
.mh-title { font-size: 26px; }
}
@media (max-width: 560px) {
.middle-hero__bg { height: 260px; }
.mh-title { font-size: 20px; }
}
/* Feature + News section (two-column layout like screenshot) */
.feature-section {
background: transparent;
color: #fff;
transition: opacity 420ms cubic-bezier(.2,.9,.2,1), transform 420ms cubic-bezier(.2,.9,.2,1);
opacity: 0;
transform: translateY(18px);
}
.feature-section.visible { opacity: 1; transform: none; }
.feature-section .container {
max-width: 1180px;
margin: 0 auto;
padding: 28px 20px 64px;
display: grid;
grid-template-columns: 1fr 360px;
gap: 30px;
align-items: start;
}
.feature-media {
height: 460px;
background-color: #000;
background-position: center;
background-size: cover;
display: block;
}
.feature-details {
background: linear-gradient(180deg, rgba(18,18,18,0.95), rgba(18,18,18,0.98));
padding: 44px 48px;
margin-top: 0;
border-radius: 2px;
}
.feature-details .kicker { text-transform: uppercase; font-size: 12px; opacity: 0.8; letter-spacing: 1px; }
.feature-details .title { font-size: 40px; line-height: 1.06; margin-top: 12px; font-weight: 700; }
.feature-details time { display: block; margin-top: 22px; color: rgba(255,255,255,0.6); }
.feature-right { display: block; }
.news-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.news-card { display: flex; gap: 16px; align-items: flex-start; }
.news-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; }
.news-card .meta { flex: 1; }
.news-card .meta .kicker { font-size: 11px; text-transform: uppercase; opacity: 0.7; }
.news-card .meta .title { font-size: 15px; margin: 6px 0; }
.news-card time { font-size: 13px; color: rgba(255,255,255,0.6); }
@media (max-width: 980px) {
.feature-section .container { grid-template-columns: 1fr 300px; }
.feature-media { height: 320px; }
}
@media (max-width: 720px) {
.feature-section .container { grid-template-columns: 1fr; padding: 18px 14px 36px; }
.feature-media { height: 260px; }
}
/* Video block after feature section */
.video-section {
background: #000;
color: #fff;
padding: 40px 20px 72px;
}
.video-section .container {
max-width: 1180px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 420px;
gap: 36px;
align-items: center;
}
.video-thumb {
position: relative;
width: 100%;
height: 640px; /* increased height to match reference */
background-size: cover;
background-position: center;
border-radius: 8px;
overflow: hidden;
}
.video-thumb::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}
.play-button {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 88px;
height: 88px;
border-radius: 999px;
background: rgba(255,255,255,0.95);
display: flex;
align-items: center;
justify-content: center;
}
.play-button svg { width: 36px; height: 36px; }
.video-info { padding: 20px; }
.video-info .kicker { text-transform: uppercase; font-size: 12px; opacity: 0.8; }
.video-info .title { font-size: 22px; margin-top: 8px; }
@media (max-width: 980px) {
.video-section .container { grid-template-columns: 1fr; }
.video-thumb { height: 320px; }
}
/* Modal styles */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.video-modal[aria-hidden="false"] { display: flex; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.video-modal__panel { position: relative; width: min(1200px, 96%); max-height: 92vh; background: #0b0b0b; border-radius: 8px; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.7); z-index: 2; }
.video-modal__close { position: absolute; right: 12px; top: 8px; background: transparent; border: none; color: #fff; font-size: 18px; padding: 8px; cursor: pointer; }
.video-modal__content { padding: 18px; }
/* Make inserted <video> fill the modal panel */
#video-player-container { width: 100%; height: 66vh; max-height: 86vh; background: #000; display: block; }
#video-player-container video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
#video-player-container { height: 56vh; }
}
/* small visual polish */
.news-card .title, .feature-details .title { transition: color 220ms ease; }
.news-card:hover .title { color: #fff; }