-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
358 lines (309 loc) · 7.06 KB
/
globals.css
File metadata and controls
358 lines (309 loc) · 7.06 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
@import "tailwindcss";
:root {
--background: #fefcf7;
--foreground: #1f1f1f;
--primary: #d4a574;
--primary-dark: #b8946a;
--secondary: #8b5a3c;
--accent: #f7e7ce;
--muted: #5a5a5a;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-primary: var(--primary);
--color-primary-dark: var(--primary-dark);
--color-secondary: var(--secondary);
--color-accent: var(--accent);
--color-muted: var(--muted);
--font-sans: var(--font-inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
--font-serif: var(--font-playfair, ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif);
--color-cream: {
50: #fefcf7;
100: #fdf8ed;
200: #faf0d2;
300: #f7e7ce;
400: #f2d7a7;
500: #d4a574;
600: #b8946a;
700: #9c7e57;
800: #7d6345;
900: #5c4932;
};
--color-warm-gray: {
50: #f9f7f4;
100: #f3efea;
200: #e6ddd1;
300: #d6c9b8;
400: #c2b19d;
500: #a69885;
600: #8b7f6c;
700: #716656;
800: #5a5044;
900: #453c33;
};
}
/* Force light theme by default; do not auto-switch based on OS */
/* Dark mode variables removed intentionally to keep consistent light branding */
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans);
/* Ensure native UI (forms, scrollbars) prefer light appearance */
color-scheme: light;
/* Prevent horizontal overflow and layout shift */
overflow-x: hidden;
max-width: 100vw;
width: 100vw;
position: relative;
}
html {
/* Prevent horizontal overflow at root level */
overflow-x: hidden;
max-width: 100vw;
width: 100vw;
}
/* Ensure no element can cause horizontal overflow */
*, *::before, *::after {
max-width: 100%;
box-sizing: border-box;
}
/* Specific overflow prevention for scaled elements */
.scale-110, .scale-125, .scale-150 {
max-width: 100%;
}
/* Container queries for responsive design */
.container {
max-width: 100vw;
overflow-x: hidden;
}
/* Custom scrollbar - hidden on mobile/tablet to prevent layout issues */
@media (min-width: 1024px) {
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--accent);
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-dark);
}
}
/* Hide scrollbars on mobile/tablet to prevent layout shift issues */
@media (max-width: 1023px) {
html, body {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
}
/* Smooth transitions */
* {
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
/* Wedding-specific animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes floatIn {
from {
opacity: 0;
transform: scale(0.8) rotate(-10deg);
}
to {
opacity: 1;
transform: scale(1) rotate(0deg);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out forwards;
}
.animate-floatIn {
animation: floatIn 0.8s ease-out forwards;
}
.animate-slideInLeft {
animation: slideInLeft 0.8s ease-out forwards;
}
.animate-slideInRight {
animation: slideInRight 0.8s ease-out forwards;
}
.animate-scaleIn {
animation: scaleIn 0.6s ease-out forwards;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
/* Photo hover effects for Our Story section */
.story-photo-hover {
transition: all 0.4s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}
.story-photo-hover:hover {
transform: scale(1.05) translateY(-5px);
box-shadow: 0 20px 40px rgba(212, 165, 116, 0.3);
}
/* Warm tone effects for Where It All Began section */
.warm-photo-hover {
transition: all 0.5s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}
.warm-photo-hover:hover {
transform: scale(1.1) rotate(0deg);
box-shadow: 0 15px 35px rgba(251, 146, 60, 0.3);
}
/* Decorative elements */
.story-divider {
position: relative;
}
.story-divider::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(to right, transparent, var(--primary), transparent);
transform: translateY(-50%);
}
/* Enhanced photo cards */
.photo-card {
position: relative;
overflow: hidden;
border-radius: 1rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.4s ease;
}
.photo-card:hover {
box-shadow: 0 20px 60px rgba(212, 165, 116, 0.2);
transform: translateY(-5px);
}
.photo-card::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(45deg, transparent 30%, rgba(212, 165, 116, 0.1) 50%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.photo-card:hover::after {
opacity: 1;
}
/* Floating pulse animation for decorative dots */
@keyframes warmPulse {
0%, 100% {
transform: scale(1);
opacity: 0.7;
}
50% {
transform: scale(1.2);
opacity: 1;
}
}
@keyframes heartGlow {
0%, 100% {
filter: drop-shadow(0 8px 32px rgba(212, 165, 116, 0.3)) drop-shadow(0 4px 16px rgba(212, 165, 116, 0.2));
}
50% {
filter: drop-shadow(0 12px 48px rgba(212, 165, 116, 0.4)) drop-shadow(0 6px 24px rgba(212, 165, 116, 0.3));
}
}
@keyframes gentleFloat {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
33% {
transform: translateY(-8px) rotate(1deg);
}
66% {
transform: translateY(-4px) rotate(-0.5deg);
}
}
.animate-heartGlow {
animation: heartGlow 4s ease-in-out infinite;
}
.animate-gentleFloat {
animation: gentleFloat 6s ease-in-out infinite;
}
/* Elegant gradient backgrounds */
.gradient-wedding {
background: linear-gradient(135deg, var(--accent) 0%, var(--background) 50%, #f7e7ce 100%);
}
.gradient-hero {
background: linear-gradient(
135deg,
rgba(212, 165, 116, 0.1) 0%,
rgba(247, 231, 206, 0.3) 50%,
rgba(212, 165, 116, 0.1) 100%
);
}
/* Typography utilities */
.font-serif {
font-family: var(--font-serif);
}
/* Utilities */
.touch-pan-zoom {
touch-action: pan-x pan-y pinch-zoom;
}
/* Route top progress bar */
.route-progress-bar {
height: 2px;
background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
box-shadow: 0 0 6px rgba(0,0,0,0.08);
transition: width 0.2s ease-out, opacity 0.2s ease-out;
}
.route-progress-start {
width: 65%;
}
.route-progress-finish {
width: 100%;
opacity: 0;
}