/* ============================================================
   uzmansitesi.com.tr — tasarım sistemi
   ============================================================ */

:root {
  /* yüzeyler */
  --bg: #F3F6F9;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --border: #DFE6ED;
  --border-strong: #C7D2DC;

  /* metin */
  --ink: #131C26;
  --ink-soft: #3E4C5A;
  --muted: #64748B;

  /* marka */
  --primary: #2457A6;
  --primary-dark: #163B7A;
  --primary-soft: #E7EFFB;
  --accent: #D9622B;
  --accent-dark: #B34E1F;
  --accent-soft: #FBE9DE;

  /* durum */
  --success: #1F8A5F;
  --success-soft: #E3F5EC;
  --danger: #D6403B;
  --danger-soft: #FBE7E6;
  --warning: #B9791A;
  --warning-soft: #FBF0DC;

  /* hero kategori vurguları */
  --hero-hukuk: #6EA8E8;
  --hero-hukuk-soft: #E9F2FD;
  --hero-egitim: #A78BFA;
  --hero-egitim-soft: #F2EDFE;
  --hero-spor: #F2617A;
  --hero-spor-soft: #FDEAEE;

  /* ölçüler */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(19, 28, 38, .06);
  --shadow-md: 0 12px 28px -12px rgba(19, 28, 38, .22), 0 2px 8px rgba(19, 28, 38, .06);
  --shadow-lg: 0 24px 48px -16px rgba(19, 28, 38, .28);

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif", serif;
  --font-body: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ---------- temel ---------- */
* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0 0 8px; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
a { color: var(--primary); }
.muted { color: var(--muted); }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- düzen ---------- */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.main {
  flex: 1;
  padding: 40px 0 88px;
}

.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(100deg, var(--primary-dark) 0%, var(--primary) 75%, #2E7D6B 100%);
  box-shadow: 0 2px 14px rgba(10, 30, 60, .18);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .15s ease;
}
.logo:hover { opacity: 0.85; }
.logo-icon {
  display: block;
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .28), var(--shadow-sm);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text strong { font-weight: 700; color: #fff; }
.logo-text-muted { color: rgba(255, 255, 255, .65); font-weight: 400; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-item-dropdown { position: relative; }
.nav-dropdown-caret { font-size: 10px; margin-left: 3px; opacity: .7; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 30;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover { background: var(--surface-2); color: var(--primary); }

.nav-account {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-link {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.nav-divider { width: 1px; height: 22px; background: rgba(255, 255, 255, .25); margin: 0 6px; }
.nav-logout-form { display: contents; }

.nav-user {
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
  padding: 0 4px;
}

.nav-logout {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-logout:hover { background: rgba(255, 90, 90, .2); color: #FFD4D2; }

/* ---------- süper admin header ---------- */
.superadmin-header {
  background: #101A2C;
  border-bottom: 1px solid #223252;
}

.superadmin-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.superadmin-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.superadmin-brand svg { width: 20px; height: 20px; stroke: var(--accent); }

.superadmin-header .nav-link { color: #A9B7CE; }
.superadmin-header .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.superadmin-header .nav-divider { background: #2C3C5C; }
.superadmin-header .nav-user { color: #7C8CA8; }
.superadmin-header .nav-logout { color: #A9B7CE; }
.superadmin-header .nav-logout:hover { background: rgba(214,64,59,.18); color: #FF8A85; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }

.btn-outline { background: var(--surface); color: var(--ink-soft); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--muted); }

.btn-danger-outline { background: var(--surface); color: var(--danger); border-color: var(--danger-soft); }
.btn-danger-outline:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn-success { background: var(--success); color: #fff; box-shadow: var(--shadow-sm); }
.btn-success:hover { filter: brightness(0.94); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- kart ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-flush { padding: 0; overflow: hidden; }
.card-tight { padding: 16px 20px; }

.card-accent-left { border-left: 3px solid var(--primary); }
.card-accent-left.is-warning { border-left-color: var(--warning); }
.card-accent-left.is-danger { border-left-color: var(--danger); }
.card-accent-left.is-success { border-left-color: var(--success); }

/* ---------- rozet / etiket ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-neutral { background: var(--surface-2); color: var(--muted); }
.badge-accent { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- uyarı / bilgi kutusu ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  border: 1px solid transparent;
  margin-bottom: 16px;
}
.alert-info { background: var(--primary-soft); color: var(--primary-dark); border-color: #CBDBF3; }
.alert-warning { background: var(--warning-soft); color: #7A5312; border-color: #F0DCAE; }
.alert-danger { background: var(--danger-soft); color: #9B2E2A; border-color: #F3C6C4; }

/* ---------- sekme / filtre pilleri ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.tab {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition: all .15s ease;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- kayıt/giriş formları: JS'siz sekme geçişi (radio-tetiklemeli) ---------- */
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.auth-tabs { justify-content: center; }
.tab-panel { display: none; }

#kayit-tab-danisan:checked ~ .kayit-panel-danisan { display: block; }
#kayit-tab-isletme:checked ~ .kayit-panel-isletme { display: block; }
#kayit-tab-danisan:checked ~ .auth-tabs .kayit-tab-label-danisan,
#kayit-tab-isletme:checked ~ .auth-tabs .kayit-tab-label-isletme {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

#giris-tab-danisan:checked ~ .giris-panel-danisan { display: block; }
#giris-tab-uzman:checked ~ .giris-panel-uzman { display: block; }
#giris-tab-danisan:checked ~ .auth-tabs .giris-tab-label-danisan,
#giris-tab-uzman:checked ~ .auth-tabs .giris-tab-label-uzman {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field-label svg { width: 14px; height: 14px; flex-shrink: 0; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.textarea { resize: vertical; font-family: inherit; }

.checkbox-line { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }

.field-errors { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.field-errors li { color: var(--danger); font-size: 13.5px; }

/* onay kutuları listesi (kategori seçimi vb.) */
.checkbox-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-2);
}
.checkbox-group-title { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.checkbox-group-items { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.checkbox-item { font-size: 13.5px; display: flex; gap: 6px; align-items: center; color: var(--ink-soft); }

/* ---------- tablo ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
table.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
table.table tr:last-child td { border-bottom: none; }
table.table tr:hover td { background: var(--surface-2); }

/* ---------- sayfalama ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pagination-info { font-size: 13px; color: var(--muted); }
.pagination-info strong { color: var(--ink-soft); }
.pagination-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13.5px;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
a.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.is-active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.page-link.is-disabled { color: var(--muted); background: var(--surface-2); border-color: var(--border); cursor: default; }
@media (max-width: 640px) {
  .pagination { flex-direction: column; align-items: flex-start; }
}

/* ---------- liste satırı (randevu/hizmet/şube kartları) ---------- */
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.list-row:last-child { border-bottom: none; }
.list-row-title { font-weight: 600; color: var(--ink); }
.list-row-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- istatistik kutucuğu ---------- */
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-tile-label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.stat-tile-value { font-family: var(--font-display); font-size: 32px; margin-top: 4px; color: var(--ink); }

/* ---------- iletişim sayfası: bilgi + form düzeni ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .category-chip-icon { flex-shrink: 0; }
.contact-info-title { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.contact-info-value { margin-top: 2px; font-size: 14.5px; }
.contact-info-value a { color: var(--ink); text-decoration: none; }
.contact-info-value a:hover { color: var(--primary); }

/* ---------- hero / anasayfa ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--primary-dark) 0%, var(--primary) 32%, #2E7D6B 62%, var(--accent) 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 68px max(24px, calc((100vw - 1040px) / 2 + 24px));
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
  margin-bottom: 44px;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(242, 97, 122, .38), transparent 70%);
}
.hero::after {
  width: 320px;
  height: 320px;
  left: -100px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(167, 139, 250, .3), transparent 70%);
}
.hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  row-gap: 6px;
}
.hero-eyebrow-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-eyebrow-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot-color, #fff);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}
.hero h1 { position: relative; color: #fff; font-size: 44px; font-weight: 400; max-width: 18ch; text-wrap: balance; }
.hero p { position: relative; color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 52ch; margin-top: 10px; }

.hero-search {
  position: relative;
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  margin-top: 28px;
  max-width: 520px;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.hero-search-btn { border-radius: 999px; }

.category-section { margin-top: 56px; }
.category-section::before {
  content: '';
  display: block;
  width: 100vw;
  height: 3px;
  background: var(--kategori-renk, var(--primary));
  margin: 0 calc(50% - 50vw) 28px;
}
.category-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 14px;
}
.category-section-title::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--kategori-renk, var(--primary));
  flex-shrink: 0;
}
.category-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease, background .15s ease;
}
.category-chip:hover { border-color: var(--kategori-renk, var(--primary)); box-shadow: var(--shadow-md); transform: translateY(-2px); background: var(--kategori-renk-soft, var(--primary-soft)); color: var(--kategori-renk, var(--primary-dark)); }

.category-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--kategori-renk-soft, var(--primary-soft));
  color: var(--kategori-renk, var(--primary));
}
.category-chip-icon svg { width: 18px; height: 18px; }
.category-chip:hover .category-chip-icon { background: var(--kategori-renk, var(--primary)); color: #fff; }

/* ---------- anasayfa: tek parça renk geçişli özellik şeridi ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-box {
  padding: 26px 22px;
  background: var(--kategori-renk-soft, var(--surface-2));
  transition: background .2s ease;
}
.feature-box .category-chip-icon {
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.feature-box h3 { color: var(--ink); }
@media (max-width: 900px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* ---------- panel: görsel yönetimi ---------- */
.gorsel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.gorsel-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.gorsel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gorsel-thumb-sil {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(19, 28, 38, .65);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.gorsel-thumb-sil:hover { background: var(--danger); }

/* ---------- uzman profili: şube + çalışma saatleri ---------- */
.sube-block { padding: 20px 0; }
.sube-block:first-child { padding-top: 0; }
.sube-block-border { border-bottom: 1px solid var(--border); }
.sube-block-title { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.sube-block-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.sube-block-meta svg { width: 14px; height: 14px; flex-shrink: 0; }

.schedule-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 8px;
}
.schedule-heading svg { width: 14px; height: 14px; color: var(--primary); }

table.schedule-table td { font-size: 13.5px; padding: 9px 16px; }
table.schedule-table td:first-child { font-weight: 600; color: var(--ink); width: 40%; }
.schedule-table .schedule-hours { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.schedule-table tr.is-today { background: var(--primary-soft); }
.schedule-table tr.is-today td:first-child { color: var(--primary-dark); }
.schedule-table tr.is-today:hover td { background: var(--primary-soft); }

/* ---------- uzman listeleme kartı ---------- */
.uzman-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.uzman-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.uzman-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.uzman-card-media {
  margin: -22px -22px 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.uzman-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uzman-card-title { font-family: var(--font-display); font-size: 18px; color: var(--ink); }

/* ---------- blog kartı ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.blog-card-media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.blog-card-title { font-family: var(--font-display); font-size: 18px; color: var(--ink); line-height: 1.3; }
.blog-card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- avatar yer tutucu (görsel yoksa) ---------- */
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 42px;
  color: #fff;
  background: linear-gradient(155deg, var(--primary-dark), var(--primary) 70%, #4C8AD1);
}
.gallery-slide-wrap .avatar-placeholder { font-size: 72px; }

/* ---------- statik sayfa banner görseli ---------- */
.page-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 20px 0 32px;
}
.page-banner img { display: block; width: 100%; height: auto; }

/* ---------- görsel galerisi / kaydırmalı slider (JS'siz) ---------- */
.gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide-wrap {
  position: relative;
  scroll-snap-align: start;
  scroll-margin-left: 0;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--surface-2);
}
.gallery-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-slide-wrap .avatar-placeholder { width: 100%; height: 100%; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(19, 28, 38, .38);
  color: #fff;
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow:hover { background: rgba(19, 28, 38, .6); }
.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }
.gallery-arrow-next svg { transform: rotate(180deg); }
.gallery-nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 6px 10px;
  background: rgba(19, 28, 38, .35);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.gallery-dot:hover, .gallery-dot:focus { background: #fff; transform: scale(1.2); }
.uzman-card-bio {
  font-size: 13.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uzman-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* ---------- uzman profil ---------- */
.profile-header { margin-bottom: 28px; }
.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.social-link svg { width: 17px; height: 17px; }
.social-link.is-whatsapp { background: #25D3661A; color: #1DA851; }
.social-link.is-whatsapp:hover { background: #25D366; color: #fff; }
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  z-index: 40;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(37, 211, 102, .55); }
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}
.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.rating-stars { color: var(--accent); letter-spacing: 1px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.star-input label { font-size: 30px; line-height: 1; color: var(--border-strong); cursor: pointer; transition: color .1s ease; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--accent); }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.hizmet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.hizmet-row:last-child { border-bottom: none; }
.hizmet-price { font-family: var(--font-display); font-size: 18px; color: var(--ink); }

/* ---------- randevu al: saat seçici ---------- */
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
  color: var(--ink-soft);
}
.slot:hover { border-color: var(--primary); color: var(--primary); }
.slot input { margin-right: 7px; accent-color: var(--primary); }

/* ---------- auth kartları ---------- */
.auth-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 44px 20px 40px;
  margin-top: 8px;
}
.auth-shell::before, .auth-shell::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.auth-shell::before {
  width: 360px; height: 360px; right: -120px; top: -140px;
  background: radial-gradient(circle, var(--primary-soft), transparent 70%);
}
.auth-shell::after {
  width: 300px; height: 300px; left: -110px; bottom: -140px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.auth-card { position: relative; z-index: 1; max-width: 440px; margin: 0 auto; }
.auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(155deg, var(--primary-dark), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}
.auth-icon svg { width: 26px; height: 26px; }
.auth-card h1 { text-align: center; }
.auth-card p.muted { text-align: center; }
.auth-links { font-size: 13.5px; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---------- sayfa üst etiketi (eyebrow) ---------- */
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.page-eyebrow svg { width: 15px; height: 15px; }

/* ---------- geri dön bağlantısı ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color .15s ease;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.back-link:hover svg { transform: translateX(-3px); }

/* ---------- SSS akordiyonu ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; max-width: 68ch; }

/* ---------- footer ---------- */
.site-footer {
  border-top: none;
  background: linear-gradient(155deg, #12294F 0%, var(--primary-dark) 55%, #163B54 100%);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0 32px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline { color: rgba(255, 255, 255, .62); font-size: 13.5px; max-width: 34ch; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .45); margin-bottom: 2px; }
.footer-col a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-address { color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.5; max-width: 26ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 18px 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: rgba(255, 255, 255, .55); text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- yardımcılar ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .site-header .container { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-primary, .nav-account { flex-wrap: wrap; margin-left: 0; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 27px; }
  .hero-search { flex-direction: column; border-radius: 20px; }
  .hero-search-btn { width: 100%; }
  .field-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
}
