/* =========================================================
   Gebze Tenis Kulübü — ana stil dosyası
   Saf CSS, derleme adımı yok. Renkler ve ölçüler :root'ta.
   ========================================================= */

:root {
  --green-950: #071d16;
  --green-900: #0b2a20;
  --green-800: #113a2d;
  --green-700: #1a5040;
  --green-500: #2f7d5f;
  --clay: #c4532f;
  --clay-dark: #a3432a;
  --ball: #d8f04c;
  --ball-dark: #c4dc3a;
  --cream: #f4f1e9;
  --cream-deep: #ebe6d9;
  --paper: #fbfaf6;
  --ink: #14201b;
  --muted: #56635d;
  --line: rgba(20, 32, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --on-dark-muted: rgba(244, 241, 233, 0.72);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(7, 29, 22, 0.05), 0 18px 40px -18px rgba(7, 29, 22, 0.28);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: var(--clay);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll,
body:has(.lightbox[open]) { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em, h2 em, .footer-claim em {
  font-style: italic;
  color: var(--clay);
}
.on-dark h1 em, .on-dark h2 em, .on-dark .footer-claim em { color: var(--ball); }

h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  line-height: 1.04;
}
p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.on-dark { --focus: var(--ball); color: var(--cream); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ball);
  color: var(--green-950);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--ball); }

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
}
.on-dark .lead { color: var(--on-dark-muted); }

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--green-900);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon, .text-link:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-ball { --btn-bg: var(--ball); --btn-fg: var(--green-950); }
.btn-ball:hover { --btn-bg: #e4f86a; box-shadow: 0 10px 30px -10px rgba(216, 240, 76, 0.6); }
.btn-clay { --btn-bg: var(--clay); --btn-fg: #fff; }
.btn-clay:hover { --btn-bg: var(--clay-dark); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--cream); border-color: var(--line-light); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--green-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-900); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--cream); border-color: rgba(255, 255, 255, 0.3); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
}
.on-dark .text-link { color: var(--ball); }
.text-link .icon { transition: transform 0.25s var(--ease); }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  --focus: var(--ball);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(7, 29, 22, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-light);
}
/* backdrop-filter, fixed konumlu menü paneli için yeni bir kapsayıcı oluşturup paneli
   header yüksekliğine kırpar; menü açıkken kapatılır. */
.site-header.nav-open {
  background: var(--green-950);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  position: relative;
  z-index: 2;
}
.brand-logo { width: 46px; height: 46px; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-text small {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--cream); }
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ball);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--ball); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header-phone span { display: none; }
}

@media (max-width: 959px) {
  .nav-toggle { display: inline-block; }
  .header-phone, .header-cta { display: none; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: var(--green-950);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    width: 100%;
    min-height: 64px;
    padding: 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--cream);
  }
  .site-nav ul a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 12px; }
  .nav-mobile-extra .btn { min-height: 56px; }
  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    color: var(--cream);
    font-weight: 700;
    text-decoration: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(47, 125, 95, 0.45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(196, 83, 47, 0.16), transparent 60%),
    var(--green-900);
}
.court-lines {
  position: absolute;
  width: min(760px, 70vw);
  right: -6%;
  top: -10%;
  transform: rotate(-14deg);
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 2;
  pointer-events: none;
}
.court-lines .net { stroke: rgba(216, 240, 76, 0.16); stroke-dasharray: 4 6; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero-lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--on-dark-muted);
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-call { font-size: 0.95rem; color: var(--on-dark-muted); }
.hero-call a {
  color: var(--cream);
  font-weight: 700;
  text-decoration-color: rgba(216, 240, 76, 0.6);
  text-underline-offset: 4px;
}

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--green-800);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.arch picture,
.about-photo picture,
.person-photo picture { width: 100%; height: 100%; }
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 29, 22, 0.55));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--line-light);
  border-radius: 999px 999px 40px 40px;
  pointer-events: none;
}

.seal {
  position: absolute;
  left: -44px;
  bottom: 56px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--ball);
  color: var(--green-950);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}
.seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--green-950);
  font-family: var(--font-sans);
  font-size: 10.4px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.seal-ball { width: 34px; height: 34px; stroke-width: 1.6; }

.float-card {
  position: absolute;
  right: -18px;
  top: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.float-card strong { display: block; font-size: 0.95rem; line-height: 1.25; }
.float-card span { font-size: 0.82rem; color: var(--muted); }
.float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(47, 125, 95, 0.18);
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(48px, 7vw, 96px);
}
.hero-stats li {
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--ball);
  margin-bottom: 10px;
}
.hero-stats span { display: block; font-size: 0.9rem; color: var(--on-dark-muted); line-height: 1.5; }

/* Hero giriş animasyonu (JS gerekmez) */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: rise 0.9s var(--ease) both; }
  .hero-in[data-delay="1"] { animation-delay: 0.05s; }
  .hero-in[data-delay="2"] { animation-delay: 0.15s; }
  .hero-in[data-delay="3"] { animation-delay: 0.28s; }
  .hero-in[data-delay="4"] { animation-delay: 0.4s; }
  .hero-in[data-delay="5"] { animation-delay: 0.5s; }
  .seal-ring { animation: spin 24s linear infinite; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Branş şeridi ---------- */
.marquee {
  overflow: hidden;
  background: var(--clay);
  color: var(--cream);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  white-space: nowrap;
}
.marquee-track i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ball);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- Bölümler ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--green-900); overflow: hidden; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

/* Kulüp */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about-intro h2 { margin-bottom: 28px; }
.about-photo {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 8px;
}
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.why-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green-700);
  margin-bottom: 16px;
}
.why-icon .icon { width: 22px; height: 22px; }
.why-item h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }

/* Branşlar */
.tennis-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(47, 125, 95, 0.4), transparent 60%),
    var(--green-900);
  margin-bottom: 24px;
}
.tennis-copy { padding: clamp(32px, 5vw, 64px); }
.tennis-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ball);
}
.tennis-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1;
  margin: 14px 0 16px;
}
.tennis-lead { color: var(--on-dark-muted); max-width: 30em; margin-bottom: 28px; }
.levels { margin-bottom: 32px; }
.levels li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}
.level-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ball);
  min-width: 30px;
}
.levels h4 { font-weight: 700; font-size: 1.02rem; margin-bottom: 2px; }
.levels p { color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.55; }
.tennis-media { position: relative; min-height: 320px; }
.tennis-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 50%;
}
.tennis-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 42, 32, 0.55), transparent 40%);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.program-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-900);
  color: var(--ball);
  margin-bottom: 28px;
}
.program-icon .icon { width: 26px; height: 26px; }
.program-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 12px;
}
.program-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; margin-bottom: 20px; }
.program-card .text-link { margin-top: auto; }

/* Tesis */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 17vw, 240px);
  gap: 16px;
}
.gallery li { position: relative; }
.g-1 { grid-column: span 2; grid-row: span 2; }
.g-4, .g-7 { grid-column: span 2; }
.gallery a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  cursor: zoom-in;
}
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 29, 22, 0.6));
  transition: opacity 0.3s var(--ease);
}
.g-cap {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.gallery a:focus-visible { outline-offset: 4px; }

/* Ekip */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.person {
  padding: 16px 16px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.person-photo {
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  margin-bottom: 24px;
  background: var(--cream-deep);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 0.8s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.04); }
.person > :not(.person-photo) { padding-inline: 12px; }
.person-role {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.person h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  margin-bottom: 14px;
}
.person p:not(.person-role) { color: var(--muted); font-size: 0.97rem; line-height: 1.6; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-700);
}

/* Basın */
.press {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.press-card {
  position: relative;
  padding: 36px 32px 32px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.press-card:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(216, 240, 76, 0.35); }
.press-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  height: 36px;
  color: var(--ball);
}
.press-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.press-card p { color: var(--on-dark-muted); font-size: 0.97rem; }
.press-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  color: var(--on-dark-muted);
}
.press-note .icon { color: var(--ball); }

