:root {
  --bg: #f0f7fa;
  --bg-secondary: #e8f4f8;
  --card: #ffffff;
  --text: #1a2a3a;
  --muted: #5a6b7a;
  --accent: #3b82f6;
  --accent-2: #5aa9ff;
  --accent-3: #7aa2f7;
  --accent-4: #ff6b9d;
  --accent-5: #00d4ff;
  --border: #d1e0e8;
  --shadow: rgba(59, 130, 246, 0.08);
  --shadow-hover: rgba(59, 130, 246, 0.15);
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #5aa9ff 50%, #7aa2f7 100%);
  --gradient-2: linear-gradient(135deg, #ff6b9d 0%, #ff8e9b 50%, #ffa8b4 100%);
  --gradient-3: linear-gradient(135deg, #00d4ff 0%, #3b82f6 50%, #5aa9ff 100%);
  --gradient-bg: linear-gradient(180deg, #f0f7fa 0%, #e8f4f8 50%, #e0f0f5 100%);
}

* { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 80px;
  background: var(--bg);
  background-image: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  min-height: 100vh;
  transition: padding-top 0.3s ease;
}

body.topbar-hidden {
  padding-top: 40px;
}

@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }
  
  body.topbar-hidden {
    padding-top: 32px;
  }
}

/* Light theme - bebe mavisi tema için özel ayarlar */
[data-theme="light"] { 
  --bg: #f0f7fa; 
  --bg-secondary: #e8f4f8;
  --card: #ffffff; 
  --text: #1a2a3a; 
  --muted: #5a6b7a; 
  --border: #d1e0e8; 
  --accent: #3b82f6; 
  --accent-2: #5aa9ff;
  --shadow: rgba(59, 130, 246, 0.08);
  --shadow-hover: rgba(59, 130, 246, 0.15);
}

.container {
  width: min(1400px, 96%);
  margin: 0 auto;
}

/* Top Bar - Croffle Style */
.top-bar {
  background: transparent;
  backdrop-filter: blur(20px) saturate(180%);
  color: var(--text);
  padding: 8px 0;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  transform: translateY(0);
}

.top-bar.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.top-bar.hidden {
  transform: translateY(-100%);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-bar-item:hover {
  opacity: 0.8;
}

.top-bar-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.lang-toggle-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px var(--shadow);
}

.lang-toggle-top:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
}

.flag-icon {
  font-size: 16px;
}

.lang-toggle-top svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  
  .top-bar-left {
    gap: 12px;
  }
  
  .top-bar-item span {
    display: none;
  }
  
  .lang-toggle-top span:not(.flag-icon) {
    display: none;
  }
}

/* Main Navigation - Croffle Style */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: top 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.site-header.topbar-hidden {
  top: 0;
}

