/* --- YENİ NEON TEMA & FONT AYARLARI --- */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;700&family=Roboto+Mono:wght@400;500;600&family=Product+Sans:wght@400;700&display=swap');

:root {
  /* Neon & Koyu Tema Renk Paleti */
  --bg-dark: #0a0c10;              
  --bg-glass: rgba(20, 25, 40, 0.5); 
  --bg-glass-light: rgba(20, 25, 40, 0.8);

  --text-primary: #e0e0e0;         
  --text-secondary: #a0a0b0;       
  
  --neon-blue: #00d4ff;            
  --neon-blue-dark: #00a2c7;
  --google-blue: #4285f4;
  --google-green: #34a853;
  --google-yellow: #fbbc04;
  --google-red: #ea4335;
  
  --glow-subtle: 0 0 8px rgba(0, 212, 255, 0.3), 0 0 12px rgba(0, 212, 255, 0.2);
  --glow-medium: 0 0 12px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-strong: 0 0 15px var(--neon-blue), 0 0 25px var(--neon-blue), 0 0 50px rgba(0, 212, 255, 0.5);

  --border-neon: rgba(0, 212, 255, 0.3);
  --border-neon-hover: var(--neon-blue);

  --gradient-primary: linear-gradient(135deg, var(--neon-blue) 0%, var(--google-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--google-red) 0%, var(--google-yellow) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', 'Roboto', sans-serif;
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  text-align: center;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-top: 64px;
  font-size: 14px;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 25%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(66, 133, 244, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(52, 168, 83, 0.05) 0%, transparent 35%);
  z-index: -1;
  animation: backgroundFloat 40s ease-in-out infinite;
}

@keyframes backgroundFloat {
  0% { transform: translate(0, 0); }
  25% { transform: translate(20px, -30px); }
  50% { transform: translate(-20px, 30px); }
  75% { transform: translate(10px, 15px); }
  100% { transform: translate(0, 0); }
}

/* --- BÖLÜM STİLLERİ - DAHA AZ BOŞLUKLU --- */
/* DEĞİŞİKLİK: Padding azaltıldı ve min-height kaldırıldı. */
.section {
  padding: 70px 24px; /* 100px'den 70px'e düşürüldü */
  /* min-height: 100vh; kaldırıldı. Artık bölüm içeriği kadar yer kaplayacak */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1); 
}

/* DEĞİŞİKLİK: About me bölümünü özellikle daha da küçültmek için */
#about {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container {
  width: 100%;
  max-width: 720px;
  padding: 0;
  text-align: center;
  z-index: 2;
  animation: fadeIn 1s ease-out forwards;
}

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

/* --- NAVBAR - ORTALANMIŞ MENÜ --- */
/* DEĞİŞİKLİK: Navbar'ı ortalamak için flex yerine grid kullanıldı. */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: grid; /* Flex'ten grid'e geçildi */
  grid-template-columns: 1fr auto 1fr; /* Sol-Orta-Sağ sütun yapısı */
  align-items: center;
  padding: 0 24px;
  height: 64px;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

/* DEĞİŞİKLİK: Markayı sol sütuna yerleştir */
.navbar-brand {
    grid-column: 1 / 2;
    justify-self: start;
}

.navbar-brand a {
  font-family: 'Product Sans', sans-serif;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0 8px var(--neon-blue);
  transition: all 0.2s ease;
}

.navbar-brand a:hover {
  text-shadow: 0 0 12px var(--neon-blue), 0 0 5px var(--neon-blue);
}

/* DEĞİŞİKLİK: Navigasyon linklerini orta sütuna yerleştir */
.navbar-nav {
    grid-column: 2 / 3;
    justify-self: center;
    display: flex; /* İç elemanların yan yana olması için */
    gap: 4px;
}

.nav-link {
  font-family: 'Google Sans', sans-serif;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(0, 212, 255, 0.1);
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.7);
}

.nav-cv-button {
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  box-shadow: var(--glow-subtle);
}

