/* ==========================================================================
   Özel Pusula VIP Eğitim Kurumları
   Gerçek Responsive Çok Sayfalı (Multi-Page) Web Sitesi Tasarım Sistemi
   Masaüstünde Geniş & Zengin Düzen • Mobilde %100 Uyumlu Tasarım
   ========================================================================== */

:root {
  /* Renk Paleti */
  --navy-darkest: #060e1a;
  --navy-dark: #0a172c;
  --navy-primary: #0d1e3a;
  --navy-surface: #142848;
  --navy-card: #101e33;
  --navy-border: #1e293b;

  --orange-primary: #ff5500;
  --orange-hover: #e64d00;
  --orange-light: #fff7ed;
  --orange-gradient: #ff5500;
  --orange-glow: 0 4px 14px rgba(255, 85, 0, 0.25);

  --sky-blue: #38b6ff;
  --sky-gradient: linear-gradient(135deg, #38b6ff 0%, #0d9ae8 100%);
  --ice-blue: #e8f3fc;
  --ice-blue-border: #bfddf3;
  --ice-blue-hover: #d5e9f9;

  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5a;

  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(13, 30, 58, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 30, 58, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 30, 58, 0.12);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-width: 1200px;
}

/* Temel Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background-color: #f8fafc;
  color: var(--gray-800);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

html:has(.modal-overlay.open),
body:has(.modal-overlay.open),
body.modal-open {
  overflow: hidden !important;
}

:focus-visible {
  outline: 2.5px solid var(--orange-primary) !important;
  outline-offset: 3px !important;
}

/* Konteyner Yapısı (Masaüstünde 1200px Ortalanmış, Mobilde %100 Genişlik) */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. HEADER & NAVBAR (TÜM SAYFALARDA ORTAK MASAÜSTÜ / MOBİL NAVBAR)
/* Yönetici Paneli Çoklu & Zaman Ayarlı Duyuru Bandı */
.site-announcement-bar {
  background: linear-gradient(135deg, #FF6500 0%, #ea580c 100%);
  color: #ffffff;
  padding: max(8px, env(safe-area-inset-top, 8px)) 16px 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  position: relative;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
  min-height: 42px;
}

.announcement-slider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  position: relative;
  gap: 10px;
}

.announcement-slide {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  animation: fadeInAnn 0.35s ease forwards;
  width: 100%;
  flex-wrap: wrap;
}

.announcement-slide.active {
  display: inline-flex;
}

@keyframes fadeInAnn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.announcement-slide-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.announcement-slide-link:hover {
  opacity: 0.95;
  text-decoration: underline;
}

.announcement-inline-link {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: rgba(0, 0, 0, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.announcement-inline-link:hover {
  background: #ffffff;
  color: #ea580c;
  text-decoration: none;
}

.announcement-cta-badge {
  background: #ffffff;
  color: #ea580c;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.announcement-cta-badge:hover {
  background: var(--navy-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.announcement-nav-btn {
  background: rgba(0, 0, 0, 0.16);
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.announcement-nav-btn:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: scale(1.08);
}

.announcement-badge-counter {
  font-size: 0.72rem;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Masaüstü Menü Bağlantıları */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--orange-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  background: var(--orange-primary);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(255, 85, 0, 0.22);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 85, 0, 0.32);
}

/* Mobil Hamburger Butonu */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy-primary);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   2. ORTAK SAYFA DÜZENİ VE TİPOGRAFİ
   ========================================================================== */
.main-wrapper {
  flex: 1;
  padding: 50px 0 80px;
}

.page-header-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.badge-pill-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-primary);
  color: var(--white);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.25;
  color: var(--navy-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Turuncu Çizgili Alt Başlık */
.section-subhead {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-primary);
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subhead::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--orange-primary);
  border-radius: 3px;
}

/* ==========================================================================
   3. SAYFA 1: GİRİŞ (index.html)
   ========================================================================== */
.hero-box {
  min-height: calc(100vh - 80px);
  min-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 16px 0 12px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: auto 0;
}

.hero-logo-img {
  width: clamp(130px, 22vh, 220px);
  height: clamp(130px, 22vh, 220px);
  object-fit: contain;
  margin-bottom: clamp(8px, 1.8vh, 18px);
  filter: drop-shadow(0 12px 28px rgba(13, 30, 58, 0.12));
  transition: transform var(--transition-bounce);
}

.hero-logo-img:hover {
  transform: scale(1.03);
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-primary);
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  margin-bottom: clamp(4px, 1vh, 10px);
  line-height: 1.22;
}

