@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Tema Değişkenleri (Light Mode - Varsayılan) --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --bg-color: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --surface-color: rgba(255, 255, 255, 0.75);
  --surface-solid: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  
  --primary-color: #1e3a8a; /* Derin Lacivert */
  --primary-rgb: 30, 58, 138;
  --primary-accent: #2563eb; /* Canlı Mavi */
  --accent-orange: #ea580c; /* Sıcak Turuncu */
  --accent-orange-rgb: 234, 88, 12;
  
  --border-color: rgba(226, 232, 240, 0.8);
  --border-accent: rgba(37, 99, 235, 0.2);
  --glow-color: rgba(37, 99, 235, 0.1);
  --shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(30, 58, 138, 0.1);
  --card-hover-bg: rgba(255, 255, 255, 0.9);
  --glass-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* --- Tema Değişkenleri (Dark Mode) --- */
[data-theme="dark"] {
  --bg-color: #0b0f19;
  --bg-gradient: radial-gradient(circle at top, #111827 0%, #070a13 100%);
  --surface-color: rgba(15, 23, 42, 0.65);
  --surface-solid: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  --primary-color: #3b82f6; /* Parlak Mavi */
  --primary-rgb: 59, 130, 246;
  --primary-accent: #60a5fa;
  --accent-orange: #fb923c; /* Parlak Turuncu */
  --accent-orange-rgb: 251, 146, 60;
  
  --border-color: rgba(51, 65, 85, 0.4);
  --border-accent: rgba(59, 130, 246, 0.3);
  --glow-color: rgba(59, 130, 246, 0.2);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  --card-hover-bg: rgba(15, 23, 42, 0.85);
  --glass-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

/* --- Temel Sıfırlama --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-accent) var(--bg-color);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body, header, footer, .service-card, .why-card, .testimonial-card, .process-item, .faq-item, .form-control, .btn-secondary, .mobile-menu, .theme-toggle, .contact-form-wrapper, .contact-info-card, .detail-image, .support-card-mini, .stat-card {
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open {
  overflow: hidden;
}

/* --- Özel Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* --- Başlıklar ve Yazı Tipleri --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- Layout Konteyner --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Grid & Flex Yardımcıları --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* --- Butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--glow-color);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-color);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-color);
  transform: translateY(-2px);
  border-color: var(--text-primary);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(var(--accent-orange-rgb), 0.2);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-orange-rgb), 0.35);
  filter: brightness(1.1);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  transition: padding 0.3s ease;
}

.header.scrolled .nav-container {
  padding: 8px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  gap: 8px;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Dropdown Menu --- */
.nav-links li.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links .dropdown-arrow-btn {
  font-size: 0.65rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  transition: transform 0.3s ease, color 0.3s ease;
  user-select: none;
}

.nav-links .dropdown-arrow-btn:hover {
  color: var(--primary-accent);
}

.nav-links li.dropdown.show-dropdown .dropdown-arrow-btn {
  transform: rotate(180deg);
  color: var(--primary-accent);
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 260px;
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Arrow indicator for dropdown box */
.nav-links .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--surface-solid);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.nav-links li.dropdown.show-dropdown .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-menu li {
  width: 100%;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links .dropdown-menu li a::after {
  display: none; /* Disable the underline effect for sub-items */
}

.nav-links .dropdown-menu li a:hover {
  color: var(--primary-accent);
  background: rgba(var(--primary-rgb), 0.05);
  padding-left: 24px;
}

/* Mobile Submenu styles */
.mobile-submenu {
  margin-left: 15px;
  opacity: 0.85;
}
.mobile-submenu a {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  padding: 4px 0 !important;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Tema Değiştirici Buton --- */
.theme-toggle {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--primary-accent);
  color: white;
  transform: rotate(45deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* Hamburger Menü */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobil Navigasyon */
.mobile-menu {
  position: fixed;
  top: 78px;
  left: -100%;
  width: 100%;
  height: calc(100dvh - 78px);
  background: var(--surface-solid);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--primary-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.1);
  padding: 6px 16px;
  border-radius: 30px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Background Blob / Glows */
.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-orange-rgb), 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Hizmetlerimiz (Giriş) --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Cam Efektli Hizmet Kartları */
.service-card {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow), var(--glass-highlight);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--border-accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px var(--glow-color);
  background: var(--card-hover-bg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-card-title {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-accent);
  gap: 4px;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Çözüm Ortakları Marquee (Sonsuz Kayıcı) --- */
.partners-marquee {
  overflow: hidden;
  padding: 40px 0;
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
  gap: 60px;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

[data-theme="dark"] .marquee-item {
  filter: grayscale(100%) invert(1);
}

.marquee-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

[data-theme="dark"] .marquee-item:hover {
  filter: grayscale(0%) invert(0);
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Hizmet Detayları Sayfası Özel CSS --- */
.services-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.05) 0%, transparent 100%);
}

.detail-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.detail-grid.reverse .detail-content {
  order: 2;
}

.detail-content h2 {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.detail-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.detail-image {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 380px;
  height: auto;
  position: relative;
}

.detail-image img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- İletişim Sayfası Özel CSS --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-card-content p, 
.contact-card-content a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-card-content a:hover {
  color: var(--primary-accent);
}

.contact-form-wrapper {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--glass-highlight);
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
  outline: none;
}

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

/* --- Footer --- */
.footer {
  background: var(--surface-solid);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 4px;
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  font-size: 0.9rem;
}

/* --- WhatsApp Quick Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* --- Reveal (Kaydırınca Gösterim) Efektleri --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Medya Sorguları (Responsive) --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-contact {
    grid-column: span 2;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-grid.reverse .detail-content {
    order: 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.75rem; }
  .hero-title { font-size: 2.75rem; }
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-contact {
    grid-column: span 1;
  }
  .contact-form-wrapper {
    padding: 20px;
  }
  .scale-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================
   YENİ EKLENEN MODERN BİLEŞENLER (EXCEPT FAQ)
   ========================================== */

/* --- 1. Neden Biz (Why Us) Bölümü --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.why-card {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow), var(--glass-highlight);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 20px var(--glow-color);
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.why-card:hover .why-card-icon {
  background: var(--primary-color);
  color: white;
}

.why-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.why-card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- 2. Müşteri Yorumları (Testimonials Slider) --- */
.testimonials-section {
  background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.02) 100%);
  overflow: hidden;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0 60px;
}

.testimonials-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--glass-highlight);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 6rem;
  color: rgba(var(--primary-rgb), 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-accent);
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.slider-btn {
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-accent);
  transform: scale(1.25);
}

