/* ===== CSS DEĞİŞKENLERİ ===== */
/* ===== CSS DEĞİŞKENLERİ (YUMUŞATILMIŞ LIGHT MODE) ===== */
:root {
  /* Ana Renkler - Daha soft, mora çalan modern bir mavi (Indigo) */
  --primary-color: #4f46e5; /* Önceki cırtlak mavi yerine daha tok bir renk */
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --primary-color-rgb: 79, 70, 229;

  /* İkincil Renkler */
  --secondary-color: #8b5cf6;
  --secondary-dark: #7c3aed;
  --secondary-light: #a78bfa;

  /* Metin Renkleri - Tam siyah yerine koyu antrasit */
  --text-primary: #334155; /* Sert siyah yerine yumuşak koyu gri */
  --text-secondary: #64748b; /* Okuması kolay gri */
  --text-muted: #94a3b8;

  /* Arka Planlar - Göz yormayan "Kırık Beyaz" stratejisi */
  --bg-primary: #f8fafc; /* DİKKAT: Tam beyaz (#fff) yerine çok açık gri-mavi tonu */
  --bg-secondary: #ffffff; /* Kartlar beyaz olsun ki öne çıksın (Soft kontrast) */
  --bg-tertiary: #f1f5f9; /* Buton ve detaylar için hafif ton */
  --border-color: #e2e8f0;

  /* Gölgeler - Çok daha yumuşak ve yayvan */
  --shadow-sm: 0 1px 2px 0 rgba(148, 163, 184, 0.1);
  --shadow: 0 4px 6px -1px rgba(148, 163, 184, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(148, 163, 184, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(148, 163, 184, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(148, 163, 184, 0.25);

  /* Diğer Ayarlar */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

[data-theme="dark"] {
  /* Koyu Tema Renkleri */
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --primary-color-rgb: 59, 130, 246;
  --secondary-color: #8b5cf6;
  --secondary-dark: #7c3aed;
  --secondary-light: #a78bfa;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  --border-color: #4b5563;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* ===== SCROLLBAR ÖZELLEŞTİRME ===== */
::-webkit-scrollbar {
  width: 10px; /* Scrollbar genişliği */
}

::-webkit-scrollbar-track {
  background: var(--bg-primary); /* Arka plan rengi (temaya göre değişir) */
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-muted); /* Tutamaç rengi */
  border-radius: 20px; /* Yuvarlak köşeler */
  border: 3px solid var(--bg-primary); /* Kenarlardan boşluk bırakmak için trick */
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color); /* Üzerine gelince renk değişsin */
}
/* ===== GENEL STİLLER ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: var(--transition);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 50px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* ===== TEMA TOGGLE ===== */
/* ===== TEMA TOGGLE (MODERN GÜNEŞ/AY ANIMASYONU) ===== */
.theme-toggle {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 1001;
}

.theme-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary); /* Temaya göre değişen arka plan */
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  position: relative; /* İkonları içinde konumlandırmak için */
  overflow: hidden; /* Dışarı taşan ikonları gizle */
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-btn:hover {
  transform: scale(1.1); /* Üzerine gelince hafif büyüsün */
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.4); /* Parlama efekti */
}

/* İkonların Ortak Özellikleri */
.theme-btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.4rem;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Elastik geçiş efekti */
}

/* === AÇIK TEMA DURUMU (Varsayılan) === */

/* Güneş (Açık temada gizli - aşağıda bekler) */
.theme-btn .fa-sun {
  transform: translate(-50%, 150%);
  opacity: 0;
  color: #fbbf24; /* Güneş sarısı */
}

/* Ay (Açık temada görünür - ortada) */
.theme-btn .fa-moon {
  transform: translate(-50%, -50%);
  opacity: 1;
  color: #6366f1; /* Ay için morumsu mavi */
}

/* === KOYU TEMA DURUMU ([data-theme="dark"]) === */

/* Güneş (Koyu temada görünür - ortaya gelir) */
[data-theme="dark"] .theme-btn .fa-sun {
  transform: translate(-50%, -50%) rotate(360deg); /* Dönerek gelir */
  opacity: 1;
}

