:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --secondary: #dc2626;
  --accent: #059669;
  --card: #ffffff;
  --card-2: #f8fafc;
  --border: #e5e7eb;
  --border-light: #e5e7eb;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --header-height: 70px;
  --ticker-height: 48px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --secondary: #ef4444;
  --accent: #10b981;
  --card: #1e293b;
  --card-2: #334155;
  --border: #475569;
  --border-light: #334155;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  padding-top: calc(var(--header-height) + var(--ticker-height));
  overflow-x: hidden; /* Mobil yatay scroll önleme */
}
img { display: block; max-width: 100%; height: auto; }

/* Genel taşma koruması */
html { overflow-x: hidden; }

/* Geniş bileşenlerin taşmasını engelle */
.container, .hero, .market-grid, .services-grid, .education-content, .about-content, .contact-content, .tools-grid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobilde grid içi elementlerin taşmasını engelle */
@media (max-width: 768px) {
  .hero *, .market-grid *, .services-grid *, .education-content *, .about-content *, .contact-content *, .tools-grid * {
    max-width: 100%;
    box-sizing: border-box;
  }
}

.container { width: min(1200px, 95%); margin: 0 auto; }
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-alt { background: var(--card-2); }

h1, h2, h3 { letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0 0 1.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin: 0 0 1rem; }
p { margin: 0 0 1rem; color: var(--muted); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: var(--header-height);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.95);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header .logo {
  text-decoration: none;
}
.site-header .logo-text {
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.5px;
}
.site-header .logo-surname {
  font-weight: 700;
  color: var(--text);
}
.site-header .logo:hover .logo-text {
  color: var(--primary);
  transition: color 0.3s ease;
}
.nav { 
  display: flex; 
  align-items: center; 
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}
.nav a:hover {
  color: var(--primary);
}
.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
  margin-right: 0.5rem;
}

/* Dark theme mobile toggle */
[data-theme="dark"] .mobile-menu-toggle {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.mobile-menu-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.mobile-menu-toggle:hover .hamburger-line {
  background: var(--primary);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-x: hidden; /* Taşma önleme */
}

/* Dark theme mobile overlay */
[data-theme="dark"] .mobile-nav-overlay {
  background: rgba(0, 0, 0, 0.95);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark theme mobile nav header */
[data-theme="dark"] .mobile-nav-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

/* Dark theme mobile nav close */
[data-theme="dark"] .mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(10px);
}

/* Dark theme mobile nav link */
[data-theme="dark"] .mobile-nav-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.mobile-nav-link svg {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-nav-link:hover svg {
  opacity: 1;
}

.mobile-nav-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark theme mobile nav footer */
[data-theme="dark"] .mobile-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-links {
  display: flex;
  gap: 1rem;
}

.mobile-social-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

/* Dark theme mobile social icon */
[data-theme="dark"] .mobile-social-icon {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-social-icon.whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.mobile-social-icon.instagram:hover {
  background: rgba(225, 48, 108, 0.2);
  color: #e1306c;
}
.header-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  color: var(--text);
}
.social-icon.whatsapp:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
  transform: translateY(-2px);
}
.social-icon.instagram:hover {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Animasyonlu Theme Toggle Switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left: 8px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 100%);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  transition: all 0.4s ease;
  pointer-events: none;
}

.theme-icon.sun {
  left: 8px;
  opacity: 1;
}

.theme-icon.moon {
  right: 8px;
  opacity: 0;
}

