/* ═══════════════════════════════════════════════════════════════════════════════
   Ahmediye Enderun — main.css
   Fontlar: Plus Jakarta Sans (başlık/display) + Inter (gövde) — self-host, variable
   Türkçe için latin + latin-ext alt kümeleri.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Font Face ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/PlusJakartaSans-latinext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-latinext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ─── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-deep);
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }

p {
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ─── Layout Utilities ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
}

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--surface { background: var(--color-surface); }
.section--surface-2 { background: var(--color-surface-2); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.5rem);
}
.section-header h2 { margin-bottom: 0.85rem; }
.section-header p { margin: 1rem auto 0; }

/* Eyebrow — küçük üst etiket */
.eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

/* Accent line — altın, nadir vurgu */
.accent-line {
  display: block;
  width: 52px;
  height: 3px;
  background: var(--color-accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}
.section-header .accent-line { margin-left: auto; margin-right: auto; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 18px rgba(13,99,216,0.28); }
.btn-primary:hover { background: var(--color-primary-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(13,99,216,0.36); }

.btn-outline { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

.btn-ghost { border: 1.5px solid var(--color-border); color: var(--color-primary); background: var(--color-white); }
.btn-ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-on-light { background: var(--color-white); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.btn-on-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; border-radius: 12px; }

/* ─── Reveal & utils ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); }
.hidden { display: none !important; }

/* ─── Preloader ──────────────────────────────────────────────────────────────── */
@keyframes preloader-fallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: preloader-fallback 0.5s 4s forwards;
}
#preloader-logo { width: clamp(82px, 14vw, 128px); height: auto; }

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
#navbar.scrolled {
  background: rgba(251, 252, 255, 0.92);
  box-shadow: 0 2px 24px rgba(7,34,74,0.09);
  padding: 0.6rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Marka kilidi: amblem + CSS wordmark (tema ile renklenir) */
.nav-brand { display: flex; align-items: center; gap: 0.65rem; }
.nav-brand img { height: 44px; width: auto; transition: height 0.35s ease; }
#navbar.scrolled .nav-brand img { height: 38px; }
.nav-brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand .wordmark b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.35s ease;
}
.nav-brand .wordmark span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.35s ease;
}
#navbar.scrolled .nav-brand .wordmark b { color: var(--color-deep); }
#navbar.scrolled .nav-brand .wordmark span { color: var(--color-primary); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--color-sky);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--color-text); }

/* Nav CTA (Online Başvuru) */
.nav-basvuru-cta {
  font-size: 0.85rem !important;
  padding: 0.55rem 1.25rem;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,0.6) !important;
  color: #fff !important;
}
.nav-basvuru-cta:hover { background: rgba(255,255,255,0.14) !important; border-color: #fff !important; }
.nav-basvuru-cta::after { display: none !important; }
#navbar.scrolled .nav-basvuru-cta {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}
#navbar.scrolled .nav-basvuru-cta:hover { background: var(--color-primary-deep) !important; border-color: var(--color-primary-deep) !important; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
#navbar.scrolled .nav-hamburger span { background: var(--color-deep); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(251,252,255,0.98);
  padding: 1.25rem;
  gap: 0.25rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: 0.6rem;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-deep);
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-gradient { position: absolute; inset: 0; background: var(--grad-primary); z-index: 0; }
.hero-bg-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 45% 30%;   /* ~%5 kaydırma — kapı + bitki daha merkezi */
  z-index: 0;
  display: none;
}
.hero-bg-video { position: absolute; inset: 0; z-index: 0; display: none; overflow: hidden; }
.hero-bg-video video { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay { position: absolute; inset: 0; background: var(--grad-hero-scrim); z-index: 1; }

.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-content .eyebrow { color: var(--color-sky); margin-bottom: 1.1rem; }
.hero-content h1 { color: #fff; margin-bottom: 1.1rem; letter-spacing: -0.04em; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 2rem; max-width: 46ch; }

/* "Başvurular Başladı" rozeti */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(43,164,242,0.18);
  border: 1px solid rgba(43,164,242,0.5);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.55); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ─── Stats band ─────────────────────────────────────────────────────────────── */
#stats {
  background: var(--grad-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}
.stat-num .suffix { color: var(--color-sky); font-size: 0.7em; }
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ─── Hakkımızda ─────────────────────────────────────────────────────────────── */
.hakkimizda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hakkimizda-text h2 { margin-bottom: 1.25rem; }
.hakkimizda-text p { margin-bottom: 1rem; }
.hakkimizda-text .accent-line { margin: 0 0 1.5rem; }
.hakkimizda-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  position: relative;
}
.hakkimizda-image img { width: 100%; height: 100%; object-fit: cover; }
.hakkimizda-badge {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.6rem;
}
.hakkimizda-badge b { font-family: 'Plus Jakarta Sans'; font-weight: 800; color: var(--color-primary); font-size: 1.3rem; }
.hakkimizda-badge span { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.2; }

