/* ── RESET & TEMEL ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── CSS DEĞİŞKENLERİ ───────────────────────── */
:root {
  --primary:    #0d1b4b;
  --accent:     #e63946;
  --accent2:    #f4a261;
  --light:      #f8f9ff;
  --gray:       #6b7280;
  --border:     #e5e7eb;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(13,27,75,.10);
  --shadow-lg:  0 12px 48px rgba(13,27,75,.16);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font-head:  'Syne', sans-serif;
}

/* ── YARDIMCI SINIFLAR ──────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BAŞLIK SİSTEMİ ─────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 56px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(230,57,70,.08);
  border-radius: 30px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: transparent;
  transition: var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-py {
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -1px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.navbar.scrolled .logo-text { color: var(--primary); }
.navbar:not(.scrolled) .logo-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--primary); }
.nav-links a:hover { background: rgba(255,255,255,.12); }
.navbar.scrolled .nav-links a:hover { background: var(--light); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}
.nav-cta:hover { background: #c1121f !important; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--primary); }

/* ── HERO SLIDER ────────────────────────────── */
.hero-slider {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,75,.85) 0%, rgba(13,27,75,.55) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 680px;
  opacity: 0; transform: translateY(30px);
  transition: all .6s ease .3s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(0); }
.slide-label {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 16px; font-weight: 600;
}
.slide-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  color: #fff; font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
}
.slide-sub {
  font-size: 18px; color: rgba(255,255,255,.82);
  margin-bottom: 36px; max-width: 520px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c1121f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

.slider-controls {
  position: absolute; bottom: 40px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: var(--transition); border: none;
}
.slider-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

.slider-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 24px; z-index: 10; pointer-events: none;
}
.slider-arrow {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); pointer-events: all; backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* ── KARTLAR ─────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ── HİZMETLER ──────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--light); border-radius: var(--radius);
  padding: 36px 28px; transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  background: #fff; border-color: var(--accent);
  box-shadow: var(--shadow); transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-title {
  font-family: var(--font-head); font-size: 18px;
  color: var(--primary); margin-bottom: 10px;
}

/* ── SAYAÇLAR ───────────────────────────────── */
.counters-section {
  background: var(--primary); padding: 72px 0;
}
.counters-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.counter-item { text-align: center; }
.counter-icon { font-size: 36px; color: var(--accent); margin-bottom: 12px; }
.counter-number {
  font-family: var(--font-head); font-size: 52px;
  font-weight: 800; color: #fff; line-height: 1;
}
.counter-suffix { color: var(--accent); }
.counter-label { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ── BLOG KARTLARI ──────────────────────────── */
.blog-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-thumb-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--primary), #1a3a8f);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255,255,255,.2);
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.blog-title { font-family: var(--font-head); font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.blog-summary { font-size: 14px; color: var(--gray); }
.blog-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.blog-link:hover { gap: 10px; }

/* ── MÜŞTERİ YORUMLARI ──────────────────────── */
.testimonials-section { background: var(--light); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s ease; }
.testimonial-item { min-width: 100%; padding: 0 16px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-stars { color: #f4a261; font-size: 18px; margin-bottom: 20px; }
.testimonial-text { font-size: 17px; color: #444; line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testimonial-author { font-family: var(--font-head); font-weight: 700; color: var(--primary); }
.testimonial-company { font-size: 13px; color: var(--gray); }

/* ── CTA BANDI ──────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #b5132a 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { font-size: clamp(28px,4vw,42px); color: #fff; margin-bottom: 14px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }

/* ── FOOTER ──────────────────────────────────── */
.footer { background: var(--primary); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-head); font-size: 15px;
  color: #fff; margin-bottom: 20px; letter-spacing: .5px;
}
.footer-links a, .footer-contact a, .footer-contact span {
  display: block; font-size: 14px; color: rgba(255,255,255,.6);
  text-decoration: none; margin-bottom: 10px; transition: var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact a i, .footer-contact span i { width: 18px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ── WHATSAPP BUTONU ─────────────────────────── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
}
.wa-btn:hover { transform: scale(1.1); }

/* ── SAYFA BAŞLIĞI ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a8f 100%);
  padding: 140px 0 80px; text-align: center;
}
.page-hero h1 { font-size: clamp(32px,5vw,52px); color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.75); }
.breadcrumb { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .counters-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 260px;
    background: var(--primary); flex-direction: column; align-items: flex-start;
    padding: 80px 28px 28px; gap: 4px; transition: right .3s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,.2);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: rgba(255,255,255,.85) !important; width: 100%; }
  .hamburger { display: flex; }
}