/* --- 1. FONTS & ROOT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=JetBrains+Mono&display=swap');

:root {
  --bg-color: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.6);
  --accent-color: #38bdf8;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

/* --- 2. GENERAL RESET & EFFECTS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  padding: 0 10%;
  overflow-x: hidden;
}

/* Arka Plan Parıltıları */
body::before, body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px);
}

body::before {
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

body::after {
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

/* --- 3. NAVIGATION --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo span { color: var(--accent-color); }

nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { text-decoration: none; color: var(--text-secondary); transition: 0.3s; font-size: 0.9rem; }
nav a:hover { color: var(--accent-color); }

.lang-switch {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  transition: 0.3s;
  margin-left: 20px;
}

.lang-switch:hover {
  background: var(--accent-color);
  color: var(--bg-color);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* --- 4. HEADER / HERO --- */
header { text-align: center; padding: 8rem 0; }

header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.highlight { color: var(--accent-color); font-weight: 700; }

#typewriter::after {
  content: '|';
  animation: blink 0.7s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

/* --- 5. SOCIAL BUTTONS --- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-social {
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

.highlight-btn {
  background: var(--accent-color);
  color: var(--bg-color);
  border: 1px solid var(--accent-color);
}

.highlight-btn:hover {
  background: #7dd3fc;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}

/* --- 6. SECTIONS & REVEAL --- */
section { padding: 6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  border-left: 4px solid var(--accent-color);
  padding-left: 15px;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--accent-color);
}

/* --- 7. ABOUT SECTION --- */
.about-text h2 {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--accent-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent-color);
  padding-left: 1rem;
}

.about-text p { color: var(--text-secondary); max-width: 600px; margin-bottom: 1rem; }

/* --- 8. CARDS & SKILLS --- */
.card, .skill-category {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
}

.tag {
  font-size: 0.75rem;
  color: var(--accent-color);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.icon { font-style: normal; margin-right: 10px; filter: drop-shadow(0 0 5px var(--accent-color)); }

/* --- 9. TIMELINE --- */
.timeline { border-left: 2px solid var(--card-bg); padding-left: 2rem; }
.timeline-item { margin-bottom: 2.5rem; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 6px);
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* --- 10. FOOTER --- */
footer {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  body { padding: 0 5%; }
  header h1 { font-size: 2.5rem; }
  nav ul { display: none; }
}