/* --- 3. Canlı Terminal Simülatörü --- */
.terminal-box {
  width: 100%;
  max-width: 380px;
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 20px;
}

.terminal-header {
  background: #111827;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #1e293b;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  color: #64748b;
  font-size: 0.75rem;
  margin-left: 8px;
}

.terminal-body {
  padding: 14px;
  height: 120px;
  overflow-y: auto;
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.4;
  scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar {
  display: none;
}

.terminal-line {
  white-space: nowrap;
}

.terminal-line.success { color: #10b981; }
.terminal-line.warning { color: #f59e0b; }
.terminal-line.info { color: #3b82f6; }

/* --- 4. Çok Adımlı Form (Multi-step Quote Form) --- */
.progress-container {
  margin-bottom: 30px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 15px;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 3px;
  width: 100%;
  background: var(--border-color);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accent), var(--accent-orange));
  z-index: 2;
  transition: width 0.4s ease;
  width: 0%;
}

.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.4s ease;
}

.step-node.active {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.step-node.completed {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: white;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeInStep 0.4s ease-out;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.service-choice-card {
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--surface-solid);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.service-choice-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.service-choice-card:hover {
  border-color: var(--primary-accent);
  transform: translateY(-2px);
}

.service-choice-card.selected {
  border-color: var(--accent-orange);
  background: rgba(var(--accent-orange-rgb), 0.03);
  box-shadow: 0 8px 20px rgba(var(--accent-orange-rgb), 0.1);
}

.choice-icon {
  font-size: 1.5rem;
}

.choice-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.scale-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.scale-card {
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--surface-solid);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.scale-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

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

.scale-card.selected {
  border-color: var(--primary-accent);
  background: rgba(var(--primary-rgb), 0.03);
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 16px;
}

.form-nav-buttons .btn {
  flex: 1;
}

/* --- 5. Harita ve Konteyner --- */
.map-container {
  width: 100%;
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .map-container iframe {
  filter: invert(90%) hue-rotate(180deg) grayscale(20%) opacity(0.8);
}

/* --- Hero Dinamik Metin Animasyonu --- */
#dynamicHeroText {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text-fade {
  opacity: 0;
  transform: translateY(10px);
}

/* --- 6. Süreç Akışı (Timeline) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.process-item {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow), var(--glass-highlight);
}

.process-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 20px var(--glow-color);
}

.process-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-accent), var(--accent-orange));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.process-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process-item-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Timeline link line for desktop */
@media (min-width: 992px) {
  .process-item::after {
    content: '➔';
    position: absolute;
    top: 50px;
    right: -25px;
    font-size: 1.5rem;
    color: var(--primary-accent);
    opacity: 0.5;
  }
  .process-item:last-child::after {
    display: none;
  }
}

/* --- FAQ Accordion Styles --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 24px 30px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(var(--primary-rgb), 0.02);
}

.faq-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
  padding: 0 30px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.faq-item.active .faq-question {
  color: var(--primary-accent);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-accent);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 30px 24px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), padding 0.4s ease;
}

/* --- 7. Arka Plan Dekoratif Blob Noktaları (Gelişmiş Glassmorphism) --- */
.bg-blobs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.15;
  transition: opacity 0.5s ease;
  animation: blob-float 25s infinite alternate ease-in-out;
}

[data-theme="dark"] .bg-blob {
  opacity: 0.12;
}

.bg-blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background-color: var(--primary-accent);
}

.bg-blob-2 {
  bottom: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background-color: var(--accent-orange);
  animation-delay: -7s;
}

.bg-blob-3 {
  top: 40%;
  left: 50%;
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  background-color: var(--primary-color);
  animation-delay: -14s;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* --- 8. İstatistik Sayaç Bölümü CSS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.stat-card {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px 24px;
  text-align: center;
  box-shadow: var(--shadow), var(--glass-highlight);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 25px var(--glow-color), var(--glass-highlight);
}

.stat-icon {
  font-size: 2.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .stat-number {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --- 9. Spam Honeypot CSS --- */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

/* --- 10. SweetAlert2 Custom Styling --- */
.swal2-popup {
  background: var(--surface-solid) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow-lg) !important;
}

.swal2-title {
  color: var(--text-primary) !important;
  font-family: var(--font-heading) !important;
}

.swal2-html-container {
  color: var(--text-secondary) !important;
  font-family: var(--font-body) !important;
}

.swal2-confirm {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-accent) 100%) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .swal2-confirm {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-orange) 100%) !important;
}