/* ─── Değerlerimiz ───────────────────────────────────────────────────────────── */
.deger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.deger-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.deger-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.deger-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.65rem; }
.deger-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(13,99,216,0.12), rgba(43,164,242,0.12));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.deger-icon { width: 22px; height: 22px; color: var(--color-primary); }
.deger-card h3 { font-size: 1rem; margin-bottom: 0; line-height: 1.2; }
.deger-card p { font-size: 0.92rem; }

/* ─── Olanaklar / Facilities ─────────────────────────────────────────────────── */
.olanak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}
.olanak-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3.1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.olanak-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.olanak-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.olanak-card:hover img { transform: scale(1.06); }
.olanak-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,34,74,0) 35%, rgba(7,34,74,0.85) 100%);
}
.olanak-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; z-index: 2; color: #fff; }
.olanak-info h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.25rem; }
.olanak-info p { color: rgba(255,255,255,0.82); font-size: 0.88rem; max-width: none; }

/* ─── Galeri ─────────────────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.gallery-filter {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-white);
  transition: all 0.2s ease;
}
.gallery-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.gallery-filter.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  background: var(--color-surface);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7,34,74,0);
  transition: background 0.3s ease;
}
.gallery-item:hover::after { background: rgba(7,34,74,0.25); }
.gallery-item .zoom-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .zoom-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-item .zoom-icon svg { width: 20px; height: 20px; color: var(--color-primary); }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(7,18,40,0.95);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  cursor: zoom-out;
  z-index: 0;
}
.lightbox-img {
  max-width: min(1000px, 88vw);
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  position: relative; z-index: 1;
  pointer-events: none;
}
.lightbox-footer {
  position: absolute;
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.75rem;
  z-index: 2;
  white-space: nowrap;
}
.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
}
.lightbox-counter {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 400;
}
.lightbox-caption:not(:empty) + .lightbox-counter::before {
  content: '·';
  margin-right: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
  border: 1.5px solid rgba(255,255,255,0.22);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.lightbox-btn:hover { background: rgba(255,255,255,0.26); transform: scale(1.08); }
.lightbox-btn svg { width: 24px; height: 24px; }
.lightbox-close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); }
.lightbox-prev { left: clamp(0.8rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next { right: clamp(0.8rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

/* ─── Testimonials / Görüşler ────────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}
.testi-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-quote { width: 34px; height: 34px; color: var(--color-sky); opacity: 0.55; }
.testi-text { font-size: 0.98rem; color: var(--color-text); line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.testi-author b { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 0.95rem; color: var(--color-deep); display: block; }
.testi-author span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ─── Kayıt / Formlar ────────────────────────────────────────────────────────── */
.kayit-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.form-section-title::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.form-section-title:not(:first-child) { margin-top: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full-width { grid-column: 1 / -1; }

/* Mobilde bile 2 sütun kalan zorunlu ikililer (Ad-Soyad, Okul No-Sınıf, İl-İlçe) */
.form-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

/* Alan altı uyarı mesajı (blur doğrulaması) */
.field-msg { display: none; color: #ef4444; font-size: 0.75rem; margin-top: 0.1rem; }

/* Numaralı form kartları (01 / 02) */
.form-stack { max-width: 780px; margin: 0 auto; }
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.form-card-head { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.5rem; }
.form-card-num {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--color-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.9rem;
}
.form-card-head h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.form-card-head p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; max-width: none; }

.form-hint { font-size: 0.82rem; color: var(--color-text-muted); margin: 0 0 0.9rem; max-width: none; }

/* Gönder satırı — kartların dışında, alt blok */
.form-submit-row {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  padding: 0.25rem 0.25rem 0;
}
.form-submit-row .btn { flex-shrink: 0; }
.form-submit-row .form-note { margin: 0; flex: 1; min-width: 220px; }
@media (max-width: 560px) {
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-submit-row .btn { width: 100%; }
}
.form-group label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-deep);
}
.form-group label .required { color: var(--color-accent); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-2);
  color: var(--color-deep);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(13,99,216,0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6B92' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.3rem;
}
.form-group textarea { resize: vertical; min-height: 96px; }

