/* ==========================================================================
   Yenikent Ahmet Çiçek MTAL - Modern & Minimalist Tasarım Sistemi
   Neocities Uyumlu, Saf CSS3, Duyarlı (Responsive), Koyu/Açık Tema Desteği
   ========================================================================== */

:root {
  /* Renk Paleti (Açık Tema) */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  
  --border-light: #e2e8f0;
  --border-focus: #94a3b8;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;
  
  --brand-red: #c01827;
  --brand-red-hover: #a11420;
  --brand-red-subtle: #fff1f2;
  --brand-red-border: #fecdd3;
  
  --brand-navy: #0f2744;
  --brand-blue: #2563eb;
  --brand-blue-subtle: #eff6ff;
  --brand-emerald: #059669;
  --brand-emerald-subtle: #ecfdf5;
  --brand-amber: #d97706;
  --brand-amber-subtle: #fffbeb;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --bg-subtle: #1a2234;
  --bg-hover: #26334d;

  --border-light: #1f293d;
  --border-focus: #384869;

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #090d16;

  --brand-red: #f43f5e;
  --brand-red-hover: #e11d48;
  --brand-red-subtle: rgba(244, 63, 94, 0.12);
  --brand-red-border: rgba(244, 63, 94, 0.25);

  --brand-blue: #3b82f6;
  --brand-blue-subtle: rgba(59, 130, 246, 0.12);
  --brand-emerald: #10b981;
  --brand-emerald-subtle: rgba(16, 185, 129, 0.12);
  --brand-amber: #f59e0b;
  --brand-amber-subtle: rgba(245, 158, 11, 0.12);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.35);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* Reset & Temel Ayarlar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   ÜST BİLGİ VE PROTOKOL ÇUBUĞU (TOPBAR)
   ========================================================================== */
.top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn, .top-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover, .top-icon-link:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

/* ==========================================================================
   ANA BAŞLIK (HEADER & LOGO)
   ========================================================================== */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.meb-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .meb-logo-img {
  transform: scale(1.04);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-sup {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ataturk-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ataturk-badge img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--brand-red);
}

.quick-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.quick-search-trigger:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
  color: var(--text-main);
}

.kbd-shortcut {
  font-size: 0.7rem;
  padding: 0.15rem 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   NAVİGASYON (MENÜLER VE MEGA-MENU)
   ========================================================================== */
.site-nav {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: var(--brand-red);
  background: var(--brand-red-subtle);
}

.nav-link svg.chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Açılır Menüler (Dropdowns) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  position: relative;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-subtle);
  color: var(--brand-red);
}

/* İkinci Seviye Açılır Menü (Sub-dropdown) */
.sub-menu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 250px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.dropdown-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==========================================================================
   HERO & MANŞET BÖLÜMÜ (SLIDER + HIZLI İŞLEMLER)
   ========================================================================== */
.hero-section {
  padding: 2rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Slider Kartı */
.slider-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 380px;
  background: #000;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(1.02);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 45%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

.slide-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--brand-red);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.slide-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Slider Kontrolleri */
.slider-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-nav-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-prev { left: 1rem; }
.slider-nav-next { right: 1rem; }

/* Slider İndikatörleri */
.slider-footer {
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
}

.slider-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 28px;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: var(--brand-red);
  width: 44px;
}

.slider-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Sağ Sütun: Hızlı Bağlantılar / E-İşlemler */
.quick-links-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.card-header-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-light);
}

.card-header-clean h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.card-header-clean h3 svg {
  color: var(--brand-red);
}

.featured-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, #991b1b 100%);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 10px rgba(192, 24, 39, 0.25);
  transition: var(--transition);
}

.featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(192, 24, 39, 0.35);
  color: #fff;
}

.featured-cta-icon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  max-height: 290px;
  padding-right: 0.25rem;
}

.links-list::-webkit-scrollbar {
  width: 4px;
}

.links-list::-webkit-scrollbar-thumb {
  background: var(--border-focus);
  border-radius: 4px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid transparent;
  transition: var(--transition);
}

.link-row:hover {
  background: var(--bg-hover);
  border-color: var(--border-light);
  color: var(--brand-red);
  transform: translateX(3px);
}

.link-row-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-row-left svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.link-row:hover .link-row-left svg {
  color: var(--brand-red);
}

/* ==========================================================================
   BANNER ÇAĞRI ALANI (MESLEĞİM HAYATIM)
   ========================================================================== */
.career-banner-wrap {
  margin-bottom: 2rem;
}

.career-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.career-banner-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.career-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.career-banner-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.career-banner-text p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.career-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.career-banner-btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   ÜÇLÜ İÇERİK BÖLÜMÜ (HABERLER, DUYURULAR, İŞLEMLER)
   ========================================================================== */
