/* ==========================================================================
   Türk Hava Kurumu (THK) Samsun Şubesi — Resmi Web Portalı (samsunthk.org.tr)
   Yeni Nesil Aydınlık, Temiz, Cumhuriyet & Havacılık Mirası Tasarım Sistemi
   ========================================================================== */

:root {
  /* THK Resmi Kurumsal Renk Paleti (Aydınlık, Temiz, Prestijli) */
  --thk-red-950: #6b0515;
  --thk-red-900: #8f081e;
  --thk-red-800: #b00b26;
  --thk-red-700: #C8102E;   /* THK Bayrak Kırmızısı */
  --thk-red-600: #e11d38;
  --thk-red-100: #ffe4e8;
  --thk-red-50: #fff5f7;

  /* THK Gökyüzü ve Karadeniz Mavisi */
  --sky-950: #071529;
  --sky-900: #0B1F3A;       /* Havacılık Koyu Lacivert */
  --sky-800: #10325c;
  --sky-700: #0369a1;
  --sky-600: #0284c7;       /* THK Gökyüzü Mavisi */
  --sky-500: #0ea5e9;
  --sky-100: #e0f2fe;
  --sky-50: #f0f9ff;

  /* THK Altın / Kanat Sarısı (1925 Arma Rengi) */
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;

  /* Aydınlık Yüzey ve Tipografi Tonları */
  --ink-950: #0B1F3A;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --line-200: #e2e8f0;
  --line-100: #f1f5f9;
  --surface-soft: #F8FAFC;
  --surface-sky: #F4F8FB;
  --white: #ffffff;

  --success-700: #15803d;
  --success-100: #dcfce7;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 3px rgba(11, 31, 58, 0.05);
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 14px 34px rgba(11, 31, 58, 0.09);
  --shadow-lg: 0 24px 54px rgba(11, 31, 58, 0.14);
  --shadow-red: 0 12px 28px rgba(200, 16, 46, 0.24);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--thk-red-700);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--thk-red-700);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

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

/* ==========================================================================
   1. ÜST ATATÜRK VİZYON & İLETİŞİM ŞERİDİ (TOP STRIP)
   ========================================================================== */
.top-strip {
  background: linear-gradient(90deg, var(--sky-950) 0%, var(--sky-900) 55%, var(--thk-red-900) 100%);
  color: var(--white);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1030;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--thk-red-700);
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.4);
}

.top-strip-quote {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}
.top-strip-quote strong {
  color: var(--gold-400);
  font-weight: 800;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.top-strip-link:hover {
  color: var(--gold-400);
}

.top-strip-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   2. YENİ NESİL AYDINLIK KURUMSAL HEADER & MEGA DROPDOWN MENÜ
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-200);
  box-shadow: var(--shadow-xs);
}

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

/* THK Logosu + Yanında SAMSUN */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-crest-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.16);
  border: 2px solid rgba(200, 16, 46, 0.14);
  padding: 2px;
  transition: transform 0.25s ease;
}
.brand:hover .brand-crest-wrap {
  transform: scale(1.04);
}
.brand-crest {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-top-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-thk {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--sky-950);
}

.brand-samsun-badge {
  display: inline-flex;
  align-items: center;
  background: var(--thk-red-700);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 5px;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-600);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Ana Gezinme Menüsü */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--thk-red-700);
  background: var(--thk-red-50);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-caret {
  font-size: 0.72rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 1. Görseldeki THK Sportif Havacılık Alt Menü Tasarımı */
.thk-visual1-menu {
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  min-width: 320px;
}

.thk-visual1-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f1f5f9;
  border-bottom: 2px solid #0284c7;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: #1e293b;
  text-transform: uppercase;
  transition: all 0.18s ease;
}
.thk-visual1-item:last-child {
  border-bottom: none;
}
.thk-visual1-item:hover,
.thk-visual1-item.active {
  background: var(--thk-red-700);
  color: var(--white);
  padding-left: 22px;
}
.thk-visual1-item .arrow-icon {
  font-weight: 900;
  font-size: 1rem;
  opacity: 0.85;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  transition: background 0.18s ease, color 0.18s ease;
}
.dropdown-item div {
  display: flex;
  flex-direction: column;
}
.dropdown-item span:first-child {
  font-weight: 700;
  font-size: 0.9rem;
}
.dropdown-item small {
  font-size: 0.76rem;
  color: var(--ink-500);
  margin-top: 2px;
}
.dropdown-item:hover,
.dropdown-item.active {
  background: var(--thk-red-50);
  color: var(--thk-red-700);
}
.dropdown-item:hover small {
  color: var(--thk-red-700);
}

/* Header Aksiyon Butonları */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.2;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-red {
  background: var(--thk-red-700);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.25);
}
.btn-red:hover {
  background: var(--thk-red-800);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.34);
}

