/* Sitenin tum stilleri burada. Renkleri degistirmek icin :root kismindaki
   degiskenleri degistirmen yeterli. */

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #2f6fed;
  --accent-2: #7c4dff;
  --card: #fbfbfd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --text: #e9e9e9;
    --muted: #9aa0a6;
    --line: #2a2e35;
    --accent: #7aa2f7;
    --accent-2: #b58cff;
    --card: #1a1d23;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* Sayfanin ustundeki yumusak renk lekesi (dekorasyon) */
.glow {
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 420px;
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 65%);
  opacity: 0.14;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.page {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Ust menu (topbar) */
.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.logo {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.topbar nav {
  display: flex;
  gap: 18px;
}

.topbar nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 4px;
}

/* Menudeki aktif sayfanin altindaki kucuk cizgi */
.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--text);
}

.topbar nav a:hover::after,
.topbar nav a.active::after {
  transform: scaleX(1);
}

/* Yazilar */
h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
}

h2 {
  font-size: 19px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
}

a {
  color: var(--accent);
}

section {
  margin-bottom: 40px;
}

/* Ana sayfadaki giris: avatar + yazi yan yana */
.intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* "Currently building..." rozeti */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21c07a;
  box-shadow: 0 0 0 3px rgba(33, 192, 122, 0.2);
}

/* Listeler: klasik nokta yerine kucuk renkli isaret */
.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

/* Buton gorunumlu link */
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* Calismalar: kart gorunumu */
.project-list {
  display: grid;
  gap: 16px;
}

.project {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.project:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.project p:last-child {
  margin-bottom: 0;
}

.project-link {
  text-decoration: none;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/* Alt bilgi (footer) */
footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* Telefon icin kucuk duzeltmeler */
@media (max-width: 480px) {
  .intro {
    flex-direction: column;
    gap: 14px;
  }
}

/* Hareketi sevmeyen kullanicilar icin animasyonlari kapat */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
