/* =============================================
   ÖZEL ÖZ AHLAT SÜRÜCÜ KURSU – Ana Stil
   ============================================= */

/* ---------- Değişkenler & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1A1A1A;
  --primary-dark:  #000000;
  --primary-light: #3A3A3A;
  --secondary:     #D7261E;
  --secondary-dark:#B01D16;
  --secondary-light:#FF6B5E;
  --accent:        #C62828;
  --dark:          #161616;
  --gray:          #374151;
  --gray-mid:      #6B7280;
  --gray-light:    #D1D5DB;
  --bg:            #F8FAFC;
  --bg-alt:        #F3F1EE;
  --white:         #FFFFFF;
  --success:       #16A34A;
  --danger:        #DC2626;
  --warning:       #CA8A04;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);
  --radius:    8px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- Yardımcılar ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end;
  padding-bottom: 1.25rem; margin-bottom: 3rem;
  border-bottom: 1px solid var(--gray-light);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
}
.section-desc { color: var(--gray-mid); max-width: 460px; }
.process-section .section-header,
.exam-section .section-header { border-bottom-color: rgba(255,255,255,.12); }
.about-text .section-header { display: block; border: 0; padding: 0; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 6px;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary); color: var(--white);
}
.btn-primary:hover { background: var(--primary-light); }

.btn-secondary {
  background: var(--secondary); color: var(--white);
}
.btn-secondary:hover { background: var(--secondary-dark); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #15803d; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .7rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

.nav-menu {
  display: flex; align-items: center; gap: .25rem;
  flex: 1; justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,.8); font-weight: 600; font-size: .9rem;
  padding: .5rem .85rem; border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(215,38,30,.15);
}
.nav-link.active { color: var(--secondary-light); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone {
  display: flex; align-items: center; gap: .5rem;
  background: var(--secondary); color: var(--white);
  padding: .55rem 1.2rem; border-radius: 6px;
  font-weight: 700; font-size: .9rem;
  transition: var(--transition);
}
.nav-phone:hover { background: var(--secondary-dark); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(255,255,255,.1);
  transition: var(--transition);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 8rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%),
    url('../images/araba-sinav.png') center 40% / cover no-repeat;
  background-color: var(--dark);
}

.hero-content { position: relative; max-width: 620px; }

.hero-kicker {
  color: rgba(255,255,255,.75);
  font-size: .9rem; font-weight: 700;
  margin-bottom: 1rem;
  padding-left: .85rem;
  border-left: 3px solid var(--secondary);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800; color: var(--white);
  line-height: 1.02; margin-bottom: 1.25rem;
}

.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem; max-width: 500px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-actions .btn-secondary { font-size: 1.1rem; }


/* ============================================================
   HAKKIMIZDA
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
}
.about-real-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

/* Görsel yüklenemediğinde fallback arka plan */
.about-img-fallback {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-fallback::after {
  content: '🏫';
  font-size: 6rem;
  opacity: .4;
}

/* Logo fallback stilleri */
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--secondary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--white); line-height: 1.1; }
.nav-logo-sub  { font-size: .7rem; color: var(--secondary); font-weight: 600; letter-spacing: 1px; }

.footer-logo-icon { width: 44px; height: 44px; background: var(--secondary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.footer-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--white); }
.footer-brand-sub  { font-size: .7rem; color: var(--secondary-light); }
.about-badge-float {
  position: absolute; bottom: 1.5rem; right: -1.5rem;
  background: var(--secondary);
  padding: 1rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge-num  { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--white); }
.about-badge-text { font-size: .8rem; font-weight: 700; color: var(--white); }

.about-text p { color: var(--gray-mid); margin-bottom: 1.25rem; }

.about-features { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 2rem; }
.about-feature {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 600; color: var(--dark);
}
.about-feature i { color: var(--secondary); font-size: 1.1rem; }

/* ============================================================
   EHLİYET SINIFLARI
   ============================================================ */