/* Ay (Koyu temada gizli - yukarı uçar) */
[data-theme="dark"] .theme-btn .fa-moon {
  transform: translate(-50%, -150%) rotate(-90deg); /* Dönerek gider */
  opacity: 0;
}

/* Mobilde konum düzeltmesi */
@media (max-width: 768px) {
  .theme-toggle {
    top: 20px;
    right: 70px; /* Hamburger menü ile çakışmasın diye */
  }
  .theme-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ===== HEADER & NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--bg-primary-rgb), 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.logo-text .highlight {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 150px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  min-height: 2rem;
}

.cursor {
  color: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 8px solid var(--bg-primary);
  box-shadow: var(--shadow-xl);
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
  }
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: -30px;
  left: -30px;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: -20px;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 40px;
  right: -40px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down {
  color: var(--text-secondary);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  display: block;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Sol taraf: Metin içeriği */
.about-text {
  padding-right: 20px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 15px;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

/* Sağ taraf: Sidebar */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Bilgi Kartları */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.info-card-header i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-header h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

.info-card-body {
  flex: 1;
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
  line-height: 1.2;
}

.info-card-subtitle {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 5px;
}

.info-card-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ===== ACTION BUTONLARI (3'lü Yan Yana Düzen) ===== */

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* BURASI DEĞİŞTİ: 3 Eşit Sütun */
  gap: 15px;
}

/* Mobilde alt alta olsun (Sıkışmasın) */
@media (max-width: 768px) {
  .action-buttons {
    grid-template-columns: 1fr;
  }
}

.btn-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 15px;
  height: auto;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.btn-block i {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.btn-block span {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.btn-block small {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
}

.btn-primary.btn-block {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  /* grid-column: 1 / -1;  <-- BU SATIR ARTIK YOK (Tam satır kaplamasın diye sildik) */
}

.btn-primary.btn-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline.btn-block {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline.btn-block:hover {
  background: var(--primary-color);
  color: white;
}

.btn-secondary.btn-block {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary.btn-block:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
}
/* Hızlı İletişim */
.about-contact {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-color);
}

.about-contact h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.1);
  transform: translateX(5px);
}

.contact-link i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-mini {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.social-mini a {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-mini a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
  .about-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .about-text {
    padding-right: 0;
  }

  .about-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-text h3 {
    font-size: 1.6rem;
  }

  .info-card {
    padding: 20px;
  }

  .btn-block {
    padding: 15px 10px;
    min-height: 70px;
  }
}

@media (max-width: 576px) {
  .about-text h3 {
    font-size: 1.4rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .info-card-title {
    font-size: 1.3rem;
  }
}

/* ===== EXPERIENCE SECTION ===== */
/* ===== MODERN TECH TIMELINE ===== */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Sol taraftaki Neon Çizgi */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px; /* Çizginin konumu */
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5); /* Neon parlama */
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 70px; /* İçerik soldan ne kadar uzaklaşsın */
}

/* Yuvarlak İkonlu İşaretçiler (Daireler) */
.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  z-index: 2;
  box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s ease;
}

/* İşaretçi animasyonu */
.timeline-item:hover .timeline-marker {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.6);
}

/* İçerik Kartı (Glassmorphism) */
.timeline-content {
  background: rgba(255, 255, 255, 0.03); /* Çok hafif şeffaf */
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
}

/* Kartın solundaki minik ok */
.timeline-content::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 15px;
  width: 20px;
  height: 20px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transform: rotate(45deg);
  z-index: 1;
}

/* Kart Hover Efekti */
.timeline-item:hover .timeline-content {
  transform: translateX(10px); /* Sağa doğru kay */
  border-color: var(--primary-color);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
}