.form-submit { margin-top: 1.5rem; text-align: center; }
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.form-message.error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* ─── Hakkımızda içindeki Değerler alt-başlığı ───────────────────────────────── */
.hakkimizda-values { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.hakkimizda-values .section-header { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }

/* ─── Başvuru Süreci ─────────────────────────────────────────────────────────── */
.surec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
.surec-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.7rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.surec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.surec-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.surec-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.surec-icon svg { width: 24px; height: 24px; }
.surec-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  line-height: 1.25;
}
.surec-card p { font-size: 0.95rem; max-width: none; }
/* Akış oku (sadece masaüstü) */
.surec-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -0.78rem;
  width: 1.56rem; height: 2px;
  background: var(--color-border);
  z-index: 1;
}
.surec-card:not(:last-child) .surec-arrow {
  position: absolute;
  top: 50%; right: -0.95rem;
  transform: translateY(-50%);
  color: var(--color-sky);
  z-index: 2;
  background: var(--color-bg);
}
.surec-arrow svg { width: 18px; height: 18px; }
.surec-cta { text-align: center; margin-top: clamp(2rem, 4vw, 2.75rem); }

/* ─── Mobil yatay kaydırıcı (Süreç / Galeri / Görüşler) ──────────────────────── */
.slider-dots { display: none; }

/* ─── Form notu ──────────────────────────────────────────────────────────────── */
.form-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

