/* ============================================
   KOLEJ WEB SİTESİ - Ana Stil Dosyası
   Renk vurguları: kırmızı, mavi, sarı (logo)
   ============================================ */

:root {
  /* Logo renkleri - vurgu olarak kullanım */
  --red: #c41e3a;
  --blue: #1e3a5f;
  --yellow: #e8b923;
  --teal: #00838f;
  --teal-dark: #006064;
  /* Nötr palet - ana tasarım */
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --white: #ffffff;
  --border: #e5e5e5;
  /* Tipografi */
  --font-heading: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  /* Spacing & layout */
  --container: 1200px;
  --header-h: 72px;
  --top-bar-h: 52px;
  --nav-bar-h: 48px;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

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

/* ------------------------------------------
   TOP BAR - Beyaz bar: logo | telefon | CTA
   ------------------------------------------ */
.top-bar {
  font-size: 0.875rem;
}

.top-bar-white {
  background: var(--white);
  color: var(--text);
  height: var(--top-bar-h);
  border-bottom: 1px solid var(--border);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 36px;
}

.top-bar-left .top-bar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-left .top-bar-social a {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.top-bar-inner .top-bar-cta {
  margin-left: auto;
}

/* Logo bar - sadece logo, ortalı */
.logo-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.logo-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-bar .logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-bar .logo-img {
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Logo - yuvarlak + metin */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wrap .logo-icon {
  display: flex;
  gap: 3px;
  align-items: center;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.logo-dot.red   { background: var(--red); }
.logo-dot.blue  { background: var(--blue); }
.logo-dot.yellow { background: var(--yellow); }

.logo-wrap .logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.logo-wrap:hover .logo-text {
  color: var(--teal-dark);
}

.top-phone {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  line-height: 1;
}

.top-phone:hover {
  color: var(--teal);
}

.top-phone i {
  color: var(--teal);
}

/* CTA pill butonları */
.top-bar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition);
}

.cta-pill:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white);
}