.btn-sky {
  background: var(--sky-900);
  color: var(--white);
}
.btn-sky:hover {
  background: var(--sky-800);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--sky-900);
  border: 1.5px solid var(--line-200);
}
.btn-outline:hover {
  border-color: var(--thk-red-700);
  color: var(--thk-red-700);
  background: var(--thk-red-50);
}

.btn-white {
  background: var(--white);
  color: var(--thk-red-700);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--thk-red-50);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-200);
  align-items: center;
  justify-content: center;
  color: var(--sky-950);
}

/* ==========================================================================
   3. ANA SAYFA HERO ALANI ("İSTİKBAL GÖKLERDEDİR" · SAMSUN 1919–1925)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(125deg, #ffffff 0%, #f0f7ff 52%, #fff1f3 100%);
  padding: 56px 0 68px;
  border-bottom: 1px solid var(--line-200);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, rgba(2, 132, 199, 0.05) 55%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(200, 16, 46, 0.22);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--thk-red-700);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.16);
}

.hero-eyebrow-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--thk-red-700);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--sky-950);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title span.highlight-red {
  color: var(--thk-red-700);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-700);
  max-width: 640px;
  margin-bottom: 24px;
}

.ataturk-quote-card {
  background: var(--white);
  border-left: 4px solid var(--thk-red-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  border-top: 1px solid var(--line-200);
  border-right: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}
.ataturk-quote-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-style: italic;
  color: var(--sky-950);
  font-weight: 600;
}
.ataturk-quote-card cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--thk-red-700);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line-200);
}

.metric-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.metric-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--thk-red-700);
  line-height: 1.1;
}
.metric-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-600);
  margin-top: 4px;
}

/* Sağ Hero Görsel & 1. Görsel Hızlı Erişim Menüsü */
.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  aspect-ratio: 16 / 10;
  background: var(--sky-900);
}
.hero-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.08) 0%, rgba(11, 31, 58, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}
.hero-showcase-badge {
  align-self: flex-start;
  background: var(--thk-red-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.hero-showcase-overlay h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}
.hero-showcase-overlay p {
  font-size: 0.84rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* Kullanıcının Attığı 1. Görseldeki 5'li THK Hızlı Menü Bloğu */
.thk-portal-sidebar-menu {
  background: #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #cbd5e1;
}

.thk-portal-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  background: #e5e7eb;
  color: #374151;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid #0066ff;
  transition: all 0.2s ease;
}
.thk-portal-sidebar-link:last-child {
  border-bottom: none;
}
.thk-portal-sidebar-link:hover,
.thk-portal-sidebar-link.active {
  background: var(--thk-red-700);
  color: var(--white);
  padding-left: 26px;
}
.thk-portal-sidebar-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.8;
}

/* ==========================================================================
   4. ORTAK SAYFA BAŞLIĞI (PAGE HERO) & SIDEBAR DÜZENİ
   ========================================================================== */
.page-hero {
  background: linear-gradient(125deg, #f8fafc 0%, #eef6ff 55%, #fff0f2 100%);
  border-bottom: 1px solid var(--line-200);
  padding: 44px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--thk-red-700);
}
.breadcrumb .sep {
  opacity: 0.5;
}
.breadcrumb .current {
  color: var(--thk-red-700);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  color: var(--sky-950);
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-hero-desc {
  font-size: 1.02rem;
  color: var(--ink-600);
  max-width: 780px;
}

.section {
  padding: 68px 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--thk-red-700);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--sky-950);
  line-height: 1.18;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--ink-600);
  max-width: 680px;
  margin-top: 6px;
}

/* 2 Kolonlu İç Sayfa Düzeni (Sol: 1. Görseldeki THK Menüsü, Sağ: Zengin İçerik) */
.subpage-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 36px;
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sky-950);
  margin-bottom: 10px;
}

/* ==========================================================================
   5. KARTLAR: BRANŞLAR, TESİSLER, OKULLAR, HABERLER
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.35);
}

.branch-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--sky-900);
}
.branch-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.branch-card:hover .branch-card-media img {
  transform: scale(1.05);
}

.branch-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 31, 58, 0.86);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branch-samsun-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--thk-red-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.branch-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.branch-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--sky-950);
  margin-bottom: 8px;
}

.branch-card-desc {
  font-size: 0.9rem;
  color: var(--ink-600);
  margin-bottom: 16px;
  flex: 1;
}

.branch-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-100);
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
}
.branch-specs span {
  background: var(--surface-soft);
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--line-200);
}

/* ==========================================================================
   6. KİS (kis.thk.org.tr) CANLI KURS TABLOSU & FİLTRELEME
   ========================================================================== */
