/* ============================================================
   ÖZEL ERGÜL SÜRÜCÜ KURSU — Modern Site Tasarımı
   Renkler tema değişkenleriyle yönetilir; varsayılan tema
   "Ergül Kırmızı"dır. Diğer paketler: assets/js/themes.js
   (yönetim panelinin Tema bölümünden seçilir).
   ============================================================ */

:root {
  --primary: #c8102e;
  --primary-dark: #9c0b23;
  --primary-deep: #500713;
  --accent: #e8253d;
  --accent-dark: #c11730;
  --accent-soft: #ffaab6; /* koyu zeminde vurgu yazısı */
  --soft: #f2cdd3;        /* koyu zeminde ikincil yazı */
  --ink: #23181a;
  --muted: #6b5a5d;
  --line: #f0dfe2;
  --bg: #ffffff;
  --bg-tint: #faf5f6;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(30, 18, 22, 0.12);
  --shadow-lg: 0 24px 70px rgba(30, 18, 22, 0.22);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: .95rem;
  padding: .8rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--primary-deep); color: var(--soft); font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar-left { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; gap: .4rem; align-items: center; }
a.topbar-item:hover { color: #fff; }
.topbar-right { display: flex; gap: 1.1rem; }
.topbar-right a { font-weight: 700; color: var(--accent-soft); }
.topbar-right a:hover { color: #fff; }

/* ---------- Menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(30,18,22,.10); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; line-height: 1; }
.brand-img { height: 46px; width: auto; max-width: 210px; object-fit: contain; display: none; }
.brand.has-logo .brand-img { display: block; }
.brand.has-logo .brand-stack { display: none; }
.brand-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.brand-name {
  display: inline-flex; align-items: flex-end; gap: .12rem;
  font-family: "Orbitron", var(--font);
  font-size: 1.45rem; font-weight: 800; color: var(--primary); letter-spacing: .06em;
}
.brand-road { width: 26px; height: 24px; flex-shrink: 0; margin-bottom: 1px; }
.brand-road .yol { stroke: currentColor; }
.brand-road .cizgi { stroke: #fff; }
.brand-sub {
  font-size: .55rem; font-weight: 700; letter-spacing: .48em;
  color: var(--primary); text-indent: .48em; /* harf aralığını ortala */
}

.nav-links { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .93rem; }
.nav-links > a:not(.nav-cta) { color: var(--ink); position: relative; padding: .3rem 0; }
.nav-links > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease; border-radius: 2px;
}
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* color-mix desteklemeyen eski tarayıcılar için düz geçiş */
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 45%, var(--primary) 100%);
  background:
    radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 45%, var(--primary) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-road { position: absolute; bottom: 0; left: 0; width: 100%; height: 46%; }
.road-dash { animation: roaddash 2.6s linear infinite; }
@keyframes roaddash { to { stroke-dashoffset: -96; } }

