:root {
  --blue: #1976bc;
  --blue-dark: #0f4f82;
  --navy: #0b2f4f;
  --lime: #e4ed3c;
  --ink: #12283a;
  --muted: #5a6f80;
  --line: #dde7ef;
  --bg: #ffffff;
  --bg-soft: #f2f7fb;
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
/* "hidden" işaretli öğe, başka bir kural ona görünüm verse bile gizli kalır */
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 17px; white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.brand span span { color: var(--lime); letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav-links a:not(.btn) { opacity: .9; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lime); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 6px 18px rgba(11,47,79,.25); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
/* Kort fotoğrafı arka planda; yazı okunabilsin diye soldan sağa açılan koyu mavi bir örtü var */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0; color: #fff; background: var(--navy);
}
.hero-foto {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 72% 62%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,47,79,.95) 0%, rgba(13,63,104,.88) 36%, rgba(19,94,152,.45) 66%, rgba(25,118,188,.10) 100%),
    linear-gradient(0deg, rgba(11,47,79,.50) 0%, rgba(11,47,79,0) 40%);
}
/* Açılış görseli ilk ekranı doldurur: ekran yüksekliği eksi üst çubuk (68px) */
.hero .wrap {
  display: flex; align-items: center;
  min-height: clamp(480px, calc(100vh - 68px), 920px);
  min-height: clamp(480px, calc(100svh - 68px), 920px);
  padding-top: 64px; padding-bottom: 76px;
}
.hero-yazi { max-width: 620px; text-shadow: 0 1px 14px rgba(11,47,79,.55); }
.hero-yazi .btn { text-shadow: none; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
/* Slogan: iki satır, ikinci satır ("We Care.") logodaki sarıyla; nokta yalnızca sonda */
.hero h1 { font-size: clamp(46px, 7.4vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { display: block; font-style: normal; color: var(--lime); }
/* Açıklama ve düğmeler slogandan belirgin bir boşlukla ayrılır */
.hero p.lead { margin-top: clamp(34px, 4.4vw, 56px); font-size: clamp(17px, 1.7vw, 20px); max-width: 540px; opacity: .95; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bölümler ---------- */
section { padding: 104px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--blue); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Hizmetler: solda başlık ve açıklama (sayfa kayarken yerinde durur), sağda hizmet listesi */
.hizmet-duzen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.hizmet-giris { position: sticky; top: 112px; margin-bottom: 0; }
.hizmet-giris .btn { margin-top: 28px; }
.hizmet-liste { list-style: none; }
.hizmet-liste li {
  display: grid; grid-template-columns: 54px 1fr; gap: 22px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.hizmet-liste li:first-child { border-top: 0; padding-top: 0; }
.hizmet-liste li:last-child { padding-bottom: 0; }
.hizmet-liste h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.hizmet-liste p { color: var(--muted); font-size: 15.5px; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--blue); color: #fff;
  display: grid; place-items: center;
}
.icon svg { width: 28px; height: 28px; }

/* Neden */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Fotoğraflı bölüm: ilk ekranla aynı düzen. Fotoğraf tam genişlikte arkada,
   üstünde soldan sağa açılan koyu mavi örtü, içerik en üstte. */
.foto-bolum { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.bolum-foto {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%;
}
.foto-bolum::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,47,79,.95) 0%, rgba(13,63,104,.88) 40%, rgba(19,94,152,.50) 72%, rgba(25,118,188,.18) 100%);
}
.foto-bolum .section-head .eyebrow { color: var(--lime); }
.foto-bolum .section-head p { color: rgba(255,255,255,.85); }
.foto-bolum .why-list p { color: rgba(255,255,255,.86); }
.foto-bolum .why > div:first-child { text-shadow: 0 1px 14px rgba(11,47,79,.55); }
.foto-bolum .why-list .num { text-shadow: none; }
.why-list { list-style: none; display: grid; gap: 22px; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why-list .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--navy);
  font-weight: 800; display: grid; place-items: center;
}
.why-list h3 { font-size: 17px; font-weight: 700; }
.why-list p { color: var(--muted); font-size: 15px; }

/* Süreç: dört adım; numaralı daireler ince bir çizgiyle birbirine bağlı */
.adimlar { list-style: none; counter-reset: adim; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.adimlar li { position: relative; padding-top: 74px; counter-increment: adim; }
.adimlar li::before {
  content: counter(adim); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 20px; font-weight: 800; display: grid; place-items: center;
}
.adimlar li:not(:last-child)::after { /* sonraki adıma uzanan çizgi */
  content: ""; position: absolute; top: 25px; left: 64px; right: -20px; height: 2px; background: #cfdde8;
}
.adimlar h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.adimlar p { font-size: 15px; color: var(--muted); }

/* Referanslar: yönetim sayfasında işaretlenen kulüplerin logosu ve adı; başlık ve kutular ortalanır */
.section-head.orta { margin-left: auto; margin-right: auto; text-align: center; }
.referans-liste { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.referans {
  width: 224px; padding: 26px 22px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11,47,79,.07);
}
.referans img { width: 100%; height: 104px; object-fit: contain; }
/* Logosu olmayan kulüp için baş harfler */
.referans .bas-harf {
  width: 104px; height: 104px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 34px; font-weight: 800; letter-spacing: .04em;
}
.referans strong { font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
/* Kulüp sayısı çoksa kutular küçülür; böylece bölüm masaüstünde yine tek ekrana sığar */
.referans-liste.cok { gap: 16px; }
.referans-liste.cok .referans { width: 164px; padding: 18px 14px 16px; gap: 12px; }
.referans-liste.cok .referans img { height: 72px; }
.referans-liste.cok .bas-harf { width: 72px; height: 72px; font-size: 24px; }
.referans-liste.cok .referans strong { font-size: 14px; }

/* İletişim */
.contact { background: var(--navy); color: #fff; }
.contact .section-head .eyebrow { color: var(--lime); }
.contact .section-head p { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 8px; }
.contact-list li { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.contact-list .icon { width: 46px; height: 46px; margin: 0; background: rgba(255,255,255,.1); flex: none; }
.contact-list small { display: block; font-weight: 500; opacity: .65; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 13px; font-weight: 700; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; font-weight: 500; font-size: 15px; padding: 12px 14px; width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25,118,188,.15); }
textarea { resize: vertical; min-height: 96px; }
form .hint { font-size: 12.5px; color: var(--muted); }

/* Alt bilgi */
footer { background: #071f35; color: rgba(255,255,255,.7); padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { color: #fff; font-size: 15px; }
footer .brand img { width: 36px; height: 36px; border-radius: 8px; }

/* Sağ altta sabit duran düğmeler: altta WhatsApp (büyük), üstünde sosyal medya (daha küçük) */
.yuzen {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.yuzen a {
  border-radius: 50%; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .15s ease;
}
.yuzen a:hover { transform: scale(1.08); }
.wa-float { width: 58px; height: 58px; background: #25d366; }
.wa-float svg { width: 30px; height: 30px; }
.ig-float {
  width: 46px; height: 46px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.ig-float svg { width: 24px; height: 24px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  /* Dar ekranda yazı fotoğrafın tamamını kapladığı için örtü her yerde koyu */
  .hero::before { background: linear-gradient(180deg, rgba(11,47,79,.86) 0%, rgba(11,47,79,.62) 50%, rgba(11,47,79,.84) 100%); }
  .hero-foto { object-position: 62% 60%; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hizmet-duzen { grid-template-columns: 1fr; gap: 40px; }
  .hizmet-giris { position: static; }
  .why, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Dar ekranda yazı fotoğrafın tamamını kapladığı için örtü her yerde koyu */
  .foto-bolum::before { background: linear-gradient(180deg, rgba(11,47,79,.88) 0%, rgba(11,47,79,.70) 55%, rgba(11,47,79,.80) 100%); }
  /* Adımlar alt alta; çizgi dairelerin altından aşağı iner */
  .adimlar { grid-template-columns: 1fr; gap: 30px; }
  .adimlar li { padding: 0 0 0 74px; min-height: 52px; }
  .adimlar li:not(:last-child)::after { top: 60px; bottom: -22px; left: 25px; right: auto; width: 2px; height: auto; }
  section { padding: 68px 0; }
}
/* Üst menüdeki bağlantılar bu genişliğin altında yan yana sığmaz; açılır menüye geçilir */
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--blue-dark); padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links .btn { margin-top: 16px; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  /* Referans kutuları telefonda ikişer ikişer dizilir */
  .referans-liste, .referans-liste.cok { gap: 14px; }
  .referans, .referans-liste.cok .referans { width: calc(50% - 7px); padding: 18px 12px 16px; gap: 12px; }
  .referans img, .referans-liste.cok .referans img { height: 76px; }
  .referans .bas-harf, .referans-liste.cok .bas-harf { width: 76px; height: 76px; font-size: 26px; }
  .referans strong, .referans-liste.cok .referans strong { font-size: 14.5px; }
}
/* ---------- Masaüstü: her bölüm bir ekran ----------
   Fareyle kullanılan geniş ekranlarda her bölüm ekranı doldurur ve içeriği dikeyde ortalanır.
   Fare tekerleği bölümden bölüme geçirir (js/site.js). Telefonda bu kurallar uygulanmaz. */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  main > section {
    display: flex; align-items: center;
    min-height: calc(100vh - 68px); min-height: calc(100svh - 68px);
    padding: clamp(48px, 6vh, 96px) 0;
  }
  main > section > .wrap { width: 100%; }
  /* Hizmetler tek ekrana sığsın diye liste daha sıkı ve sağ sütun daha geniş */
  .hizmet-duzen { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
  .hizmet-giris { position: static; }
  .hizmet-liste li { grid-template-columns: 46px 1fr; gap: 18px; padding: 16px 0; }
  .hizmet-liste .icon { width: 46px; height: 46px; border-radius: 12px; }
  .hizmet-liste .icon svg { width: 24px; height: 24px; }
  .hizmet-liste h3 { font-size: 18px; margin-bottom: 2px; }
  .hizmet-liste p { font-size: 15px; line-height: 1.5; }
  .hero .wrap { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); }
  /* Son bölüm, altındaki 92 piksellik alt bilgiyle birlikte bir ekran eder */
  #iletisim { min-height: calc(100vh - 160px); min-height: calc(100svh - 160px); }
}

/* Alçak ekranlar (ör. küçük dizüstü): bölümler yine tek ekrana sığsın diye boşluklar ve yazılar biraz küçülür */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) and (max-height: 760px) {
  main > section { padding: 28px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
  .section-head p { font-size: 15.5px; margin-top: 10px; }
  .hizmet-giris .btn { margin-top: 18px; }
  .hizmet-liste li { padding: 10px 0; }
  .hizmet-liste p { font-size: 14px; }
  .why-list { gap: 12px; }
  .why-list p { font-size: 14px; }
  .adimlar p { font-size: 14px; }
  .referans-liste { gap: 16px; }
  .referans { width: 200px; padding: 18px 18px 16px; gap: 12px; }
  .referans img { height: 80px; }
  .referans .bas-harf { width: 80px; height: 80px; font-size: 27px; }
  .referans strong { font-size: 15px; }
  .referans-liste.cok { gap: 12px; }
  .referans-liste.cok .referans { width: 150px; padding: 12px 12px 12px; gap: 8px; }
  .referans-liste.cok .referans img { height: 56px; }
  .referans-liste.cok .bas-harf { width: 56px; height: 56px; font-size: 19px; }
  .referans-liste.cok .referans strong { font-size: 13px; }
  form { padding: 20px; gap: 10px; }
  .row { gap: 10px; }
  input, textarea, select { padding: 9px 12px; }
  textarea { min-height: 64px; }
  .contact-list { gap: 12px; }
  footer { padding: 16px 0; }
  #iletisim { min-height: calc(100vh - 136px); min-height: calc(100svh - 136px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