.swal2-deny, .swal2-cancel {
  border-radius: 50px !important;
  font-family: var(--font-heading) !important;
}

/* --- Hero Background Image Slider --- */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 8s ease-out;
  z-index: 1;
  transform: scale(1.06);
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

[data-theme="dark"] .hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 3;
  pointer-events: none;
}

[data-theme="dark"] .hero-slider .slider-overlay {
  background: linear-gradient(90deg, rgba(7, 10, 19, 0.96) 0%, rgba(7, 10, 19, 0.78) 50%, rgba(7, 10, 19, 0.25) 100%);
}

/* Mobile responsive slider adjustments */
@media (max-width: 768px) {
  .hero-slider .slide.active {
    opacity: 0.35 !important;
  }
  [data-theme="dark"] .hero-slider .slide.active {
    opacity: 0.45 !important;
  }
  .hero-slider .slider-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%) !important;
  }
  [data-theme="dark"] .hero-slider .slider-overlay {
    background: linear-gradient(180deg, rgba(7, 10, 19, 0.96) 0%, rgba(7, 10, 19, 0.9) 100%) !important;
  }
}

/* Sub-Services Catalog styles */
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.sub-service-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.sub-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 15px var(--glow-color);
  border-color: var(--border-accent);
}

.sub-service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.sub-service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.sub-service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Case Studies styles */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.case-study-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-accent);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.case-study-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.case-study-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-study-card p strong {
  color: var(--text-primary);
}

.case-study-result {
  display: block;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #10b981;
  font-family: var(--font-heading);
}