.hero-description {
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  max-width: 560px;
  margin: 0 auto clamp(12px, 2vh, 22px);
  line-height: 1.45;
  color: var(--gray-600);
}

.hero-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.hero-btn-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.hero-btn-pair .btn-hero-navy,
.hero-btn-pair .btn-hero-outline {
  flex: 1;
  padding: 11px 18px;
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
}

.hero-buttons-container .btn-hero-orange {
  width: 60%;
  min-width: 150px;
  padding: 10px 18px;
  font-size: 0.92rem;
  text-align: center;
}

@media (min-width: 769px) {
  .hero-buttons-container {
    flex-direction: row;
    max-width: none;
    width: auto;
    gap: 16px;
  }
  .hero-btn-pair {
    width: auto;
    gap: 16px;
  }
  .hero-btn-pair .btn-hero-navy,
  .hero-btn-pair .btn-hero-outline,
  .hero-buttons-container .btn-hero-orange {
    flex: none;
    width: auto;
    padding: 13px 36px;
    font-size: 1rem;
  }
}

.btn-hero-navy {
  background: var(--navy-primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(13, 30, 58, 0.15);
  transition: var(--transition-fast);
}

.btn-hero-navy:hover {
  background: var(--navy-surface);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 30, 58, 0.22);
}

.btn-hero-outline {
  background: var(--white);
  color: var(--navy-primary);
  padding: 11px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid #d1d5db;
  transition: var(--transition-fast);
}

.btn-hero-outline:hover {
  border-color: var(--navy-primary);
  background: var(--gray-50);
  transform: translateY(-2px);
}

.btn-hero-orange {
  background: var(--white);
  color: var(--navy-primary);
  padding: 11px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--orange-primary);
  transition: var(--transition-fast);
}

.btn-hero-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.hero-scroll-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  margin-top: 8px;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.hero-scroll-btn:hover {
  color: var(--orange-primary);
}

.chevron-down-svgs {
  animation: bounceChev 1.8s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes bounceChev {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}

/* ==========================================================================
   4. SAYFA 2: SINIF SEVİYELERİ (siniflar.html)
   ========================================================================== */
.grades-desktop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.grade-category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.grade-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ice-blue-border);
}

.grade-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--gray-100);
}

.grade-category-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-primary);
}

.grade-badge-tag {
  background: var(--orange-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.grade-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.btn-grade-choice {
  background: var(--ice-blue);
  border: 1.5px solid var(--ice-blue-border);
  color: var(--navy-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-grade-choice span.subtext {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
}

.btn-grade-choice:hover {
  background: #d4e8f7;
  border-color: #62abdf;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 30, 58, 0.08);
}

/* ==========================================================================
   4.1 ANA SAYFA DÜZEY KARTLARI (İLKOKUL, ORTAOKUL, LİSE, SINAV GRUPLARI)
   FERAH, GENİŞ & TAM DUYARLI (RESPONSIVE) DÜZEN
   ========================================================================== */
.level-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.level-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(13, 30, 58, 0.04);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 30, 58, 0.09);
  border-color: #94a3b8;
}

.level-card.featured-card {
  border: 2px solid #ff5500;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.12);
}

.level-card.featured-card:hover {
  box-shadow: 0 16px 36px rgba(255, 85, 0, 0.22);
}

.level-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.level-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.level-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ice-blue);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(11, 25, 44, 0.06);
}

.level-card.featured-card .level-icon-badge {
  background: #fff0e6;
  color: #ff5500;
  box-shadow: inset 0 0 0 1px rgba(255, 85, 0, 0.15);
}

.level-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.25;
  margin-top: 2px;
}

.level-badge-tag {
  background: #f1f5f9;
  color: var(--navy-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.level-card.featured-card .level-badge-tag {
  background: #ff5500;
  color: #ffffff;
}

.level-scope-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-secondary);
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
}

.level-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 4px 0 12px 0;
  min-height: 50px;
}

.level-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.level-features-list li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.level-features-list li svg {
  color: #16a34a;
  flex-shrink: 0;
}

.level-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}

