-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
425 lines (375 loc) · 9.55 KB
/
Copy pathstyle.css
File metadata and controls
425 lines (375 loc) · 9.55 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
/* ========================
GLOBAL DEĞİŞKENLER (CSS Root Variables)
Tema desteği için renkler burada tanımlanıyor – kolayca değiştirilebilir
======================== */
:root {
--blue: #0066ff;
/* Ana vurgu rengi (butonlar, linkler, ikonlar) */
--bg: #ffffff;
/* Açık tema arka plan rengi */
--text: #0a0a0a;
/* Açık temada ana metin rengi (koyu) */
--card: #f8fafc;
/* Kartlar ve kutular için hafif gri-beyaz arka plan */
--border: #e2e8f0;
/* Çerçeve, ayırıcı çizgiler için hafif gri */
}
/* Karanlık tema için değişkenleri override ediyoruz */
[data-theme="dark"] {
--bg: #030712;
/* Çok koyu (neredeyse siyah) arka plan */
--text: #f8fafc;
/* Beyaza yakın metin rengi */
--card: #0f172a;
/* Kartlar için koyu gri-mavi ton */
--border: #1e293b;
/* Koyu çerçeve rengi */
}
/* ========================
ARAPÇA (RTL) DÜZELTMELERİ
Sağdan sola dil desteği için yön ve hizalamaları ayarlıyoruz
======================== */
[lang="ar"] {
direction: rtl;
/* Tüm sayfayı sağdan sola akışa zorla */
text-align: right;
/* Metinleri sağa yasla */
}
/* Arapça'da ikonların konumunu düzelt (soldan sağa değil, sağdan sola) */
[lang="ar"] .feature-icon-circle,
[lang="ar"] .career-icon {
margin-left: auto;
/* Soldaki margin'i otomatik yap → sağa yaslanır */
margin-right: 0;
}
[lang="ar"] .career-line {
left: auto;
right: 0;
/* Alt mavi çizgi sağdan başlar */
}
/* Marquee (tech stack kaydırma) animasyonu Arapça'da bozulmasın diye
her zaman LTR (soldan sağa) zorluyoruz */
.marquee-zone {
overflow: visible !important;
/* Kartların yukarı taşmasına izin ver */
padding: 40px 0;
/* Yukarı ve aşağıya daha fazla alan bırak ki zıplayınca sığsın */
mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
direction: ltr !important;
position: relative;
}
/* Kayan track'in dışarı taşanları kesmemesi için */
.marquee-track {
display: flex;
width: max-content;
animation: scroll-x 30s linear infinite;
padding: 20px 0;
/* İçerideki zıplama payı */
}
.marquee-items {
display: flex;
gap: 30px;
/* Tag'ler arası boşluk */
padding-right: 30px;
/* Sonsuz döngüde son ile baş arasındaki boşluk */
list-style: none;
margin: 0;
}
/* Kaydırma animasyonu – iki aynı liste olduğu için -50% ile seamless döner */
@keyframes scroll-x {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
/* ========================
GENEL SAYFA STİLLERİ
======================== */
body {
font-family: 'Plus Jakarta Sans', sans-serif;
/* Ana font ailesi */
background: var(--bg);
color: var(--text);
transition: 0.3s ease;
/* Tema değişimi veya renk geçişleri yumuşak olsun */
overflow-x: hidden;
/* Yatay taşma önleme */
}
.section-scroll {
scroll-margin-top: 100px;
/* Navbar yüksekliği kadar yukarıdan boşluk (smooth scroll için) */
}
/* ========================
NAVBAR & GLASS-MORPHISM EFEKTİ
======================== */
.glass-header {
background: rgba(var(--bg), 0.85);
/* Yarı saydam arka plan */
backdrop-filter: blur(15px);
/* Cam (frosted glass) efekti */
border-bottom: 1px solid var(--border);
z-index: 1000;
/* Her şeyin üstünde kalması için yüksek z-index */
}
.nav-link {
color: var(--text) !important;
transition: 0.3s;
/* Hover için yumuşak geçiş */
}
.logo-bold {
font-weight: 800;
font-size: 1.6rem;
color: var(--text) !important;
text-decoration: none;
}
.text-blue {
color: var(--blue) !important;
}
/* Tema/dil/hamburger gibi yuvarlak aksiyon butonları */
.action-btn {
width: 42px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
color: var(--text);
transition: 0.3s;
}
.action-btn:hover {
border-color: var(--blue);
color: var(--blue);
transform: translateY(-2px);
/* Hafif yukarı kalkma efekti */
}
/* Dropdown ok işaretini gizle */
.action-btn.dropdown-toggle::after {
display: none;
}
/* İletişim butonu (navbar'da) */
.btn-contact-nav {
background: var(--blue);
color: white !important;
padding: 10px 22px;
border-radius: 12px;
font-weight: 700;
transition: 0.3s;
}
/* ========================
HERO BÖLÜMÜ STİLLERİ
======================== */
.hero-wrap {
padding: 160px 0 60px;
/* Üstten navbar boşluğu + alt boşluk */
}
.hero-badge {
background: rgba(0, 102, 255, 0.1);
/* Hafif mavi arka plan */
color: var(--blue);
padding: 8px 20px;
border-radius: 50px;
font-weight: 700;
font-size: 0.8rem;
display: inline-block;
}
.hero-title {
font-weight: 800;
letter-spacing: -2px;
/* Büyük başlıkta modern sıkıştırma */
color: var(--text);
}
.hero-p {
max-width: 750px;
font-size: 1.1rem;
color: #64748b;
/* Hafif gri açıklama metni */
margin: 20px auto;
}
.hero-stats-container {
background: var(--card);
border: 1px solid var(--border);
padding: 20px 40px;
border-radius: 30px;
margin: 40px auto 0;
max-width: fit-content;
}
.stat-val {
font-size: 1.5rem;
font-weight: 800;
color: var(--blue);
display: block;
}
.stat-lbl {
font-size: 0.8rem;
font-weight: 700;
opacity: 0.7;
color: var(--text);
}
.stat-sep {
width: 1px;
height: 45px;
background: var(--border);
}
/* ========================
KARTLAR (feature-card, career-box, project-card)
======================== */
.feature-card,
.career-box {
background: var(--card);
border: 1px solid var(--border);
padding: 40px 30px;
border-radius: 24px;
transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
/* Bounce efekti */
height: 100%;
position: relative;
color: var(--text);
}
.card-title-theme {
color: var(--text) !important;
font-weight: 700;
}
.card-text-theme {
color: var(--text) !important;
opacity: 0.8;
}
.feature-card:hover {
background: var(--blue);
color: #fff;
transform: translateY(-10px);
}
.feature-card:hover p,
.feature-card:hover h3 {
color: #fff !important;
}
.feature-icon-circle,
.career-icon {
width: 60px;
height: 60px;
background: var(--blue);
color: #fff;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin-bottom: 20px;
/* mx-auto → yatay merkezleme */
}
.career-date {
font-weight: 700;
color: var(--blue);
display: block;
margin-bottom: 10px;
}
.career-line {
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 4px;
background: var(--blue);
transition: 0.5s;
}
.career-box:hover .career-line {
width: 100%;
}
/* ========================
TECH STACK TAG'LERİ (marquee içindeki etiketler)
======================== */
.st-tag {
background: var(--card);
border: 1px solid var(--border);
padding: 12px 25px;
border-radius: 15px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
cursor: pointer !important;
}
.st-tag:hover {
background-color: #0066ff !important;
color: #ffffff !important;
transform: translateY(-8px) scale(1.05) !important;
border-color: #0066ff !important;
box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3) !important;
}
/* Tema ikonlarının görünürlüğü */
[data-theme="dark"] .moon-icon {
display: none;
}
[data-theme="dark"] .sun-icon {
display: block;
color: #fbbf24;
/* Güneş sarı tonu */
}
[data-theme="light"] .sun-icon {
display: none;
}
/* Scroll ile görünme animasyonu (reveal.js ile tetiklenir) */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: 0.8s ease-out;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Footer sosyal medya ikonları */
.s-link {
width: 45px;
height: 45px;
background: var(--card);
border: 1px solid var(--border);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text);
transition: 0.3s;
text-decoration: none;
}
.s-link:hover {
background: var(--blue);
color: #fff;
}
/* Hamburger menü ikon çizgileri */
.menu-icon-bars {
width: 24px;
height: 24px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 6px;
}
.menu-icon-bars span {
width: 100%;
height: 2px;
background: var(--text);
display: block;
}
/* ========================
RESPONSIVE DÜZELTMELER
======================== */
@media (max-width: 768px) {
.hero-stats-container {
flex-direction: column;
padding: 25px;
width: 100%;
}
.stat-sep {
width: 50%;
height: 1px;
}
}
/* Genel smooth scroll davranışı (anchor link'lerde) */
html {
scroll-behavior: smooth;
}