/* ==========================================================================
   Doğru Rotam Sosyal Etkinlik ve Gelişim Merkezi
   Modern, Sıfır Şişkinlik, Core Web Vitals 95+ Uyumlu CSS
   Kurumsal Renk Dili Korunmuştur: #01a3d4 (Ana Mavi) | #2b3c6b (Lacivert) | #fbb419 (Altın)
   ========================================================================== */

:root {
  --brand-primary: #01a3d4;
  --brand-primary-dark: #0182aa;
  --brand-primary-soft: rgba(1, 163, 212, 0.1);
  --brand-navy: #2b3c6b;
  --brand-navy-deep: #1e2b4f;
  --brand-gold: #fbb419;
  --brand-gold-dark: #d99606;
  --surface-white: #ffffff;
  --surface-warm: #f7f5f0;
  --surface-cream: #f3f0e9;
  --border-subtle: #e2e8f0;
  --text-main: #2d3748;
  --text-muted: #526071;
  --success: #0f766e;
  --danger: #b91c1c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(43, 60, 107, 0.06);
  --shadow-md: 0 12px 32px rgba(43, 60, 107, 0.1);
  --shadow-lg: 0 20px 48px rgba(43, 60, 107, 0.14);
  --font-heading: 'M PLUS Rounded 1c', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--surface-white);
  overflow-x: clip;
}

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

a {
  color: var(--brand-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--brand-navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

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

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(1, 163, 212, 0.28);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  color: #ffffff;
}

.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-navy-deep);
  box-shadow: 0 6px 18px rgba(251, 180, 25, 0.3);
}

.btn-gold:hover {
  background: #eaa30c;
  color: var(--brand-navy-deep);
}

.btn-navy {
  background: var(--brand-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--brand-navy-deep);
  color: #ffffff;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--brand-navy);
}

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

.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