/* Başlık ve Tarih Alanı */
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.timeline-date {
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.timeline-desc {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Etiketler (Tags) */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-tags span {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.timeline-tags span i {
  color: var(--primary-color);
}

.timeline-item:hover .timeline-tags span {
  border-color: var(--primary-color);
  color: var(--text-primary);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .timeline::before {
    left: 19px; /* Çizgiyi ikona ortala */
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 5px;
  }
}

.leadership-section {
  text-align: center;
}

.leadership-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.leadership-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.leadership-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.5rem;
}

.leadership-card h4 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.leadership-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.leadership-card p {
  color: var(--text-secondary);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.skill-category {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skill-header i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.skill-header h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.skill-name {
  flex: 1;
  color: var(--text-primary);
  font-weight: 500;
}

.skill-bar {
  flex: 2;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 4px;
  width: 0;
  transition: width 1s ease-in-out;
}

.skill-percent {
  width: 40px;
  text-align: right;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== SKILLS SECTION GÜNCELLEMESİ ===== */

.tech-stack {
  text-align: center;
  margin-top: 50px; /* Yukarıdan biraz daha boşluk */
}

.tech-stack h3 {
  font-size: 2.2rem; /* Başlığı da büyüttük */
  margin-bottom: 40px;
  color: var(--text-primary);
}

.tech-icons {
  display: flex;
  justify-content: center; /* Ortala */
  align-items: center;
  gap: 50px; /* İkonlar arası boşluğu 30px'ten 50px'e çıkardık */
  flex-wrap: wrap;
  max-width: 1000px; /* İkonların yayılacağı maksimum alanı genişlettik */
  margin: 0 auto; /* Bloğu ortaladık */
}

.tech-icon::after {
  content: attr(data-tooltip); /* HTML'deki ismi otomatik çeker */
  position: absolute;
  bottom: 100%; /* İkonun tam tepesinde başlasın */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Başlangıçta biraz aşağıda dursun (animasyon için) */

  background-color: var(--text-primary); /* Temaya uygun koyu renk */
  color: var(--bg-primary); /* Okunabilir açık renk yazı */
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap; /* Yazı alt satıra kaymasın */
  pointer-events: none; /* Mouse takılmasın */

  opacity: 0; /* Başlangıçta gizli */
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Yaylanma efekti */
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

/* Tooltip Oku (Aşağı bakan küçük üçgen) */
.tech-icon::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  border-width: 8px;
  border-style: solid;
  border-color: var(--text-primary) transparent transparent transparent; /* Sadece üst kenar renkli */

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 100;
  pointer-events: none;
}

/* HOVER DURUMU (Üzerine gelince olacaklar) */
.tech-icon:hover::after,
.tech-icon:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-15px); /* Yukarı doğru kayarak ve yaylanarak gelir */
}

.tech-icon {
  width: 100px; /* 60px yerine 100px yaptık (Büyüdü) */
  height: 100px; /* 60px yerine 100px yaptık (Büyüdü) */
  background: var(--bg-secondary);
  border-radius: var(
    --radius-lg
  ); /* Yuvarlak yerine hafif köşeli modern duruş (İstersen %50 yapıp yuvarlak bırakabilirsin) */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem; /* İkonun kendi boyutu 2rem'den 3.5rem'e çıktı */
  color: var(--text-secondary); /* Normalde gri */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti ekledik */
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-md); /* Hafif gölge ekledik */
  border: 1px solid var(--border-color);
}

/* Hover (Üzerine gelince) Efekti */
.tech-icon:hover {
  transform: translateY(-10px) scale(1.15); /* Daha fazla büyüsün */
  background: var(--bg-primary); /* Arka plan değişsin */
  color: var(--primary-color); /* Kendi rengini alsın */
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

/* Mobilde çok büyük kalmaması için ayar */
@media (max-width: 768px) {
  .tech-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }

  .tech-icons {
    gap: 25px;
  }
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(45deg);
}

.project-content {
  padding: 25px;
}

.project-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.project-cta:hover {
  gap: 12px;
  color: var(--secondary-color);
}

.projects-cta {
  text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  gap: 12px;
  color: var(--secondary-color);
}

.contact-form {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius);
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  padding-left: 45px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.form-group textarea + .input-icon {
  top: 20px;
  transform: none;
}

.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid #16a34a;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid #dc2626;
}

.social-connect {
  text-align: center;
}

.social-connect h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.3rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-note {
  font-size: 0.9rem;
}

.footer-note i {
  color: #ef4444;
  margin: 0 5px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-content {
    gap: 40px;
  }

  .image-container {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .image-container {
    width: 300px;
    height: 300px;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Skills Section */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Projects Section */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .image-container {
    width: 250px;
    height: 250px;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-date {
    position: relative;
    left: 0;
    margin-bottom: 10px;
    display: inline-block;
  }

  .tech-icons {
    gap: 15px;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ===== PRINT STYLES ===== */
@media print {
  .theme-toggle,
  .back-to-top,
  .hamburger,
  .hero-actions,
  .social-links,
  .contact-form,
  .footer-bottom {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ===== RESPONSIVE DESIGN (MOBİL DÜZENLEMELERİ) ===== */
@media (max-width: 768px) {
  /* 1. Header ve Navbar Düzeni */
  .navbar {
    padding: 15px 0;
    justify-content: space-between; /* Logo solda, Hamburger sağda */
  }

  .nav-logo {
    font-size: 1.2rem; /* Logo mobilde biraz küçülsün */
    z-index: 1002; /* Her zaman üstte */
  }

  /* 2. Mobil Menü (Gizli Panel) */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Ekranın sağında gizli başla */
    left: auto; /* Sol ayarını iptal et */
    width: 75%; /* Ekranın %75'ini kaplasın */
    height: 100vh;
    background: var(--bg-primary); /* Arka plan rengi */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yumuşak geçiş */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15); /* Panel gölgesi */
    z-index: 1001; /* İçeriklerin üstünde */
    padding-top: 60px;
  }

  /* Menü Aktif Olduğunda (JS ekler) */
  .nav-menu.active {
    right: 0; /* Sahneye gir */
    left: auto;
  }

  /* Linklerin Yazı Boyutu */
  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
  }

  /* 3. Hamburger Menü İkonu */
  .hamburger {
    display: flex; /* Görünür yap */
    z-index: 1003; /* En üst katmanda olsun */
    margin-left: auto; /* Sağa yasla */
  }

  /* 4. Tema Değiştirme Butonu (Çakışmayı Önle) */
  .theme-toggle {
    position: absolute; /* Fixed yerine absolute kullan */
    top: 25px;
    right: 70px; /* Hamburgerin soluna kaydır */
    z-index: 1002;
  }

  .theme-btn {
    width: 40px; /* Mobilde biraz küçült */
    height: 40px;
    font-size: 0.9rem;
  }

  /* 5. Hero Alanı Düzenlemeleri */
  .hero {
    padding-top: 120px; /* Header altından başlasın */
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column; /* Butonlar alt alta */
    gap: 15px;
    padding: 0 20px;
  }

  .hero-stats {
    justify-content: center;
    margin-top: 20px;
  }

  /* Fotoğraf ve Şekiller */
  .hero-image {
    order: -1; /* Mobilde fotoğrafı yazının üstüne al */
    margin-bottom: 20px;
  }

  .hero-image-container {
    width: 280px;
    height: 280px;
  }

  .hero-profile-wrapper {
    width: 240px;
    height: 240px;
  }

  /* Genel Bölüm Boşlukları */
  .section-title {
    font-size: 2rem;
  }

  .projects-grid,
  .skills-grid,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr; /* Tüm ızgaraları tek sütuna düşür */
  }

  .contact-form {
    padding: 20px;
  }
}

/* ===== KALIN YAZI VE VURGU GÜNCELLEMESİ ===== */

/* 1. Tüm Başlıkları Ekstra Kalın Yap */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800 !important; /* En kalın ayar */
  letter-spacing: -0.5px; /* Harfleri birbirine yaklaştırır, daha tok durur */
}

/* 2. Navbar Linkleri (Ana Sayfa, Hakkımda vb.) */
.nav-link {
  font-weight: 700 !important; /* Kalın */
  font-size: 1.05rem; /* Çok az büyüt */
}

/* 3. O Büyük Butonlardaki Yazılar (Teklif Alın, Deneyimlerim) */
.btn-block span {
  font-weight: 800 !important; /* Başlık kısmı çok kalın */
  font-size: 1.2rem; /* Yazıyı büyüt */
}

.btn-block small {
  font-weight: 600 !important; /* Alt açıklama (Ücretsiz Danışmanlık vb.) */
  opacity: 1; /* Solukluğu kaldır, net görünsün */
  font-size: 0.9rem;
}

/* 4. Bölüm Başlıkları (Teknik Yetenekler, Projeler) */
.section-title {
  font-weight: 900 !important; /* Simsiyah kalın */
}

.section-subtitle {
  font-weight: 700 !important;
}

/* 5. Kart İsimleri (React, Python, Proje İsimleri) */
.skill-name,
.project-title,
.contact-card h3,
.timeline-content h3 {
  font-weight: 700 !important;
}

/* 6. Genel Açıklama Yazıları (Paragraflar) */
/* Koyu temada ince yazı zor okunur, bunları "Medium" yapıyoruz */
p,
.hero-description,
.project-description,
.contact-card p {
  font-weight: 500 !important; /* Normal(400) yerine 500 yaptık */
  color: var(--text-secondary); /* Renk değişmesin, sadece kalınlık */
}

/* 7. Form Etiketleri (İletişim Formu) */
.form-group input::placeholder,
.form-group textarea::placeholder {
  font-weight: 600;
}

/* ===== MODAL (POP-UP) STYLES ===== */
.modal {
  display: none; /* Varsayılan olarak gizli */
  position: fixed;
  z-index: 2000; /* Header'ın üstünde olması için yüksek değer */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* İçerik uzunsa scroll olsun */
  background-color: rgba(0, 0, 0, 0.8); /* Arka plan karartma */
  backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-secondary);
  margin: auto;
  padding: 0;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 900px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  max-height: 90vh; /* Ekranın %90'ı kadar yükseklik */
  overflow-y: auto; /* İçerik taşarsa kaydır */
}

.modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-muted);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  background: var(--bg-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #ef4444; /* Kırmızı renk */
  background: rgba(239, 68, 68, 0.1);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Sol Taraf: Resim */
.modal-image {
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 300px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Sağ Taraf: Bilgiler */
.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.modal-info h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.2;
}

.modal-info #modalDesc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal-features {
  margin-bottom: 30px;
  background: var(--bg-tertiary);
  padding: 20px;
  border-radius: var(--radius);
}

.modal-features h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.modal-features ul {
  list-style: none;
  padding: 0;
}

.modal-features li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.modal-features li::before {
  content: "\f00c"; /* FontAwesome check ikonu */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary-color);
}

