/*
Theme Name: Kayıtol Okul Listesi
Theme URI: https://okulkayit.com.tr
Author: okulkayit.com.tr
Description: Türkiye MEB Okul Listesi - 55.000+ okul, il/ilçe arama ve filtreleme
Version: 1.0.0
License: GPL v2 or later
Text Domain: kayitol
*/

/* =============================================
   DESIGN TOKENS
============================================= */
:root {
  --primary:       #1a3a6e;
  --primary-light: #2251a3;
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --bg:            #f0f4fb;
  --surface:       #ffffff;
  --surface2:      #f8faff;
  --text:          #0f1c2e;
  --muted:         #556080;
  --border:        #dce6f5;
  --shadow-sm:     0 2px 8px rgba(15,28,46,.06);
  --shadow-md:     0 8px 32px rgba(15,28,46,.10);
  --shadow-lg:     0 20px 60px rgba(15,28,46,.14);
  --radius-sm:     10px;
  --radius-md:     18px;
  --radius-lg:     28px;
  --transition:    0.2s ease;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   LAYOUT
============================================= */
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* =============================================
   HEADER / NAV
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Leaflet harita z-index düzeltmesi — header'ın altında kalmalı */
#leaflet-map { isolation: isolate; }
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-map-pane svg,
.leaflet-map-pane canvas { z-index: auto !important; }
.leaflet-top,
.leaflet-bottom { z-index: 10 !important; }
.leaflet-popup { z-index: 50 !important; }


.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.site-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(26,58,110,0.06);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 9px 20px !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
}

/* =============================================
   HERO
============================================= */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d9b 50%, #2a66c9 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.2);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 28px rgba(245,158,11,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Hero Stats Card */
.hero-stats {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.hero-stats h3 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-bottom: none; }

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,158,11,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

/* =============================================
   SECTION BASE
============================================= */
.section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
}

/* =============================================
   OKUL TÜRÜ KARTLARI
============================================= */
.type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,58,110,0.15);
}

.type-card:hover::before {
  transform: scaleX(1);
}

.type-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.type-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.type-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* =============================================
   OKUL LİSTESİ (ARAMA + TABLO)
============================================= */
.list-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.search-toolbar {
  display: grid;
  grid-template-columns: 1fr 220px 220px 220px;
  gap: 12px;
  margin-bottom: 24px;
}

.search-input-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.search-field:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(33,81,163,0.12);
}

.filter-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23556080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.filter-select:focus {
  border-color: var(--primary-light);
}

/* Results Info */
.results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}

.results-count strong {
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.schools-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: var(--surface);
}

.schools-table thead {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d9b 100%);
  color: #fff;
}

.schools-table th {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
  white-space: nowrap;
}

.schools-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.schools-table tr:last-child td { border-bottom: none; }

.schools-table tbody tr {
  transition: background var(--transition);
}

.schools-table tbody tr:hover {
  background: var(--surface2);
}

.school-name-link {
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}

.school-name-link:hover {
  color: var(--primary-light);
}

.badge-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(26,58,110,0.08);
  color: var(--primary);
  white-space: nowrap;
}