/* SSS */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.faq-intro h2 { margin-bottom: 20px; }
.faq-intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--green-900); color: var(--ball); border-color: var(--green-900); }
.faq summary:hover .icon { border-color: var(--green-900); }
.faq details p { padding: 0 56px 24px 0; color: var(--muted); }

/* İletişim */
.cta { padding-bottom: clamp(96px, 12vw, 160px); }
.court-lines-cta { right: auto; left: -12%; top: auto; bottom: -30%; transform: rotate(18deg); }
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.cta h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 24px; }
.contact-list { display: grid; gap: 22px; margin-top: 44px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--ball);
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 2px;
}
.contact-list a:not(.text-link) {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:not(.text-link):hover { color: var(--ball); }
.contact-list address { color: var(--cream); line-height: 1.55; }

.lesson-form {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  --focus: var(--clay);
}
.lesson-form h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.1;
  margin-bottom: 6px;
}
.form-intro { color: var(--muted); margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 0.88rem; font-weight: 700; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314201b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(47, 125, 95, 0.15);
}
.field input[aria-invalid="true"] { border-color: var(--clay); }
.field-error { min-height: 0; font-size: 0.85rem; font-weight: 600; color: var(--clay-dark); }
.field-error:empty { display: none; }
.form-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.form-note a { color: var(--green-700); font-weight: 700; }
.form-note.is-success { color: var(--green-700); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-logo { width: 64px; height: 64px; margin-bottom: 20px; }
.footer-claim {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  max-width: 10em;
}
.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ball);
  margin-bottom: 16px;
}
.footer-col li { color: var(--on-dark-muted); font-size: 0.95rem; margin-bottom: 4px; }
.footer-col a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--cream);
}
.socials a:hover { border-color: var(--ball); color: var(--ball); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  color: var(--cream);
}

/* ---------- Mobil eylem çubuğu ---------- */
.mobile-bar { display: none; }

/* ---------- Galeri görüntüleyici ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  --focus: var(--ball);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(7, 29, 22, 0.94); }
.lightbox figure {
  display: grid;
  gap: 14px;
  width: min(960px, calc(100vw - 160px));
}
.lightbox img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}
.lb-count { color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--cream); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Kaydırınca beliren öğeler (yalnız JS açıksa) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 1100px) {
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  :root { --header-h: 68px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; margin-top: 16px; }
  .seal { left: -20px; width: 104px; height: 104px; }
  .float-card { right: -8px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }

  .about-grid, .faq-grid, .cta-grid, .section-head.split { grid-template-columns: 1fr; }
  .tennis-panel { grid-template-columns: 1fr; }
  .tennis-media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .tennis-media::after { background: linear-gradient(0deg, rgba(11, 42, 32, 0.6), transparent 50%); }
  .team { grid-template-columns: 1fr 1fr; }
  .press { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { padding-bottom: 84px; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(7, 29, 22, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-light);
    --focus: var(--ball);
    transition: transform 0.35s var(--ease);
  }
  .mobile-bar .btn { min-height: 52px; }
  .mobile-bar.is-hidden { transform: translateY(110%); }

  .hero-actions .btn { flex: 1 1 100%; }
  .why-list { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-1 { grid-column: span 2; grid-row: span 2; }
  .g-4, .g-7 { grid-column: span 2; }
  .g-cap { left: 12px; bottom: 10px; font-size: 0.82rem; }
  .team { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }

  .lightbox figure { width: calc(100vw - 32px); }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-stats strong { font-size: 1.75rem; }
  .seal { width: 92px; height: 92px; left: -10px; bottom: 40px; }
  .seal-ball { width: 26px; height: 26px; }
  .float-card { top: 40px; padding: 10px 14px; }
}

@media print {
  .site-header, .mobile-bar, .marquee, .lightbox, .court-lines { display: none !important; }
  .on-dark, .section-dark, .hero, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 48px;
}
.notfound-inner { position: relative; }
.notfound .brand { display: flex; width: fit-content; margin-bottom: clamp(48px, 10vh, 96px); }
.notfound h1 { max-width: 9em; }
@media (max-width: 767px) {
  .page-404 { padding-bottom: 0; }
}
