:root {
  --bg: oklch(95% 0.035 168);
  --surface: oklch(100% 0 0);
  --surface-soft: oklch(97% 0.025 166);
  --fg: oklch(20% 0.025 168);
  --muted: oklch(52% 0.018 168);
  --border: oklch(91% 0.018 168);
  --accent: oklch(55% 0.12 166);
  --accent-dark: oklch(43% 0.11 166);
  --signal: oklch(79% 0.16 82);
  --success: oklch(62% 0.14 155);
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow: 0 28px 80px color-mix(in oklch, var(--accent) 14%, transparent);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--fg); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, white 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(20,70,54,.05); }
.nav { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 120px;
  max-width: min(30vw, 260px);
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-family: 'Montserrat', var(--font-display); font-size: 13px; font-weight: 600; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--accent); transition: right 180ms cubic-bezier(.23,1,.32,1); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-links a.active-link { color: var(--accent-dark); }
.nav-links a.active-link::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.phone { font-size: 12px; font-weight: 700; color: var(--accent-dark); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: white; font-weight: 750; font-size: 13px; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px color-mix(in oklch, var(--accent) 22%, transparent); }
.button.secondary { background: transparent; color: var(--accent-dark); border-color: color-mix(in oklch, var(--accent) 45%, transparent); box-shadow: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--fg); transition: transform 180ms ease, opacity 180ms ease; }

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--signal); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; text-wrap: balance; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms cubic-bezier(.23,1,.32,1), transform 600ms cubic-bezier(.23,1,.32,1); }
[data-reveal].visible { opacity: 1; transform: none; }

.footer { padding: 52px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-logo { height: 120px; max-width: min(100%, 340px); }
.footer-brand p { max-width: 300px; color: var(--muted); font-size: 16px; }
.footer h3 { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 16px; }
.footer li + li { margin-top: 9px; }
.copyright { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.forse-credit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 250ms ease, transform 250ms ease;
  vertical-align: middle;
}
.forse-credit-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.forse-credit-logo:hover {
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 1024px) {
  .site { width: 100%; margin: 0; }
  .container { width: min(100% - 44px, 1120px); }
  .nav-links, .nav-actions .phone { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; position: fixed; inset: 84px 12px auto; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 22px 24px; background: white; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(20,70,54,.18); }
  .nav-links.open a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .site { width: 100%; margin: 0; border: 0; }
  .container { width: min(100% - 36px, 640px); }
  .nav { min-height: 92px; }
  .brand-logo { height: 64px; max-width: 220px; }
  .nav-actions > .button { display: none; }
  .nav-links.open { inset: 72px 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-logo { height: 96px; }
  .footer-grid > :last-child { grid-column: auto; }
  .copyright { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Mobil (Telefon) Görünümü Ortalamaları (max-width: 760px) ── */
@media (max-width: 760px) {
  /* Yazı ve Başlık Ortalamaları */
  body, p, span, li, a, h1, h2, h3, h4, h5, h6, blockquote {
    text-align: center !important;
  }

  /* Paragraf ve Başlık Genişlik/Kenar Payları */
  h1, h2, h3, p, .section-copy p, .section-heading p {
    margin-inline: auto !important;
    text-align: center !important;
  }

  /* Bölüm Başlıkları (Section Heading) */
  .section-heading {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Başlık Üstü Etiketler (Eyebrows) */
  .eyebrow {
    justify-content: center !important;
  }
  .eyebrow::before, .eyebrow::after {
    display: none !important;
  }

  /* Görsellerin Ortalanması */
  img, .brand-logo, .brand img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Ana Sayfa Hero Alanı Hizalamaları */
  .hero-copy {
    text-align: center !important;
  }
  .hero-actions {
    justify-content: center !important;
  }
  .appointment-note {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Özellik Kartları (Features) */
  .feature-list {
    justify-items: center !important;
  }
  .feature {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .feature-icon {
    margin-inline: auto !important;
    margin-bottom: 12px !important;
  }

  /* İki Sütunlu Alanlar (Split & Copy Layout) */
  .section-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Kontrol Listeleri (Checklists) */
  .sd-checklist {
    align-items: center !important;
    justify-content: center !important;
  }
  .sd-checklist li {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Alt Bilgi Alanı (Footer) Ortalamaları */
  .footer {
    text-align: center !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-brand {
    align-items: center !important;
  }
  .footer-brand .brand {
    justify-content: center !important;
  }
  .footer-brand p {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .footer ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer ul[style*="display: flex"] {
    justify-content: center !important;
    flex-direction: row !important;
  }
  .copyright {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Servis Kartları (Service Cards) */
  .service-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .service-card .tag {
    margin-inline: auto !important;
  }

  /* Müşteri Yorumu Alanı (Testimonials) */
  .testimonial-lead {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .quote {
    align-items: center !important;
    text-align: center !important;
  }
  .quote blockquote {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .quote footer {
    justify-content: center !important;
    text-align: center !important;
  }

  /* İstatistik Alanları (Stats Grid) */
  .stat-item {
    text-align: center !important;
  }

  /* Hakkımızda & Eğitim Sayfası Görsel Konumlandırma Düzeltmeleri */
  .about-photo, .training-photo {
    inset: 16px 16px 28px 16px !important;
  }
  .section-visual::before {
    display: none !important;
  }
  .experience-card {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 15px !important;
  }

  /* İletişim Detay Listeleri */
  .reach-list {
    justify-content: center !important;
  }
  .reach-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .reach-dot {
    margin-inline: auto !important;
    margin-bottom: 8px !important;
  }
  
  /* Süreç Adımları (Process Steps) */
  .process-steps {
    justify-items: center !important;
  }
  .step {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .step::before {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 12px !important;
    display: block !important;
  }
  .step p {
    margin-inline: auto !important;
  }
}

/* ── Mobil Hızlı Erişim Menüsü (Bottom Sticky Bar) ── */
.mobile-quick-action-bar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-quick-action-bar {
    display: flex;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    height: 60px;
    background: color-mix(in oklch, var(--surface) 94%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 10px 30px color-mix(in oklch, var(--fg) 12%, transparent);
    z-index: 9999;
    padding: 6px 10px;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    transition: transform 300ms cubic-bezier(.23,1,.32,1), opacity 300ms ease;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--fg);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 3px;
    transition: all 180ms cubic-bezier(.23,1,.32,1);
    border-radius: 20px;
    text-decoration: none;
  }

  .quick-action-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 180ms ease;
  }

  /* Specific theme-matching colors for brand icons */
  .quick-action-btn.phone-btn {
    color: var(--accent-dark);
  }

  .quick-action-btn.whatsapp-btn {
    color: oklch(62% 0.16 142); /* Sophisticated WhatsApp Green */
  }

  .quick-action-btn.location-btn {
    color: oklch(60% 0.14 45); /* Premium warm terra cotta/rust for Maps */
  }

  .quick-action-btn:active {
    background: var(--surface-soft);
    transform: translateY(-2px);
  }

  .quick-action-btn:active svg {
    transform: scale(0.9);
  }
}