.website-link {
  font-size: 12px;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.website-link:hover { text-decoration: underline; }

/* Empty & Loading States */
.table-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.table-empty .empty-icon { font-size: 48px; margin-bottom: 12px; }
.table-empty p { font-size: 16px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26,58,110,0.05);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* =============================================
   SINGLE OKUL (DETAY SAYFASI)
============================================= */
.school-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.school-header {
  background: linear-gradient(135deg, var(--primary), #1e4d9b);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.school-header::after {
  content: '🏫';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  opacity: 0.12;
}

.school-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.school-header .breadcrumb a { color: rgba(255,255,255,0.75); }
.school-header .breadcrumb span { margin: 0 6px; }

.school-header h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.school-meta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* Info Grid */
.school-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.info-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.info-row:last-child { margin-bottom: 0; }

.info-row .icon {
  width: 32px;
  height: 32px;
  background: rgba(26,58,110,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-row .label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.info-row .value {
  font-weight: 600;
  color: var(--text);
}

.info-row a.value {
  color: var(--primary-light);
}

.info-row a.value:hover { text-decoration: underline; }

/* Map */
.school-map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.school-map iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* =============================================
   FAQ (SSS)
============================================= */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background var(--transition);
}

.faq-item summary:hover { background: var(--surface2); }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: #0d1a2e;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

/* =============================================
   FOOTER (TAM)
============================================= */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-stats {
  display: flex;
  gap: 20px;
}

.footer-stat {
  text-align: center;
}

.footer-stat-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.footer-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  display: block;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--accent); }

.footer-meb-note {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-meb-note a {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-copy a { color: var(--accent); }

/* =============================================
   LOADING SPINNER
============================================= */
.spinner, .loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(26,58,110,0.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
  display: block;
}

.table-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   BACK TO TOP BUTTON
============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,58,110,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* =============================================
   MOBILE NAV
============================================= */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.open { max-height: 300px; }

.mobile-nav-link {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav-link:hover { color: var(--primary); }

.mobile-nav-cta {
  margin-top: 12px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 12px 16px !important;
  text-align: center;
  border: none;
}

/* =============================================
   LOGO STYLES
============================================= */
.logo-tld {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

/* =============================================
   HERO (GENİŞLETİLMİŞ)
============================================= */
.hero-bg-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-circle-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #f59e0b, transparent);
  top: -200px; right: -100px;
}

.hero-circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #fff, transparent);
  bottom: -100px; left: 10%;
}

.hero-circle-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #2a66c9, transparent);
  top: 30%; left: 40%;
}

.hero-search-form {
  position: relative;
  z-index: 1;
}

.hero-search-inner {
  display: flex;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.4);
}

.hero-search-field-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.hero-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.hero-search-input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 48px;
  border: none;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  outline: none;
}

.hero-select {
  height: 56px;
  padding: 0 36px 0 14px;
  border: none;
  border-left: 1px solid var(--border);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: #f8faff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23556080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  outline: none;
  cursor: pointer;
  min-width: 160px;
}

.hero-search-btn {
  height: 56px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
  white-space: nowrap;
}

.hero-search-btn:hover { background: var(--primary-light); }

.hero-search-suggestions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.suggestion-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.suggestion-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background var(--transition);
}

.suggestion-tag:hover { background: rgba(255,255,255,0.22); }

/* Hero Panel */
.hero-panel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item:last-of-type { border-bottom: none; }

.hero-stat-icon {
  width: 42px; height: 42px;
  background: rgba(245,158,11,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; }
.hero-stat-num   { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.hero-stat-sub   { font-size: 11px; color: rgba(255,255,255,0.4); }

.hero-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  margin-top: 20px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}

.hero-panel-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* =============================================
   OKUL TÜRLERİ (GENİŞLETİLMİŞ)
============================================= */
.type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.type-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-color, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--card-color, var(--primary));
  border-color: color-mix(in srgb, var(--card-color, var(--primary)) 30%, transparent);
}

.type-card:hover::before { transform: scaleX(1); }

.type-card-icon { font-size: 36px; margin-bottom: 14px; display: block; }

.type-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--card-color, var(--primary));
  margin-bottom: 8px;
}

.type-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.type-card-arrow {
  font-size: 18px;
  color: var(--card-color, var(--primary));
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
}

.type-card:hover .type-card-arrow { opacity: 1; transform: translateX(0); }

/* =============================================
   POPÜLER İLLER
============================================= */
.section.bg-surface2, .bg-surface2 { background: var(--surface2); }

.iller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.il-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.il-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: rgba(26,58,110,0.03);
}

.il-emoji { font-size: 28px; }
.il-ad { font-size: 13px; font-weight: 700; color: var(--text); }
.il-arrow { color: var(--muted); transition: transform var(--transition), color var(--transition); }
.il-card:hover .il-arrow { transform: translateX(3px); color: var(--primary); }
.il-card-all { border-style: dashed; border-color: var(--primary-light); color: var(--primary); }
.il-card-all .il-ad { color: var(--primary); }

/* =============================================
   NASIL ÇALIŞIR
============================================= */
.text-center { text-align: center; }
.text-center.section-header { text-align: center; }