.cta-red    { background: var(--red); }
.cta-yellow { background: #f2881e; }
.cta-teal   { background: #298ece; }
.cta-callback { background: #e42e31; }

.top-bar-social {
  display: flex;
  gap: 10px;
}

.top-bar-social a {
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.top-bar-social a:hover {
  color: var(--teal);
  background: rgba(0, 131, 143, 0.08);
}

/* ------------------------------------------
   NAV BAR - Teal navigasyon
   ------------------------------------------ */
.nav-bar {
  background: #e42e31;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-list > li.has-mega,
.nav-list > li.has-dropdown {
  position: static;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-bar-h);
}

/* Breadcrumb (menü altı, sadece yönlendirme linkleri) */
.breadcrumb-bar {
  width: 100%;
  box-sizing: border-box;
  background-color: #eceff1;
  background-image: linear-gradient(180deg, #f4f6f8 0%, #e8ebee 100%);
  border-bottom: 1px solid #dde2e6;
  padding: 0.55rem 0;
}

.breadcrumb-bar-inner {
  min-width: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  gap: 0.2rem 0.35rem;
  row-gap: 0.35rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #006d76;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.breadcrumb-link:hover {
  text-decoration: none;
  background: rgba(0, 109, 118, 0.1);
  color: #005a62;
}

.breadcrumb-link--home .breadcrumb-home-icon {
  font-size: 0.8rem;
  opacity: 0.9;
}

.breadcrumb-label {
  line-height: 1.35;
}

.breadcrumb-current {
  color: #2c3539;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 109, 118, 0.07);
  max-width: 100%;
}

.breadcrumb-sep {
  display: flex;
  align-items: center;
  color: #9aa5aa;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  padding: 0 0.05rem;
}

.breadcrumb-sep-icon {
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 300;
}

@media (min-width: 769px) {
  .breadcrumb-list {
    flex-wrap: wrap;
  }

  /* Masaüstünde şerit rengi bozulmasın: metin alanları şeffaf, vurgu hover’da */
  .breadcrumb-current {
    background: transparent;
    color: #333;
    font-weight: 600;
    padding: 0.15rem 0;
  }

  .breadcrumb-link {
    padding: 0.15rem 0.4rem;
  }
}

@media (max-width: 768px) {
  .breadcrumb-bar {
    padding: 0.5rem 0;
    border-bottom-color: #d5dade;
  }

  .breadcrumb-bar-inner {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
  }

  .breadcrumb-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb-list {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    font-size: 0.8125rem;
    gap: 0.15rem 0.3rem;
    padding: 0.1rem 0 0.1rem 0;
    padding-right: 1.25rem;
  }

  .breadcrumb-item {
    flex-shrink: 0;
  }

  .breadcrumb-sep {
    padding: 0;
  }

  /* Uzun başlık: kesme yok; yatay kaydırarak tamamı görünsün */
  .breadcrumb-current {
    background: rgba(0, 109, 118, 0.08);
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    display: inline-flex;
    align-items: center;
  }

  .breadcrumb-link--home .breadcrumb-label {
    white-space: nowrap;
  }
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: var(--nav-bar-h);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition);
}

.nav-list .nav-icon {
  font-size: 0.9rem;
  width: 1.1em;
  text-align: center;
  opacity: 0.95;
}

.nav-list > li > a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Dropdown ok - küçük beyaz kare */
.nav-arrow {
  width: 6px;
  height: 6px;
  background: var(--white);
  transform: rotate(45deg);
  margin-left: 2px;
}

.nav-list > li:hover > a .nav-arrow {
  transform: rotate(225deg);
}

.nav-highlight {
  background: var(--teal-dark) !important;
}

.nav-highlight:hover {
  background: rgba(0, 96, 100, 0.9) !important;
}

/* Eski logo (footer vb.) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo .logo-icon {
  display: flex;
  gap: 4px;
  align-items: center;
}

.logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

/* Dropdown (teal bar altında - şık açılır menü) */
.has-dropdown {
  position: relative;
}

.has-dropdown .nav-chevron,
.has-mega .nav-chevron {
  font-size: 0.65rem;
  margin-left: 4px;
  opacity: 0.9;
  transition: transform var(--transition);
}

.has-dropdown:hover > a .nav-chevron,
.has-mega:hover > a .nav-chevron {
  transform: rotate(180deg);
}

.has-dropdown .dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  top: 100%;
  min-width: 260px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding: 12px 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 100;
}

.nav-bar .has-dropdown .dropdown {
  top: var(--nav-bar-h);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li {
  margin: 0 8px;
  border-radius: 6px;
}

.dropdown li:first-child {
  margin-top: 0;
}

.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text);
  text-transform: none;
  font-weight: 500;
  height: auto;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown li a .dropdown-arrow {
  font-size: 0.7rem;
  color: #e42e31;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.dropdown li a:hover {
  background: rgba(228, 46, 49, 0.1);
  color: #e42e31;
  padding-left: 20px;
}

.dropdown li a:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ========== KURUMSAL MEGA MENÜ (tamamen ayrı) ========== */
.kurumsal-mega {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  top: 100%;
  width: min(96vw, 1100px);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 131, 143, 0.08);
  border-radius: 16px;
  padding: 28px 44px 32px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 100;
  border: 1px solid rgba(0, 131, 143, 0.1);
}

.nav-bar .has-mega .kurumsal-mega {
  top: var(--nav-bar-h);
}

.has-mega:hover .kurumsal-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.kurumsal-mega-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 0;
  padding: 0;
}

.kurumsal-mega-logo {
  padding: 0 20px 0 0;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 131, 143, 0.12);
}