.kis-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.kis-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kis-tab-btn {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink-700);
  background: var(--surface-soft);
  border: 1px solid var(--line-200);
  transition: all 0.18s ease;
}
.kis-tab-btn:hover {
  border-color: var(--thk-red-700);
  color: var(--thk-red-700);
}
.kis-tab-btn.active {
  background: var(--thk-red-700);
  color: var(--white);
  border-color: var(--thk-red-700);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.kis-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kis-search-input {
  padding: 9px 14px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  min-width: 240px;
  font-size: 0.88rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.kis-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
  font-size: 0.86rem;
}

.kis-table thead th {
  background: var(--sky-950);
  color: var(--white);
  text-align: left;
  padding: 13px 14px;
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.kis-table tbody tr {
  border-bottom: 1px solid var(--line-100);
  transition: background 0.15s ease;
}
.kis-table tbody tr:hover {
  background: var(--sky-50);
}
.kis-table tbody tr.samsun-highlight-row {
  background: #fff8f9;
}
.kis-table tbody tr.samsun-highlight-row:hover {
  background: #ffecef;
}

.kis-table td {
  padding: 13px 14px;
  vertical-align: middle;
  color: var(--ink-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-pill.open {
  background: var(--success-100);
  color: var(--success-700);
}
.status-pill.prereg {
  background: var(--sky-100);
  color: var(--sky-700);
}

/* ==========================================================================
   7. FORMLAR (KURS BAŞVURU, GENÇ KANATLAR, BAĞIŞ, İHA SORGULAMA)
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--sky-950);
}
.form-group label span.req {
  color: var(--thk-red-700);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  border-color: var(--thk-red-700);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
  outline: none;
}

.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 16px;
  display: none;
}
.form-alert.success {
  display: block;
  background: var(--success-100);
  color: var(--success-700);
  border: 1px solid #86efac;
}
.form-alert.error {
  display: block;
  background: var(--thk-red-100);
  color: var(--thk-red-900);
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   8. BASINDA SAMSUN ŞUBE HABER KARTLARI
   ========================================================================== */
.news-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card-media {
  position: relative;
  height: 200px;
  background: var(--sky-900);
  overflow: hidden;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-source-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--thk-red-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.news-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--sky-950);
  line-height: 1.35;
  margin-bottom: 10px;
}
.news-summary {
  font-size: 0.88rem;
  color: var(--ink-600);
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   9. KURULUŞ LOGOLARI ŞERİDİ & KURUMSAL FOOTER + MADE WITH DIGIMENTRA
   ========================================================================== */
.partner-logos-strip {
  background: var(--white);
  border-top: 1px solid var(--line-200);
  padding: 36px 0;
}

.partner-strip-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 22px;
}

.partner-logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

.partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  background: var(--surface-soft);
  min-height: 112px;
  text-align: center;
  transition: all 0.2s ease;
}
.partner-logo-card:hover {
  background: var(--white);
  border-color: var(--thk-red-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.partner-logo-card img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.partner-logo-card span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-700);
  line-height: 1.2;
}

/* Ana Footer */
.site-footer {
  background: var(--sky-950);
  color: rgba(255, 255, 255, 0.86);
  border-top: 4px solid var(--thk-red-700);
}

.footer-top {
  padding: 60px 0 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand-row img {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
}
.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand-sub {
  font-size: 0.78rem;
  color: var(--gold-400);
  font-weight: 700;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--thk-red-700);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}
.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-list strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  background: #050f1e;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* En Sağ Altta Made with Digimentra Tanıtım Rozeti */
.digimentra-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: all 0.22s ease;
}
.digimentra-signature:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}
.digimentra-sig-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}
.digimentra-sig-text small {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}
.digimentra-sig-text strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
}
.digimentra-signature img {
  height: 26px;
  width: auto;
}

/* ==========================================================================
   10. MODAL PENCERESİ & MOBİL UYUMLULUK
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 41, 0.72);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--line-200);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--thk-red-700);
  color: var(--white);
}

/* Timeline & Tablolar */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--thk-red-700);
}
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--thk-red-700);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--thk-red-700);
}
.timeline-year {
  display: inline-block;
  background: var(--thk-red-50);
  color: var(--thk-red-700);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* Mobil Çekmece */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 41, 0.65);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer-panel {
  width: min(360px, 90vw);
  height: 100%;
  background: var(--white);
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--sky-950);
  background: var(--surface-soft);
}
.drawer-links a.sub-link {
  padding-left: 26px;
  font-size: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line-100);
}
.drawer-links a.active,
.drawer-links a:hover {
  background: var(--thk-red-700);
  color: var(--white);
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .subpage-layout {
    grid-template-columns: 1fr;
  }
  .sticky-sidebar {
    position: static;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-logos-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .top-strip-right {
    display: none;
  }
  .hero-metrics,
  .cards-grid-3,
  .cards-grid-2,
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .partner-logos-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .header-actions .btn-sky {
    display: none;
  }
}
