@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --bg-main: #0a0d14;
  --bg-glass: rgba(18, 24, 38, 0.6);
  --bg-glass-hover: rgba(28, 36, 56, 0.85);
  --accent-cyan: #00f2fe;
  --accent-purple: #9d4edd;
  --accent-blue: #4facfe;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan-glow: rgba(0, 242, 254, 0.35);
}

* {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
  scroll-margin-top: 120px;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(157, 78, 221, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 242, 254, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  zoom: 0.90;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

.portfolio-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.left-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 42%;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#info-card h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.info1 {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.info2 {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 12px;
}

.about-experience-project {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 2px 0;
}

.about-experience-project a {
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-experience-project a::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--text-secondary);
  margin-right: 14px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.about-experience-project a:hover {
  color: var(--text-primary);
  transform: translateX(8px);
}

.about-experience-project a:hover::before {
  width: 44px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 10px var(--accent-cyan);
}

.social-media {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
  gap: 16px;
}

.social-media li a svg {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-media li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.social-media li a:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-cyan-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.2);
}

.social-media li a:hover svg {
  color: var(--accent-cyan);
}

.right-panel {
  width: 58%;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

#education {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

#education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
}

#education:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-cyan-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.15);
}

.education .year {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* EXPERIENCE TIMELINE (KUSURSUZ HİZALAMA) */
.content#experience, .experience-wrapper {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  margin-left: 16px; /* Noktanın soldan taşmasını engelleyen güvenli alan */
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-item {
  position: relative;
}

.content#experience::before, .experience-item::before {
  content: '';
  position: absolute;
  top: 4px;
  left: -39px; /* 32px padding + 2px border ortalaması için tam hiza */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
  z-index: 2;
  transition: all 0.3s ease;
}

.experience-item:hover::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 25px var(--accent-cyan), 0 0 8px #fff;
}

.year {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 6px 0 10px 0;
  color: var(--text-primary);
}

.list-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}

.custom-list .list-group-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-cyan);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.custom-list .list-group-item:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--border-cyan-glow);
  transform: translateY(-2px);
}

#projects, #projects1, #projects2, #projects3, #projects4, #projects5 {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#projects:hover, #projects1:hover, #projects2:hover, #projects3:hover, #projects4:hover, #projects5:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-cyan-glow);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.15);
}

#projects h3, #projects1 h3, #projects2 h3, #projects3 h3, #projects4 h3, #projects5 h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.meeting-sc, .student-automation, .car-compare, .library-management, .textile-scout, .Deep-Research-Agent {
  flex-shrink: 0; 
  width: 200px;
}

.meeting-sc img, .student-automation img, .car-compare img, .library-management img, .textile-scout img, .Deep-Research-Agent img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.meeting-sc img:hover, .student-automation img:hover, .car-compare img:hover, .library-management img:hover, .textile-scout img:hover, .Deep-Research-Agent img:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

#more-projects {
  display: flex;
  width: 100%;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

#more-projects a {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

#more-projects a:hover {
  color: var(--accent-cyan);
}

#more-projects a svg {
  transition: transform 0.3s ease;
  height: 20px;
  margin-left: 6px;
}

#more-projects a:hover svg {
  transform: translateY(-4px) translateX(4px); 
}

.glitch-form-wrapper {
  --bg-color: rgba(18, 24, 38, 0.5);
  --primary-color: #00f2fe;
  --text-color: #e5e5e5;
  --font-family: 'Plus Jakarta Sans', sans-serif;
  
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border-glass);
  width: 100%;
}

.glitch-card {
  background-color: var(--bg-color);
  width: 100%;
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.05);
  border-radius: 14px;
  overflow: hidden;
}

.card-header { display: flex; justify-content: space-between; align-items: center; background-color: rgba(0, 0, 0, 0.2); padding: 0.8em 1.2em; border-bottom: 1px solid var(--border-glass); }
.card-title { color: var(--primary-color); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5em; }
.card-title svg { width: 1.2em; height: 1.2em; stroke: var(--primary-color); }
.card-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.2); margin-left: 5px; }
.card-body { padding: 1.8rem; }
.form-group { position: relative; margin-bottom: 2rem; }
.form-label { position: absolute; top: 0.75em; left: 0; font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; pointer-events: none; transition: all 0.3s ease; }
.form-group input { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--border-glass); padding: 0.75em 0; font-size: 1rem; color: var(--text-color); font-family: inherit; outline: none; transition: border-color 0.3s ease; }
.form-group input:focus { border-color: var(--primary-color); }
.form-group input:focus+.form-label, .form-group input:not(:placeholder-shown)+.form-label { top: -1.2em; font-size: 0.75rem; color: var(--primary-color); }

.submit-btn { width: 100%; padding: 0.9em; margin-top: 1rem; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue)); border: none; border-radius: 10px; color: #0a0d14; font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; cursor: pointer; transition: all 0.3s ease; }
.submit-btn:hover, .submit-btn:focus { box-shadow: 0 0 25px rgba(0, 242, 254, 0.4); transform: translateY(-2px); opacity: 0.95; }

.form-group textarea { width: 100%; min-height: 110px; background: transparent; border: none; border-bottom: 2px solid var(--border-glass); padding: 0.75em 0; font-size: 1rem; color: var(--text-color); font-family: inherit; outline: none; transition: border-color 0.3s ease; resize: vertical; }
.form-group textarea:focus { border-color: var(--primary-color); }
.form-group textarea:focus+.form-label, .form-group textarea:not(:placeholder-shown)+.form-label { top: -1.2em; font-size: 0.75rem; color: var(--primary-color); }

#footer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: left;
  margin-top: 40px;
}

#cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(157, 78, 221, 0.04) 40%, transparent 70%);
  filter: blur(60px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

@media (max-width: 1024px) {
  .portfolio-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 24px;
    overflow-x: hidden; /* Dışarı taşan nesnelerin ekranı kaydırmasını önler */
  }

  .left-panel {
    position: relative;
    height: auto;
    width: 100%;
    padding: 60px 0 0 0;
  }

  .right-panel {
    width: 100%;
    padding: 0 0 60px 0;
    gap: 50px;
  }

  .about-experience-project {
    display: none;
  }

  
  .content#experience, .experience-wrapper {
    margin-left: 12px; 
    padding-left: 28px;
  }

  .content#experience::before, .experience-item::before {
    left: -35px; 
  }

  #projects, #projects1, #projects2, #projects3, #projects4, #projects5 {
    flex-direction: column;
  }

  .meeting-sc, .student-automation, .car-compare, .library-management, .textile-scout, .Deep-Research-Agent {
    width: 100%;
  }
}