/* ==========================================================================
   DARK TECH & ENGINEERING DESIGN SYSTEM (ws-golbasisoft)
   High-performance, Clean Architecture Aesthetic, Vibrant Accents & Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1422;
  --bg-card: #141b2d;
  --bg-card-hover: #1a233a;
  --bg-glass: rgba(20, 27, 45, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.5);

  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.25);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  --text-main: #f3f4f6;
  --text-heading: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --header-bg: rgba(10, 13, 20, 0.85);
  --footer-bg: #07090f;
  --input-bg: #0d121f;
  --input-border: rgba(255, 255, 255, 0.1);
  --summary-panel-bg: #090d16;
  --grid-line-color: rgba(255, 255, 255, 0.02);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   LIGHT THEME (Beyaz Arka Plan / Aydınlık Mod)
   ========================================================================== */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(37, 99, 235, 0.5);

  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;

  --text-main: #334155;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #eef2f6;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --summary-panel-bg: #e2e8f0;
  --grid-line-color: rgba(15, 23, 42, 0.04);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.12);
}

.section-alt {
  background: rgba(15, 20, 34, 0.5);
}

[data-theme="light"] .section-alt {
  background: #f1f5f9;
}

.tech-banner-aside {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .tech-banner-aside {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Cyber Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Badges */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-tech {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-logo {
  height: 70px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .site-logo {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.45));
}

/* Default / Dark Theme Logo Display */
.logo-dark {
  display: block !important;
}

.logo-light {
  display: none !important;
}

/* Light Theme Logo Display */
[data-theme="light"] .logo-dark {
  display: none !important;
}

[data-theme="light"] .logo-light {
  display: block !important;
}

[data-theme="light"] .brand-logo:hover .site-logo {
  filter: drop-shadow(0 4px 18px rgba(1, 20, 59, 0.24));
}

.footer-brand-logo {
  margin-bottom: 1.75rem;
}

.footer-brand-logo .site-logo {
  height: 84px;
  max-width: 420px;
}

@media (max-width: 992px) {
  .nav-wrapper {
    height: 86px;
  }

  .site-logo {
    height: 62px;
    max-width: 310px;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    height: 76px;
  }

  .site-logo {
    height: 52px;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    height: 46px;
    max-width: 230px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  border-color: var(--primary);
}

.mobile-menu-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   PROFESSIONAL MOBILE DRAWER (SLIDE-OVER MENU)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88vw;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
}

.mobile-drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  pointer-events: auto;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.mobile-drawer-close-btn * {
  pointer-events: none;
}

.mobile-drawer-close-btn:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary-glow);
}

.mobile-drawer-status {
  padding: 0.75rem 1.4rem;
  background: rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  gap: 0.5rem;
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateX(3px);
}

.drawer-nav-icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  flex-shrink: 0;
}

.drawer-nav-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
}

.drawer-nav-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.drawer-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.drawer-nav-item:hover .drawer-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.drawer-badge-hot {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  margin-right: 0.25rem;
}

.mobile-drawer-settings {
  padding: 1rem 1.4rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
}

.drawer-setting-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.drawer-lang-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.drawer-lang-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.drawer-lang-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.mobile-drawer-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem 1.4rem 0.5rem;
  flex-shrink: 0;
}

.drawer-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.drawer-channel-btn.tel {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.drawer-channel-btn.wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.mobile-drawer-footer {
  padding: 1rem 1.4rem 1.75rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Icon visibility based on theme */
.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .theme-icon-sun {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  /* Sıcak güneş sarısı */
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION & TERMINAL WIDGET
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.25rem;
  margin: 1.25rem 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Interactive Engineering Terminal */
.code-terminal {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.15);
  font-family: var(--font-mono);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.code-terminal:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.terminal-header {
  background: #161b22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.terminal-title {
  font-size: 0.8rem;
  color: #8b949e;
}

.terminal-body {
  padding: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 0.5rem;
}

.prompt-prefix {
  color: #58a6ff;
}

.cmd-text {
  color: #f0883e;
  font-weight: 600;
}

.res-key {
  color: #79c0ff;
}

.res-val {
  color: #a5d6ff;
}

.res-highlight {
  color: #7ee787;
  font-weight: bold;
}

.res-comment {
  color: #8b949e;
  font-style: italic;
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #58a6ff;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   SERVICES & EXPERTISE SECTION
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-title-wrap h2 {
  font-size: 2.5rem;
  margin: 0.75rem 0 1rem;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.15);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.service-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   AI & TECH ARCHITECTURE HIGHLIGHT
   ========================================================================== */
.tech-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-banner h3 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.tech-banner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #93c5fd;
}

/* ==========================================================================
   INTERACTIVE COST & PROJECT ESTIMATOR
   ========================================================================== */
.estimator-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.estimator-step {
  margin-bottom: 2rem;
}

.estimator-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.estimator-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.estimator-card:hover {
  border-color: var(--primary);
}

.estimator-card.selected {
  border-color: var(--primary);
  background: var(--primary-glow);
  box-shadow: 0 0 15px var(--primary-glow);
}

.estimator-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-heading);
}

.estimator-card-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.estimator-summary-panel {
  background: var(--summary-panel-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.est-metric .val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #34d399;
  font-family: var(--font-mono);
}

/* ==========================================================================
   PORTFOLIO / CASE STUDIES
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-lg);
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.project-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.project-metric-box {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid var(--accent-emerald);
  padding: 0.6rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 1.25rem;
}

.project-techs {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #818cf8;
  font-family: var(--font-mono);
}

/* ==========================================================================
   CONTACT FORM & FOOTER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.turnkey-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

[data-theme="light"] .turnkey-box {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .turnkey-box h3,
[data-theme="light"] .turnkey-box h4 {
  color: var(--text-heading);
}

[data-theme="light"] .turnkey-box > div[style*="max-width"] p {
  color: var(--text-muted);
}

.turnkey-card {
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.turnkey-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.turnkey-badge {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
}

[data-theme="light"] .turnkey-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

[data-theme="light"] .turnkey-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .turnkey-card:hover {
  background: #f1f5f9;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  width: 100%;
}

/* ==========================================================================
   SMART WHATSAPP FLOATING WIDGET
   ========================================================================== */
.wa-widget-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
}

.wa-trigger-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  padding: 0;
}