/* ─── Closing CTA band ───────────────────────────────────────────────────────── */
#cta-band { padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-inner {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(43,164,242,0.45), transparent 65%);
  pointer-events: none;
}
.cta-inner h2 { color: #fff; margin-bottom: 0.9rem; position: relative; }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 0 auto 1.9rem; max-width: 52ch; position: relative; }
.cta-inner .hero-actions { justify-content: center; position: relative; }

/* ─── Footer (compact) ───────────────────────────────────────────────────────── */
#footer { background: var(--color-deep); color: rgba(255,255,255,0.72); }
.footer-top {
  padding: clamp(2.25rem, 4vw, 3rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.35fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.footer-brand .wordmark b { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 0.98rem; color: #fff; }
.footer-brand .wordmark span { font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-sky); }
.footer-tagline { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.6); max-width: 34ch; }

.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.72); transition: color 0.2s ease; width: fit-content; }
.footer-links a:hover { color: var(--color-sky); }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.86rem; margin-bottom: 0.85rem; }
.footer-contact a { color: rgba(255,255,255,0.72); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--color-sky); }
.footer-contact .contact-item { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-contact .contact-item svg { width: 15px; height: 15px; color: var(--color-sky); flex-shrink: 0; margin-top: 3px; }

.footer-map { border-radius: var(--radius-md); overflow: hidden; height: 118px; background: rgba(255,255,255,0.05); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom > p { margin: 0; }

/* ─── Floating Buttons ───────────────────────────────────────────────────────── */
.floating-actions { position: fixed; bottom: 1.5rem; right: 1.25rem; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.float-btn {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-btn:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.3); }
.float-btn-whatsapp { background: #25d366; }
.float-btn-phone { background: var(--color-primary); }
.float-btn svg { width: 24px; height: 24px; color: #fff; }

/* WhatsApp nefes/pulse halkası */
.float-btn-whatsapp::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* En üste git butonu — daha küçük, diğerlerini darlamasın */
#scroll-top {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px rgba(7,34,74,0.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, box-shadow 0.25s ease;
}
#scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { box-shadow: 0 10px 26px rgba(7,34,74,0.26); transform: translateY(-2px); }
#scroll-top svg { width: 20px; height: 20px; color: var(--color-primary); }

/* ─── Contact page hero ──────────────────────────────────────────────────────── */
.contact-hero {
  background: var(--grad-primary);
  padding: 8.5rem 0 4rem;
  text-align: center;
  color: #fff;
}
.contact-hero h1 { color: #fff; }
.contact-hero .eyebrow { color: var(--color-sky); }
.contact-form-section { background: var(--color-surface); padding: clamp(3rem, 6vw, 5rem) 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hakkimizda-grid { grid-template-columns: 1fr; }
  .hakkimizda-image { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 0.75rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: auto; }
}

@media (max-width: 560px) {
  .nav-brand .wordmark span { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .footer-legal { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem 0.5rem; }
  .stat-num { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ─── Mobil yatay kaydırıcı (Süreç / Galeri / Görüşler) ──────────────────────── */
@media (max-width: 768px) {
  .mobile-slider {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    scrollbar-width: none;
    grid-template-columns: none;
    /* kenardan taşır — komşu kartlar kenarda görünür */
    margin-left: calc(-1 * clamp(1.1rem, 4vw, 2.5rem));
    margin-right: calc(-1 * clamp(1.1rem, 4vw, 2.5rem));
    padding: 0.25rem clamp(1.1rem, 4vw, 2.5rem);
  }
  .mobile-slider::-webkit-scrollbar { display: none; }
  .mobile-slider > * { flex: 0 0 82%; scroll-snap-align: center; }

  /* Süreç oklarını mobilde gizle */
  .surec-card::after, .surec-arrow { display: none; }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.35rem;
  }
  .slider-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-border);
    transition: width 0.25s ease, background 0.25s ease;
    cursor: pointer;
    padding: 0; border: none;
  }
  .slider-dots .dot.active { width: 22px; border-radius: 5px; background: var(--color-accent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── Yatay taşma önleme (iOS dahil) ────────────────────────────────────────── */
.section, .section--tight, .section--surface, .section--surface-2 {
  overflow-x: clip;
}

@media (max-width: 768px) {
  .mobile-slider {
    overscroll-behavior-x: contain;
  }
}

/* ─── KVKK onay kutusu ───────────────────────────────────────────────────────── */
.kvkk-check-wrap {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  background: rgba(13,99,216,0.04);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
.kvkk-check-wrap input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin: 3px 0 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.kvkk-check-wrap input[type="checkbox"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  box-shadow: none;
}
.kvkk-check-wrap label {
  font-weight: 400 !important;
  font-size: 0.82rem !important;
  color: var(--color-text-muted) !important;
  cursor: pointer;
  line-height: 1.55;
}
.kvkk-check-wrap label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Politika sayfaları içerik ──────────────────────────────────────────────── */
.policy-content { max-width: 780px; margin: 0 auto; }
.policy-content h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  margin: 2rem 0 0.6rem;
  color: var(--color-deep);
}
.policy-content p { margin-bottom: 1rem; }
.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-content ul li {
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
  color: var(--color-text-muted);
}
.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}
.policy-content table th,
.policy-content table td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.policy-content table th {
  background: var(--color-surface);
  font-weight: 700;
  color: var(--color-deep);
}
@media (max-width: 560px) {
  .policy-content table { font-size: 0.82rem; }
  .policy-content table th,
  .policy-content table td { padding: 0.5rem 0.65rem; }
}

/* ─── Footer yasal linkler ───────────────────────────────────────────────────── */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.85rem;
  margin: 0;
}
.footer-legal a {
  color: rgba(255,255,255,0.42);
  font-size: 0.75rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--color-sky); }
.footer-legal .sep {
  color: rgba(255,255,255,0.18);
  font-size: 0.75rem;
  line-height: 1;
}

/* ─── Çerez bildirimi ────────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(7,34,74,0.97);
  color: rgba(255,255,255,0.82);
  padding: 0.85rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9000;
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-text { flex: 1; min-width: 200px; font-size: 0.84rem; line-height: 1.5; }
.cookie-text a { color: var(--color-sky); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.cookie-btn:hover { background: var(--color-primary-deep); }
