/* ==========================================================================
   ATAŞEHİR ADIGÜZEL MESLEK YÜKSEKOKULU - MİKRO YETERLİLİK PORTALI
   Aday Öğrenci Portalı Kurumsal Tasarım Dili & Renk Paleti Entegrasyonu
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Kurumsal Renk Paleti (Aday Portalı Birebir Uyumlu) */
  --primary-blue: #00548f;
  --primary-dark: #072b4a;
  --primary-deep: #04192b;
  --primary-light: #0d70b7;
  --primary-subtle: #e6f1f8;
  --primary-glow: rgba(0, 84, 143, 0.4);

  --accent-orange: #ff8f35;
  --accent-orange-dark: #e87313;
  --accent-orange-light: #fff3eb;
  --accent-orange-glow: rgba(255, 143, 53, 0.45);

  --accent-green: #10b981;
  --accent-green-light: #ecfdf5;

  --white: #ffffff;
  --canvas-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: rgba(255, 255, 255, 0.16);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Tipografi */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Gölgeler */
  --shadow-xs: 0 1px 3px rgba(0, 84, 143, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 84, 143, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(7, 43, 74, 0.08), 0 8px 10px -6px rgba(7, 43, 74, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(7, 43, 74, 0.15);
  --shadow-xl: 0 25px 50px -12px rgba(4, 25, 43, 0.25);
  --shadow-orange: 0 8px 24px -4px rgba(255, 143, 53, 0.4);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Geçişler */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sıfırlama */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--canvas-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* ==========================================================================
   1. KURUMSAL HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(7, 43, 74, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  max-height: 42px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

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

.brand-badge-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-badge-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
}

.header-nav a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--primary-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(0, 84, 143, 0.15);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-contact:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-myo,
.btn-aday {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-myo:hover,
.btn-aday:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(255, 143, 53, 0.55);
  color: var(--white);
}

/* ==========================================================================
   2. HERO ALANI (ADAY PORTALI DERİN LACİVERT & VURGU TURUNCU)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(255, 143, 53, 0.22), transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(0, 84, 143, 0.45), transparent 50%),
              linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 55%, var(--primary-blue) 100%);
  color: var(--white);
  padding: 68px 0 60px;
  overflow: hidden;
}

.hero-glow-circle {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 53, 0.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffc078;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8f35 0%, #ffc078 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 820px;
  margin-bottom: 26px;
  color: #e2e8f0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero-tag i {
  color: var(--accent-orange);
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), transparent);
  opacity: 0.7;
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 143, 53, 0.4);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
  display: block;
}

/* ==========================================================================
   3. STICKY TOOLBAR (ARAMA VE FİLTRELEME)
   ========================================================================== */
.toolbar-wrap {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 16px 0 14px;
}

.search-box-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.search-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 18px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.search-container:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 84, 143, 0.12);
}

.search-icon {
  color: var(--primary-blue);
  font-size: 17px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-clear-btn {
  display: none;
  background: #f1f5f9;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.search-clear-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* Program Chips (Tüm bölümler tek bakışta görünür, sağa kaydırma gerektirmez) */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 4px 0 2px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--text-main);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 84, 143, 0.04);
}

.chip-btn:hover {
  border-color: var(--c, var(--primary-blue));
  color: var(--c, var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 43, 74, 0.08);
  background: var(--white);
}

.chip-btn .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, #64748b);
  flex-shrink: 0;
}

.chip-btn .badge-num {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.chip-btn[aria-pressed="true"] {
  background: var(--primary-dark);
  color: var(--white) !important;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(7, 43, 74, 0.25);
  transform: translateY(-1px);
}

.chip-btn[aria-pressed="true"] .badge-num {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Mobil Açılır Filtre (Mobilde tek ve kompakt satır) */
.mobile-filter-wrap {
  display: none;
  margin-top: 10px;
}

.mobile-select-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 14px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.mobile-select-box:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 84, 143, 0.12);
}

.mobile-select-icon {
  color: var(--primary-blue);
  font-size: 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.mobile-program-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 12px 28px 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.mobile-select-chevron {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-size: 12px;
  pointer-events: none;
}

.results-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 20px;
}

.results-info-text {
  font-weight: 600;
  color: var(--primary-blue);
}

/* ==========================================================================
   4. ANA İÇERİK & PROGRAM BÖLÜMLERİ
   ========================================================================== */
.main-content {
  padding-top: 44px;
  padding-bottom: 70px;
}

.program-section {
  margin-bottom: 56px;
  scroll-margin-top: 180px;
}

.program-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-left: 6px solid var(--c);
  padding: 6px 0 6px 20px;
  margin-bottom: 24px;
}