.nav-cv-button:hover {
  background: var(--neon-blue);
  color: var(--bg-dark) !important;
  box-shadow: var(--glow-medium);
  text-shadow: none !important;
}

/* Kalan CSS kodları aynı kalabilir... */

/* --- HERO BÖLÜMÜ - GÖZ ALICI GİRİŞ --- */
.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 0 4px var(--neon-blue), var(--glow-strong);
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--neon-blue), var(--glow-medium); }
  50% { box-shadow: 0 0 0 6px var(--neon-blue), var(--glow-strong); }
}

h1 {
  font-family: 'Product Sans', sans-serif;
  color: #fff;
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.5);
}

.tagline {
  font-size: 18px;
  color: var(--text-primary);
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.links {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--border-neon);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.links a:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--border-neon-hover);
  color: #fff;
  box-shadow: var(--glow-medium);
}

.links a i {
  font-size: 20px;
  color: var(--neon-blue);
  transition: all 0.3s ease;
}

.links a:hover i {
  transform: scale(1.1);
  text-shadow: 0 0 8px var(--neon-blue);
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  font-family: 'Google Sans', sans-serif;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: var(--glow-medium);
}

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

.btn-secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
}

.btn-secondary:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: var(--glow-medium);
  transform: translateY(-2px);
}

.section h2 {
  font-family: 'Product Sans', sans-serif;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 16px;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: var(--glow-subtle);
}

.skills-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  text-align: left;
}

.skill-category, .project-card {
  background: var(--bg-glass);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-neon);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.skill-category:hover, .project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-neon-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), var(--glow-medium);
}

.skill-category h3, .project-card h3 {
  font-family: 'Google Sans', sans-serif;
  color: var(--neon-blue);
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 500;
  text-shadow: 0 0 4px rgba(0, 212, 255, 0.5);
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category li {
  color: var(--text-primary);
  font-size: 14px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.skill-category li:last-child {
  border-bottom: none;
}

.skill-category li i {
  color: var(--google-green);
  font-size: 16px;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.project-link:hover {
  color: #fff;
  text-shadow: 0 0 5px var(--neon-blue);
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(4px);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-glass);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-neon);
}

#contactForm input,
#contactForm textarea {
  padding: 14px 18px;
  border: 1px solid var(--border-neon);
  border-radius: 8px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(10, 12, 16, 0.5);
  transition: all 0.2s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: var(--glow-medium);
}

#contactForm button {
  background: var(--neon-blue);
  color: var(--bg-dark);
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow-medium);
  margin-top: 8px;
}

#contactForm button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.footer {
  margin-top: auto;
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-dark);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #fff; }

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    /* DEĞİŞİKLİK: Mobilde grid'i devre dışı bırakıp eski flex yapısına dön */
    #navbar {
        display: flex;
        justify-content: space-between;
    }
    .navbar-nav {
      /* Grid stillerini sıfırla */
      grid-column: auto;
      justify-self: auto;
      /* Hamburger menü için gerekli stiller */
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 56px;
      left: 0;
      background: var(--bg-glass-light);
      backdrop-filter: blur(20px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      border-top: 1px solid var(--border-neon);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    /* Aktif menü için gereken stiller (Eskisiyle aynı) */
    .navbar-nav.active {
        display: flex;
        max-height: 400px;
    }
    .nav-link {
        padding: 16px 20px;
        margin: 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid var(--border-neon);
        border-radius: 0;
    }

    body { padding-top: 56px; }
    .section { padding: 50px 16px; }
    h1 { font-size: 36px; }
    .section h2 { font-size: 28px; }
    .tagline { font-size: 16px; }
    .profile-pic { width: 120px; height: 120px; }
    .hero-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    .section h2 { font-size: 24px; }
    .profile-pic { width: 100px; height: 100px; }
    .links a, #contactForm input, #contactForm textarea { padding: 14px; }
    #contactForm { padding: 24px; }
}