:root {
  --terminal-bg: rgba(48, 10, 36, 0.85);
  --terminal-header: #484848;

  --code-keyword: #c678dd;
  --code-var: #e06c75;
  --code-bracket: #abb2bf;
  --code-bg: #1a1a1a;

  --git-line: #334155;
  --commit-green: #27c93f;

  --spotify-bg: rgba(30, 41, 59, 0.5);

  --accent-color: #2dd4bf;
  --accent: #2dd4bf;
  --accent-glow: rgba(45, 212, 191, 0.4);
  --text-white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-border: #334155;

  --font-sans: "Inter", sans-serif;
  --font-mono: "Ubuntu Mono", monospace;
}

/* =======================================================
   PROJELERİM SAYFASI (GITHUB TIMELINE STILI)
   ======================================================= */

.commit-timeline {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  position: relative;
}

.timeline-header {
  margin-bottom: 3rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.timeline-main-title {
  font-family: var(--font-mono), monospace;
  font-size: 1.6rem;
}

.code-keyword {
  color: var(--code-keyword);
}
.code-var {
  color: var(--code-var);
}
.code-bracket {
  color: var(--code-bracket);
}

.timeline-area {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-area::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--git-line) 80%);
}

.commit-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.commit-card::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--bg-main);
  border: 3px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px var(--accent);
}

.commit-card:hover {
  transform: translateX(10px);
  border-color: var(--accent);
}

.commit-card .card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.commit-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin: 0;
}

.aciklama {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.commit-area {
  background: var(--code-bg);
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--commit-green);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 150px;
  overflow-y: auto;
}

.commit {
  font-family: var(--font-mono), monospace;
  color: var(--commit-green);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.commit-index {
  color: rgba(39, 201, 63, 0.4);
  margin-right: 5px;
  font-size: 0.75rem;
}

.commit-date {
  color: var(--accent);
  margin-right: 5px;
  font-size: 0.75rem;
}

/* --- YENİ EKLENEN BUTONLAR --- */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--bg-border);
  padding-top: 1.5rem;
}

.siteyi-gor {
  background-color: var(--bg-border);
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-mono), monospace;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.siteyi-gor:hover {
  background-color: var(--accent);
  color: var(--bg-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.siteyi-gor i {
  font-size: 1.1rem;
}

/* --- Call Back Button (Genel) --- */
.call-back-btn {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  margin: 4rem 0;
}

.call-back-btn a {
  background-color: var(--accent);
  color: var(--bg-main);
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.call-back-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.6);
}

/* =======================================================
   RESPONSIVE DESIGN
   ======================================================= */
@media (max-width: 768px) {
  .timeline-area {
    padding-left: 1.5rem;
  }
  .timeline-area::before {
    left: 0;
  }
  .commit-card::before {
    left: -1.5rem;
    width: 12px;
    height: 12px;
  }
  .commit-title {
    font-size: 1.1rem;
  }
  .siteyi-gor {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .commit-timeline {
    padding: 0 1rem;
  }
  .buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .siteyi-gor {
    justify-content: center;
  }
}