.btn-level-card {
  width: 100%;
  padding: 11px 16px;
  background: var(--ice-blue);
  color: var(--navy-primary);
  border: 1.5px solid var(--ice-blue-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-level-card:hover {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

.btn-level-highlight {
  background: #ff5500;
  color: #ffffff;
  border-color: #ff5500;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.25);
}

.btn-level-highlight:hover {
  background: #e04a00;
  border-color: #e04a00;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.35);
}

.exam-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.exam-quick-links a {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 4px;
  background: #fff0e6;
  color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.exam-quick-links a:hover {
  background: #ff5500;
  color: #ffffff;
  border-color: #ff5500;
}

/* Tablet ve Mobil Medya Sorguları */
@media (max-width: 1100px) {
  .level-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .level-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .level-card {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .exam-quick-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. SAYFA 3: 12. SINIF PROGRAMI (program.html)
   ========================================================================== */
.program-wrapper-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.program-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--gray-100);
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  color: var(--navy-primary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-back-link:hover {
  background: var(--navy-primary);
  color: var(--white);
}

.grade-switch-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.grade-tab-pill {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.grade-tab-pill:hover,
.grade-tab-pill.active {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

/* 3 İstatistik Rozeti */
.stats-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}

.stat-box-card {
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.stat-box-card.orange {
  background: var(--orange-gradient);
}

.stat-box-card.navy {
  background: var(--navy-primary);
}

.stat-box-card.skyblue {
  background: var(--sky-gradient);
}

.stat-box-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat-box-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.95;
}

/* 2 Sütunlu Ders Programı ve Ders Saatleri Düzeni (Masaüstü) */
.program-two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.curriculum-bordered-table {
  border: 1.5px solid var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.curriculum-bordered-table table {
  width: 100%;
  border-collapse: collapse;
}

.curriculum-bordered-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.curriculum-bordered-table tr:last-child {
  border-bottom: none;
}

.curriculum-bordered-table td {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

.curriculum-bordered-table td:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--navy-primary);
  border-left: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.schedule-rows-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-row-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange-primary);
}

.schedule-time-bold {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-primary);
  white-space: nowrap;
}

.schedule-desc-gray {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

.btn-bottom-cta-orange {
  width: 100%;
  background: var(--orange-primary);
  color: var(--white);
  border: none;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.22);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-bottom-cta-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.35);
}

.btn-bottom-cta-orange:active {
  transform: translateY(0);
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 10px rgba(255, 85, 0, 0.2);
}

.btn-action-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 85, 0, 0.3);
}

/* ==========================================================================
   6. SAYFA 4: BİREBİR ÖZEL DERS (ozel-ders.html)
   ========================================================================== */
.branch-selector-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.branch-grid-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 16px;
}

.btn-branch-toggle {
  background: var(--white);
  border: 2px solid var(--gray-300);
  color: var(--gray-800);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.btn-branch-toggle:hover {
  border-color: var(--navy-primary);
  background: var(--gray-50);
}

.btn-branch-toggle.selected {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
  box-shadow: 0 4px 14px rgba(13, 30, 58, 0.25);
}

.btn-branch-toggle.selected::after {
  content: '✓';
  color: var(--orange-primary);
  font-weight: 900;
}

/* 3 Koyu Renk Kart (Görsel 4 & 5 ile Birebir) */
.dark-cards-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.dark-feature-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(6, 14, 26, 0.4);
  transition: all var(--transition-fast);
}

.dark-feature-card:hover {
  transform: translateY(-5px);
  background: #14233c;
  box-shadow: 0 16px 36px rgba(6, 14, 26, 0.5);
  border-color: rgba(255, 94, 20, 0.3);
}

.dark-card-icon-frame {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.dark-card-icon-frame img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.dark-card-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--white);
}

.dark-card-caption {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-300);
}

/* ==========================================================================
   7. SAYFA 5: KURUMSAL / VİZYON (hakkimizda.html)
   ========================================================================== */
.about-hero-banner {
  background: linear-gradient(135deg, #0d1e3a 0%, #071224 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  margin-bottom: 50px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

/* ==========================================================================
   8. SAYFA 6: UZMAN KADRO (kadromuz.html)
   ========================================================================== */
.filter-tabs-center {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-pill-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--white);
}

.teachers-responsive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.wireframe-teacher-card {
  background: var(--white);
  border: 1.5px solid var(--gray-800);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.wireframe-teacher-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-primary);
  box-shadow: var(--shadow-md);
}

.teacher-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d1e3a 0%, #1e3a6d 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(13, 30, 58, 0.15);
  transition: all var(--transition-fast);
  overflow: hidden;
  position: relative;
}

.teacher-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.wireframe-teacher-card:hover .teacher-avatar-circle {
  background: var(--orange-gradient);
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(255, 94, 20, 0.35);
}

.teacher-action-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-primary);
  background: #fff7ed;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #ffedd5;
  transition: all var(--transition-fast);
}

.wireframe-teacher-card:hover .teacher-action-tag {
  background: var(--orange-primary);
  color: #fff;
  border-color: var(--orange-primary);
}