.wa-trigger-btn svg {
  display: block;
  width: 34px;
  height: 34px;
  margin: auto;
}

.wa-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.wa-popup {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 330px;
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: none;
  animation: slideUp 0.3s ease forwards;
}

.wa-popup.open {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-header {
  background: #0c111c;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.wa-body {
  padding: 1.25rem;
  background: #141b2c;
}

.wa-bubble {
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
  position: relative;
}

.wa-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #25d366;
  color: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

.wa-action-btn:hover {
  background: #20ba5a;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
#scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  pointer-events: none;
}

#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-to-top:hover {
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  transform: translateY(-3px) scale(1.08);
}

#scroll-to-top:active {
  transform: translateY(0) scale(0.96);
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  #desktop-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .nav-cta .nav-contact-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tech-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.2rem;
  }

  /* Mobil logo ve navbar optimizasyonu */
  .nav-wrapper {
    height: 72px;
    gap: 0.75rem;
  }

  .site-logo {
    height: 48px;
    max-width: 200px;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-content h1 {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.25rem;
  }

  .stat-item .num {
    font-size: 1.5rem;
  }

  .stat-item .label {
    font-size: 0.8rem;
  }

  /* Code Terminal on mobile */
  .code-terminal {
    font-size: 0.85rem;
  }

  .terminal-body {
    padding: 1.25rem;
  }

  /* Section Spacing */
  .section {
    padding: 3.5rem 0;
  }

  .section-title-wrap h2 {
    font-size: 1.85rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Turnkey Box */
  .turnkey-box {
    padding: 1.5rem 1.25rem;
  }

  /* Estimator */
  .estimator-box {
    padding: 1.5rem 1.2rem;
  }

  .estimator-options {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .estimator-summary-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .estimator-summary-panel .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  /* Projects Grid */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-body {
    padding: 1.5rem 1.25rem;
  }

  /* Contact Section */
  .contact-info-card,
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-logo .site-logo {
    height: 64px;
  }

  /* Floating elements */
  .wa-popup {
    width: calc(100vw - 32px);
    max-width: 320px;
    bottom: 80px;
    left: 16px;
  }

  #scroll-to-top {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }

  .wa-widget-container {
    bottom: 16px;
    left: 16px;
  }

  .wa-trigger-btn {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .terminal-title {
    font-size: 0.72rem;
  }

  .terminal-line {
    font-size: 0.78rem;
    word-break: break-word;
  }

  .tech-banner {
    padding: 1.5rem 1rem;
  }

  .tech-banner-aside {
    padding: 1rem;
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   ENHANCED CONTRAST & VISIBILITY FOR LIGHT THEME (Aydınlık Mod Optimizasyonu)
   ========================================================================== */
[data-theme="light"] .stat-item .num {
  color: #0f172a;
}

[data-theme="light"] .service-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .service-card:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .service-features li {
  color: #475569;
}

[data-theme="light"] .service-features {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tech-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .tech-tag {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
  font-weight: 500;
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: #1e293b;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

[data-theme="light"] .estimator-box {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .estimator-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .estimator-card:hover {
  background: #ffffff;
  border-color: var(--primary);
}

[data-theme="light"] .estimator-card.selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
}

[data-theme="light"] .estimator-summary-panel {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="light"] .est-metric .val {
  color: #059669;
}

[data-theme="light"] .project-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .project-card:hover {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .project-techs {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #4338ca;
  font-weight: 500;
}

[data-theme="light"] .project-metric-box {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

[data-theme="light"] .contact-info-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .wa-popup {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .wa-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .wa-header>div>div:first-child {
  color: #0f172a !important;
}

[data-theme="light"] .wa-body {
  background: #ffffff;
}

[data-theme="light"] .wa-bubble {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

[data-theme="light"] .mobile-drawer {
  background: #ffffff;
  border-left-color: #e2e8f0;
  box-shadow: -15px 0 35px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .mobile-drawer-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .mobile-drawer-close-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #64748b;
}

[data-theme="light"] .mobile-drawer-close-btn:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: var(--primary);
}

[data-theme="light"] .drawer-nav-item {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .drawer-nav-item:hover,
[data-theme="light"] .drawer-nav-item:active {
  background: #f8fafc;
  border-color: var(--primary);
}

[data-theme="light"] .mobile-drawer-settings {
  background: #f8fafc;
  border-top-color: #e2e8f0;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .drawer-lang-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .drawer-lang-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* SweetAlert2 Theme Integration */
.swal2-popup {
  border-radius: var(--radius-lg) !important;
  font-family: var(--font-sans) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid var(--border-subtle) !important;
}

.swal2-title {
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.swal2-html-container {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

@keyframes spin-anim {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spin-icon {
  animation: spin-anim 1s linear infinite;
}