.howto-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.howto-step {
  flex: 1;
  text-align: center;
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.howto-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howto-icon { font-size: 40px; margin-bottom: 12px; }

.howto-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.howto-step p { font-size: 13px; color: var(--muted); }

.howto-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-light), var(--border));
  flex-shrink: 0;
}

/* =============================================
   SON OKULLAR
============================================= */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.recent-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition);
}

.recent-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.recent-card-icon { font-size: 24px; flex-shrink: 0; }

.recent-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.recent-card-title:hover { color: var(--primary-light); text-decoration: underline; }

.recent-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.meta-tur {
  background: rgba(26,58,110,0.07);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.section-footer-cta { text-align: center; }

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}

.btn-primary-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   CTA BÖLÜMÜ
============================================= */
.section-cta { background: linear-gradient(135deg, var(--primary), #1e4d9b); }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.cta-content p { color: rgba(255,255,255,0.75); font-size: 16px; }

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  transition: all var(--transition);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* =============================================
   PAGE HERO (LİSTE SAYFASI)
============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d9b 100%);
  color: #fff;
  padding: 48px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--accent); }

.page-hero-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: #fff;
}

.page-hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}

/* =============================================
   ARAMA ARAÇ ÇUBUĞU (GENİŞLETİLMİŞ)
============================================= */
.search-toolbar {
  display: grid;
  grid-template-columns: 1fr 200px 200px 200px auto;
  gap: 10px;
  margin-bottom: 20px;
  align-items: end;
}

.search-input-wrap { position: relative; }

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  padding: 4px;
  transition: color var(--transition);
}

.search-clear-btn:hover { color: var(--text); }

