:root {
  --primary:    #2C5F8A;
  --accent:     #4A9E8F;
  --bg:         #F8F9FA;
  --card:       #FFFFFF;
  --text:       #2D3748;
  --text-muted: #718096;
  --border:     #E2E8F0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}
/* Yandex Metrica enjekte ettiği gizli div'ler layout'u bozmasın */
.__ymDebugger, .__ymContent, .__ymHidden { display: none !important; }

/* Navbar */
.navbar {
  background-color: var(--primary) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  letter-spacing: 0.5px;
}
.navbar-brand-eyalet {
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-left: 0.3rem;
  vertical-align: middle;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
}

/* Cards */
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  background: var(--card);
}
.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--primary);
}

/* Butonlar */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: #24507a;
  border-color: #24507a;
}
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background-color: #3d8a7c;
  color: #fff;
}

/* Dashboard widget */
.widget-card {
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  background: var(--card);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.widget-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.widget-card .widget-icon {
  font-size: 1.8rem;
  color: var(--accent);
}
.widget-card .widget-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.widget-card .widget-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

/* Kategori badge */
.badge-rehber {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 6px;
  padding: 3px 8px;
}
.badge-duyuru {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 6px;
  padding: 3px 8px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  padding: 1.5rem 0;
  margin-top: 3rem;
}
footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* Anasayfa derinlik panelleri */
.anasayfa-hero-panel {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  position: relative;
  z-index: 1;
}
.anasayfa-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem;
}
.anasayfa-feed-col {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #f3f4f6;
}
/* Tas kartlar */
.tas-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
  transition: box-shadow 0.18s, transform 0.18s !important;
}
.tas-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3d5c 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  border-radius: 0 0 16px 16px;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
}
.hero p {
  opacity: 0.85;
  font-size: 1.05rem;
}

/* Şehir arama */
.sehir-ara-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 160px;
  border-radius: 20px;
  padding-left: 12px;
  transition: width 0.2s, background 0.2s;
}
.sehir-ara-input::placeholder { color: rgba(255,255,255,0.55); }
.sehir-ara-input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  width: 200px;
  outline: none;
  box-shadow: none;
}
.sehir-ara-sonuclar {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 220px;
  z-index: 1050;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Rehber mega-dropdown */
.rehber-mega {
  min-width: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  border: 1px solid var(--border);
}
.rehber-mega-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
}
.rehber-mega-item:hover {
  background: var(--bg);
  color: var(--primary);
}
.rehber-mega-item i {
  font-size: 1.05rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* Rehber kategori ikonları */
.rehber-kategori {
  text-align: center;
  padding: 1.25rem;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.rehber-kategori:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(74,158,143,0.15);
  color: var(--primary);
  transform: translateY(-2px);
}
.rehber-kategori .icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Alert mesajları */
.alert {
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
}

/* Genel yardımcı */
.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent)  !important; }
.bg-primary   { background-color: var(--primary) !important; }
