Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
195 lines (166 loc) · 3.81 KB
/
Copy pathstyle.css
File metadata and controls
195 lines (166 loc) · 3.81 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
:root {
--primary: #2D3748;
--primary-dark: #1A202C;
--secondary: #4A5568;
--accent: #D84315;
--cream: #FFF5F0;
--bg: #F7F7F7;
--card-bg: #FFFFFF;
--text: #1A202C;
--text-light: #718096;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #1A202C;
--card-bg: #2D3748;
--text: #E2E8F0;
--text-light: #A0AEC0;
--cream: #2D3748;
}
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
color: var(--text);
background: var(--bg);
padding-top: 0;
}
.hero {
min-height: 100dvh;
background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
background-size: 200% 200%;
animation: gradient-shift 15s ease infinite;
color: white;
position: relative;
overflow: hidden;
}
@keyframes gradient-shift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
.hero { animation: none; }
}
.hero .container {
position: relative;
z-index: 1;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.hero::after {
content: '';
position: absolute;
inset: 0;
opacity: 0.04;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
pointer-events: none;
}
.hero-title {
font-family: 'Playfair Display', serif;
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.1;
}
.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.3rem);
font-weight: 300;
opacity: 0.9;
}
.hero .btn-outline-light {
border-radius: 50px;
padding: 0.6rem 2rem;
transition: background 0.3s, transform 0.2s;
}
.hero .btn-outline-light:hover {
background: rgba(255,255,255,0.15);
transform: scale(1.05);
}
.section-title {
font-family: 'Playfair Display', serif;
font-weight: 600;
color: var(--accent);
font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.section-text {
font-size: 1.05rem;
line-height: 1.8;
color: var(--text-light);
}
.card {
border: none;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 24px rgba(0,0,0,0.07);
transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease;
background: var(--card-bg);
}
.card:hover {
transform: translateY(-8px);
box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.card-img-top {
height: 220px;
object-fit: cover;
object-position: 0 0;
background: var(--cream);
}
@media (max-width: 767.98px) {
.card-img-top { height: 180px; }
}
.card-title {
font-family: 'Playfair Display', serif;
color: var(--primary);
font-weight: 600;
}
.card-text {
color: var(--text-light);
font-size: 0.95rem;
}
.btn-primary {
background: var(--primary);
border-color: var(--primary);
border-radius: 10px;
padding: 0.6rem 1.5rem;
font-weight: 500;
transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
transform: scale(1.02);
box-shadow: 0 4px 16px rgba(45,55,72,0.3);
}
.dropdown-menu {
border-radius: 10px;
border: none;
box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.dropdown-item {
padding: 0.5rem 1.2rem;
transition: background 0.2s;
}
.dropdown-item:hover {
background: var(--cream);
color: var(--primary);
}
footer {
background: var(--primary);
color: white;
font-size: 0.9rem;
}
.fade-in {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}