/* FONT */
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/share-tech-mono.woff2') format('woff2');
}

/* VARIABLES */
:root {
  --bg: #02030a;
  --matrix-green: #00ff41;
  --matrix-green-soft: #26ff7c;
  --text: #e5ffe5;
  --accent: #ff4bff;
}

/* RESET */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Share Tech Mono", monospace;
  color: var(--text);
  background: radial-gradient(circle at top, #08131a 0, var(--bg) 45%, #000 100%);
  min-height: 100vh;
}

/* LINKS – hiçbir zaman alt çizgi yok */
a {
  color: var(--matrix-green-soft);
  text-decoration: none;
}
a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* MATRIX CANVAS */
#matrixCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* LAYOUT */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}

.section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(3,25,12,0.95));
  border: 1px solid rgba(0,255,65,0.35);
  border-radius: 18px;
  padding: 24px 18px;
  margin: 18px 0;
  box-shadow: 0 0 25px rgba(0,255,65,0.18);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.center {
  text-align: center;
}

.card img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* HEADINGS */
h1,
h2 {
  text-align: center;
  margin: 0;
  color: var(--matrix-green-soft);
  text-shadow: 0 0 12px rgba(0,255,65,0.7);
  letter-spacing: 2px;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 780px;
  margin: 6px auto 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #c9ffd3;
}

/* NAVBAR */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid rgba(0,255,65,0.35);
  backdrop-filter: blur(10px);
}

.top-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-brand {
  font-size: 16px;
  letter-spacing: 1px;
  color: #e5ffe5;
}
.nav-brand span {
  color: var(--matrix-green);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.nav-link {
  padding: 4px 10px;
  border-radius: 999px;
  color: #c9ffd3;
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(0,255,65,0.12);
  color: #ffffff;
}

.nav-link.active {
  background: rgba(0,255,65,0.22);
  color: #ffffff;
  border-color: rgba(0,255,65,0.6);
}

/* LANG SWITCH */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.lang-link {
  opacity: 0.6;
}
.lang-link.active {
  opacity: 1;
  color: var(--matrix-green);
}
.lang-link:hover {
  opacity: 1;
}

/* HERO HEADER ROW */
.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}
.header-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-typing {
  margin-top: 10px;
}
.typing-img {
  max-width: 100%;
  height: auto;
}

/* TYPOGRAPHY */
ul {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
}
ul li::marker {
  color: var(--matrix-green);
}

.about-text,
.projects-intro-text {
  max-width: 780px;
  margin: 10px auto;
  font-size: 15px;
  line-height: 1.7;
  color: #d5ffe0;
}

.projects-intro-list {
  max-width: 780px;
  margin: 4px auto 16px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
}

/* TECH ICONS */
.tech-icons img {
  margin: 8px;
  filter: drop-shadow(0 0 6px rgba(0,255,65,0.6));
  width: 60px;
}

/* STATS */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stats-row img {
  max-width: 100%;
  height: auto !important;
}

/* GENERIC BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,65,0.6);
  background: rgba(0,0,0,0.85);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0,255,65,0.35);
  background: rgba(0,255,65,0.15);
  color: #ffffff;
}

.btn-back {
  border-color: rgba(164, 97, 255, 0.7);
  background: rgba(40,5,80,0.9);
  box-shadow: 0 0 16px rgba(164, 97, 255, 0.35);
}
.btn-back:hover {
  background: rgba(110, 38, 255, 0.9);
  box-shadow: 0 0 20px rgba(164, 97, 255, 0.6);
}

/* BUTON İKONLARI */
.btn-icon {
  font-size: 16px;
}

/* CONNECT SECTION (Telegram / GitHub butonları) */
.connect-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--matrix-green-soft);
  text-shadow: 0 0 18px rgba(0,255,65,0.9);
}
.connect-globe {
  font-size: 24px;
}

.connect-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-telegram {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  border-color: #00aaff;
}
.btn-telegram:hover {
  background: linear-gradient(135deg, #00aaff, #33c8ff);
  box-shadow: 0 0 20px rgba(0,170,255,0.65);
}

.btn-github {
  background: #000000;
  border-color: #ffffff;
}
.btn-github:hover {
  background: #111111;
  box-shadow: 0 0 20px rgba(255,255,255,0.35);
}

/* PROJECTS LIST */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.project-card {
  border-radius: 10px;
  border: 1px solid rgba(0,255,65,0.25);
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.5);
}

.project-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.project-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(0,255,65,0.4);
  color: var(--matrix-green);
  white-space: nowrap;
}

.project-desc {
  font-size: 13px;
  margin-top: 4px;
  color: #c9ffd3;
}

.project-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #9cffb4;
}

/* CONTACT PAGE SECONDARY BUTTONS */
.contact-buttons-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 10px;
}

.contact-buttons-secondary .btn {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 16px;
}

/* renk varyantları */
.btn-email {
  border-color: #00ff9d;
}
.btn-email:hover {
  background: rgba(0, 255, 157, 0.15);
}

.btn-instagram {
  border-color: #ff4bff;
  background: rgba(80, 0, 80, 0.9);
}
.btn-instagram:hover {
  background: rgba(140, 0, 140, 0.95);
  box-shadow: 0 0 18px rgba(255, 75, 255, 0.6);
}

.btn-telegram-small {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  border-color: #00aaff;
}
.btn-telegram-small:hover {
  background: linear-gradient(135deg, #00aaff, #33c8ff);
  box-shadow: 0 0 18px rgba(0,170,255,0.7);
}

.btn-github-small {
  background: #000000;
  border-color: #ffffff;
}
.btn-github-small:hover {
  background: #111111;
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page {
    padding: 20px 8px 40px;
  }

  .card {
    padding: 18px 12px;
    margin: 14px 0;
  }

  h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  h2 {
    font-size: 18px;
  }

  ul {
    font-size: 14px;
    padding-left: 20px;
  }

  .about-text,
  .projects-intro-text {
    font-size: 14px;
  }

  .tech-icons img {
    width: 44px;
    margin: 6px;
  }

  .stats-row {
    flex-direction: column;
  }

  .nav-links {
    gap: 8px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .top-nav-inner {
    padding-inline: 10px;
  }
  .nav-right {
    gap: 10px;
  }
}