@media (max-width: 767px) {
  .site-header {
    top: 32px;
  }
  
  .site-header.topbar-hidden {
    top: 0;
  }
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.brand-logo {
  justify-self: start;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.logo-link:hover .brand-text {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.brand { 
  font-weight: 700; 
  letter-spacing: 0.4px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

.nav { 
  display: none; 
  gap: 32px; 
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active { 
  color: var(--accent);
  font-weight: 600;
}

.nav a.active::after {
  width: 100%;
  background: var(--gradient-1);
}

.header-actions { 
  display: inline-flex; 
  gap: 12px; 
  align-items: center;
  justify-self: end;
}


.menu-toggle, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; 
  height: 36px;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 18px;
  box-shadow: 0 2px 8px var(--shadow);
}

.menu-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
}

.menu-toggle:active {
  transform: scale(0.95);
}


@media (max-width: 767px) {
  .logo-circle {
    width: 60px;
    height: 60px;
  }
  
  .logo-top {
    font-size: 6px;
  }
  
  .logo-main {
    font-size: 11px;
  }
  
  .logo-bottom {
    font-size: 6px;
  }
  
  .header-inner {
    padding: 16px 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .brand-logo {
    justify-self: start;
  }
  
  .header-actions {
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

.hero {
  padding: 120px 0 36px;
}

@media (max-width: 767px) {
  .hero {
    padding: 100px 0 36px;
  }
}
.hero.container {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  align-items: center;
  gap: 20px;
}

.home-page {
  padding-bottom: 72px;
}

.home-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px var(--shadow);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-content,
.hero-aside {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.8s ease-out forwards;
}

.hero-content {
  animation-delay: 0.12s;
}

.hero-aside {
  animation-delay: 0.28s;
}

@media (max-width: 767px) { .hero.container { grid-template-columns: 1fr; } .hero-aside { order: -1; } }
.hero-photo { 
  width: 100%; 
  max-width: 320px; 
  border-radius: 14px; 
  border: 2px solid transparent;
  background: var(--gradient-1);
  padding: 3px;
  display: block; 
  margin-left: auto;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  animation: photoGlow 3s ease-in-out infinite;
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.hero-photo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px var(--shadow-hover), 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-content h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.15;
  margin: 0 0 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.accent { 
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-left: 4px;
  position: relative;
}

.subtitle { 
  color: var(--muted); 
  margin: 0 0 16px;
  animation: fadeInUp 0.8s ease 0.3s both;
  font-size: 16px;
  line-height: 1.6;
}

.subtitle strong {
  color: var(--accent);
  font-weight: 600;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.expertise-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.expertise-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.expertise-tag:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.expertise-tag:hover::before {
  opacity: 1;
}

.expertise-tag {
  position: relative;
  z-index: 1;
}

.expertise-tag > * {
  position: relative;
  z-index: 1;
}

.intro-text {
  margin: 24px 0;
  line-height: 1.8;
  color: var(--muted);
  animation: fadeInUp 0.8s ease 0.5s both;
}

.intro-text p {
  margin: 0 0 12px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.intro-text p:nth-child(1) { animation-delay: 0.6s; }
.intro-text p:nth-child(2) { animation-delay: 0.7s; }
.intro-text p:nth-child(3) { animation-delay: 0.8s; }
.intro-text p:nth-child(4) { animation-delay: 0.9s; }
.intro-text p:nth-child(5) { animation-delay: 1.0s; }
.intro-text p:nth-child(6) { animation-delay: 1.1s; }
.intro-text p:nth-child(7) { animation-delay: 1.2s; }

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 12px 24px; 
  border-radius: 12px; 
  text-decoration: none; 
  cursor: pointer;
  border: 2px solid transparent; 
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.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 ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary { 
  background: var(--gradient-1);
  color: #081017; 
  border: none;
  box-shadow: 0 4px 15px rgba(90, 169, 255, 0.3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-hover), 0 0 20px rgba(59, 130, 246, 0.3);
  filter: brightness(1.1);
}

.btn.primary:active {
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #25D366 100%) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3) !important;
  filter: brightness(1.05);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.muted { color: var(--muted); }

/* Subtle animations & transitions */
* { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

.btn.outline { 
  background: transparent; 
  color: var(--text);
  border: 2px solid var(--border);
  position: relative;
}

.btn.outline::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: var(--gradient-1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn.outline:hover {
  border-color: transparent;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow);
}

.btn.outline:hover::after {
  opacity: 1;
}

.btn-quote {
  gap: 8px;
  font-weight: 600;
  border-width: 2px;
}

.btn-quote svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-quote:hover {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-weight: 700;
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
  overflow: hidden;
  letter-spacing: 0.3px;
  animation: heroLinkPulse 3s ease-in-out infinite;
}

.hero-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-link::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.hero-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  filter: brightness(1.1);
}

.hero-link:hover::before {
  left: 100%;
}

.hero-link:hover::after {
  transform: translateX(6px);
}

@keyframes heroLinkPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
  }
  50% {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.15);
  }
}

.social-links-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.4s ease;
  z-index: -1;
}

.social-link:hover::before {
  left: 0;
}

.social-link:hover svg {
  transform: scale(1.15) rotate(5deg);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.social-link.linkedin::before {
  background: linear-gradient(135deg, #00a0dc 0%, #0077b5 100%);
}

.social-link.linkedin:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.social-link.github {
  background: linear-gradient(135deg, #24292e 0%, #2f363d 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3);
}

.social-link.github::before {
  background: linear-gradient(135deg, #2f363d 0%, #24292e 100%);
}

.social-link.github:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(36, 41, 46, 0.4);
}

.social-link.cv {
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
}

.social-link.cv::before {
  background: var(--gradient-1);
}

.social-link.cv:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.social-link.cv:hover::before {
  left: 0;
}

.section { 
  padding: 42px 0;
  position: relative;
}

.section h2 { 
  font-size: 26px; 
  margin: 0 0 18px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  position: relative;
  display: inline-block;
}


.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
  margin: 12px auto 0;
}

.home-section {
  margin-top: 10px;
}

.home-section::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 0 -40px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 212, 255, 0.10), transparent 55%);
  opacity: 0.8;
  z-index: -1;
}

@media (max-width: 768px) {
  .home-section::before {
    margin: 0 -16px;
  }
}

.cards {
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px;
}

.card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.05;
  transition: left 0.5s ease;
  z-index: 0;
}

.card:hover::before {
  left: 0;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px var(--shadow-hover), 0 0 30px rgba(59, 130, 246, 0.15);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card .card-actions { margin-top: 10px; }

.card h3 { 
  margin: 0 0 8px; 
  font-size: 18px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.card:hover h3 {
  background-size: 200% 200%;
  animation: gradientShift 2s ease infinite;
}

.card p { margin: 0; color: var(--muted); }

/* Service Cards */
.service-cards {
  gap: 28px;
}

.service-card {
  text-align: center;
  position: relative;
  padding: 36px 28px;
}

.service-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.service-card:nth-child(2) .service-icon {
  animation-delay: 0.3s;
}

.service-card:nth-child(3) .service-icon {
  animation-delay: 0.6s;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--accent);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.steps { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: 16px;
  counter-reset: step-counter;
}

.steps li { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 14px; 
  padding: 20px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  counter-increment: step-counter;
  overflow: hidden;
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #081017;
  box-shadow: 0 4px 12px rgba(90, 169, 255, 0.3);
}

.steps li:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(90, 169, 255, 0.15);
}

.steps strong { 
  display: block; 
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 16px;
}

.steps span { color: var(--muted); }

/* Process Steps - Berk Kalkan Style */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.process-step {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  animation: iconBounce 2s ease infinite;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.process-step:nth-child(2) .step-icon {
  animation-delay: 0.2s;
}

.process-step:nth-child(3) .step-icon {
  animation-delay: 0.4s;
}

.process-step:nth-child(4) .step-icon {
  animation-delay: 0.6s;
}

.process-step h3 {
  font-size: 20px;
  margin: 0 0 12px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  animation: contactGlow 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes contactGlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(10%, 10%) scale(1.1);
    opacity: 0.8;
  }
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact .contact-grid { 
  display: grid; 
  gap: 32px; 
  grid-template-columns: 1fr; 
}

.contact-cta {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: contactCardFadeIn 0.6s ease-out;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.6s ease;
}

.contact-cta:hover::before {
  left: 100%;
}

.contact-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

.contact-cta-header {
  margin-bottom: 24px;
}

.contact-cta-header h3 {
  font-size: 24px;
  margin: 0 0 8px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta-header p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow: visible;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.contact-whatsapp-btn:hover::before {
  left: 100%;
}

.contact-whatsapp-btn:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #25D366 100%) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.3) !important;
}

.contact-whatsapp-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  animation: whatsappIconPulse 2s ease-in-out infinite;
}

@keyframes whatsappIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.contact-email-btn {
  background: var(--card) !important;
  color: var(--text) !important;
  border: 2px solid var(--border) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-email-btn:hover {
  background: var(--gradient-1) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.contact-form { 
  background: var(--card); 
  border: 2px solid var(--border); 
  border-radius: 16px; 
  padding: 32px; 
  display: grid; 
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: contactFormFadeIn 0.8s ease-out 0.2s both;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-form:hover::before {
  transform: scaleX(1);
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

.contact-form label { 
  display: grid; 
  gap: 8px; 
  font-weight: 600; 
  color: var(--text);
  position: relative;
}

.contact-form label span {
  font-size: 14px;
  color: var(--text);
  transition: color 0.3s ease;
}

.contact-form input:focus + span,
.contact-form textarea:focus + span {
  color: var(--accent);
}

.contact-form input, .contact-form textarea { 
  width: 100%; 
  padding: 14px 18px; 
  border-radius: 12px; 
  border: 2px solid var(--border); 
  background: var(--bg); 
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  font-size: 15px;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 8px 20px var(--shadow);
  transform: translateY(-2px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.contact-form button[type="submit"]:hover::before {
  left: 100%;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  filter: brightness(1.1);
}

@keyframes contactCardFadeIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contactFormFadeIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 920px) {
  .contact .contact-grid { 
    grid-template-columns: 1fr 1.3fr; 
    align-items: start; 
  }
}

.site-footer { border-top: 1px solid var(--border); margin-top: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 10px; }
.footer-nav { display: flex; gap: 14px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

/* Portfolio */
.grid { display: grid; gap: 20px; }
.portfolio-grid { grid-template-columns: 1fr; }
.portfolio-item { 
  overflow: hidden; 
  border-radius: 16px; 
  border: 2px solid var(--border); 
  background: #0e1117;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  mix-blend-mode: overlay;
}

.portfolio-item:hover::before {
  opacity: 0.3;
}

.portfolio-item img { 
  width: 100%; 
  height: auto; 
  aspect-ratio: 16 / 9; 
  object-fit: cover; 
  display: block; 
  filter: saturate(1.1) brightness(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
  transform: scale(1.1);
  filter: saturate(1.3) brightness(1);
}

.portfolio-item figcaption { 
  padding: 16px 18px; 
  color: var(--muted);
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(14, 17, 23, 0.95), transparent);
  transition: color 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px var(--shadow-hover), 0 0 30px rgba(59, 130, 246, 0.25);
}

.portfolio-item:hover figcaption {
  color: var(--accent);
}

@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* Projects page */
/* Projects Page - Professional Design */
.projects-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.projects-hero {
  text-align: center;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-1);
  color: white;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.projects-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 16px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.projects-hero .subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.project-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  animation: cardFloat 6s ease-in-out infinite;
}

.project-card:nth-child(2) {
  animation-delay: -3s;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 24px;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 60px var(--shadow-hover), 0 0 40px rgba(59, 130, 246, 0.2);
  border-color: var(--accent);
}

.project-card:hover::before {
  opacity: 0.03;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--gradient-1);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gradient-1);
  overflow: hidden;
}

/* Görsel varsa gradient'i gizle */
.project-image-placeholder:has(img) {
  background: transparent;
}

.project-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* İlk proje için gradient */
.project-card:first-child .project-image-placeholder {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8e9b 50%, #ffa8b4 100%);
}

/* İkinci proje için gradient */
.project-card:nth-child(2) .project-image-placeholder {
  background: linear-gradient(135deg, #3b82f6 0%, #5aa9ff 50%, #7aa2f7 100%);
}

.project-card:hover .project-image-placeholder {
  transform: scale(1.05);
}

.project-card:hover .project-image-placeholder img {
  transform: scale(1.1);
}

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.project-card:hover .project-image-overlay {
  opacity: 1;
}

.project-view-icon {
  font-size: 48px;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.project-card:hover .project-view-icon {
  transform: scale(1);
}

.project-image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0.9;
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  backdrop-filter: blur(10px);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: badgePulse 2s ease infinite;
}

.project-content {
  padding: 32px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.project-header h2 {
  font-size: 28px;
  margin: 0;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.project-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-link:hover {
  background: var(--gradient-1);
  color: white;
  transform: translateY(-2px) rotate(5deg);
  box-shadow: 0 4px 12px var(--shadow);
}

.project-description {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
  font-size: 15px;
}

.project-details {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.project-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.detail-icon {
  font-size: 24px;
  flex-shrink: 0;
  animation: iconBounce 2s ease infinite;
}

.project-detail-item:nth-child(2) .detail-icon {
  animation-delay: 0.3s;
}

.project-detail-item div:last-child {
  flex: 1;
}

.project-detail-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.project-detail-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--accent);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.tech-badge:hover::before {
  opacity: 0.1;
}

.tech-badge span {
  position: relative;
  z-index: 1;
}

.project-actions {
  margin-top: auto;
}

.project-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
}

.project-btn svg {
  transition: transform 0.3s ease;
}

.project-btn:hover svg {
  transform: translate(4px, -4px) rotate(45deg);
}

.projects-note {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.note-card {
  max-width: 700px;
  background: var(--card);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 8px 32px var(--shadow);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.note-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
}

.note-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}

.note-card h2 {
  font-size: 32px;
  margin-bottom: 16px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.note-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}

/* Animations */
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Blog page */
.blog-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.blog-hero {
  text-align: center;
  margin-bottom: 48px;
}

.blog-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 12px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero .subtitle {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 0;
}

.blog-section-header .section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.blog-section-header .section-description {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 920px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: blogCardFadeIn 0.6s ease-out both;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.blog-card:hover::before {
  left: 100%;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

.blog-card > * {
  position: relative;
  z-index: 1;
}

@keyframes blogCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }

.blog-card-header h2 {
  margin: 4px 0 0;
  font-size: 22px;
  transition: all 0.3s ease;
}

.blog-card-header h2 a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  display: inline-block;
}

.blog-card:hover .blog-card-header h2 a {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(4px);
}

.blog-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.blog-category {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  animation: categoryPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@keyframes categoryPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.5);
  }
}

.blog-date {
  color: var(--muted);
}

.blog-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-excerpt {
  color: var(--text);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tag-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: left 0.3s ease;
  z-index: -1;
}

.tag-pill:hover {
  border-color: transparent;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tag-pill:hover::before {
  left: 0;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.blog-read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: left 0.3s ease;
  z-index: -1;
}

.blog-read-more .arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

.blog-read-more:hover {
  transform: translateX(4px);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.blog-read-more:hover::before {
  left: 0;
}

.blog-read-more:hover .arrow {
  transform: translateX(6px) rotate(-45deg);
}

/* Single post */
.post-page {
  padding-top: 40px;
  padding-bottom: 64px;
  display: grid;
  gap: 24px;
}

/* KVKK ve Çerez Politikası sayfalarında animasyonları devre dışı bırak */
.post-page .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.post-page .reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

.post-page .card {
  transition: none !important;
  animation: none !important;
}

.post-page .card:hover {
  transform: none !important;
  box-shadow: 0 4px 16px var(--shadow) !important;
  border-color: var(--border) !important;
}

.post-page .card:hover::before {
  left: -100% !important;
}

.post-page .hero-badge {
  animation: none !important;
}

.post-hero {
  text-align: left;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
}

.post-back-link:hover {
  color: var(--accent);
}

.post-hero h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  margin: 4px 0 10px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.post-category {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--accent);
  font-weight: 600;
}

.post-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-body {
  padding: 28px 26px;
}

.post-content {
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

.post-content h2,
.post-content h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.post-content p {
  margin: 0 0 12px;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr; gap: 20px; }
.price-card { 
  background: var(--card); 
  border: 2px solid var(--border); 
  border-radius: 16px; 
  padding: 28px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.price-card:hover::before {
  transform: scaleX(1);
}

.price-wrapper {
  margin: 12px 0 16px;
  position: relative;
}

.price-card .price { 
  font-size: 36px; 
  margin: 0;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.price-old {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
  margin: 0 0 4px 0;
  font-weight: 500;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8e9b 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
  animation: discountPulse 2s ease-in-out infinite;
}

@keyframes discountPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.price-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 40px var(--shadow-hover), 0 0 30px rgba(59, 130, 246, 0.2);
}

.price-card.highlight { 
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              var(--gradient-1) border-box;
  position: relative;
}

.price-card.highlight::after {
  content: 'Popüler';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-2);
  color: #081017;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  animation: pulse 2s ease infinite;
}

@media (min-width: 768px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 20px; }
.testimonial { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 24px; 
  color: var(--muted);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 48px;
  line-height: 1;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px var(--shadow-hover);
}

@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.accordion-item { 
  border: 1px solid var(--border); 
  border-radius: 14px; 
  overflow: hidden; 
  background: var(--card);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(90, 169, 255, 0.1);
}

.accordion-header { 
  width: 100%; 
  text-align: left; 
  padding: 18px 20px; 
  background: transparent; 
  color: var(--text); 
  border: none; 
  font-weight: 700; 
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s ease, color 0.3s ease;
  font-weight: 300;
}

.accordion-item.open .accordion-header::after {
  transform: rotate(45deg);
  color: var(--accent-4);
}

.accordion-item.open .accordion-header {
  color: var(--accent);
}

.accordion-panel { 
  padding: 0 20px 0; 
  display: block; 
  overflow: hidden; 
  max-height: 0; 
  opacity: 0; 
  transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease, padding-bottom .4s ease; 
}

.accordion-item.open .accordion-panel { 
  padding-bottom: 18px; 
  opacity: 1; 
}

/* To top button */
#to-top { 
  position: fixed; 
  right: 16px; 
  bottom: 16px; 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  background: var(--gradient-1);
  color: #081017; 
  border: none;
  display: none; 
  align-items: center; 
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(90, 169, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  font-size: 20px;
}

#to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px var(--shadow-hover), 0 0 20px rgba(59, 130, 246, 0.4);
}

#to-top:active {
  transform: translateY(-2px) scale(1.05);
}

#to-top.show { 
  display: inline-flex;
  animation: fadeInUp 0.4s ease;
}

/* Modal */
.modal { position: fixed; inset: 0; display: none; }
.modal[aria-hidden="false"] { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.modal-content { position: relative; margin: 10vh auto; width: min(720px, 92%); background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.modal-close { position: absolute; right: 10px; top: 10px; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 32px; height: 32px; }

/* Cookie consent */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(11,13,18,.9); border-top: 1px solid var(--border); padding: 12px 0; display: none; }
.cookie-consent.show { display: block; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-actions { display: inline-flex; gap: 8px; }

/* Reveal */
.reveal { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible { 
  opacity: 1; 
  transform: translateY(0);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerEnter {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes photoGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(90, 169, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(90, 169, 255, 0.4), 0 0 40px rgba(157, 123, 247, 0.2);
  }
}

@keyframes underlineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60px;
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Floating contact panel */
/* Floating contact panel removed */
.contact-floating {
  display: none !important;
}

/* Role rotator animations */
.fade-out { opacity: 0; transition: opacity .25s ease; }
.fade-in { opacity: 1; transition: opacity .35s ease; }

/* Alert messages */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-success {
  background: #4caf50;
  color: white;
  border-left: 4px solid #2e7d32;
}

.alert-error {
  background: #f44336;
  color: white;
  border-left: 4px solid #c62828;
}

.alert::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.alert-success::before {
  content: '✓';
  font-size: 18px;
  font-weight: bold;
}

.alert-error::before {
  content: '✕';
  font-size: 18px;
  font-weight: bold;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