.btn-reset-filters {
  height: 46px;
  padding: 0 16px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-reset-filters:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Aktif Filtreler */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 0;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(26,58,110,0.08);
  border: 1px solid rgba(26,58,110,0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.active-filter-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.active-filter-remove:hover { opacity: 1; }

/* View Toggle */
.results-view-toggle { display: flex; gap: 4px; }

.view-btn {
  width: 36px; height: 36px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}

.view-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.view-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* Grid View */
.hidden { display: none !important; }

.grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.school-grid-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.school-grid-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.school-grid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.school-grid-card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.school-grid-card-name:hover { color: var(--primary-light); }

.school-grid-card-meta { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

.school-grid-card-footer {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.sgc-btn {
  flex: 1;
  padding: 7px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  font-family: var(--font);
}

.sgc-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Sortable table headers */
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { background: rgba(255,255,255,0.08); }
.sort-icon { opacity: 0.5; font-size: 10px; }
.sortable.asc .sort-icon::after { content: '↑'; }
.sortable.desc .sort-icon::after { content: '↓'; }

/* =============================================
   OKUL DETAY SAYFASI (GENİŞLETİLMİŞ)
============================================= */
.school-page-hero {
  background: linear-gradient(135deg, var(--primary), #1e4d9b);
  color: #fff;
  padding: 48px 0;
}

.school-hero-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 8px;
}

.school-hero-icon {
  font-size: 56px;
  opacity: 0.9;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.school-hero-title {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}

.school-meta-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.meta-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  text-decoration: none;
}

.meta-tag:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ── Hero İstatistik Kartları ── */
.school-hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stat-card {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  transition: background 0.25s, transform 0.25s;
  animation: statFadeIn 0.5s ease both;
}

.hero-stat-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

.hero-stat-icon {
  opacity: 0.85;
  color: #fff;
  line-height: 1;
}

.hero-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes statFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-stat-card:nth-child(1) { animation-delay: 0.05s; }
.hero-stat-card:nth-child(2) { animation-delay: 0.12s; }
.hero-stat-card:nth-child(3) { animation-delay: 0.19s; }

/* Detail Grid */
.school-detail-wrap { background: var(--bg); }


.school-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.info-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.info-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.info-rows { display: flex; flex-direction: column; gap: 16px; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-row-icon {
  width: 40px; height: 40px;
  background: rgba(26,58,110,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-row-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.info-row-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.info-row-link {
  color: var(--primary-light);
  transition: color var(--transition);
}

.info-row-link:hover { color: var(--primary); text-decoration: underline; }

/* Aksiyon Butonları */
.school-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 1.5px solid transparent;
  font-family: var(--font);
}

.action-btn-call  { background: #16a34a; color: #fff; }
.action-btn-call:hover  { background: #15803d; transform: translateY(-1px); }

.action-btn-map   { background: #2563eb; color: #fff; }
.action-btn-map:hover   { background: #1d4ed8; transform: translateY(-1px); }

.action-btn-web   { background: var(--surface); border-color: var(--border); color: var(--text); }
.action-btn-web:hover   { border-color: var(--primary); color: var(--primary); }

.action-btn-share { background: var(--surface); border-color: var(--border); color: var(--text); }
.action-btn-share:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Map Card */
.school-map { border-radius: var(--radius-sm); overflow: hidden; }
.school-map iframe { width: 100%; height: 340px; border: none; display: block; }

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--primary-light);
  transition: color var(--transition);
}

.map-open-link:hover { color: var(--primary); text-decoration: underline; }

/* Sidebar */
.sidebar-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-list { list-style: none; padding: 0; }

.sidebar-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.sidebar-list-item:last-child { border-bottom: none; }

.sidebar-item-label { color: var(--muted); font-weight: 500; }

.sidebar-item-value { font-weight: 700; color: var(--text); text-align: right; }

.sidebar-item-link { color: var(--primary-light); transition: color var(--transition); }
.sidebar-item-link:hover { color: var(--primary); text-decoration: underline; }

.sidebar-item-email { font-size: 11px; word-break: break-all; }

.related-list { list-style: none; padding: 0; }

.related-item {
  border-bottom: 1px solid var(--border);
}

.related-item:last-child { border-bottom: none; }

.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.related-link:hover { color: var(--primary); }

.related-icon { font-size: 16px; flex-shrink: 0; }

.sidebar-more-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  transition: color var(--transition);
}

.sidebar-more-link:hover { color: var(--primary); }

.sidebar-back { margin-top: 8px; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-back:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel  { display: none; }
  .type-cards  { grid-template-columns: repeat(2, 1fr); }
  .school-detail-grid { grid-template-columns: 1fr; }
  .school-detail-sidebar { order: -1; }
  .howto-steps { flex-direction: column; }
  .howto-connector { width: 2px; height: 32px; }
  .recent-grid { grid-template-columns: 1fr; }
  .search-toolbar { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-search-inner { flex-direction: column; border-radius: var(--radius-sm); }
  .hero-select { border-left: none; border-top: 1px solid var(--border); min-width: auto; width: 100%; }
  .hero-search-btn { width: 100%; justify-content: center; border-radius: 0; }
}

@media (max-width: 640px) {
  .type-cards  { grid-template-columns: 1fr; }
  .iller-grid  { grid-template-columns: repeat(2, 1fr); }
  .search-toolbar { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: flex; }
  .main-nav  { display: none; }
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .list-section { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .school-hero-body { flex-direction: column; gap: 12px; }
  .school-hero-icon { font-size: 40px; }
  .school-actions { flex-direction: column; }
  .action-btn { justify-content: center; }
  .back-to-top { bottom: 16px; right: 16px; }
  .howto-num { display: none; }
}


.footer-brand .site-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   LOADING SPINNER
============================================= */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .type-cards { grid-template-columns: repeat(2, 1fr); }
  .search-toolbar { grid-template-columns: 1fr 1fr; }
  .school-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Okul detay grid: 2 sütundan 1 sütuna */
  .school-detail-grid { grid-template-columns: 1fr; }
  /* Hero stat kartları */
  .school-hero-stats { gap: 10px; }
  .hero-stat-card { padding: 14px 20px; min-width: 90px; }
  .hero-stat-number { font-size: 26px; }
}

@media (max-width: 640px) {
  .type-cards { grid-template-columns: 1fr; }
  .search-toolbar { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .list-section { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  /* Hero bölümü mobil düzeni */
  .school-hero-body { flex-direction: column; gap: 12px; }
  .school-hero-icon { font-size: 40px; }
  .school-hero-stats { margin-top: 18px; }
  .hero-stat-card { padding: 12px 16px; min-width: 80px; }
  .hero-stat-number { font-size: 22px; }
  .school-page-hero { padding: 32px 0; }
  /* Action butonları mobil */
  .school-actions { flex-wrap: wrap; }
  .action-btn { font-size: 12px; padding: 9px 14px; }
}


/* =============================================
   HARİTA — KATMAN SEÇİCİ & YOL TARİFİ
============================================= */
.info-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-layer-toggle { flex-shrink: 0; }

.map-layer-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}
.map-layer-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eef3fb;
}
.map-layer-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,58,110,.25);
}

/* Yol Tarifi Al butonu */
.btn-directions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #1a3a6e 0%, #2251a3 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(26,58,110,.30);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-directions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2251a3 0%, #1a3a6e 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-directions:hover { box-shadow: 0 8px 24px rgba(26,58,110,.40); transform: translateY(-2px); }
.btn-directions:hover::before { opacity: 1; }
.btn-directions svg,
.btn-directions span { position: relative; z-index: 1; }
.btn-directions-sub {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .btn-directions-sub { display: none; }
  .map-layer-btn { padding: 4px 9px; font-size: 11px; }
}

/* =============================================
   HOMEPAGE — MODERN REDESIGN
============================================= */

/* ── HERO ── */
.hp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #070b16 0%, #0f172a 45%, #080f24 100%);
  padding: 110px 0 100px;
  text-align: center;
  color: #fff;
}

.hp-hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.04), transparent 70%);
}

.hp-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.38;
  animation: orbFloat 12s ease-in-out infinite;
}
.hp-mesh-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(26,58,110,0.8), transparent 80%); top: -150px; left: -150px; animation-delay: 0s; }
.hp-mesh-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.7), transparent 80%); top: 30px; right: -120px; animation-delay: 3s; }
.hp-mesh-orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(13,148,136,0.6), transparent 80%); bottom: -100px; left: 35%; animation-delay: 6s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-40px) scale(1.08) rotate(180deg); }
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hp-badge-dot {
  width: 8px; height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
}