.teacher-avatar-circle svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.teacher-name-bold {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-primary);
  margin-bottom: 4px;
}

.teacher-branch-sub {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-600);
}

.teachers-empty-state {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  color: var(--gray-600);
  font-size: 1rem;
}

/* ==========================================================================
   9. SAYFA 7: İLETİŞİM (iletisim.html)
   ========================================================================== */
.contact-hero-banner {
  background: linear-gradient(135deg, #0d1e3a 0%, #071224 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  margin-bottom: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.contact-card-box {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.map-interactive-container {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.map-interactive-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-visual-box {
  display: block;
  width: 100%;
  height: 230px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  background: #f1f5f9;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.map-visual-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 30, 58, 0.9);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.map-visual-box:hover .map-badge-overlay {
  background: var(--orange-primary);
}

.map-pin-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.map-pin-marker svg {
  width: 38px;
  height: 38px;
  fill: var(--orange-primary);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  animation: pinHop 2s infinite ease-in-out;
}

@keyframes pinHop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.two-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-contact-navy {
  background: var(--navy-primary);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 30, 58, 0.2);
  transition: var(--transition-fast);
}

.btn-contact-navy:hover {
  background: var(--navy-surface);
  transform: translateY(-2px);
}

.btn-contact-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: var(--transition-fast);
}

.btn-contact-whatsapp img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.btn-contact-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1.5px solid var(--gray-100);
  padding-top: 24px;
}

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

.contact-bubble-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ice-blue);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-entry-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-500);
  text-transform: uppercase;
}

.contact-entry-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.contact-entry-value a {
  color: inherit;
  text-decoration: none;
}

.contact-entry-value a:hover {
  color: var(--orange-primary);
}

/* Form */
.quick-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.form-select optgroup {
  font-weight: 800;
  color: var(--navy-primary);
  background: var(--gray-100);
  padding: 6px 4px;
}

.form-select option {
  font-weight: 500;
  color: var(--gray-800);
  background: var(--white);
  padding: 8px 12px;
}

.quick-grade-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.grade-chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.grade-chip:hover {
  background: var(--ice-blue);
  border-color: var(--ice-blue-border);
  color: var(--navy-primary);
}

.grade-chip.active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(13, 30, 58, 0.2);
}

/* ==========================================================================
   10. SADELEŞTİRİLMİŞ MODERN FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-darkest);
  color: var(--white);
  padding: 30px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  text-align: center;
}

.footer-quote-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-quote-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gray-300);
  line-height: 1.6;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

.footer-quote-author {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
  text-align: center;
}

@media (max-width: 820px) {
  .site-footer {
    padding: 22px 0 18px;
  }
  .footer-quote-box {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .footer-quote-text {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   11. YÜZEN HIZLI EYLEM BUTONLARI (FLOATING WHATSAPP & CALL)
   ========================================================================== */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
}

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

.float-whatsapp {
  background: var(--whatsapp-green);
}

.float-whatsapp img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.float-call {
  background: var(--navy-primary);
  color: var(--white);
}

/* ==========================================================================
   12. MODALLAR (ÖN KAYIT & ÖĞRETMEN DETAYI)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 14, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

@media (max-height: 860px) {
  .modal-overlay {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--gray-100);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-primary);
}

.modal-close-btn {
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--orange-primary);
  color: var(--white);
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  padding: 18px 28px 24px;
  border-top: 1.5px solid var(--gray-100);
  display: flex;
  gap: 12px;
}

/* Toast Bildirimleri */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  background: var(--navy-primary);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 94, 20, 0.4);
  animation: toastPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-message.success svg {
  stroke: #22c55e;
}

.toast-message.error {
  border-color: rgba(239, 68, 68, 0.5);
}

.toast-message.error svg {
  stroke: #ef4444;
}

@keyframes toastPop {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   13. MOBİL ÇEKMECE MENÜ (DRAWER)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 14, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: var(--navy-primary);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.drawer-panel.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.drawer-brand-box img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.drawer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.drawer-nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: rgba(255, 255, 255, 0.12);
}

.drawer-nav-link.active {
  background: var(--orange-primary);
}

/* ==========================================================================
   14. DUYARLI (RESPONSIVE) MEDYA SORGULARI
   ========================================================================== */