.program-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.program-sub {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.program-tot-badge {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-blue);
  background: var(--primary-subtle);
  border: 1px solid rgba(0, 84, 143, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  white-space: nowrap;
}

/* Kümeler (Clusters) */
.cluster-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cluster-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* Grid & Kartlar */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.mc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.mc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--c);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.mc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 84, 143, 0.25);
  box-shadow: 0 14px 30px -8px rgba(7, 43, 74, 0.12), 0 0 0 1px var(--c);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mc-no-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c);
  background: rgba(0, 0, 0, 0.03);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mc-view-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}

.mc-card:hover .mc-view-indicator {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.mc-title-tr {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
}

.mc-title-en {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.4;
}

.mc-source-course {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.mc-meta-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  font-size: 12px;
  color: var(--text-main);
  font-weight: 500;
}

.tag-pill.tag-akts {
  background: var(--accent-orange-light);
  color: var(--accent-orange-dark);
  font-weight: 700;
  border: 1px solid rgba(255, 143, 53, 0.2);
}

.tag-pill.tag-hours {
  background: var(--primary-subtle);
  color: var(--primary-blue);
  font-weight: 700;
  border: 1px solid rgba(0, 84, 143, 0.15);
}

/* Empty State */
.empty-results {
  display: none;
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-xl);
  margin: 30px auto;
  max-width: 600px;
}

.empty-results i {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-results h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.empty-results p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   5. BİLGİLENDİRME BÖLÜMÜ (ÖNEMLİ KAZANIMLAR)
   ========================================================================== */
.features-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 0;
  margin-top: 40px;
}

.features-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.features-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.features-title-wrap p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.feature-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 84, 143, 0.2);
  background: #ffffff;
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-box:nth-child(2) .feature-icon-wrap {
  background: var(--accent-orange-light);
  color: var(--accent-orange-dark);
}

.feature-box:nth-child(3) .feature-icon-wrap {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   6. DETAY MODAL / DIALOG (GÖSTERİŞLİ POPUP)
   ========================================================================== */
dialog#dlg {
  border: 0;
  padding: 0;
  border-radius: var(--radius-xl);
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: var(--white);
  color: var(--text-main);
  box-shadow: 0 25px 60px -15px rgba(4, 25, 43, 0.45);
  margin: auto;
  overflow: hidden;
}

dialog#dlg::backdrop {
  background: rgba(4, 25, 43, 0.65);
  backdrop-filter: blur(8px);
}

.dlg-top-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 28px 20px;
  border-top: 8px solid var(--c, var(--primary-blue));
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dlg-header-info {
  flex: 1;
}

.dlg-prog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c, var(--primary-blue));
  margin-bottom: 6px;
}

.dlg-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.dlg-en-title {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.dlg-close-btn {
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.dlg-close-btn:hover {
  background: #e2e8f0;
  color: var(--primary-dark);
  transform: rotate(90deg);
}

.dlg-scroll-body {
  padding: 26px 30px 36px;
  overflow-y: auto;
  max-height: calc(100vh - 180px);
}

/* KPI Box Grid */
.dlg-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.dlg-kpi-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.dlg-kpi-val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dlg-kpi-box:nth-child(1) .dlg-kpi-val {
  color: var(--accent-orange-dark);
}

.dlg-kpi-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Dialog Sections */
.dlg-section-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlg-section-title i {
  color: var(--primary-blue);
  font-size: 14px;
}

.dlg-text-block {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c, var(--primary-blue));
  margin-bottom: 12px;
}

/* Öğrenme Çıktıları */
ol.dlg-lo-list {
  margin: 0;
  padding-left: 20px;
}

ol.dlg-lo-list li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #1e293b;
}

.lo-level-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-subtle);
  color: var(--primary-blue);
  margin-right: 8px;
  vertical-align: 1px;
}

.lo-level-pill[data-lvl="Uygulama"] {
  background: #e0f2fe;
  color: #0369a1;
}
.lo-level-pill[data-lvl="Değerlendirme"] {
  background: #fef3c7;
  color: #b45309;
}
.lo-level-pill[data-lvl="Yaratma"] {
  background: #f3e8ff;
  color: #7e22ce;
}
.lo-level-pill[data-lvl="Analiz"] {
  background: #fee2e2;
  color: #b91c1c;
}
.lo-level-pill[data-lvl="Anlama"] {
  background: #ecfdf5;
  color: #047857;
}

/* Haftalar */
ul.dlg-weeks-list {
  columns: 2 280px;
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: #334155;
}

ul.dlg-weeks-list li {
  break-inside: avoid;
  margin-bottom: 6px;
}

