Aleksmorshen commited on
Commit
9755467
·
verified ·
1 Parent(s): adabb1c

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +179 -95
styles.css CHANGED
@@ -3,17 +3,17 @@
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
- font-family: 'Poppins', sans-serif;
7
  }
8
 
9
  body {
10
- line-height: 1.6;
11
  color: #1a1a1a;
12
  background: #fff;
 
13
  }
14
 
15
  .container {
16
- max-width: 1200px;
17
  margin: 0 auto;
18
  padding: 0 20px;
19
  }
@@ -22,15 +22,16 @@ body {
22
  .header {
23
  position: fixed;
24
  width: 100%;
25
- background: #fff;
26
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
27
  padding: 20px 0;
28
  z-index: 1000;
29
- transition: background 0.3s;
30
  }
31
 
32
  .header.scrolled {
33
- background: #fff;
 
34
  }
35
 
36
  .header .container {
@@ -40,16 +41,43 @@ body {
40
  }
41
 
42
  .logo-img {
43
- height: 50px;
44
  width: auto;
 
 
 
 
 
 
 
 
 
 
45
  }
46
 
47
  .nav a {
48
  color: #1a1a1a;
49
  text-decoration: none;
50
- margin-left: 30px;
51
  font-weight: 600;
52
- transition: color 0.3s;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  }
54
 
55
  .nav a:hover {
@@ -57,194 +85,235 @@ body {
57
  }
58
 
59
  .cta-btn {
60
- padding: 12px 25px;
61
  background: #ff6200;
62
- border: none;
63
- border-radius: 50px;
64
  color: #fff;
 
 
65
  font-weight: 600;
66
- cursor: pointer;
67
- transition: transform 0.3s, background 0.3s;
68
  }
69
 
70
  .cta-btn:hover {
71
- transform: scale(1.05);
72
  background: #e65c00;
 
73
  }
74
 
75
  /* Hero */
76
  .hero {
77
  height: 100vh;
78
- background: linear-gradient(135deg, #ff6200 0%, #ff8c40 100%);
79
  display: flex;
80
  align-items: center;
 
81
  text-align: center;
82
  color: #fff;
83
  position: relative;
84
  overflow: hidden;
85
  }
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  .hero-title {
88
- font-size: clamp(2.5rem, 5vw, 4rem);
89
- font-weight: 700;
 
90
  margin-bottom: 20px;
91
- animation: fadeInUp 1s ease-out;
92
  }
93
 
94
  .hero-subtitle {
95
- font-size: clamp(1rem, 2vw, 1.5rem);
96
- margin-bottom: 30px;
97
  opacity: 0.9;
 
 
 
98
  }
99
 
100
  .hero-btn {
101
  display: inline-block;
102
- padding: 15px 30px;
103
  background: #fff;
104
  color: #ff6200;
105
  text-decoration: none;
106
  border-radius: 50px;
107
  font-weight: 600;
108
- transition: background 0.3s, color 0.3s;
 
109
  }
110
 
111
  .hero-btn:hover {
112
  background: #ff6200;
113
  color: #fff;
 
114
  }
115
 
116
  /* Services */
117
  .services {
118
- padding: 80px 0;
119
- background: #f9f9f9;
120
- text-align: center;
121
  }
122
 
123
- .services h2 {
124
- font-size: clamp(2rem, 3vw, 3rem);
125
- margin-bottom: 50px;
 
 
126
  color: #1a1a1a;
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
128
 
129
  .services-grid {
130
  display: grid;
131
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
132
- gap: 30px;
133
  }
134
 
135
  .service-card {
136
- padding: 30px;
137
  background: #fff;
138
- border-radius: 15px;
139
- box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
140
- transition: transform 0.4s ease, box-shadow 0.4s ease;
141
  text-align: left;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  }
143
 
144
  .service-card:hover {
145
  transform: translateY(-10px);
146
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
147
  }
148
 
149
  .service-card h3 {
150
- font-size: 1.5rem;
 
151
  color: #ff6200;
152
  margin-bottom: 15px;
153
  }
154
 
 
 
 
 
 
 
155
  .benefits {
156
  list-style: none;
 
157
  color: #333;
158
- font-size: 0.95rem;
159
- margin-top: 15px;
160
  }
161
 
162
  .benefits li {
163
- margin-bottom: 10px;
164
- }
165
-
166
- /* Portfolio */
167
- .portfolio {
168
- padding: 80px 0;
169
- background: #fff;
170
- text-align: center;
171
- }
172
-
173
- .portfolio h2 {
174
- font-size: clamp(2rem, 3vw, 3rem);
175
- margin-bottom: 50px;
176
- }
177
-
178
- .portfolio-grid {
179
- display: grid;
180
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
181
- gap: 20px;
182
- }
183
-
184
- .portfolio-item {
185
- height: 200px;
186
- background: #f1f1f1;
187
  display: flex;
188
  align-items: center;
189
- justify-content: center;
190
- border-radius: 10px;
191
- transition: background 0.3s;
192
- }
193
-
194
- .portfolio-item:hover {
195
- background: #e0e0e0;
196
  }
197
 
198
  /* Contact */
199
  .contact {
200
- padding: 80px 0;
201
- background: #ff6200;
202
  color: #fff;
203
  text-align: center;
204
  }
205
 
206
- .contact h2 {
207
- font-size: clamp(2rem, 3vw, 3rem);
208
- margin-bottom: 20px;
 
209
  }
210
 
211
  .contact-btn {
212
  display: inline-block;
213
- padding: 15px 30px;
214
- background: #fff;
215
- color: #ff6200;
216
  text-decoration: none;
217
  border-radius: 50px;
218
  font-weight: 600;
219
- transition: background 0.3s, color 0.3s;
 
220
  }
221
 
222
  .contact-btn:hover {
223
- background: #ff8c40;
224
- color: #fff;
225
  }
226
 
227
  /* Footer */
228
  .footer {
229
- padding: 20px 0;
230
  background: #1a1a1a;
231
  color: #fff;
232
  text-align: center;
 
 
233
  }
234
 
235
  /* Анимации */
236
- @keyframes fadeInUp {
237
- from { opacity: 0; transform: translateY(50px); }
238
- to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
239
  }
240
 
241
- .service-card, .portfolio-item {
242
  opacity: 0;
243
  transform: translateY(50px);
244
- transition: opacity 0.5s ease, transform 0.5s ease;
245
  }
246
 
247
- .service-card.visible, .portfolio-item.visible {
248
  opacity: 1;
249
  transform: translateY(0);
250
  }
@@ -252,22 +321,26 @@ body {
252
  /* Адаптивность */
253
  @media (max-width: 768px) {
254
  .header .container {
255
- flex-direction: column;
256
- gap: 20px;
 
257
  }
258
 
259
  .nav {
260
- display: flex;
261
  flex-direction: column;
262
- text-align: center;
263
  }
264
 
265
  .nav a {
266
- margin: 10px 0;
 
 
 
 
267
  }
268
 
269
  .hero-title {
270
- font-size: 2rem;
271
  }
272
 
273
  .hero-subtitle {
@@ -277,4 +350,15 @@ body {
277
  .services-grid {
278
  grid-template-columns: 1fr;
279
  }
 
 
 
 
 
 
 
 
 
 
 
280
  }
 
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
+ font-family: 'Inter', sans-serif;
7
  }
8
 
9
  body {
 
10
  color: #1a1a1a;
11
  background: #fff;
12
+ overflow-x: hidden;
13
  }
14
 
15
  .container {
16
+ max-width: 1300px;
17
  margin: 0 auto;
18
  padding: 0 20px;
19
  }
 
22
  .header {
23
  position: fixed;
24
  width: 100%;
25
+ background: rgba(255, 255, 255, 0.95);
26
+ backdrop-filter: blur(10px);
27
  padding: 20px 0;
28
  z-index: 1000;
29
+ transition: padding 0.3s ease;
30
  }
31
 
32
  .header.scrolled {
33
+ padding: 10px 0;
34
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
35
  }
36
 
37
  .header .container {
 
41
  }
42
 
43
  .logo-img {
44
+ height: 60px;
45
  width: auto;
46
+ transition: transform 0.3s ease;
47
+ }
48
+
49
+ .logo-img:hover {
50
+ transform: scale(1.05);
51
+ }
52
+
53
+ .nav {
54
+ display: flex;
55
+ align-items: center;
56
  }
57
 
58
  .nav a {
59
  color: #1a1a1a;
60
  text-decoration: none;
61
+ margin-left: 40px;
62
  font-weight: 600;
63
+ font-size: 1.1rem;
64
+ position: relative;
65
+ transition: color 0.3s ease;
66
+ }
67
+
68
+ .nav a::after {
69
+ content: '';
70
+ position: absolute;
71
+ width: 0;
72
+ height: 2px;
73
+ background: #ff6200;
74
+ bottom: -5px;
75
+ left: 0;
76
+ transition: width 0.3s ease;
77
+ }
78
+
79
+ .nav a:hover::after {
80
+ width: 100%;
81
  }
82
 
83
  .nav a:hover {
 
85
  }
86
 
87
  .cta-btn {
88
+ padding: 12px 30px;
89
  background: #ff6200;
 
 
90
  color: #fff;
91
+ text-decoration: none;
92
+ border-radius: 50px;
93
  font-weight: 600;
94
+ font-size: 1rem;
95
+ transition: background 0.3s ease, transform 0.3s ease;
96
  }
97
 
98
  .cta-btn:hover {
 
99
  background: #e65c00;
100
+ transform: translateY(-2px);
101
  }
102
 
103
  /* Hero */
104
  .hero {
105
  height: 100vh;
106
+ background: linear-gradient(145deg, #ff6200 0%, #ff8c40 100%);
107
  display: flex;
108
  align-items: center;
109
+ justify-content: center;
110
  text-align: center;
111
  color: #fff;
112
  position: relative;
113
  overflow: hidden;
114
  }
115
 
116
+ .hero::before {
117
+ content: '';
118
+ position: absolute;
119
+ top: 0;
120
+ left: 0;
121
+ width: 100%;
122
+ height: 100%;
123
+ background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
124
+ z-index: 1;
125
+ }
126
+
127
+ .hero .container {
128
+ position: relative;
129
+ z-index: 2;
130
+ }
131
+
132
  .hero-title {
133
+ font-size: clamp(3rem, 6vw, 5.5rem);
134
+ font-weight: 800;
135
+ line-height: 1.1;
136
  margin-bottom: 20px;
137
+ animation: slideIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
138
  }
139
 
140
  .hero-subtitle {
141
+ font-size: clamp(1.2rem, 2vw, 1.8rem);
142
+ font-weight: 400;
143
  opacity: 0.9;
144
+ margin-bottom: 40px;
145
+ animation: fadeIn 1.5s ease-out 0.3s forwards;
146
+ opacity: 0;
147
  }
148
 
149
  .hero-btn {
150
  display: inline-block;
151
+ padding: 15px 40px;
152
  background: #fff;
153
  color: #ff6200;
154
  text-decoration: none;
155
  border-radius: 50px;
156
  font-weight: 600;
157
+ font-size: 1.1rem;
158
+ transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
159
  }
160
 
161
  .hero-btn:hover {
162
  background: #ff6200;
163
  color: #fff;
164
+ transform: translateY(-3px);
165
  }
166
 
167
  /* Services */
168
  .services {
169
+ padding: 100px 0;
170
+ background: #fff;
 
171
  }
172
 
173
+ .section-title {
174
+ font-size: clamp(2.2rem, 4vw, 3.5rem);
175
+ font-weight: 800;
176
+ text-align: center;
177
+ margin-bottom: 60px;
178
  color: #1a1a1a;
179
+ position: relative;
180
+ }
181
+
182
+ .section-title::after {
183
+ content: '';
184
+ position: absolute;
185
+ width: 60px;
186
+ height: 4px;
187
+ background: #ff6200;
188
+ bottom: -15px;
189
+ left: 50%;
190
+ transform: translateX(-50%);
191
  }
192
 
193
  .services-grid {
194
  display: grid;
195
+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
196
+ gap: 40px;
197
  }
198
 
199
  .service-card {
200
+ padding: 40px;
201
  background: #fff;
202
+ border-radius: 20px;
203
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
204
+ transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.4s ease;
205
  text-align: left;
206
+ position: relative;
207
+ overflow: hidden;
208
+ }
209
+
210
+ .service-card::before {
211
+ content: '';
212
+ position: absolute;
213
+ top: 0;
214
+ left: 0;
215
+ width: 100%;
216
+ height: 4px;
217
+ background: #ff6200;
218
+ transform: scaleX(0);
219
+ transform-origin: left;
220
+ transition: transform 0.4s ease;
221
+ }
222
+
223
+ .service-card:hover::before {
224
+ transform: scaleX(1);
225
  }
226
 
227
  .service-card:hover {
228
  transform: translateY(-10px);
229
+ box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
230
  }
231
 
232
  .service-card h3 {
233
+ font-size: 1.8rem;
234
+ font-weight: 600;
235
  color: #ff6200;
236
  margin-bottom: 15px;
237
  }
238
 
239
+ .service-card p {
240
+ font-size: 1.1rem;
241
+ color: #666;
242
+ margin-bottom: 20px;
243
+ }
244
+
245
  .benefits {
246
  list-style: none;
247
+ font-size: 1rem;
248
  color: #333;
 
 
249
  }
250
 
251
  .benefits li {
252
+ margin-bottom: 12px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  display: flex;
254
  align-items: center;
255
+ gap: 8px;
 
 
 
 
 
 
256
  }
257
 
258
  /* Contact */
259
  .contact {
260
+ padding: 100px 0;
261
+ background: #1a1a1a;
262
  color: #fff;
263
  text-align: center;
264
  }
265
 
266
+ .contact-text {
267
+ font-size: 1.3rem;
268
+ opacity: 0.8;
269
+ margin-bottom: 40px;
270
  }
271
 
272
  .contact-btn {
273
  display: inline-block;
274
+ padding: 15px 40px;
275
+ background: #ff6200;
276
+ color: #fff;
277
  text-decoration: none;
278
  border-radius: 50px;
279
  font-weight: 600;
280
+ font-size: 1.1rem;
281
+ transition: background 0.3s ease, transform 0.3s ease;
282
  }
283
 
284
  .contact-btn:hover {
285
+ background: #e65c00;
286
+ transform: translateY(-3px);
287
  }
288
 
289
  /* Footer */
290
  .footer {
291
+ padding: 30px 0;
292
  background: #1a1a1a;
293
  color: #fff;
294
  text-align: center;
295
+ font-size: 0.9rem;
296
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
297
  }
298
 
299
  /* Анимации */
300
+ @keyframes slideIn {
301
+ from { opacity: 0; transform: translateY(50px) scale(0.95); }
302
+ to { opacity: 1; transform: translateY(0) scale(1); }
303
+ }
304
+
305
+ @keyframes fadeIn {
306
+ from { opacity: 0; }
307
+ to { opacity: 1; }
308
  }
309
 
310
+ .service-card {
311
  opacity: 0;
312
  transform: translateY(50px);
313
+ transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
314
  }
315
 
316
+ .service-card.visible {
317
  opacity: 1;
318
  transform: translateY(0);
319
  }
 
321
  /* Адаптивность */
322
  @media (max-width: 768px) {
323
  .header .container {
324
+ flex-wrap: wrap;
325
+ gap: 15px;
326
+ justify-content: center;
327
  }
328
 
329
  .nav {
 
330
  flex-direction: column;
331
+ gap: 15px;
332
  }
333
 
334
  .nav a {
335
+ margin-left: 0;
336
+ }
337
+
338
+ .logo-img {
339
+ height: 50px;
340
  }
341
 
342
  .hero-title {
343
+ font-size: 2.5rem;
344
  }
345
 
346
  .hero-subtitle {
 
350
  .services-grid {
351
  grid-template-columns: 1fr;
352
  }
353
+
354
+ .service-card {
355
+ padding: 30px;
356
+ }
357
+ }
358
+
359
+ @media (max-width: 480px) {
360
+ .cta-btn, .hero-btn, .contact-btn {
361
+ padding: 12px 30px;
362
+ font-size: 0.95rem;
363
+ }
364
  }