@media (max-width: 1080px) {
  .grades-desktop-grid {
    grid-template-columns: 1fr;
  }
  .teachers-responsive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .branch-grid-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .btn-header-cta {
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: 7px;
    white-space: nowrap;
  }
  .program-two-col-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid-layout {
    grid-template-columns: 1fr;
  }
  .dark-cards-three-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 64px;
  }
  .navbar-inner {
    height: 64px;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .btn-header-cta {
    padding: 6px 11px;
    font-size: 0.76rem;
    border-radius: 6px;
    gap: 4px;
    white-space: nowrap;
  }
  .btn-header-cta svg {
    width: 13px;
    height: 13px;
  }
  .btn-bottom-cta-orange {
    padding: 11px 18px;
    font-size: 0.88rem;
    border-radius: 8px;
  }
  .main-wrapper {
    padding: 8px 0 50px;
  }
  .hero-box {
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    padding: 8px 0 12px;
  }
  .hero-logo-img {
    width: clamp(120px, 20vh, 160px);
    height: clamp(120px, 20vh, 160px);
    margin-bottom: 8px;
  }
  .hero-heading {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }
  .hero-description {
    font-size: 0.82rem;
    margin-bottom: 12px;
    line-height: 1.4;
    padding: 0 10px;
  }
  .hero-buttons-container {
    max-width: 320px;
    gap: 8px;
    margin-bottom: 4px;
  }
  .hero-btn-pair {
    gap: 8px;
  }
  .hero-btn-pair .btn-hero-navy,
  .hero-btn-pair .btn-hero-outline {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .hero-buttons-container .btn-hero-orange {
    width: 55%;
    padding: 9px 16px;
    font-size: 0.88rem;
  }
  .hero-scroll-btn {
    margin-top: 6px;
    font-size: 0.82rem;
  }
  .floating-actions-bar {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .float-btn svg,
  .float-btn img {
    width: 22px;
    height: 22px;
  }
  .page-title {
    font-size: 1.85rem;
  }
  .stats-three-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .teachers-responsive-grid {
    grid-template-columns: 1fr;
  }
  .two-buttons-row {
    grid-template-columns: 1fr;
  }
  .program-wrapper-card {
    padding: 24px 16px;
  }
  .branch-selector-card {
    padding: 24px 16px;
  }
  .about-hero-banner {
    padding: 36px 20px;
  }
  .contact-hero-banner {
    padding: 36px 18px;
    margin-bottom: 24px;
  }
  .map-interactive-container {
    height: 220px;
  }
}

@media (max-width: 380px) {
  .btn-header-cta {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
  .btn-header-cta svg {
    display: none;
  }
}

/* ==========================================================================
   ŞUBE DERS PROGRAMI & AKIŞI TABLOSU
   ========================================================================== */
.branch-schedule-block {
  margin-top: 14px;
  background: #f8fafc;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(13, 30, 58, 0.03);
}

.branch-schedule-head {
  background: #f1f5f9;
  padding: 8px 12px;
  border-bottom: 1.5px solid var(--gray-200);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.branch-schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.branch-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.branch-schedule-table th {
  background: #f8fafc;
  color: var(--navy-secondary);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 7px 12px;
  border-bottom: 1.5px solid var(--gray-200);
}

.branch-schedule-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--gray-800);
  line-height: 1.45;
  vertical-align: middle;
}

.branch-schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.branch-schedule-table tbody tr:hover {
  background: #ffffff;
}

.branch-schedule-table .day-col {
  color: var(--navy-primary);
  font-weight: 800;
  white-space: nowrap;
  background: rgba(241, 245, 249, 0.45);
  border-right: 1px solid #e2e8f0;
  width: 105px;
}

.branch-schedule-table .day-col strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.branch-schedule-table .lessons-col {
  font-weight: 600;
  color: #334155;
}

/* ==========================================================================
   MOBİL FORM & MODAL OPTİMİZASYONU (Sıfır Yatay Kayma & Tepe Kesilme Önleme)
   ========================================================================== */
@media (max-width: 768px) {
  /* iOS Otomatik Zoom & Sağa-Sola Kaymayı %100 Önleme (16px Kuralı) */
  .form-control,
  .form-select,
  .form-textarea,
  input,
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .main-wrapper,
  .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Public Modallar (Ön Kayıt & Bilgi Formu) */
  .modal-overlay {
    padding: 0 !important;
    padding-top: max(16px, env(safe-area-inset-top, 16px)) !important;
    align-items: flex-end !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: pan-y !important;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: calc(100dvh - env(safe-area-inset-top, 16px) - 16px) !important;
    max-height: calc(100vh - 60px) !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4) !important;
    touch-action: pan-y !important;
  }

  .modal-header {
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background: #ffffff !important;
    padding: 14px 18px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-title {
    font-size: 1.15rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
  }

  .modal-footer {
    flex-shrink: 0 !important;
    padding: 12px 18px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }
}