.modal-actions {
  margin-top: auto; /* Butonları en alta it */
  display: flex;
  gap: 15px;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr; /* Mobilde alt alta olsun */
  }

  .modal-image {
    height: 250px;
  }

  .modal-info {
    padding: 25px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* ===== DİL SEÇİM MENÜSÜ (LANGUAGE SWITCHER) ===== */

/* Kapsayıcı */
.lang-dropdown {
  position: relative;
}

/* Tetikleyici Buton (TR yazan kısım) */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 12px !important; /* Mevcut paddingi ezmek için */
  border-radius: var(--radius);
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
}

.arrow-icon {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

/* Hover olunca ok dönsün */
.lang-dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Açılır Menü Kutusu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 160px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1100;
}

/* Menü Gösterme (Hover ile) */
.lang-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menü Linkleri */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--primary-color);
  padding-left: 15px; /* Hafif kayma efekti */
}

/* Aktif Dil */
.dropdown-item.active {
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  font-weight: 700;
}

.dropdown-item img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* === MOBİL GÖRÜNÜM AYARLARI === */
@media (max-width: 768px) {
  .lang-dropdown {
    width: 100%;
    text-align: center;
  }

  .lang-btn {
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
  }

  .dropdown-menu {
    position: static; /* Mobilde absolute olmasın, akışa girsin */
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none; /* Varsayılan gizli */
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin-top: 10px;
  }

  /* Mobilde tıklandığında açılsın (JS ile class ekleyeceğiz) */
  .lang-dropdown.active .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .dropdown-item {
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