.hp-hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #fff;
}
.hp-hero-gradient {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  letter-spacing: 0.3px;
}

/* Search Box */
.hp-search-box { max-width: 780px; margin: 0 auto 44px; position: relative; }

.hp-search-inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 4px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hp-search-inner:focus-within {
  border-color: rgba(96,165,250,0.5);
  box-shadow: 0 15px 50px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.hp-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
  color: rgba(255,255,255,0.5);
}
.hp-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
  font-family: var(--font);
}
.hp-search-input::placeholder { color: rgba(255,255,255,0.4); }
.hp-search-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.hp-search-select {
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-family: var(--font);
  padding: 4px 16px;
  cursor: pointer;
  min-width: 140px;
}
.hp-search-select option { background: #0f172a; color: #fff; }
.hp-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}
.hp-search-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.5);
}

/* Suggestions Dropdown */
.hp-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 10000;
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
  padding: 8px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}

.hp-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.85);
  gap: 16px;
  cursor: pointer;
}
.hp-suggestion-item:last-child { border-bottom: none; }
.hp-suggestion-item:hover,
.hp-suggestion-item.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding-left: 24px;
}
.hp-suggestion-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.hp-suggestion-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-suggestion-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.hp-suggestion-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.hp-suggestion-empty {
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}
.hp-suggestion-loading {
  padding: 24px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hp-suggestion-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hp-spin 0.8s linear infinite;
}
@keyframes hp-spin { to { transform: rotate(360deg); } }

.hp-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.hp-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.hp-tag:hover {
  background: rgba(96,165,250,0.12);
  border-color: rgba(96,165,250,0.25);
  color: #93c5fd;
  transform: translateY(-1px);
}

/* Stats Row */
.hp-stats-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}
.hp-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px 30px;
  min-width: 150px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
.hp-stat-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.hp-stat-num {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.hp-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ── SECTIONS COMMON ── */
.hp-section { padding: 96px 0; }
.hp-section-head { margin-bottom: 56px; }
.hp-section-head.centered { text-align: center; }
.hp-section-pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,58,110,0.05), rgba(37,99,235,0.05));
  border: 1px solid rgba(37,99,235,0.12);
  color: #2563eb;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hp-section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.hp-section-head p { font-size: 18px; color: var(--muted); }