.hero-in {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3rem; align-items: center; padding: 5rem 0 6.5rem;
}
.hero-eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -1px; margin-bottom: 1.2rem;
}
.hero-sub { font-size: 1.1rem; color: var(--soft); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust { display: flex; gap: .8rem; flex-wrap: wrap; }
.trust-chip {
  font-size: .85rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: .45rem .95rem; border-radius: 999px;
}
.trust-chip b { font-weight: 700; }

.hero-visual { position: relative; }
.hero-card {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg); border: 5px solid rgba(255,255,255,.14);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-slogan {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(14,10,12,.92));
  padding: 2.4rem 1.4rem .9rem; font-family: var(--font-script);
  font-size: 1.7rem; color: #fff; text-align: center;
}
.hero-float {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700;
  padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--shadow);
  animation: floaty 4.5s ease-in-out infinite;
}
.hero-float-1 { top: -14px; left: -10px; }
.hero-float-2 { bottom: 26px; right: -8px; animation-delay: -2.2s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

.hero-stats { position: relative; background: rgba(10,7,8,.4); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 1.4rem .5rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: #fff; }
.stat b em { font-style: normal; color: var(--accent-soft); }
.stat span { font-size: .85rem; color: var(--soft); }

/* ---------- Duyuru ---------- */
.announce { background: var(--accent); background: linear-gradient(90deg, var(--accent-dark), var(--accent)); color: #fff; }
.announce-in { display: flex; align-items: center; gap: 1rem; padding: .65rem 0; flex-wrap: wrap; }
.announce-badge {
  background: rgba(255,255,255,.22); font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  padding: .25rem .7rem; border-radius: 999px; flex-shrink: 0;
}
.announce-in p { font-size: .92rem; font-weight: 600; flex: 1; min-width: 220px; }
.announce-call { font-weight: 800; font-size: .9rem; white-space: nowrap; border-bottom: 2px solid rgba(255,255,255,.5); }
.announce-call:hover { border-color: #fff; }

/* ---------- Bölüm iskeleti ---------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.2rem; }
.kicker {
  display: inline-block; color: var(--accent); font-weight: 800; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem;
}
.kicker-light { color: var(--accent-soft); }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-bottom: .8rem; }
.section-sub { color: var(--muted); font-size: 1.02rem; }
.section-dark { background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark)); color: #fff; }
.section-dark .section-sub { color: var(--soft); }

/* ---------- Hakkımızda ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.exp-badge {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--accent); color: #fff; text-align: center;
  padding: 1.1rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.exp-badge b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.exp-badge span { font-size: .8rem; font-weight: 600; }
.split-copy h2 { margin-bottom: 1.1rem; }
.split-copy > p { color: var(--muted); margin-bottom: 1rem; }

.check-list { margin-top: 1.4rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; font-size: .97rem; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 2px;
}

/* ---------- Eğitim kartları ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.course-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .22s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { opacity: 1; }
.course-icon {
  width: 62px; height: 62px; border-radius: 16px; font-size: 1.9rem;
  background: var(--bg-tint);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 9%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.course-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
.course-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.course-card ul { display: grid; gap: .45rem; margin-bottom: 1.4rem; }
.course-card ul li { font-size: .87rem; font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.course-card ul li::before { content: "•"; color: var(--accent); font-size: 1.3rem; line-height: 0; }
.course-card .btn { width: 100%; }

/* ---------- Hizmet kutuları ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  display: flex; gap: 1.1rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-tint); border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.feature:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: #fff; box-shadow: 0 4px 14px rgba(30,18,22,.1);
  display: flex; align-items: center; justify-content: center;
}
.feature:hover .feature-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.feature h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .3rem; }
.feature p { font-size: .88rem; color: var(--muted); }

/* ---------- Süreç ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 2.2rem 1.5rem 1.7rem; counter-increment: step;
  transition: background .2s ease, transform .2s ease;
}
.step:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -16px; left: 1.3rem;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .95rem;
  padding: .3rem .8rem; border-radius: 999px; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent);
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .45rem; }
.step p { font-size: .88rem; color: var(--soft); }
.step-arrow { display: none; }

/* ---------- Video ---------- */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--primary-deep);
  max-width: 880px; margin: 0 auto;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4/3; background: #ddd; border: 0; padding: 0; text-align: left; font-family: inherit;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem; color: #fff; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(transparent 30%, rgba(12,9,10,.9));
}
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay b { font-size: .98rem; }
.gallery-overlay span { font-size: .8rem; color: rgba(255,255,255,.8); }
.gallery-cta { text-align: center; margin-top: 2.2rem; }

/* ---------- Yorumlar ---------- */
.testi-wrap { max-width: 820px; margin: 0 auto; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s cubic-bezier(.5,0,.2,1); }
.testi {
  flex: 0 0 100%; padding: 2.4rem 2.6rem; text-align: center;
}
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2.2rem 2rem; box-shadow: var(--shadow); position: relative;
}
.testi-card::before {
  content: "❝"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  font-size: 3.4rem; color: var(--accent); line-height: 1;
}
.testi-stars { color: #ffb400; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: .9rem; }
.testi-text { font-size: 1.02rem; color: var(--ink); margin-bottom: 1.3rem; font-style: italic; }
.testi-name { font-weight: 800; }
.testi-tag { font-size: .82rem; color: var(--muted); }
.testi-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.testi-dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--line); transition: .25s;
}
.testi-dot.active { width: 26px; background: var(--accent); }