.kurumsal-mega-logo-img {
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.kurumsal-mega-col {
  padding: 0 16px;
}

.kurumsal-mega-col:not(:last-child) {
  border-right: 1px solid rgba(0, 131, 143, 0.12);
}

.kurumsal-mega-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kurumsal-mega-col ul li {
  margin-bottom: 0;
}

.kurumsal-mega-col ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.kurumsal-mega-col ul a .mega-arrow {
  font-size: 0.7rem;
  color: #e42e31;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.kurumsal-mega-col ul a:hover {
  color: #e42e31;
  padding-left: 20px;
  background: rgba(228, 46, 49, 0.1);
}

.kurumsal-mega-col ul a:hover .mega-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ========== OKULUMUZ MEGA MENÜ (tamamen ayrı) ========== */
.okulumuz-mega {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  top: 100%;
  width: min(96vw, 1100px);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 131, 143, 0.08);
  border-radius: 16px;
  padding: 28px 44px 32px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 100;
  border: 1px solid rgba(0, 131, 143, 0.1);
}

.nav-bar .has-mega .okulumuz-mega {
  top: var(--nav-bar-h);
}

.has-mega:hover .okulumuz-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.okulumuz-mega-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  padding: 0;
  min-width: 0;
}

.okulumuz-mega-logo {
  padding: 0 20px 0 0;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 131, 143, 0.12);
}

.okulumuz-mega-logo-img {
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.okulumuz-mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  min-width: 0;
}

.okulumuz-mega-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.okulumuz-mega-links a .mega-arrow {
  font-size: 0.7rem;
  color: #e42e31;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.okulumuz-mega-links a:hover {
  color: #e42e31;
  padding-left: 20px;
  background: rgba(228, 46, 49, 0.1);
}

.okulumuz-mega-links a:hover .mega-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Masaüstü: nav-inner içeriği main-nav'ın flex çocukları gibi davransın */
.nav-inner {
  display: contents;
}

/* Mobil menü kapatma butonu - sadece mobilde görünür */
.nav-close {
  display: none;
}

/* Mobil menü logo, CTA ve sosyal - sadece mobilde görünür */
.nav-mobile-logo,
.nav-mobile-cta,
.nav-mobile-social {
  display: none !important;
}

/* Mobil menü toggle - teal bar'da beyaz çizgiler */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------
   HERO SLIDER
   ------------------------------------------ */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay, rgba(0,0,0,0.35));
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.slide-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 12px;
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}

.slide-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  max-width: 480px;
  margin-bottom: 24px;
}

/* Slider butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: #a01830;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* Slider sağ taraf - numaralı kare butonlar (01, 02, 03) */
.slider-numbers {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.slider-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.slider-num:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
}

.slider-num.active {
  background: #e42e31;
  border-color: #e42e31;
  color: var(--white);
}

/* ------------------------------------------
   STATİK İÇERİK SAYFASI (sayfa.php — menü sayfaları)
   ------------------------------------------ */
.static-page {
  background: var(--bg);
  padding-bottom: 3.5rem;
}

.static-page-hero {
  background: linear-gradient(125deg, var(--blue) 0%, #0d5c62 48%, var(--teal) 100%);
  color: var(--white);
  padding: 2.75rem 1.25rem 3.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.static-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(228, 46, 49, 0.22), transparent 55%);
  pointer-events: none;
}

.static-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.static-page-title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.static-page-lead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.static-page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.static-page-inner--error {
  padding-top: 2.5rem;
  max-width: 520px;
}

.static-page-hero--cover::after {
  background: linear-gradient(to bottom, rgba(30, 58, 95, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.static-page-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--border);
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}

.static-page-hero--cover + .static-page-inner .static-page-card {
  margin-top: -2.25rem;
}

.static-page-inner--error .static-page-card {
  margin-top: 0;
  text-align: center;
}

.static-page-error {
  padding: 2.5rem 2rem 2.75rem;
}

.static-page-error-icon {
  font-size: 3.25rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.static-page-error-title {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
}

.static-page-error-text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1rem;
}

.static-page-error-cta {
  text-decoration: none;
}

@media (max-width: 600px) {
  .static-page-hero {
    padding: 2rem 1rem 2.5rem;
  }

  .static-page-card {
    padding: 1.5rem 1.25rem;
    margin-top: -1.5rem;
    border-radius: 14px;
  }

  .static-page-hero--cover + .static-page-inner .static-page-card {
    margin-top: -1.5rem;
  }
}

/* Editör / HTML içerik tipografisi */
.page-prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.page-prose > *:first-child {
  margin-top: 0;
}

.page-prose h2 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2rem 0 0.65rem;
  line-height: 1.3;
}