/* ── TYPE CARDS ── */
.hp-section-types {
  background: var(--bg);
  position: relative;
}
.hp-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hp-type-card {
  background: var(--card-grad, var(--primary));
  border-radius: 24px;
  padding: 32px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.hp-type-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hp-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.16);
  border-color: rgba(255,255,255,0.22);
}
.hp-type-card:hover::after { opacity: 1; }
.hp-type-icon { font-size: 40px; line-height: 1; margin-bottom: 4px; }
.hp-type-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.hp-type-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.hp-type-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 22px;
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-type-card:hover .hp-type-arrow { opacity: 1; transform: translateX(6px); }

/* ── CITIES ── */
.hp-section-cities { background: #fff; }
.hp-city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hp-city-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--text);
}
.hp-city-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 28px rgba(26,58,110,0.08);
  transform: translateY(-3px);
  color: var(--primary-light);
  background: rgba(34, 150, 241, 0.02);
}
.hp-city-emoji { font-size: 24px; line-height: 1; }
.hp-city-name { font-size: 14px; font-weight: 700; }
.hp-city-all {
  background: linear-gradient(135deg, #1a3a6e, #2563eb);
  border-color: transparent;
  color: #fff;
}
.hp-city-all:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(37,99,235,0.3);
}
.hp-city-all .hp-city-emoji { font-size: 22px; font-weight: 900; }

/* ── RECENT ── */
.hp-section-recent { background: var(--bg); }
.hp-recent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 40px; }
.hp-recent-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
.hp-recent-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  transform: translateY(-4px);
}
.hp-recent-icon { font-size: 34px; flex-shrink: 0; }
.hp-recent-body { flex: 1; min-width: 0; }
.hp-recent-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.hp-recent-card:hover .hp-recent-title { color: var(--primary-light); }
.hp-recent-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hp-recent-tur {
  background: rgba(37,99,235,0.07);
  color: #2563eb;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
}
.hp-recent-arrow { color: var(--muted); flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s; }
.hp-recent-card:hover .hp-recent-arrow { color: var(--primary-light); transform: translateX(6px); }

.hp-section-cta { text-align: center; }
.hp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,58,110,0.06);
}