/* ── Announcement Bar ──────────────────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 2px solid var(--brand-gold);
}

.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  text-align: center;
}

.announcement-badge {
  background: var(--brand-gold);
  color: var(--brand-navy-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.announcement-cta {
  color: var(--brand-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-cta:hover {
  color: #ffffff;
}

/* ── Topbar & Sticky Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(43, 60, 107, 0.04);
}

.header-topbar {
  background: var(--surface-warm);
  border-bottom: 1px solid #e9e4da;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-navy);
  font-weight: 600;
}

.topbar-links a:hover {
  color: var(--brand-primary-dark);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--brand-navy);
  border: 1px solid #e2ddd3;
}

.topbar-social a:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

@media (max-width: 768px) {
  .header-topbar {
    padding: 0.3rem 0;
    font-size: 0.8rem;
  }
  .topbar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .topbar-links {
    flex-wrap: nowrap;
    gap: 0.65rem;
    min-width: 0;
  }
  .topbar-email,
  .topbar-location {
    display: none !important;
  }
  .topbar-social {
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .topbar-social a {
    width: 26px;
    height: 26px;
  }
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  padding: 0.6rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  padding: 0.5rem 0.68rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--brand-navy);
  border-radius: 10px;
}

.nav-caret {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-primary-dark);
  background: var(--brand-primary-soft);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 950;
}

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

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-dropdown a:hover {
  background: var(--surface-warm);
  color: var(--brand-primary-dark);
}

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

.header-actions .btn {
  white-space: nowrap;
  min-height: 42px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-warm);
  color: var(--brand-navy);
  cursor: pointer;
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .header-actions .btn-desktop-only {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 43, 79, 0.55);
  display: none;
  justify-content: flex-end;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer-panel {
  width: min(340px, 88vw);
  height: 100%;
  background: #ffffff;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--brand-navy);
}

.mobile-nav-list a:hover {
  background: var(--surface-warm);
}

.mobile-sub-list {
  list-style: none;
  padding: 0 0 0.25rem 1rem;
  margin: 0;
}

.mobile-sub-list a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
}

/* ── Hero Slider (Zero DOM Cloning, LCP-Optimized) ─────────────────────────── */
.hero-section {
  position: relative;
  background: var(--brand-navy-deep);
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: clamp(460px, 62vh, 620px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  position: relative;
  min-height: clamp(460px, 62vh, 620px);
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(22, 34, 66, 0.88) 0%, rgba(22, 34, 66, 0.68) 55%, rgba(22, 34, 66, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding-block: 4rem;
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(251, 180, 25, 0.2);
  border: 1px solid rgba(251, 180, 25, 0.65);
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 1.25rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-controls > * {
  pointer-events: auto;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-dot[aria-current="true"] {
  width: 30px;
  background: var(--brand-gold);
}

.hero-arrows {
  display: flex;
  gap: 0.5rem;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(22, 34, 66, 0.55);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ── Section Common ────────────────────────────────────────────────────────── */
.section {
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.section-warm {
  background: var(--surface-warm);
}

.section-navy {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header.centred {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary-dark);
  margin-bottom: 0.5rem;
}

.section-navy .section-eyebrow {
  color: var(--brand-gold);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-navy .section-title {
  color: #ffffff;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-navy .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Stats Strip ───────────────────────────────────────────────────────────── */
.stats-band {
  background: var(--brand-navy);
  color: #ffffff;
  padding-block: 2.25rem;
  border-top: 3px solid var(--brand-primary);
  border-bottom: 3px solid var(--brand-gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 900;
  color: var(--brand-gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── About Grid ────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.about-media figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media figure:nth-child(2) {
  margin-top: 2.25rem;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 240px;
}

.about-badge-card strong {
  display: block;
  color: var(--brand-navy);
  font-family: var(--font-heading);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-badge-card {
    position: static;
    transform: none;
    grid-column: 1 / -1;
  }
}

/* ── Grids & Cards ─────────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-cream);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(43, 60, 107, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--brand-primary-dark);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.card-title a {
  color: var(--brand-navy);
}

.card-title a:hover {
  color: var(--brand-primary-dark);
}

.card-footer-link {
  margin-top: auto;
  padding-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-primary-dark);
}

/* ── Why Us Feature Cards ──────────────────────────────────────────────────── */
.why-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid #e9e4da;
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ── Guidance Split Section ────────────────────────────────────────────────── */
.guidance-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.guidance-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.guidance-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.guidance-list {
  display: grid;
  gap: 1rem;
}

.guidance-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.guidance-item-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-navy-deep);
  font-family: var(--font-heading);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guidance-item h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.guidance-item p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .guidance-split {
    grid-template-columns: 1fr;
  }
}

/* ── Teacher Cards ─────────────────────────────────────────────────────────── */
.teacher-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.teacher-photo {
  background: linear-gradient(180deg, var(--surface-warm) 0%, #e7eff5 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.teacher-info {
  padding: 1.25rem;
}

.teacher-branch {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  background: var(--brand-primary-soft);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.teacher-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Testimonials (Google Reviews Style) + Native <details> FAQ Accordion ────── */
.reviews-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .reviews-faq-grid {
    grid-template-columns: 1fr;
  }
}

.reviews-stack {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e8e3d9;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.review-author {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-navy);
}

.review-grade {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--brand-gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.review-source {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
}

/* Native <details> Accordion per Modern Web Guidance */
.faq-accordion {
  display: grid;
  gap: 0.75rem;
}

.faq-accordion details {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(43, 60, 107, 0.04);
}

.faq-accordion details[open] {
  border-color: var(--brand-primary);
}

.faq-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brand-navy);
  cursor: pointer;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::before {
  content: "";
  inline-size: 0.85em;
  block-size: 0.85em;
  flex-shrink: 0;
  background-color: var(--brand-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.faq-accordion details[open] > summary::before {
  rotate: 0deg;
}

.faq-accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-accordion summary::before {
    transition: rotate 0.2s ease;
  }
  .faq-accordion details::details-content {
    transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 1.25rem 1.15rem 2.75rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ── Gallery Grid & Lightbox ───────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--surface-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(22, 34, 66, 0.82));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

/* ── Page Header (Inner Pages) ─────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(125deg, var(--brand-navy-deep) 0%, var(--brand-navy) 65%, #01759a 100%);
  color: #ffffff;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 4px solid var(--brand-gold);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
  color: var(--brand-gold);
  font-weight: 600;
}

/* ── Rich Prose Content ────────────────────────────────────────────────────── */
.prose {
  max-width: 840px;
}

.prose h2 {
  margin-top: 1.75rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.35rem;
  font-size: 1.2rem;
}

.prose ul, .prose ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

/* ── Forms (Modern Web Guidance Compliant) ─────────────────────────────────── */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-navy);
}

.form-control {
  font: inherit;
  font-size: max(1rem, 1em);
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-main);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

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

.form-control:user-invalid,
.form-control[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 1.1em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.checkbox-row label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-status.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Native Modal <dialog> ─────────────────────────────────────────────────── */
dialog.dr-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(560px, 94vw);
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  color: var(--text-main);
}

dialog.dr-dialog.dr-dialog-wide {
  width: min(900px, 94vw);
  background: #0f172a;
  color: #ffffff;
}

dialog.dr-dialog::backdrop {
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

dialog.dr-dialog:modal {
  overscroll-behavior: contain;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dialog-head h1,
.dialog-head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.dialog-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--surface-warm);
  color: var(--brand-navy);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-body {
  padding: 1.35rem 1.4rem;
}

/* ── Floating CRO Actions (WhatsApp + Hızlı Ön Kayıt) ──────────────────────── */
.floating-cta {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.fab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
  transition: transform 0.18s ease;
}

.fab-pill:hover {
  transform: translateY(-2px);
}

.fab-whatsapp {
  background: #16a34a;
  color: #ffffff;
}

.fab-whatsapp:hover {
  background: #15803d;
  color: #ffffff;
}

.fab-prereg {
  background: var(--brand-gold);
  color: var(--brand-navy-deep);
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.75rem;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
  font-size: 1.12rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem 7.5rem;
  font-size: 0.88rem;
}

/* ── Kaptan Baykuş Maskot Alanı ────────────────────────────────────────────── */
.mascot-section {
  background: linear-gradient(135deg, #f3faf5 0%, #eef8fc 55%, #fff9eb 100%);
  border-top: 1px solid #e2efe6;
  border-bottom: 1px solid #e2efe6;
}

.mascot-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.mascot-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mascot-glow {
  position: relative;
  width: min(360px, 100%);
  padding: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 163, 212, 0.14) 0%, rgba(101, 179, 46, 0.12) 48%, transparent 72%);
}

.mascot-glow img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(43, 60, 107, 0.18));
}

.mascot-bubble {
  margin-top: 0.5rem;
  background: #ffffff;
  border: 2px solid #65b32e;
  color: var(--brand-navy);
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
  max-width: 390px;
}

.mascot-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.mascot-post-card {
  background: #ffffff;
  border: 1px solid #dbe7e2;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mascot-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
}

.mascot-post-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(101, 179, 46, 0.14);
  color: #3a7514;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}

.mascot-post-card h3 {
  font-size: 0.98rem;
  margin: 0;
}

.mascot-post-card p {
  font-size: 0.84rem;
  margin: 0;
}

@media (max-width: 960px) {
  .mascot-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .mascot-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Footer Yan Kuruluşlarımız Alanı ────────────────────────────────────────── */
.footer-brand-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-meb-qr {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  max-width: 100%;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.footer-meb-qr:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--brand-gold);
  color: #ffffff;
}

.footer-meb-qr-box {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 9px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-meb-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-meb-qr-meta {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  line-height: 1.3;
}

.footer-meb-qr-meta strong {
  font-size: 0.86rem;
  color: #ffffff;
}

.footer-meb-qr-meta span {
  font-size: 0.77rem;
  color: var(--brand-gold);
  font-weight: 600;
}

.footer-affiliates {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.75rem;
}

.affiliates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.affiliates-head h3 {
  margin: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
}

.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.affiliate-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  color: var(--brand-navy);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.affiliate-card img {
  max-height: 48px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  display: block;
}

.affiliate-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--brand-navy);
  text-align: center;
}

@media (max-width: 780px) {
  .affiliates-grid {
    grid-template-columns: 1fr;
  }
}

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

.footer-llms-stealth,
.footer-llms-stealth:hover,
.footer-llms-stealth:visited {
  color: var(--brand-navy-deep);
  background: transparent;
  text-decoration: none;
  font-size: 0.72rem;
  user-select: none;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-credit:hover {
  color: #ffffff;
}

.footer-credit img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Flash Banner */
.flash-banner {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1rem auto;
  max-width: var(--container-max);
  font-weight: 600;
}

.flash-banner.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-banner.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Scroll Top */
.scroll-top-btn {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-navy);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 840;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}
