* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #82aaff;
  --secondary: #c3e88d;
  --accent: #ffcb6b;
  --dark: #0a0f1c;
  --darker: #06090f;
  --card-bg: rgba(26, 31, 46, 0.85);
  --glass-bg: rgba(35, 39, 47, 0.6);
  --border: rgba(130, 170, 255, 0.2);
  --text: #e0e0e0;
  --glow: rgba(130, 170, 255, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.mguvens.info/images/ai2.gif') no-repeat center center;
  background-size: cover;
  z-index: -2;
  filter: brightness(0.7) contrast(1.1);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0.9) 100%);
  z-index: -1;
}

/* Header Styles */
header {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(35, 39, 47, 0.95) 0%, rgba(26, 31, 46, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 30px;
  margin-bottom: 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(130, 170, 255, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  animation: headerShine 3s infinite;
}

@keyframes headerShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

header:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(130, 170, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

header h1 {
  color: var(--primary);
  font-size: 3em;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.3em;
  text-shadow: 0 0 30px rgba(130, 170, 255, 0.4);
  animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

header p {
  color: var(--text);
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Profile Image */
.profile-container {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.profile-image {
  width: 300px;
  height: 350px;
  border-radius: 25px;
  object-fit: cover;
  object-position: center 25%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(130, 170, 255, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.profile-container::before,
.profile-container::after {
  content: '';
  position: absolute;
  border-radius: 25px;
  opacity: 0;
  transition: all 0.5s ease;
}

.profile-container::before {
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 400% 400%;
  filter: blur(10px);
  z-index: 0;
  animation: gradientShift 3s ease infinite;
}

.profile-container::after {
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: linear-gradient(-45deg, var(--accent), var(--primary), var(--secondary), var(--accent));
  background-size: 400% 400%;
  filter: blur(15px);
  z-index: -1;
  animation: gradientShift 3s ease infinite reverse;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.profile-container:hover::before,
.profile-container:hover::after {
  opacity: 0.6;
}

.profile-container:hover .profile-image {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(130, 170, 255, 0.3);
}

/* Navigation */
nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  color: var(--primary);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 170, 255, 0.2), transparent);
  transition: left 0.5s;
}

nav a:hover::before {
  left: 100%;
}

nav a:hover {
  background: linear-gradient(135deg, var(--primary), #6b8fcc);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 20px rgba(130, 170, 255, 0.3),
    0 0 30px rgba(130, 170, 255, 0.2);
  border-color: var(--primary);
}

nav a.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(130, 170, 255, 0.4);
}

/* Sections */
section {
  margin-bottom: 50px;
  padding: 50px;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(35, 39, 47, 0.8) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-color: rgba(130, 170, 255, 0.3);
}

h2 {
  font-size: 2.5em;
  margin-bottom: 1.5em;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(130, 170, 255, 0.3);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), transparent);
  border-radius: 2px;
}

h3 {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(255, 203, 107, 0.2);
}

/* Experience Timeline */
.experience-timeline {
  position: relative;
  padding: 30px 0;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--glow);
}

.experience-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 50px;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.6) 0%, rgba(35, 39, 47, 0.6) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 30px 30px 80px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 35px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 3px solid var(--dark);
  box-shadow: 
    0 0 0 4px rgba(130, 170, 255, 0.3),
    0 0 20px var(--glow);
  z-index: 1;
  transition: all 0.3s ease;
}

.experience-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-item:hover {
  transform: translateX(15px);
  border-color: var(--primary);
  box-shadow: 
    0 10px 40px rgba(130, 170, 255, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.experience-item:hover::before {
  transform: scale(1.3);
  box-shadow: 
    0 0 0 6px rgba(130, 170, 255, 0.4),
    0 0 30px var(--glow);
}

.experience-item:hover::after {
  opacity: 1;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.experience-header h3 {
  color: var(--accent);
  margin: 0;
  font-size: 1.4em;
  text-shadow: 0 2px 10px rgba(255, 203, 107, 0.3);
}

.experience-date {
  color: var(--primary);
  font-size: 0.95em;
  font-weight: 600;
  background: rgba(130, 170, 255, 0.15);
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid rgba(130, 170, 255, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.experience-item h4 {
  color: var(--secondary);
  margin: 12px 0;
  font-size: 1.15em;
  font-weight: 600;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.project-card {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(35, 39, 47, 0.8) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(45deg, transparent, rgba(130, 170, 255, 0.05), transparent);
  transform: rotate(0deg);
  opacity: 0;
  transition: all 0.6s ease;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(130, 170, 255, 0.2);
  border-color: var(--primary);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover::after {
  opacity: 1;
  transform: rotate(180deg);
}

.project-card strong {
  color: var(--accent) !important;
  display: block;
  margin-bottom: 18px;
  font-size: 1.5em;
  text-shadow: 0 2px 10px rgba(255, 203, 107, 0.3);
  font-weight: 700;
  line-height: 1.3;
}

.project-card p {
  color: var(--text);
  margin-bottom: 25px;
  font-size: 1.05em;
  line-height: 1.7;
  opacity: 0.9;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  z-index: -1;
}

.project-link:hover::before {
  width: 100%;
}

.project-link:hover {
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(130, 170, 255, 0.3);
}

/* Skills Container */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 30px;
}

.skill-category {
  background: linear-gradient(135deg, rgba(35, 39, 47, 0.8) 0%, rgba(26, 31, 46, 0.8) 100%);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  box-shadow: 0 0 15px var(--glow);
}

.skill-category::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(45deg, transparent, rgba(130, 170, 255, 0.03), transparent);
  transform: rotate(0deg);
  opacity: 0;
  transition: all 0.8s ease;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(130, 170, 255, 0.15);
  border-color: var(--primary);
}

.skill-category:hover::after {
  opacity: 1;
  transform: rotate(180deg);
}

.skill-category h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.4em;
  border-bottom: 2px solid rgba(130, 170, 255, 0.2);
  padding-bottom: 12px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(130, 170, 255, 0.2);
}

.skill-category ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-category li {
  background: rgba(130, 170, 255, 0.12);
  color: var(--text);
  font-weight: 500;
  border-radius: 25px;
  padding: 10px 18px;
  font-size: 0.95em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(130, 170, 255, 0.25);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-category li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(130, 170, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.skill-category li:hover::before {
  width: 200%;
  height: 200%;
}

.skill-category li:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(130, 170, 255, 0.2);
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(130, 170, 255, 0.3);
  color: #fff;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  padding-right: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(130, 170, 255, 0.05);
  border-color: rgba(130, 170, 255, 0.2);
  transform: translateX(5px);
}

.contact-item i {
  font-size: 1.5em;
  color: var(--accent);
  margin-right: 15px;
  width: 35px;
  text-align: center;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(195, 232, 141, 0.3);
}

.contact-form {
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.6) 0%, rgba(35, 39, 47, 0.6) 100%);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(130, 170, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(130, 170, 255, 0.1),
    0 0 20px rgba(130, 170, 255, 0.15);
  transform: translateY(-2px);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  border: none;
  padding: 15px 40px;
  border-radius: 12px;
  font-size: 1.05em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(130, 170, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.scroll-to-top::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(5px);
}

.scroll-to-top:hover::before {
  opacity: 0.7;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(130, 170, 255, 0.5);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(130, 170, 255, 0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 30px var(--glow);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Neural Network Effect */
.neural-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.neural-network::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(130, 170, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(195, 232, 141, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 203, 107, 0.15) 0%, transparent 50%);
  animation: neuralPulse 10s infinite ease-in-out;
}

@keyframes neuralPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

/* Matrix Rain Effect */
.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
}

.matrix-rain::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(130, 170, 255, 0.1) 50%,
    transparent 100%);
  animation: matrixRain 15s infinite linear;
}

@keyframes matrixRain {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* About Content */
.about-content {
  margin-bottom: 2.5em;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5em;
  color: var(--text);
  font-size: 1.05em;
}

.about-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
}

.about-content li {
  margin-bottom: 25px;
  padding: 20px 20px 20px 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.about-content li:hover {
  background: rgba(130, 170, 255, 0.05);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(130, 170, 255, 0.1);
}

.about-content li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 1.1em;
}

.about-content li strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  header {
    padding: 40px 25px;
    border-radius: 20px;
  }

  header h1 {
    font-size: 2.2em;
  }

  .profile-image {
    width: 220px;
    height: 280px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  section {
    padding: 30px 20px;
    border-radius: 20px;
  }

  h2 {
    font-size: 2em;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .skills-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .experience-item {
    padding-left: 60px;
  }

  .experience-timeline::before {
    left: 20px;
  }

  .experience-item::before {
    left: 11px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 25px;
  }

  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8em;
  }

  header p {
    font-size: 1em;
  }

  .profile-image {
    width: 180px;
    height: 230px;
  }

  h2 {
    font-size: 1.6em;
  }

  .project-card {
    padding: 25px;
  }

  .project-card strong {
    font-size: 1.3em;
  }

  .skill-category {
    padding: 20px;
  }

  .experience-item {
    padding: 20px 20px 20px 50px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid var(--darker);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  box-shadow: 0 0 10px var(--glow);
}

/* Selection */
::selection {
  background: rgba(130, 170, 255, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(130, 170, 255, 0.3);
  color: #fff;
}

/* Mouse Trail Effect */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(130, 170, 255, 0.8), rgba(195, 232, 141, 0.4));
  box-shadow: 0 0 20px rgba(130, 170, 255, 0.6),
              0 0 40px rgba(195, 232, 141, 0.4);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-trail.active {
  opacity: 1;
}

.cursor-trail.hover {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 203, 107, 0.9), rgba(130, 170, 255, 0.5));
  box-shadow: 0 0 30px rgba(255, 203, 107, 0.8),
              0 0 60px rgba(130, 170, 255, 0.6);
}

/* Trail dots */
.trail-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: rgba(130, 170, 255, 0.6);
  box-shadow: 0 0 10px rgba(130, 170, 255, 0.8);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hide cursor trail on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-trail,
  .trail-dot {
    display: none !important;
  }
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.quick-stat-item {
  background: linear-gradient(135deg, rgba(35, 39, 47, 0.6) 0%, rgba(26, 31, 46, 0.6) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.quick-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 170, 255, 0.1), transparent);
  transition: left 0.5s;
}

.quick-stat-item:hover::before {
  left: 100%;
}

.quick-stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(130, 170, 255, 0.2);
  border-color: var(--primary);
}

.quick-stat-item i {
  font-size: 2.5em;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 0 20px rgba(255, 203, 107, 0.3);
}

.quick-stat-number {
  font-size: 2.5em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.quick-stat-label {
  color: var(--text);
  font-size: 1em;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .quick-stat-item {
    padding: 25px;
  }
  
  .quick-stat-item i {
    font-size: 2em;
  }
  
  .quick-stat-number {
    font-size: 2em;
  }
}

/* Current Work Section */
.current-work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.work-info {
  padding: 20px;
}

.work-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.work-gifs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.robot-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border: 2px solid var(--border);
}

.robot-image:hover {
  transform: scale(1.05);
}

/* Article Card */
.article-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  background: linear-gradient(135deg, rgba(35, 39, 47, 0.6) 0%, rgba(26, 31, 46, 0.6) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 35px;
  margin-top: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 170, 255, 0.1), transparent);
  transition: left 0.6s;
}