.page-prose h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 1.5rem 0 0.5rem;
  line-height: 1.35;
}

.page-prose h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.45rem;
  color: var(--text);
}

.page-prose p {
  margin: 0 0 1.1em;
}

.page-prose ul,
.page-prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.page-prose li {
  margin-bottom: 0.35em;
}

.page-prose li::marker {
  color: var(--teal);
}

.page-prose a {
  color: #006d76;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-prose a:hover {
  color: var(--teal-dark);
}

.page-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.35rem 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.page-prose blockquote {
  border-left: 4px solid var(--red);
  padding: 0.65rem 0 0.65rem 1.35rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.page-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.97rem;
}

.page-prose th,
.page-prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.page-prose th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--blue);
}

.page-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.page-prose iframe {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.25rem 0;
}

.static-page-meta {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.static-page-hero--liste {
  padding: 2.25rem 1.25rem 2.75rem;
}

.static-page-card--haber {
  padding-bottom: 1.75rem;
}

/* Haber/Etkinlik/Sayfa detay: içerik kartı alanını masaüstünde genişlet */
@media (min-width: 992px) {
  .static-page--haber .static-page-inner,
  .static-page--etkinlik .static-page-inner,
  .static-page--sayfa .static-page-inner {
    max-width: min(1260px, calc(100% - 2.5rem));
  }
}

.haber-detay-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.haber-detay-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #006d76;
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.haber-detay-back:hover {
  color: var(--red);
  gap: 0.65rem;
}

.detay-icerik-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detay-icerik-layout__text {
  min-width: 0;
}

.detay-icerik-layout__media {
  margin: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.detay-icerik-layout__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Orta: tam genişlik bant, görsel metnin üstünde */
.detay-icerik-layout--orta {
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.detay-icerik-layout--orta .detay-icerik-layout__text {
  order: 1;
  width: 100%;
  max-width: none;
}

.detay-icerik-layout--orta .detay-icerik-layout__media {
  order: -1;
  width: 100%;
  max-width: none;
  flex: none;
  position: relative;
  top: auto;
}

/* Orta: görseli kırpmadan (orijinal oran, tam genişlikte) */
.detay-icerik-layout--orta .detay-icerik-layout__media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  object-position: center;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .detay-icerik-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .detay-icerik-layout--sol {
    flex-direction: row-reverse;
  }

  .detay-icerik-layout--yok {
    flex-direction: column;
    gap: 0;
  }

  .detay-icerik-layout--yok .detay-icerik-layout__text {
    flex: none;
    width: 100%;
  }

  .detay-icerik-layout__text {
    flex: 1 1 0;
  }

  .detay-icerik-layout__media {
    flex: 0 0 min(40%, 420px);
    position: sticky;
    top: 92px;
  }

  .detay-icerik-layout--orta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
  }

  .detay-icerik-layout--orta .detay-icerik-layout__text {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .detay-icerik-layout--orta .detay-icerik-layout__media {
    flex: none;
    width: 100%;
    max-width: 100%;
    position: static;
    top: auto;
  }

}

.detay-galeri {
  margin-top: 2.25rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.detay-galeri-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
}

.detay-galeri-title__icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--teal);
  opacity: 0.92;
}

.detay-galeri-title__text {
  min-width: 0;
}

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

@media (min-width: 768px) {
  .detay-galeri-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.detay-galeri-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
}

.detay-galeri-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.detay-galeri-item:hover img {
  transform: scale(1.03);
}

/* Detay sayfaları — galeri lightbox */
.detay-galeri-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.detay-galeri-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.detay-galeri-lightbox.is-open[hidden] {
  display: flex;
}