.class-table-wrap { overflow-x: auto; }
.class-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--gray-light);
}
.class-table th {
  text-align: left; padding: .9rem 1.25rem;
  font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-mid); border-bottom: 2px solid var(--dark);
}
.class-table td {
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--gray-light);
  color: var(--dark); font-size: 1.05rem; vertical-align: middle;
}
.class-table tr:last-child td { border-bottom: 0; }
.class-table td:nth-child(3) { font-weight: 700; }
.class-table td:nth-child(4) { color: var(--gray-mid); }
.class-code {
  display: inline-block; min-width: 3.2rem; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: var(--white); background: var(--dark);
  padding: .35rem .6rem; border-radius: 4px;
}

/* ============================================================
   SÜREÇ ADIMLARI
   ============================================================ */
.process-section { background: var(--dark); }
.process-section .section-title { color: var(--white); }
.process-section .section-desc  { color: rgba(255,255,255,.55); }

.process-list {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem;
}
.process-list li { counter-increment: step; }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: .5rem;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--secondary-light);
}
.process-list h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: .3rem; }
.process-list p  { color: rgba(255,255,255,.6); font-size: .95rem; }

/* ============================================================
   NEDEN BİZ
   ============================================================ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.reason { padding: 1.5rem 0; border-top: 1px solid var(--gray-light); }
.reason h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--dark); margin-bottom: .35rem; }
.reason p  { color: var(--gray-mid); font-size: .95rem; }

/* ============================================================
   SINAV BÖLÜMÜ
   ============================================================ */
.exam-section { background: var(--dark); }
.exam-section .section-title { color: var(--white); }
.exam-section .section-desc  { color: rgba(255,255,255,.5); }

/* Sınav Ana Sayfası */
.exam-start {
  display: grid; grid-template-columns: 1.4fr auto auto; gap: 2.5rem; align-items: center;
  padding: 2rem 2.25rem; margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
}
.exam-start-title { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--white); margin-bottom: .25rem; }
.exam-start-desc  { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 420px; }
.exam-facts { display: flex; gap: 2rem; }
.exam-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.exam-facts dd { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--white); line-height: 1.1; }

/* Ehlio uygulama kutusu */
.app-promo {
  display: grid; grid-template-columns: 1fr 240px; gap: 3rem; align-items: center;
  padding: 2.5rem 2.25rem 0; overflow: hidden;
  background: #0f1e46; border-radius: var(--radius-lg);
}
.app-promo-text { padding-bottom: 2.5rem; }
.app-promo-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.app-promo-brand img { width: 48px; height: 48px; border-radius: 12px; }
.app-promo-brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.app-promo-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--white); line-height: 1.1; margin-bottom: 1rem; }
.app-promo-list { display: grid; gap: .4rem; margin-bottom: 1rem; }
.app-promo-list li { color: rgba(255,255,255,.8); padding-left: 1.2rem; position: relative; }
.app-promo-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--secondary-light); border-radius: 50%; }
.app-promo-note { color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 1.5rem; }
.app-promo-shot { width: 100%; height: auto; align-self: end; border-radius: 12px 12px 0 0; }

/* Quiz Arayüzü */
#exam-quiz { display: none; }

.quiz-header {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.05); border-radius: var(--radius-lg);
  padding: 1rem 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.quiz-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
#exam-category-tag {
  background: rgba(215,38,30,.2); color: var(--secondary-light);
  font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px;
}
#exam-question-num { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; }

#timer-row { display: flex; align-items: center; gap: .5rem; }
.exam-timer {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--white); background: rgba(255,255,255,.08);
  padding: .35rem 1rem; border-radius: 10px;
  min-width: 90px; text-align: center;
  transition: color .3s, background .3s;
}
.exam-timer.warning { color: var(--warning); background: rgba(202,138,4,.15); }
.exam-timer.danger  { color: var(--danger);  background: rgba(220,38,38,.2); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

.progress-wrap {
  height: 6px; background: rgba(255,255,255,.1);
  border-radius: 3px; overflow: hidden; margin-bottom: 2rem;
}
#exam-progress-bar {
  height: 100%; background: var(--secondary);
  border-radius: 3px; transition: width .4s ease;
}