input:checked + .theme-slider {
  background: linear-gradient(135deg, #2C1810 0%, #1a1a2e 100%);
}

input:checked + .theme-slider:before {
  transform: translateX(26px);
  background: #1e293b;
}

input:checked + .theme-slider .theme-icon.sun {
  opacity: 0;
}

input:checked + .theme-slider .theme-icon.moon {
  opacity: 1;
}

.theme-switch:hover .theme-slider {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.theme-switch:active .theme-slider:before {
  width: 28px;
}

/* Dark theme için sosyal medya ikonları */
[data-theme="dark"] .social-icon {
  border-color: var(--border-light);
  color: var(--text);
}

/* Logo hover efektleri dark theme için */
[data-theme="dark"] .site-header .logo:hover .logo-text {
  color: var(--primary);
}

/* Navigation hover efektleri dark theme için */
[data-theme="dark"] .nav a:hover {
  color: var(--primary);
}

[data-theme="dark"] .nav a::after {
  background-color: var(--primary);
}

.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 80vh;
  padding: 2rem 5%; gap: 4rem;
  position: relative;
  background-image: url('../img/background/white.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden; /* Görsel kayma önleme */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(1px);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* Dark theme için background */
[data-theme="dark"] .hero {
  background-image: url('../img/background/dark.jpg');
}

[data-theme="dark"] .hero::before {
  background: rgba(15, 23, 42, 0.75);
}
.hero-content h1 { 
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-content .name .first { color: var(--primary); }
.hero-content .name .last { color: var(--text); }
.hero-content p { 
  font-size: 1.125rem; 
  margin-bottom: 2rem; 
  max-width: 55ch; 
  line-height: 1.7;
}
.eyebrow { 
  color: var(--primary); 
  text-transform: uppercase; 
  letter-spacing: .1em; 
  font-weight: 600; 
  font-size: 0.875rem; 
  margin-bottom: 1rem;
  display: block;
}
.badge { 
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; 
  border-radius: 50px; border: 1px solid var(--border); 
  background: var(--card); color: var(--text); 
  font-weight: 500; font-size: 0.875rem;
  transition: all 0.2s ease;
}
.badge:hover {
  border-color: var(--primary);
  background: var(--card-2);
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 2rem; }

.hero-visual { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative;
  perspective: 1000px;
}

.avatar-frame { 
  width: min(400px, 90%); 
  aspect-ratio: 3 / 4; 
  border-radius: 16px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  box-shadow: var(--shadow-lg); 
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.avatar-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.1) 0%, 
    rgba(167, 139, 250, 0.1) 50%,
    rgba(5, 150, 105, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.avatar-frame:hover::before {
  opacity: 1;
}

.avatar-frame:hover {
  transform: translateY(-12px) rotateY(5deg) rotateX(5deg);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25),
              0 0 0 1px rgba(37, 99, 235, 0.1),
              0 0 50px rgba(37, 99, 235, 0.1);
}

.avatar-frame .avatar { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.avatar-frame:hover .avatar {
  transform: scale(1.05);
}

.grid { display: grid; gap: 2rem; }
.projects { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 900px) { 
  .hero { grid-template-columns: 1fr; gap: 2rem; } 
}
@media (max-width: 600px) { 
  .hero { padding: 1rem 5%; }
  .section { padding: 3rem 0; }
}

/* Mobile Navigation Media Queries */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --ticker-height: 56px;
  }
  body { padding-top: calc(var(--header-height) + var(--ticker-height)); }
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .site-header {
    padding: 0 1rem;
  }
  
  .header-left {
    gap: 0.75rem;
  }
  
  .site-header .logo-text {
    font-size: 20px;
  }
  
  .mobile-nav {
    padding: 1.5rem;
  }
  
  .mobile-nav-header {
    margin-bottom: 2rem;
  }
  
  .mobile-nav-link {
    padding: 0.8rem;
    font-size: 1rem;
  }
  
  .mobile-social-links {
    flex-direction: column;
  }
  
  .mobile-social-icon {
    padding: 0.8rem;
  }
}

.card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  overflow: hidden; 
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: var(--shadow);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.1) 0%, 
    rgba(167, 139, 250, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 
              0 8px 10px -6px rgb(0 0 0 / 0.1),
              0 0 0 1px var(--primary);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body { 
  padding: 1.5rem; 
  position: relative;
  z-index: 2;
}
.card h3 { 
  margin: 0 0 0.5rem; 
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.card p { margin: 0 0 1.5rem; line-height: 1.6; }
.card-actions { display: flex; gap: 12px; }

.icon { width: 20px; height: 20px; display: inline-block; }

.highlights { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}
.highlights li { 
  padding: 0.75rem 0; 
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.5rem;
}
.highlights li:last-child { border-bottom: none; }
.highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.skills { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.skills li { 
  padding: 12px 20px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.skills li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transition: left 0.4s ease;
  z-index: 1;
}

.skills li:hover::before {
  left: 0;
}

.skills li span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.skills li:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  border-color: var(--primary);
}

.skills li:hover span {
  color: white;
}

.contact-form { display: grid; gap: 1.5rem; max-width: 600px; }
.form-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-weight: 500; }
input, textarea { 
  width: 100%; padding: 12px 16px; border-radius: 8px; 
  border: 1px solid var(--border); background: var(--bg); 
  color: var(--text); transition: all 0.2s ease;
  font-family: inherit;
}
input:focus, textarea:focus { 
  outline: none;
  border-color: var(--primary); 
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary), transparent 90%);
}
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-status { margin: 8px 0 0; color: var(--muted); }

.site-footer { 
  padding: 2rem 5%; 
  border-top: 1px solid var(--border); 
  background: var(--card-2); 
}
.footer-grid { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 1rem; 
  flex-wrap: wrap;
}
.socials { display: flex; gap: 1rem; }
.socials a { 
  color: var(--muted); 
  text-decoration: none; 
  transition: color 0.2s ease;
}
.socials a:hover { color: var(--primary); }

.btn { 
  display: inline-flex; align-items: center; justify-content: center; 
  gap: 8px; padding: 12px 24px; border-radius: 8px; 
  border: 1px solid var(--border); background: var(--card); 
  color: var(--text); text-decoration: none; font-weight: 600; 
  cursor: pointer; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn:active { 
  transform: translateY(0) scale(0.98); 
  transition: all 0.1s ease;
}

.btn-primary { 
  background: var(--primary); 
  border-color: var(--primary); 
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover { 
  background: var(--primary-600);
  border-color: var(--primary-600);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transform: translateY(-3px);
}

.btn-secondary { 
  background: var(--secondary); 
  border-color: var(--secondary);
  color: white;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-secondary:hover {
  background: color-mix(in oklab, var(--secondary), black 10%);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  transform: translateY(-3px);
}
.btn-ghost { 
  background: transparent; 
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--card-2);
}
.btn-small { padding: 8px 16px; font-size: 0.8rem; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in oklab, var(--border), var(--text) 20%); }

/* BIST Ticker */
.ticker-container {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: var(--ticker-height);
  background: var(--card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  z-index: 900;
  padding: 4px 0 4px;
  backdrop-filter: saturate(140%) blur(20px);
  box-shadow: var(--shadow);
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* Ticker header base; responsive overrides below consolidate prior duplicates */
.ticker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 2px;
  font-size: 0.7rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
  margin: 0;
}

.market-status {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.market-status.open {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  animation: pulse-market 2s infinite;
}

.market-status.closed {
  background: var(--card-2);
  color: var(--muted);
}

.last-update {
  font-size: 0.7rem;
  color: var(--muted);
}

@keyframes pulse-market {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.ticker {
  display: inline-block;
  animation: scroll 30s linear infinite;
  font-size: 0.8rem;
  font-weight: 500;
  will-change: transform;
  padding-left: 16px;
}

/* Desktop geniş ekran ayarları */
@media (min-width: 1024px) {
  :root { --ticker-height: 78px; }
  body { padding-top: calc(var(--header-height) + var(--ticker-height)); }
  .ticker-header { font-size: 0.8rem; padding: 6px 28px 6px; }
  .ticker { font-size: 1.05rem; padding-left: 28px; }
  .ticker-item { margin-right: 3rem; padding: 8px 12px; }
}

.ticker-item {
  display: inline-block;
  margin-right: 2rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--card-2);
  transition: all 0.3s ease;
  position: relative;
}

.ticker-item:hover {
  background: var(--border);
  transform: scale(1.05);
}

.ticker-symbol {
  font-weight: 600;
  color: var(--text);
}

.ticker-price {
  margin: 0 8px;
  color: var(--muted);
}

.ticker-change {
  font-weight: 600;
}

.ticker-change.positive {
  color: var(--accent);
}

.ticker-change.negative {
  color: var(--secondary);
}

.ticker-fallback {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: orange;
  border-radius: 50%;
  font-size: 6px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Market Data Section */
.market-data-section {
  padding: 80px 0;
  background: var(--bg);
}

.market-data-header {
  text-align: center;
  margin-bottom: 60px;
}

.market-data-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text);
}

.market-data-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.market-overview,
.top-movers,
.market-status-widget,
.market-insights,
.market-chart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.market-overview:hover,
.top-movers:hover,
.market-status-widget:hover,
.market-insights:hover,
.market-chart:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.market-overview h3,
.top-movers h3,
.market-status-widget h3,
.market-insights h3,
.market-chart h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: var(--card-2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: var(--border);
  transform: scale(1.02);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 5px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-change {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.stat-change.positive {
  color: var(--accent);
}

.stat-change.negative {
  color: var(--secondary);
}

.stat-time {
  display: block;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.movers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mover-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: var(--card-2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mover-item:hover {
  background: var(--border);
  transform: translateX(5px);
}

.mover-symbol {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.mover-price {
  color: var(--muted);
  font-size: 0.9rem;
}

.mover-change {
  font-weight: 600;
  font-size: 0.9rem;
}

.mover-change.positive {
  color: var(--accent);
}

.mover-change.negative {
  color: var(--secondary);
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--card-2);
  border-radius: 12px;
}

.status-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-status 2s infinite;
}

.status-light.closed {
  background: var(--secondary);
  animation: none;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-weight: 600;
  color: var(--text);
}

.trading-hours {
  padding: 15px;
  background: var(--card-2);
  border-radius: 12px;
}

.trading-hours p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.next-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: white;
  border-radius: 12px;
  font-size: 0.9rem;
}

.next-label {
  font-weight: 500;
}

.next-time {
  font-weight: 600;
}

.insights-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: var(--card-2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.insight-item:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.insight-icon.trend-up {
  background: linear-gradient(135deg, var(--accent), #047857);
}

.insight-icon.volume-high {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
}

.insight-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.insight-text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.chart-container {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--card-2);
  border-radius: 12px;
  height: 250px;
}

.chart-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.chart-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.chart-btn:hover {
  background: var(--border);
  transform: translateY(-1px);
}

.chart-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.market-disclaimer {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.market-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Dark theme için market data */
[data-theme="dark"] .market-disclaimer {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
}

/* Mobile responsive için market data */
@media (max-width: 768px) {
  .market-grid { grid-template-columns: 1fr; gap: 20px; }
  .ticker-header { font-size: 0.62rem; padding: 0 10px 2px; }
  .ticker { font-size: 0.68rem; padding-left: 10px; }
  .ticker-item { margin-right: 1rem; }
  .overview-stats { grid-template-columns: 1fr; gap: 10px; }
  .stat-item { padding: 12px; }
  .stat-value { font-size: 1.25rem; }
  .insight-item { flex-direction: column; text-align: center; }
  .insight-icon {
    margin-bottom: 10px;
  }
}

/* Floating WhatsApp */
.wa-fab {
  position: fixed !important; 
  bottom: 24px !important; 
  right: 24px !important; 
  z-index: 9999 !important;
  width: 60px !important; 
  height: 60px !important; 
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #fff !important; 
  display: flex !important; 
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.3s ease !important;
  animation: pulse-wa 3s infinite !important;
  text-decoration: none !important;
  border: none !important;
}

.wa-fab:hover { 
  transform: scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6) !important;
}

.wa-fab svg {
  width: 28px !important;
  height: 28px !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) !important;
  color: white !important;
  fill: currentColor !important;
}

/* Pulse animation */
@keyframes pulse-wa {
  0%, 100% { 
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
                0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% { 
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
                0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* Mobile optimization */
@media (max-width: 768px) { 
  .site-header {
    padding: 0 3%;
    height: 60px;
  }
  
  .site-header .logo-text {
    font-size: 20px;
  }
  
  .nav {
    gap: 16px;
    position: static;
    transform: none;
  }
  
  .nav a {
    font-size: 14px;
    display: none;
  }
  
  .nav a:first-child {
    display: block;
  }
  
  .header-social {
    gap: 12px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
  }
  
  .theme-switch {
    width: 50px;
    height: 28px;
  }
  
  .theme-slider:before {
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
  }
  
  input:checked + .theme-slider:before {
    transform: translateX(22px);
  }
  
  .theme-icon {
    font-size: 14px;
  }
  
  body {
    padding-top: 60px;
  }
  
  .wa-fab { 
    width: 56px !important;
    height: 56px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  .wa-fab svg {
    width: 24px !important;
    height: 24px !important;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 5%;
    min-height: 70vh;
    background-attachment: scroll;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.85);
  }

  [data-theme="dark"] .hero::before {
    background: rgba(15, 23, 42, 0.8);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
  }

  .hero-content p {
    text-align: center;
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .badges {
    justify-content: center;
  }

  .avatar-frame {
    max-width: 280px;
  }

  .avatar-frame:hover {
    transform: translateY(-8px) scale(1.02);
  }

  .card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .ticker-container {
    top: 65px;
  }

  .skills li {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll animation classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
}

.fade-up {
  transform: translateY(30px);
}

.fade-up.animate {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-30px);
}

.fade-left.animate {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(30px);
}

.fade-right.animate {
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.section {
  animation: fadeInUp 0.8s ease-out;
}

/* About Section Styles */
.about-section {
  padding: 100px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 80px;
}

.about-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-10px);
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.credential-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.credential-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.credential-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.credential-text p {
  color: var(--muted);
  margin: 0;
}

/* Dark theme için about section */
[data-theme="dark"] .about-image img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .credential-item {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .credential-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-image img {
    height: 400px;
  }
  
  .credential-item {
    flex-direction: column;
    text-align: center;
  }
  
  .credential-icon {
    margin-bottom: 10px;
  }
}

/* Services Section Styles */
.services-section {
  padding: 100px 0;
  background: var(--bg);
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.services-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.trend-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.portfolio-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.shield-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.chart-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.consultation-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.retirement-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: white;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Dark theme için services */
[data-theme="dark"] .service-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* Mobile responsive için services */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
}

/* Education & Experience Section Styles */
.education-section {
  padding: 100px 0;
  background: var(--bg);
}

.education-header {
  text-align: center;
  margin-bottom: 80px;
}

.education-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.education-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.education-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.education-column {
  position: relative;
}

.column-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.column-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.education-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.experience-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.column-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.education-items {
  position: relative;
}

.education-items::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.education-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

.item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 2;
  position: relative;
}

.item-content {
  flex: 1;
  background: var(--card);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.item-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.item-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.degree {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 5px;
}

.date {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.description {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Dark theme için education */
[data-theme="dark"] .item-content {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .item-content:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive için education */
@media (max-width: 768px) {
  .education-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .education-items::before {
    display: none;
  }
  
  .education-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .item-icon {
    margin-bottom: 10px;
  }
  
  .item-content {
    width: 100%;
  }
}

/* Contact Section Styles */
.contact-section {
  padding: 60px 0;
  background: var(--card);
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text);
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrapper,
.contact-info {
  background: var(--bg);
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3,
.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.whatsapp-contact {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.email-contact {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.phone-contact {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.contact-details p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

/* Dark theme için contact */
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-info {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .contact-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive için contact */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper,
  .contact-info {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .contact-icon {
    margin-bottom: 10px;
  }
}

/* About Section Styles */
.about-section {
  padding: clamp(80px, 12vw, 120px) 0;
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: translateY(-8px);
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.credential-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.credential-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.credential-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.credential-text p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-image img {
    height: 400px;
  }
  
  .about-text h3 {
    font-size: 1.75rem;
  }
  
  .about-credentials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .credential-item {
    padding: 1.5rem;
  }
}

/* Finansal Araçlar Section - Risk Profili Analizi */
.financial-tools-section {
  background: var(--bg);
}

.tools-grid.single-tool {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.tool-card.risk-analysis-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  max-width: 800px;
  width: 100%;
}

.tool-card.risk-analysis-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.tool-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
}

.tool-icon.risk-test {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.tool-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.tool-header p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.tool-content {
  padding: 2.5rem;
}

/* Risk Profili Testi Soruları */
.question {
  display: none;
  margin-bottom: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.question.active {
  display: block;
}

.question h4 {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.options label {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.options label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s ease;
}

.options label:hover::before {
  left: 100%;
}

.options label:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.options input[type="radio"] {
  margin-right: 15px;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.test-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.question-indicator {
  background: var(--card-2);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.nav-btn {
  padding: 12px 24px;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  border-color: var(--primary);
}

.nav-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.calc-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Risk Testi Sonuçları */
.calc-result {
  margin-top: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.calc-result h4 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  text-align: center;
}

.risk-result {
  max-width: 600px;
  margin: 0 auto;
}

.risk-badge {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.risk-description {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.risk-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.risk-recommendations {
  text-align: left;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.risk-recommendations h5 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.risk-recommendations ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.risk-recommendations li {
  margin-bottom: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.risk-recommendations li:last-child {
  border-bottom: none;
}

.risk-recommendations p {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

/* WhatsApp CTA */
.contact-cta {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
  border-radius: 20px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  text-align: center;
}

.contact-cta h5 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.whatsapp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-cta-btn svg {
  flex-shrink: 0;
}

/* Responsive Design for Risk Profile Tool */
@media (max-width: 768px) {
  .tool-header {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .tool-content {
    padding: 2rem 1.5rem;
  }
  
  .tool-icon.risk-test {
    width: 80px;
    height: 80px;
  }
  
  .tool-header h3 {
    font-size: 1.5rem;
  }
  
  .question h4 {
    font-size: 1.1rem;
  }
  
  .options label {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .calc-result {
    padding: 2rem 1.5rem;
  }
  
  .test-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .question-indicator {
    order: -1;
  }
  
  .nav-btn,
  .calc-btn {
    width: 100%;
    text-align: center;
  }
  
  .contact-cta {
    padding: 1.5rem;
  }
  
  .whatsapp-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}