.detay-galeri-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(14, 30, 46, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.detay-galeri-lightbox__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: min(96vw, 1400px);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.detay-galeri-lightbox__panel > * {
  pointer-events: auto;
}

.detay-galeri-lightbox__stage {
  flex: 0 1 auto;
  max-width: 100%;
  max-height: calc(96vh - 4.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3.25rem;
  touch-action: pan-y pinch-zoom;
}

.detay-galeri-lightbox__img {
  max-width: 100%;
  max-height: calc(96vh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}

.detay-galeri-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 3;
}

.detay-galeri-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.detay-galeri-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 3;
}

.detay-galeri-lightbox__nav:hover:not(:disabled) {
  background: rgba(0, 131, 143, 0.85);
  transform: translateY(-50%) scale(1.06);
}

.detay-galeri-lightbox__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.detay-galeri-lightbox__nav--prev {
  left: max(0.5rem, env(safe-area-inset-left));
}

.detay-galeri-lightbox__nav--next {
  right: max(0.5rem, env(safe-area-inset-right));
}

.detay-galeri-lightbox__counter {
  margin-top: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .detay-galeri-lightbox__stage {
    margin: 0 0.25rem;
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
  }

  .detay-galeri-lightbox__img {
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    border-radius: 8px;
  }

  .detay-galeri-lightbox__nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    transform: none;
  }

  .detay-galeri-lightbox__nav--prev {
    left: max(0.75rem, env(safe-area-inset-left));
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .detay-galeri-lightbox__nav--next {
    right: max(0.75rem, env(safe-area-inset-right));
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .detay-galeri-lightbox__nav:hover:not(:disabled) {
    transform: scale(1.06);
  }

  .detay-galeri-lightbox__close {
    width: 40px;
    height: 40px;
  }
}

.haberliste-wrap {
  padding: 0 1.25rem 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.haberliste-empty {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: center;
}

.haberliste-empty p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.haberliste-empty .btn-primary {
  text-decoration: none;
}

.news-grid--liste {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 0.5rem;
}

@media (min-width: 1100px) {
  .news-grid--liste {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------
   EĞİTİM KADEMELERİ - Slider altı 3 kart
   ------------------------------------------ */
.education-levels {
  margin-bottom: 0;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 100%;
  overflow: hidden;
}

.level-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  overflow: hidden;
  transition: transform var(--transition);
}

.level-card:hover {
  transform: scale(1.02);
}

.level-card .level-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.level-card .level-overlay {
  position: absolute;
  inset: 0;
  transition: opacity var(--transition);
}

.level-card.overlay-red .level-overlay {
  background: rgba(196, 30, 58, 0.75);
}

.level-card.overlay-blue .level-overlay {
  background: rgba(30, 58, 95, 0.78);
}

.level-card:hover .level-overlay {
  opacity: 0.92;
}

.level-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.level-content h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.level-content p {
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 20px;
  max-width: 280px;
}

.level-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.level-card:hover .level-btn {
  background: var(--yellow);
  color: var(--text);
  transform: translateX(4px);
}

/* Eğitim kademeleri - responsive */
@media (max-width: 1024px) {
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .level-card {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .levels-grid {
    grid-template-columns: 1fr;
  }
  .level-card {
    min-height: 280px;
    padding: 24px 20px;
  }
  .level-content h3 {
    font-size: 1.25rem;
  }
}

/* ------------------------------------------
   QUICK ACCESS - Hızlı erişim kartları
   ------------------------------------------ */
.quick-access {
  padding: 64px 0;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

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

.quick-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.quick-card:nth-child(1) { border-top-color: var(--red); }
.quick-card:nth-child(2) { border-top-color: var(--blue); }
.quick-card:nth-child(3) { border-top-color: var(--yellow); }
.quick-card:nth-child(4) { border-top-color: var(--red); }

.quick-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
}

.quick-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.quick-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ------------------------------------------
   ABOUT PREVIEW
   ------------------------------------------ */
.about-preview {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.about-color-blocks {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-color-blocks .block {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
}

.about-color-blocks .block.red    { background: var(--red); }
.about-color-blocks .block.blue   { background: var(--blue); }
.about-color-blocks .block.yellow { background: var(--yellow); }

/* ------------------------------------------
   STATS BAR
   ------------------------------------------ */
.stats-bar {
  padding: 48px 0;
  background: var(--blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.9375rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* ------------------------------------------
   ETKİNLİKLER
   ------------------------------------------ */
.events-section {
  padding: 80px 0;
  background: var(--white);
}

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

.events-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.events-title {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: #e42e31;
  margin: 0;
}

.events-section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e42e31;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.events-section-link:hover {
  color: #298ece;
  gap: 12px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 6px;
}

.event-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.event-card:hover {
  transform: scale(1.02);
}

.event-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.event-card:hover .event-card-overlay {
  background: linear-gradient(to top, rgba(228, 46, 49, 0.85) 0%, rgba(228, 46, 49, 0.2) 50%);
}

.event-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  z-index: 2;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.static-page-meta-label {
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .events-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .events-title {
    font-size: 1.5rem;
  }
}

/* ------------------------------------------
   NEWS PREVIEW
   ------------------------------------------ */
.news-preview {
  padding: 80px 0;
  background: #f5f5f5;
}

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

.news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.news-section-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: #e42e31;
  margin: 0;
}

.news-section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e42e31;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-section-link:hover {
  color: #298ece;
  gap: 12px;
}

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

/* Ana sayfa — haber / etkinlik listesi boş */
.home-preview-empty {
  grid-column: 1 / -1;
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 2.65rem 1.75rem 2.85rem;
  background: linear-gradient(165deg, #ffffff 0%, #f6f9fb 45%, #eef4f7 100%);
  border: 1px solid rgba(0, 131, 143, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-preview-empty--news {
  border-top: 3px solid rgba(228, 46, 49, 0.35);
}

.home-preview-empty--events {
  border-top: 3px solid rgba(41, 142, 206, 0.4);
}

.home-preview-empty__visual {
  margin-bottom: 1.1rem;
}

.home-preview-empty__icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(155deg, rgba(0, 131, 143, 0.16), rgba(0, 131, 143, 0.06));
  color: var(--teal);
  font-size: 1.55rem;
  box-shadow: 0 6px 18px rgba(0, 131, 143, 0.12);
}

.home-preview-empty__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.home-preview-empty__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.news-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.news-card-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #e42e31;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}

.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}

.news-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-body h3 {
  color: #e42e31;
}

.news-card-body p {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.news-card-more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #298ece;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-card-more i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card-more {
  color: #e42e31;
  gap: 10px;
}

.news-card:hover .news-card-more i {
  transform: translateX(3px);
}

/* ------------------------------------------
   ÇÖZÜM ORTAKLARIMIZ
   ------------------------------------------ */
.partners-section {
  padding: 56px 0 64px;
  background: var(--white);
}

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

.partners-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.partners-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: #e42e31;
  margin: 0;
}

.partners-section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e42e31;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.partners-section-link:hover {
  color: #298ece;
  gap: 12px;
}

.partners-carousel {
  position: relative;
  min-height: 150px;
}

.partners-sets {
  position: relative;
  min-height: 150px;
}

.partners-set {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out;
}

.partners-set.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 115px;
  padding: 16px 12px;
  background: transparent;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.partner-item:hover {
  opacity: 0.85;
}

.partner-logo {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Gerçek logo kullanıldığında: .partner-item içine <img src="assets/partners/xxx.png" alt="..." class="partner-img"> */
.partner-item img.partner-img {
  max-width: 100%;
  max-height: 115px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ------------------------------------------
   FOOTER
   ------------------------------------------ */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  padding: 0;
  position: relative;
}

.footer-top-accent {
  height: 4px;
  background: #e42e31;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 48px;
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e42e31;
  display: inline-block;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-list a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-list a:hover {
  color: #e42e31;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
}

.footer-contact-list li i {
  color: #e42e31;
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #e42e31;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
}

.footer-dev-label {
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.footer-dev-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-dev-link:hover {
  color: #fff;
  background: rgba(228, 46, 49, 0.25);
  box-shadow: 0 0 0 1px rgba(228, 46, 49, 0.3);
}

.footer-legal {
  font-size: 0.875rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #e42e31;
}

.footer-legal-sep {
  margin: 0 10px;
  color: rgba(255,255,255,0.25);
}

/* ------------------------------------------
   MODAL (Ön Kayıt / Bursluluk Sınavı)
   ------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  padding: 0;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.modal-top .modal-close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-close:hover {
  background: #e42e31;
  color: var(--white);
}

.modal-header {
  margin-bottom: 20px;
  padding: 24px 28px 0;
}

.modal-title {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.modal-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.modal-form {
  padding: 0 28px 28px;
}

.modal-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-bottom: 16px;
}

.modal-form .form-row {
  margin-bottom: 16px;
}

.modal-form .form-grid .form-row {
  margin-bottom: 16px;
}

.modal-form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.modal-form .form-label .required {
  color: #e42e31;
}

.modal-form .form-input,
.modal-form .form-select,
.modal-form .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form .form-input:focus,
.modal-form .form-select:focus,
.modal-form .form-textarea:focus {
  outline: none;
  border-color: #e42e31;
  box-shadow: 0 0 0 3px rgba(228, 46, 49, 0.15);
}

.modal-form .form-textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-form .form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--white);
  background: #e42e31;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-form .form-submit:hover {
  background: #c41e21;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .modal-box {
    max-height: 85vh;
  }
  .modal-top {
    padding: 16px 20px;
  }
  .modal-logo img {
    height: 38px;
  }
  .modal-header {
    padding: 20px 20px 0;
  }
  .modal-form {
    padding: 0 20px 24px;
  }
  .modal-form .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ------------------------------------------
   SABİT İLETİŞİM İKONLARI (SAĞ KENAR)
   ------------------------------------------ */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

.float-contact-btn i {
  font-size: 1.5rem;
}

.float-contact-label {
  position: absolute;
  right: 100%;
  margin-right: 14px;
  padding: 8px 14px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.float-contact-btn:hover .float-contact-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.float-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.float-whatsapp:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.float-phone {
  background: linear-gradient(135deg, #e42e31 0%, #c41e21 100%);
}

.float-phone:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(228, 46, 49, 0.45);
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-content {
    order: 1;
  }
  .about-visual {
    order: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .news-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-set {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 32px;
    padding: 40px 0 32px;
  }
}

@media (max-width: 900px) {
  .top-bar-cta {
    display: none;
  }
  .top-bar-center {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .top-bar-left {
    justify-content: center;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    padding: 80px 0 32px;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    direction: ltr;
    display: block;
  }
  .main-nav.is-open {
    right: 0;
  }
  .main-nav .nav-inner {
    display: block;
    width: 100%;
  }
  .main-nav .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .main-nav .nav-close:hover {
    background: #e42e31;
    color: #fff;
  }
  .main-nav .nav-mobile-logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 20px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
  }
  .main-nav .nav-mobile-logo a {
    display: inline-block;
  }
  .main-nav .nav-mobile-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  .main-nav .nav-mobile-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--border);
  }
  .main-nav .nav-mobile-cta .cta-pill {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9375rem;
  }
  .main-nav .nav-mobile-social {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid var(--border);
    margin-top: 0;
  }
  .main-nav .nav-mobile-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
    font-size: 1.125rem;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .main-nav .nav-mobile-social a:hover {
    background: #e42e31;
    color: #fff;
  }
  .main-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav .nav-list > li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
  }
  .main-nav .nav-list > li > a {
    padding: 14px 20px;
    border-bottom: none;
    color: var(--text) !important;
    height: auto;
    text-transform: uppercase;
    display: block;
  }
  .main-nav .nav-arrow {
    background: var(--text);
  }
  .main-nav .nav-highlight {
    background: transparent !important;
  }
  .main-nav .nav-highlight:hover {
    background: var(--bg) !important;
  }
  .main-nav .has-dropdown .dropdown,
  .main-nav .has-mega .kurumsal-mega,
  .main-nav .has-mega .okulumuz-mega {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--bg);
    margin: 8px 20px 0 !important;
    padding: 12px 12px 12px 16px !important;
    display: none;
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    min-width: 0 !important;
    max-height: none;
    overflow: visible;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-sizing: border-box;
  }
  .main-nav .has-dropdown.is-open .dropdown,
  .main-nav .has-mega.is-open .kurumsal-mega,
  .main-nav .has-mega.is-open .okulumuz-mega {
    display: block;
  }
  .has-dropdown.is-open > a .nav-chevron,
  .has-mega.is-open > a .nav-chevron {
    transform: rotate(180deg);
  }
  .main-nav .kurumsal-mega-inner,
  .main-nav .okulumuz-mega-inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    min-width: 0;
    width: 100%;
  }
  .main-nav .kurumsal-mega-logo,
  .main-nav .okulumuz-mega-logo {
    display: none;
  }
  .main-nav .kurumsal-mega-col {
    border-right: none;
    padding: 0;
    min-width: 0;
  }
  .main-nav .kurumsal-mega-col ul {
    min-width: 0;
  }
  .main-nav .kurumsal-mega-col ul a {
    padding: 10px 12px;
  }
  .main-nav .okulumuz-mega-links {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }
  .main-nav .okulumuz-mega-links a {
    padding: 10px 12px;
  }
  .main-nav .dropdown {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .main-nav .dropdown li {
    margin: 0;
  }
  .main-nav .dropdown li a {
    padding: 10px 12px;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 600px) {
  .partners-section {
    padding: 40px 0 48px;
  }
  .partners-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .partners-title {
    font-size: 1.5rem;
  }
  .partners-set {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .partner-item {
    min-height: 68px;
    padding: 12px 10px;
  }
  .partner-item img.partner-img {
    max-height: 56px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0 28px;
    text-align: left;
  }
  .footer-grid .footer-col {
    display: none;
  }
  .footer-contact {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    max-width: 100%;
  }
  .footer-contact .footer-col-title {
    margin-left: 0;
    margin-right: 0;
  }
  .footer-contact-list li {
    justify-content: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .slide-content h1 {
    font-size: 1.75rem;
  }
  .hero-slider {
    height: 70vh;
    min-height: 420px;
  }
  .hero-slider .slider-numbers {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 12px;
  }
  .hero-slider .slider-num {
    width: 44px;
    height: 44px;
    font-size: 0.8125rem;
  }
}

/* ------------------------------------------
   404 SAYFASI
   ------------------------------------------ */
.page-404 {
  min-height: 42vh;
  padding: 3rem 0 4.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 45%, #f5f5f5 100%);
}

.page-404-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-404-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.75rem 2.75rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 131, 143, 0.12);
  box-shadow:
    0 20px 50px rgba(30, 58, 95, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.page-404-badge {
  margin: 0 0 1rem;
  font-size: clamp(3.5rem, 14vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #e42e31 0%, #c41e3a 35%, #00838f 65%, #006064 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page-404-badge span {
  display: inline-block;
  text-shadow: none;
}

.page-404-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

.page-404-lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-404-path {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: #78909c;
  word-break: break-all;
}

.page-404-path-label {
  display: block;
  font-weight: 600;
  color: #546e7a;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-404-path code {
  display: inline-block;
  max-width: 100%;
  padding: 0.4rem 0.65rem;
  background: #f0f4f8;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #37474f;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.page-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-404-btn i {
  font-size: 0.95em;
  opacity: 0.95;
}

.page-404-btn--primary {
  background: linear-gradient(135deg, #00838f 0%, #006d77 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 131, 143, 0.35);
}

.page-404-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 131, 143, 0.4);
}

.page-404-btn--ghost {
  background: #fff;
  color: #37474f;
  border: 1px solid #cfd8dc;
}

.page-404-btn--ghost:hover {
  border-color: #00838f;
  color: #006d77;
  background: rgba(0, 131, 143, 0.06);
}

@media (max-width: 480px) {
  .page-404 {
    padding: 2rem 0 3.5rem;
  }

  .page-404-card {
    padding: 2rem 1.25rem 2.25rem;
    border-radius: 16px;
  }

  .page-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .page-404-btn {
    width: 100%;
    max-width: 280px;
  }
}