.content-grid-section {
  margin-bottom: 2.5rem;
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.content-card-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.content-card-header.red-accent {
  background: linear-gradient(90deg, var(--brand-red-subtle) 0%, transparent 100%);
  border-left: 4px solid var(--brand-red);
}

.content-card-header.amber-accent {
  background: linear-gradient(90deg, var(--brand-amber-subtle) 0%, transparent 100%);
  border-left: 4px solid var(--brand-amber);
}

.content-card-header.emerald-accent {
  background: linear-gradient(90deg, var(--brand-emerald-subtle) 0%, transparent 100%);
  border-left: 4px solid var(--brand-emerald);
}

.content-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-card-header h3 svg {
  width: 18px;
  height: 18px;
}

.content-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Haber & Duyuru Listesi */
.news-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-light);
  gap: 0.25rem;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  transition: var(--transition);
}

.news-item:hover .news-item-title {
  color: var(--brand-red);
}

.news-item-meta {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* İşlemler Listesi */
.action-tiles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.action-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
}

.action-tile:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.tile-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.tile-icon.mebbis { background: #0284c7; }
.tile-icon.eokul { background: #2563eb; }
.tile-icon.vbs { background: #7c3aed; }
.tile-icon.okullar { background: #059669; }
.tile-icon.eposta { background: #ea580c; }

.action-tile-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-view-all {
  margin-top: auto;
  padding: 0.75rem 1.25rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-red);
}

.card-view-all:hover {
  background: var(--bg-hover);
}

/* ==========================================================================
   OKUL BİLGİ BÖLÜMÜ (İSTATİSTİKLER, İLETİŞİM, GALERİ)
   ========================================================================== */
.school-info-section {
  margin-bottom: 2.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* İstatistikler Kartı */
.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-red);
}

.stat-location-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.stat-location-badge img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stat-location-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.stat-location-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* İletişim Kartı */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.contact-row svg {
  width: 16px;
  height: 16px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-row-content strong {
  display: block;
  color: var(--text-main);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: var(--brand-red-subtle);
  border: 1px solid var(--brand-red-border);
  color: var(--brand-red);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: var(--transition);
}

.contact-email-btn:hover {
  background: var(--brand-red);
  color: #fff;
}

/* Galeri Kartı */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-thumb {
  position: relative;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
}

.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

/* ==========================================================================
   DIŞ BAĞLANTILAR & PROJE PORTALLARI (MARQUEE / LOGO BAR)
   ========================================================================== */
.portals-section {
  padding: 1.5rem 0 2.5rem;
}

.portals-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.portals-header h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
}

.portal-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.portal-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
}

.portal-item img {
  max-height: 42px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: var(--transition);
}

.portal-item:hover img {
  filter: grayscale(0);
}

/* ==========================================================================
   ALT BİLGİ (FOOTER)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--brand-red);
  padding-left: 3px;
}

.footer-brand p {
  margin-top: 0.5rem;
  line-height: 1.5;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
}

/* ==========================================================================
   MODALLAR (ARAMA, İLETİŞİM, DETAY, SİTE HARİTASI)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
}

/* Arama Modalı Özel */
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-focus);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.search-input-wrap input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
  color: var(--text-main);
}

.search-results-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 350px;
  overflow-y: auto;
}

.search-result-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.search-result-item a:hover {
  background: var(--brand-red-subtle);
  color: var(--brand-red);
}

.search-category-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* Lightbox Görsel Görüntüleyici */
.lightbox-modal img {
  max-height: 70vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form Elemanları */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px var(--brand-red-subtle);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
}

/* Yukarı Git Butonu */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-red-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   ALT SAYFALAR (SUBPAGES) GENEL BİLEŞENLERİ
   ========================================================================== */
.page-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--brand-red);
}

.breadcrumb-nav span.sep {
  color: var(--border-focus);
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.page-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 750px;
}

/* Kart & Tablo Düzenleri */
.content-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.content-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.content-box h3 svg {
  color: var(--brand-red);
}

/* Kadro / Personel Izgarası */
.staff-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.staff-tab-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.staff-tab-btn:hover, .staff-tab-btn.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.staff-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
}

.staff-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.staff-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-red-subtle);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--brand-red-border);
}

.staff-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.staff-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Zaman Çizelgesi (Tarihçe Timeline) */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-light);
  margin: 1.5rem 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -2.7rem;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-red);
  border: 4px solid var(--bg-primary);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 0.25rem;
  display: inline-block;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ulaşım & Otobüs Hatları */
.bus-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bus-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bus-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  background: #1e40af;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
}

.bus-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.bus-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* İndirilebilir Dosya Kutuları (Dallar ve Formlar) */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.download-card:hover {
  background: var(--bg-hover);
  border-color: var(--brand-red);
  transform: translateX(4px);
}

.download-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.download-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
}

.download-icon.docx { background: #2563eb; }
.download-icon.pptx { background: #ea580c; }
.download-icon.pdf { background: #dc2626; }

/* ==========================================================================
   DUYARLILIK (RESPONSIVE) MEDYA SORGULARI
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .tri-grid, .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface-elevated);
    z-index: 2100;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
  }
  .site-nav.mobile-active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu, .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-subtle);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.3rem;
  }
  .nav-item.open > .dropdown-menu,
  .dropdown-item.open > .sub-menu {
    display: block;
  }
  .tri-grid, .info-grid {
    grid-template-columns: 1fr;
  }
  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-track {
    height: 280px;
  }
  .slide-title {
    font-size: 1.1rem;
  }
  .ataturk-badge, .kbd-shortcut {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}