.article-card:hover::before {
  left: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(130, 170, 255, 0.15);
  border-color: var(--primary);
}

.article-image {
  position: relative;
  min-width: 200px;
  border-radius: 15px;
  overflow: hidden;
}

.article-gif {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: transform 0.4s ease;
}

.article-gif:hover {
  transform: scale(1.05);
}

.article-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.article-content {
  flex: 1;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.article-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  z-index: -1;
}

.article-link:hover::before {
  width: 100%;
}

.article-link:hover {
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(130, 170, 255, 0.3);
}

@media (max-width: 768px) {
  .current-work {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .work-image {
    order: -1;
  }
  
  .work-gifs {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .article-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px;
  }
  
  .article-image {
    min-width: auto;
    order: -1;
  }
  
  .article-icon {
    min-width: auto;
    justify-content: flex-start;
  }
  
  .article-icon i {
    font-size: 2.5em;
  }
  
  .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px 0;
  padding: 5px 0;
   }

}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;    /* Yazı (p) ile etiketler arası boşluk */
  margin-bottom: 25px; /* Etiketler ile buton (a) arası boşluk */
  padding: 0;
}

.tag {
  background: rgba(130, 170, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(130, 170, 255, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  display: inline-block;
}

.project-card:hover .tag {
  background: var(--primary);
  color: var(--darker);
  box-shadow: 0 0 15px var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tag:nth-child(even) {
  color: var(--secondary);
  border-color: rgba(195, 232, 141, 0.3);
}

.project-card:hover .tag:nth-child(even) {
  background: var(--secondary);
  color: var(--darker);
  box-shadow: 0 0 15px var(--secondary);
}