.quiz-body {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem; margin-bottom: 1.5rem;
}
.exam-question-img {
  display: block; max-width: 220px; max-height: 260px; width: auto; height: auto;
  margin: 0 0 1.5rem; padding: .75rem; background: var(--white); border-radius: var(--radius);
}
.exam-question-img.is-scene {
  max-width: 640px; max-height: none; width: 100%; padding: 0; background: none;
}
.exam-question-video {
  display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9;
  margin: 0 0 1.5rem; background: #000; border-radius: var(--radius);
}
#exam-question-text {
  font-family: var(--font-body); font-size: 1.25rem; font-weight: 600;
  color: var(--white); line-height: 1.5; margin-bottom: 2rem;
}
#exam-options { display: flex; flex-direction: column; gap: .75rem; }

.exam-option {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85); width: 100%;
  padding: .9rem 1.25rem; border-radius: var(--radius);
  font-size: 1rem; text-align: left;
  transition: var(--transition);
}
.exam-option:hover:not(:disabled) { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: var(--white); }
.exam-option.selected { background: rgba(215,38,30,.22); border-color: var(--secondary-light); color: var(--white); }
.exam-option.correct  { background: rgba(22,163,74,.25); border-color: #16a34a; color: #4ade80; }
.exam-option.wrong    { background: rgba(220,38,38,.25);  border-color: #dc2626; color: #f87171; }

.opt-letter {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.exam-option.correct .opt-letter { background: #16a34a; color: #fff; }
.exam-option.wrong   .opt-letter { background: #dc2626; color: #fff; }
.exam-option.selected .opt-letter { background: var(--secondary); color: #fff; }

#exam-explanation {
  display: none;
  background: rgba(215,38,30,.1); border: 1px solid rgba(215,38,30,.3);
  color: rgba(255,255,255,.8); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-top: 1.25rem; font-size: .92rem;
}

.quiz-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
#btn-prev, #btn-next {
  padding: .75rem 1.75rem; border-radius: 6px;
  font-weight: 700; font-size: .95rem;
  transition: var(--transition);
}
#btn-prev { background: rgba(255,255,255,.1); color: var(--white); }
#btn-prev:hover:not(:disabled) { background: rgba(255,255,255,.2); }
#btn-prev:disabled { opacity: .4; cursor: not-allowed; }
#btn-next { background: var(--secondary); color: var(--white); }
#btn-next:hover { background: var(--secondary-dark); }
#btn-next.finish-btn { background: var(--success); color: var(--white); }
#btn-cancel-exam {
  color: rgba(255,255,255,.4); font-size: .85rem;
  transition: var(--transition);
}
#btn-cancel-exam:hover { color: var(--danger); }

/* Sonuç Sayfası */
#exam-results { display: none; }

.results-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 3rem 2rem;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.score-circle-wrap { display: flex; justify-content: center; margin-bottom: 2rem; }
#score-circle {
  --pct: 0; --color: #22c55e;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #202020 82%, transparent 83%), conic-gradient(var(--color) calc(var(--pct) * 1%), rgba(255,255,255,.1) 0%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.04);
}
#result-score { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--white); }
#result-pct   { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.5); }

.result-badge {
  display: inline-block; padding: .5rem 2rem; border-radius: 50px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  margin-bottom: 1.5rem;
}
.result-badge.pass { background: rgba(22,163,74,.2); color: #4ade80; border: 1px solid #16a34a; }
.result-badge.fail { background: rgba(220,38,38,.2);  color: #f87171; border: 1px solid #dc2626; }

.result-meta {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2rem; color: rgba(255,255,255,.5); font-size: .9rem;
}
.result-meta span { display: flex; align-items: center; gap: .4rem; }

.result-categories-title {
  font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,.7);
  margin-bottom: 1rem; text-align: left;
}
.result-cat-item {
  display: grid; grid-template-columns: 1fr 2fr auto;
  align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.result-cat-name  { color: rgba(255,255,255,.7); font-size: .88rem; text-align: left; }
.result-cat-bar-wrap { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.result-cat-bar   { height: 100%; border-radius: 4px; transition: width .8s ease; }
.result-cat-score { color: rgba(255,255,255,.5); font-size: .8rem; white-space: nowrap; }

.results-app { color: rgba(255,255,255,.65); font-size: .95rem; margin-top: 2rem; }
.results-app a { color: var(--secondary-light); font-weight: 700; text-decoration: underline; }
.results-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
#btn-retry     { background: var(--secondary); color: var(--white); padding: .85rem 2rem; border-radius: 6px; font-weight: 700; transition: var(--transition); }
#btn-retry:hover { background: var(--secondary-dark); }
#btn-back-menu { background: rgba(255,255,255,.1); color: var(--white); padding: .85rem 2rem; border-radius: 6px; font-weight: 700; transition: var(--transition); }
#btn-back-menu:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   GALERİ
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item:nth-child(4) { grid-column: span 2; aspect-ratio: 16/9; }

.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease, filter .35s ease;
}
.gallery-item:hover .gallery-img { filter: brightness(1.08); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: var(--white); padding: 2.5rem 1rem .85rem;
  font-weight: 600; font-size: .9rem; opacity: 0;
  transition: opacity .35s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
#lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
#lightbox-overlay.active { display: flex; }
#lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.3rem;
  transition: var(--transition);
}
#lightbox-close:hover { background: var(--danger); }
#lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); }
#lightbox-caption { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ============================================================
   YORUMLAR
   ============================================================ */
.reviews-link { display: inline-block; margin-top: .4rem; padding: .3rem 0; font-weight: 700; color: var(--secondary); }
.reviews-link:hover { color: var(--secondary-dark); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.review {
  display: flex; flex-direction: column; margin: 0;
  padding: 1.5rem; background: var(--white);
  border: 1px solid var(--gray-light); border-top: 3px solid var(--secondary);
  border-radius: var(--radius);
}
.review-stars { color: var(--secondary); letter-spacing: 2px; margin-bottom: .75rem; }
.review blockquote { margin: 0 0 1.25rem; color: var(--dark); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption strong { color: var(--dark); }
.review figcaption span { color: var(--gray-mid); font-size: .82rem; }

/* ============================================================
   SSS
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-light); overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; width: 100%;
  font-weight: 700; color: var(--dark); text-align: left;
  gap: 1rem; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { font-size: 1.2rem; color: var(--gray-mid); flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--gray-mid); line-height: 1.7; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.contact-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(26,26,26,.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
}
.contact-label { font-size: .8rem; font-weight: 700; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .3rem; }
.contact-value { font-weight: 700; color: var(--dark); font-size: 1rem; }
.contact-value a { color: var(--primary); transition: var(--transition); }
.contact-value a:hover { color: var(--secondary); }

.social-links { display: flex; gap: .75rem; margin-top: .5rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(26,26,26,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); }

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-top: 1.5rem;
  border: 1px solid var(--gray-light);
}
.map-wrap iframe { display: block; }
.map-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .75rem; padding: .5rem 0;
  font-weight: 700; color: var(--secondary);
}
.map-link:hover { color: var(--secondary-dark); }

/* Form */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--gray-light);
}
.form-title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--dark); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; color: var(--dark); margin-bottom: .5rem; font-size: .9rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; color: var(--dark);
  background: var(--bg);
  transition: border-color .3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-intro { color: var(--gray-mid); font-size: .95rem; margin: -1rem 0 1.5rem; }
#form-error {
  display: none;
  background: rgba(220,38,38,.08); border: 1px solid var(--danger);
  color: #b91c1c; border-radius: var(--radius);
  padding: .85rem 1.1rem; margin-bottom: 1rem; font-weight: 600;
}
.form-input.invalid { border-color: var(--danger); }
.form-kvkk { color: var(--gray-mid); font-size: .85rem; margin-top: 1rem; line-height: 1.6; }
.form-kvkk a { color: var(--dark); font-weight: 700; text-decoration: underline; }
@keyframes slideIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo-wrap { margin-bottom: 1rem; }
.footer-logo-img {
  height: 64px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.footer-about { font-size: .9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--white); }

.footer-col h4 {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  margin-bottom: 1.25rem; font-size: .95rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.55); font-size: .9rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a:hover { color: var(--secondary-light); }
.footer-links a::before { content: '›'; }

.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item {
  display: flex; gap: .6rem; font-size: .88rem; align-items: flex-start;
}
.footer-contact-item i { color: var(--secondary-light); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--secondary-light); }

/* ============================================================
   YARDIMCI ELEMENTLER
   ============================================================ */
/* WhatsApp butonu */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.whatsapp-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: var(--white);
  padding: .4rem .85rem; border-radius: 6px;
  font-size: .82rem; white-space: nowrap; font-weight: 600;
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* Yukarı git */
#back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--primary-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .reviews { grid-template-columns: 1fr 1fr; }
  .exam-start { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-promo { grid-template-columns: 1fr 200px; gap: 2rem; }
  .process-list, .reasons { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge-float { right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .app-promo { grid-template-columns: 1fr; padding: 2rem 1.5rem 0; }
  .app-promo-shot { max-width: 220px; margin: 0 auto; }
  .section-header { grid-template-columns: 1fr; }
  .hero {
    background:
      linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.25) 100%),
      url('../images/araba-sinav.png') center 35% / cover no-repeat;
    padding: 7rem 0 3.5rem;
  }
  .section { padding: 60px 0; }
  .nav-menu    { display: none; flex-direction: column; gap: .5rem; }
  .nav-menu.open {
    display: flex;
    position: fixed; inset: 0; top: 0;
    background: var(--dark);
    padding: 5rem 2rem 2rem;
    z-index: 999;
    overflow-y: auto;
    animation: menuOpen .3s ease;
  }
  @keyframes menuOpen { from { transform: translateX(100%); } to { transform: none; } }
  .nav-menu.open { justify-content: flex-start; align-items: stretch; gap: 0; }
  .nav-menu.open .nav-link {
    display: block; padding: 1rem .25rem; border-radius: 0;
    font-family: var(--font-head); font-size: 1.9rem; font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.open .nav-link.active, .nav-menu.open .nav-link:hover { background: none; }
  .nav-phone { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .hamburger { width: 44px; height: 44px; }
  .footer-links { gap: 0; }
  .footer-links a { padding: .55rem 0; }
  .contact-value a { display: inline-block; padding: .5rem 0; }
  .footer-bottom-links a { display: inline-block; padding: .5rem 0; }
  .hamburger { display: flex; z-index: 1001; }
  .nav-phone .phone-text { display: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .result-cat-item { grid-template-columns: 1fr; gap: .3rem; }
  .result-cat-bar-wrap { display: none; }
  .quiz-header { flex-direction: column; }
}

@media (max-width: 480px) {
  .reviews { grid-template-columns: 1fr; }
  .process-list, .reasons { grid-template-columns: 1fr; }
  .class-table th:nth-child(4), .class-table td:nth-child(4) { display: none; }
  .class-table td { padding: .9rem .75rem; font-size: .95rem; }
  .hero-title { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .results-actions { flex-direction: column; }
}

/* ============================================================
   KVKK / YASAL SAYFA
   ============================================================ */
.legal-header { background: var(--dark); padding: 1rem 0; }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-logo { height: 48px; width: auto; }
.legal-back { color: rgba(255,255,255,.8); font-weight: 600; padding: .6rem 0; }
.legal-back:hover { color: var(--white); }
.legal { max-width: 760px; padding-top: 3rem; padding-bottom: 4rem; }
.legal h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; color: var(--dark); margin-bottom: .5rem; }
.legal-updated { color: var(--gray-mid); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--dark); margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--gray); margin-bottom: .75rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: .75rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--secondary); font-weight: 600; }
.legal-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 1.5rem 0; font-size: .9rem; }