/* Facts & Bilgiler */
dl.dlg-facts-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 16px;
  margin: 0;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

dl.dlg-facts-grid dt {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

dl.dlg-facts-grid dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.prelink-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.dlg-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.dlg-share-bar {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.dlg-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dlg-share-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* ==========================================================================
   7. KURUMSAL FOOTER (ADAY & ADIGÜZEL UYUMLU)
   ========================================================================== */
.site-footer {
  background: var(--primary-deep);
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  width: 100%;
  height: 40px;
  fill: var(--canvas-bg);
}

.footer-top {
  padding-top: 50px;
  padding-bottom: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 84, 143, 0.4);
}

.footer-links h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  font-size: 13.5px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-links ul li a:hover {
  color: var(--accent-orange);
  transform: translateX(3px);
}

.footer-legal-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-legal-box p {
  margin-bottom: 8px;
}

.footer-legal-box p:last-child {
  margin-bottom: 0;
}

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

/* ==========================================================================
   8. RESPONSIVE DÜZEN
   ========================================================================== */
@media (max-width: 1200px) {
  .header-nav {
    gap: 12px;
  }
  .header-nav a {
    font-size: 13px;
  }
  .btn-contact span {
    display: none;
  }
  .btn-contact {
    padding: 8px 12px;
  }
}

@media (max-width: 992px) {
  .wrap {
    padding: 0 20px;
  }
  .header-nav {
    display: none;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  .chips-container {
    display: none !important;
  }
  .mobile-filter-wrap {
    display: block !important;
  }
  .toolbar-wrap {
    top: 64px;
    padding: 10px 0 8px;
  }
  .search-box-row {
    margin-bottom: 0;
  }
  .search-container {
    padding: 0 14px;
    border-radius: 10px;
  }
  .search-input {
    padding: 10px 0;
    font-size: 14px;
  }
  .results-info-row {
    margin-top: 6px;
    font-size: 12px;
  }
  .header-inner {
    height: 64px;
  }
  .brand-divider, .brand-badge {
    display: none;
  }
  .hero-section {
    padding: 36px 0 30px;
  }
  .hero-badge-pill {
    font-size: 11.5px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: clamp(25px, 6.5vw, 32px);
    margin-bottom: 12px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .hero-tags {
    gap: 6px;
    margin-bottom: 20px;
  }
  .hero-tag {
    font-size: 11px;
    padding: 4px 10px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-stat-card {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .hero-stat-num {
    font-size: 24px;
  }
  .hero-stat-label {
    font-size: 11.5px;
  }
  .main-content {
    padding-top: 26px;
    padding-bottom: 44px;
  }
  .program-section {
    margin-bottom: 34px;
    scroll-margin-top: 130px;
  }
  .program-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 0 4px 12px;
    margin-bottom: 16px;
    border-left-width: 5px;
    gap: 8px;
  }
  .program-header h2 {
    font-size: 20px;
  }
  .program-sub {
    font-size: 12.5px;
  }
  .program-tot-badge {
    font-size: 11.5px;
    padding: 4px 10px;
  }
  .cluster-divider {
    margin: 18px 0 10px;
    font-size: 11.5px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mc-card {
    padding: 16px 15px 14px;
    border-radius: 14px;
  }
  .mc-title-tr {
    font-size: 15.5px;
  }
  .mc-title-en {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .mc-source-course {
    font-size: 11.5px;
    margin-bottom: 10px;
  }
  .features-section {
    padding: 40px 0;
    margin-top: 20px;
  }
  .features-title-wrap {
    margin-bottom: 24px;
  }
  .features-title-wrap h2 {
    font-size: 22px;
  }
  .features-title-wrap p {
    font-size: 13.5px;
  }
  .feature-box {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .footer-top {
    padding-top: 36px;
    padding-bottom: 20px;
  }
  .footer-grid {
    gap: 26px;
    margin-bottom: 24px;
  }
  .footer-brand-desc {
    max-width: 100%;
    font-size: 13.5px;
    margin-bottom: 18px;
  }
  .footer-socials {
    gap: 10px;
  }
  .footer-socials a {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .footer-legal-box {
    padding: 16px 16px;
    font-size: 12.5px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 18px 0;
    font-size: 12px;
  }
  .dlg-kpis-grid {
    grid-template-columns: 1fr 1fr;
  }
  dl.dlg-facts-grid {
    grid-template-columns: 1fr;
  }
  ul.dlg-weeks-list {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 14px;
  }
  .header-actions .btn-contact {
    display: none;
  }
  .btn-myo {
    padding: 7px 12px;
    font-size: 12px;
  }
}