/* ── HOW IT WORKS ── */
.hp-section-howto { background: #fff; }
.hp-steps {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.hp-step {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
.hp-step:hover {
  border-color: rgba(96,165,250,0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(37,99,235,0.08);
}
.hp-step-num {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.08);
  line-height: 1;
  user-select: none;
  transition: all 0.4s;
}
.hp-step:hover .hp-step-num {
  color: rgba(37, 99, 235, 0.16);
  transform: scale(1.1);
}
.hp-step-icon { font-size: 38px; margin-bottom: 14px; }
.hp-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.hp-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.hp-step-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), #93c5fd, var(--border));
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── FAQ ── */
.hp-section-faq { background: var(--bg); }
.hp-faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.hp-faq-left { position: sticky; top: 100px; }
.hp-faq-left h2 { font-size: clamp(28px,3.8vw,40px); font-weight: 900; letter-spacing: -1.5px; margin: 12px 0 14px; color: var(--text); }
.hp-faq-left p { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a3a6e, #2563eb);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.hp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.hp-faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.hp-faq-item[open] {
  border-color: rgba(96,165,250,0.5);
  box-shadow: 0 12px 24px rgba(37,99,235,0.06);
}
.hp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  user-select: none;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-chevron { flex-shrink: 0; transition: transform 0.25s; color: var(--muted); }
.hp-faq-item[open] .hp-faq-chevron { transform: rotate(180deg); color: #2563eb; }
.hp-faq-ans { padding: 0 24px 20px; border-top: 1px solid var(--border); background: var(--surface2); }
.hp-faq-ans p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 12px 0 0; }

/* ── CTA BANNER ── */
.hp-cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #070a14 0%, #0f172a 100%);
  padding: 96px 0;
  text-align: center;
  color: #fff;
}
.hp-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  animation: orbFloat 10s ease-in-out infinite alternate;
}
.hp-cta-orb-1 { width: 450px; height: 450px; background: #1d4ed8; left: -100px; top: -100px; }
.hp-cta-orb-2 { width: 350px; height: 350px; background: #0d9488; right: -80px; bottom: -80px; animation-delay: 2s; }
.hp-cta-inner { position: relative; z-index: 1; }
.hp-cta-text h2 { font-size: clamp(28px,4.5vw,46px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 14px; }
.hp-cta-text p { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.hp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hp-btn-lg { padding: 16px 36px; font-size: 15px; border-radius: var(--radius-sm); }
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.hp-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hp-type-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-city-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hp-faq-left { position: static; }
}

@media (max-width: 768px) {
  .hp-hero { padding: 80px 0 70px; }
  .hp-hero-title { letter-spacing: -1.5px; }
  .hp-search-inner { flex-direction: column; gap: 8px; border-radius: 20px; padding: 12px; }
  .hp-search-divider { display: none; }
  .hp-search-field { width: 100%; padding: 4px 8px; }
  .hp-search-select { width: 100%; padding: 10px 8px; }
  .hp-search-btn { width: 100%; justify-content: center; padding: 12px 20px; border-radius: 14px; }
  .hp-stats-row { gap: 12px; }
  .hp-stat-card { padding: 18px 22px; min-width: 130px; }
  .hp-stat-num { font-size: 28px; }
  .hp-recent-grid { grid-template-columns: 1fr; }
  .hp-steps { flex-direction: column; gap: 16px; }
  .hp-step-line { width: 2px; height: 32px; margin: 4px 0; }
  .hp-type-grid { grid-template-columns: 1fr; }
  .hp-city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hp-city-grid { grid-template-columns: 1fr 1fr; }
  .hp-stat-card { min-width: 100px; }
  .hp-step { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hp-city-grid { grid-template-columns: 1fr 1fr; }
  .hp-stat-card { min-width: 90px; }
  .hp-step { padding: 24px 16px; }
}

/* =============================================
   GOOGLE ADSENSE AD PLACEMENT STYLING
============================================= */
.meb-ad-wrapper-outer {
  clear: both;
  width: 100%;
}

.meb-ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px auto;
  padding: 12px;
  background: var(--surface2);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  max-width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 90px;
}

.meb-ad-container::before {
  content: "SPONSORLU BAĞLANTI";
  position: absolute;
  top: 4px;
  right: 12px;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  opacity: 0.7;
}

.meb-ad-placeholder-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Sidebar Specific Ads */
.meb-ad-sidebar-wrapper {
  margin-bottom: 24px;
}

.meb-ad-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.meb-ad-sidebar::before {
  content: "SPONSORLU";
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Listings In-Feed Table Row Ads */
.meb-ad-table-row {
  padding: 0 !important;
  background: var(--surface2) !important;
}

.meb-ad-table-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  margin: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  background: var(--surface);
  position: relative;
}

.meb-ad-table-placeholder::before {
  content: "SPONSORLU BAĞLANTI";
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 7px;
  color: var(--muted);
  opacity: 0.6;
}

/* Listings In-Feed Native Card Ads */
.meb-ad-card-native {
  border: 1px dashed var(--border) !important;
  background: var(--surface2) !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 200px;
  position: relative;
}

.meb-ad-card-native:hover {
  transform: none !important;
  box-shadow: none !important;
}

.meb-ad-native-placeholder {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.meb-ad-card-native::before {
  content: "SPONSORLU";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Konuma Göre Mesafe Hesaplama */
.btn-mesafe-link {
  background: none;
  border: none;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
  transition: color var(--transition);
}

.btn-mesafe-link:hover {
  color: var(--primary);
}

.btn-mesafe-link-small {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  background-color: var(--bg);
  color: var(--muted);
  transition: background-color var(--transition), color var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.btn-mesafe-link-small:hover {
  background-color: var(--border);
  color: var(--text);
}

.info-row-value .mesafe-subtext {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: normal;
}

/* Konumuma Yakın Butonu */
.btn-near-me {
  height: 46px;
  padding: 0 16px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-near-me:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: rgba(245, 158, 11, 0.05);
}

.btn-near-me:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mesafe Sütunu/Rozeti */
.list-mesafe {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 14px;
}

