/* Tema renkleri ayrı tutulur; mevcut sayfa düzenini ve fotoğrafları değiştirmez. */
:root { color-scheme: light; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header .site-nav { margin-left: auto; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px 12px; border: 1px solid #b8c4d1; border-radius: 7px; color: var(--navy); background: transparent; font-size: 12px; font-weight: 600; white-space: nowrap; }
.theme-toggle:hover { background: var(--pale); border-color: var(--blue); }
.theme-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.theme-sun { display: none; }
.header .nav-shell { gap: 20px; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --blue: #9bbdff;
  --blue-dark: #c3d7ff;
  --navy: #edf3fb;
  --text: #c6d2e2;
  --muted: #afbed0;
  --paper: #0e1725;
  --white: #152132;
  --line: #34465f;
  --pale: #1b2d46;
}
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] ::selection { background: #4369a3; color: #fff; }
[data-theme="dark"] .header { background: #111c2c; }
[data-theme="dark"] .topbar, [data-theme="dark"] .footer { background: #0a1220; }
[data-theme="dark"] .skip-link,
[data-theme="dark"] .section.white,
[data-theme="dark"] .service-menu ul,
[data-theme="dark"] .related-card,
[data-theme="dark"] .message-card { background: var(--white); }
[data-theme="dark"] .page-note { background: #182a40; border-color: var(--line); }
[data-theme="dark"] .location-card { background: #172b46; }
[data-theme="dark"] .button { background: #3263b5; border-color: #3263b5; color: #fff; }
[data-theme="dark"] .button:hover { background: #3c70c5; border-color: #3c70c5; color: #fff; }
[data-theme="dark"] .button.outline { background: transparent; color: var(--navy); border-color: #627793; }
[data-theme="dark"] .button.outline:hover { background: #1e2e44; }
[data-theme="dark"] .button.light { background: #e9f0fc; border-color: #e9f0fc; color: #15273c; }
[data-theme="dark"] .button.light:hover { background: #d3e2fb; border-color: #d3e2fb; }
[data-theme="dark"] .cta-inner { background: #234c91; }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea { background: #101b2a; border-color: #526681; color: var(--navy); }
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #a3b4ca; opacity: 1; }
[data-theme="dark"] .photo-visual,
[data-theme="dark"] .teacher-portrait { background: #1b2a3c; border-color: var(--line); }
[data-theme="dark"] .photo-placeholder { color: #c2cfdf; }
[data-theme="dark"] .photo-placeholder small { color: #afbed0; }
[data-theme="dark"] .filter-button { border-color: #526681; }
[data-theme="dark"] .filter-button:hover { background: #1b2d46; border-color: var(--blue); }
[data-theme="dark"] .filter-button[aria-pressed="true"] { background: #3263b5; border-color: #3263b5; color: #fff; }
[data-theme="dark"] .theme-toggle { border-color: #526681; }
/* Logo ve sonradan eklenecek fotoğraflara filtre uygulanmaz. */
@media (min-width: 961px) and (max-width: 1150px) {
  .theme-toggle [data-theme-label] { display: none; }
  .header .nav-shell { gap: 14px; }
  .header .nav-list { gap: 12px; }
}
@media (max-width: 960px) {
  .header .nav-shell { gap: 0; }
  .header-actions { margin-left: auto; }
  .header .site-nav { order: 3; width: 100%; margin-left: 0; }
}
@media (max-width: 380px) {
  .theme-toggle [data-theme-label] { display: none; }
  .header-actions { gap: 8px; }
}
