/* ===== Genel & Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #0ea5e9;
  --dark: #1e3a8a;
  --light: #eff6ff;
  --light-2: #dbeafe;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, opacity 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Dil seçici */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.lang-switcher [data-lang] {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.lang-switcher [data-lang]:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--light);
}

.lang-switcher [data-lang].active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.lang-switcher [data-lang].active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 10px 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
}

.nav-desktop a:hover {
  color: var(--primary);
}

/* Dropdown */
.nav-item-has-sub {
  position: relative;
}

.nav-item-has-sub > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
}

.submenu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.submenu li {
  display: block;
}

.nav-item-has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
}

.submenu a:hover {
  background: var(--light);
  color: var(--primary);
}

/* Mobil menü butonu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero / Slider ===== */
.hero {
  margin-top: 74px;
  position: relative;
  height: 85vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
}

.slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slider: görsel ön planda, sadece hafif koyu overlay (renk yok) */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
}

.slide-content {
  max-width: 620px;
  text-align: left;
  color: var(--white);
  padding: 24px 0;
}

.slide-content .badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.slide-content h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.slide-content .btn {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  background: var(--primary);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.3s, transform 0.3s;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 10%;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.slider-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-dots button.active {
  background: var(--white);
  transform: scale(1.15);
}

/* ===== Bölümler ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Hizmet kartları */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
}

/* İstatistik */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Anasayfa: Intro strip */
.intro-strip {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 28px 0;
  text-align: center;
}

.intro-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
}

.intro-strip p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.intro-strip .btn {
  background: var(--white);
  color: var(--primary) !important;
  padding: 12px 24px;
  border-radius: 50px;
}

.intro-strip .btn:hover {
  background: var(--light);
  color: var(--primary-dark) !important;
}

/* Neden Biz */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.why-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
}

.why-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* İstatistik kartları: ikon + yazı, sadece vurgu mavi */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats-cards .stat-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stats-cards .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.stats-cards .stat-card .stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #f1f5f9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
}

.stats-cards .stat-card .number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stats-cards .stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA Banner: açık gri, mavi sadece butonda */
.cta-banner {
  background: #f1f5f9;
  color: var(--text);
  padding: 64px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid #e2e8f0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
  color: var(--text);
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
}

.cta-banner .btn:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sayfa başlığı (iç sayfalar) */
.page-hero {
  margin-top: 74px;
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

@media (max-width: 768px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }

  .slide-overlay {
    padding: 0 6%;
    justify-content: center;
    text-align: center;
  }

  .slide-content {
    text-align: center;
  }

  .slider-dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
}

.page-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.page-hero p {
  opacity: 0.9;
}

/* İçerik alanı */
.content-block {
  padding: 60px 0;
}

.content-block h2 {
  color: var(--dark);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-list {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.article-list li {
  margin-bottom: 8px;
}

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--light);
  padding: 28px;
  border-radius: 12px;
  text-align: center;
}

.contact-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.contact-card a,
.contact-card p {
  color: var(--text);
}

.contact-card a:hover {
  color: var(--primary);
}

/* Submenu hover rengi mavi */
.submenu a:hover {
  color: var(--primary);
}

/* ===== Footer: gri, maviyle uyumlu ===== */
.footer {
  background: #374151;
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 1rem;
  opacity: 0.9;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer a:hover {
  color: #93c5fd;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobil menü */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-desktop {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-desktop.open {
    max-height: 500px;
  }

  .nav-desktop > ul {
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-desktop a {
    display: block;
    padding: 12px 20px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--light);
    margin: 4px 0 4px 20px;
    padding: 4px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item-has-sub.open-sub .submenu {
    max-height: 200px;
  }

  .nav-item-has-sub > a::after {
    transition: transform 0.3s;
  }

  .nav-item-has-sub.open-sub > a::after {
    transform: rotate(180deg);
  }

  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .section {
    padding: 50px 0;
  }
}