/* ---------- Belgeler + SSS ---------- */
.docs-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.docs-card {
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: var(--radius); padding: 2.4rem 2.2rem; box-shadow: var(--shadow-lg);
  position: sticky; top: 100px;
}
.docs-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.docs-sub { color: var(--soft); font-size: .92rem; margin-bottom: 1.4rem; }
.docs-card .check-list { margin: 0 0 1.8rem; }
.docs-card .check-list li::before { background: rgba(255,255,255,.16); color: var(--accent-soft); }
.faq-col h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.2rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .8rem; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: .98rem; font-weight: 700; color: var(--ink);
  padding: 1.05rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; }

/* ---------- İletişim + Form ---------- */
.section-contact {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  background:
    radial-gradient(800px 400px at 110% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%),
    linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  color: #fff;
}
.section-contact .split { align-items: start; }
.contact-info h2 { margin-bottom: .7rem; }
.contact-info > p { color: var(--soft); margin-bottom: 1.6rem; }
.contact-list { display: grid; gap: .9rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.contact-list a { font-weight: 700; border-bottom: 1px dashed rgba(255,255,255,.4); }
.contact-list a:hover { border-bottom-style: solid; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,.15); }
.map-frame iframe { width: 100%; height: 250px; border: 0; display: block; }

.form-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 2.3rem 2.1rem; box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.3rem; }
.form-card label { display: block; font-size: .84rem; font-weight: 700; margin: 1rem 0 .35rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .75rem .95rem; background: var(--bg-tint); outline: none;
  transition: border-color .2s, background .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--accent); background: #fff;
}
.form-card input.err { border-color: #e02424; background: #fdf3f3; }
.form-card button[type="submit"] { margin-top: 1.4rem; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .8rem; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep); color: var(--soft); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.5rem; padding: 3.8rem 0 2.8rem;
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: var(--soft); }
.brand-footer .brand-road .cizgi { stroke: var(--primary-deep); }
.footer-about { font-size: .9rem; margin: 1.1rem 0 .8rem; }
.footer-motto { font-weight: 800; color: var(--accent-soft); }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .55rem; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; flex-wrap: wrap; }

/* ---------- Yüzen butonlar ---------- */
.fab {
  position: fixed; right: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.3); transition: transform .2s ease;
}
.fab:hover { transform: scale(1.1); }
.fab-wa { bottom: 24px; background: var(--wa); }
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { to { transform: scale(1.55); opacity: 0; } }
.fab-tel { bottom: 92px; background: var(--accent); display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,9,10,.94);
  display: flex; align-items: center; justify-content: center; padding: 3rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(920px, 88vw); text-align: center; }
.lightbox img { max-height: 74vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: .95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); font-size: 2rem; }

/* ---------- Scroll animasyonları ---------- */
/* Gizleme yalnızca JS çalışıyorsa (html.js). Böylece main.js yüklenemezse
   veya JS kapalıysa içerik (metinler, telefonlar, form) görünür kalır. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .road-dash, .hero-float, .fab-wa::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Duyarlılık ---------- */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; padding: 3.6rem 0 5rem; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .course-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .docs-faq { grid-template-columns: 1fr; }
  .docs-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Menü, tek satıra sığmadan (marka + 6 bağlantı + CTA ~815px) hamburger'e
   düşsün — tablet dikey (768px) dahil. */
@media (max-width: 900px) {
  .topbar-hours, .topbar-right { display: none; }
  .nav-burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(30,18,22,.15);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links > a { padding: .9rem 5%; border-top: 1px solid var(--line); }
  .nav-links > a.nav-cta { margin: .8rem 5% 1rem; justify-content: center; }
  .nav-links > a:not(.nav-cta)::after { display: none; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testi { padding: 1.6rem .4rem; }
  .testi-card { padding: 2rem 1.4rem 1.6rem; }
  .fab-tel { display: flex; }
  .lightbox { padding: 1rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .exp-badge { right: 8px; bottom: -18px; }
  .section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .announce-call { display: none; }
}
