/* =========================================================
   BİLİŞİM TEKNOLOJİLERİ DÜNYASI — AÇIK, FERAH VE YALIN TASARIM
   Okunması kolay kırık beyaz zemin, yüksek kontrast, sıfır kalabalık
   ========================================================= */

:root {
  --bg-page: #faf5ea;
  --bg-white: #fffdf8;
  --bg-soft: #f3ecdd;
  --bg-blue-tint: #edf4fc;
  --text-main: #1f1b16;
  --text-body: #3e3830;
  --text-muted: #6c6459;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-border: #bfdbfe;
  --green: #15803d;
  --green-bg: #f0fdf4;
  --green-border: #86efac;
  --red: #be123c;
  --red-bg: #fff1f2;
  --red-border: #fda4af;
  --amber-bg: #fffbeb;
  --amber-text: #92400e;
  --border: #e5dccb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(45, 36, 22, 0.05);
  --shadow-md: 0 10px 28px rgba(45, 36, 22, 0.08);
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ---------- SABİT SADE ÜST MENÜ ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-border);
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text-main);
  display: block;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-blue-tint);
  color: var(--primary);
}

.nav-links a.nav-cta {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  margin-left: 4px;
}

.nav-links a.nav-cta:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- BUTONLAR & ETİKETLER ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-blue-tint);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-blue-tint);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.tag-green {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green-border);
}

/* ---------- ANA SAYFA BÖLÜMLERİ ---------- */
.hero-light {
  background: linear-gradient(180deg, #fffdf8 0%, #f4edde 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 56px;
}

.hero-light h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin: 12px 0 12px;
  max-width: 720px;
}

.hero-light .lead {
  color: var(--text-body);
  font-size: 1.06rem;
  max-width: 640px;
  margin-bottom: 28px;
}

.grade-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.clean-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.clean-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.clean-card .tag,
.sample-body .tag {
  align-self: flex-start;
}

.clean-card h3 {
  font-size: 1.2rem;
}

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

.card-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.section {
  padding: 52px 0;
}

.section-title {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Örnek Ders Kartı (Ana Sayfa) */
.sample-lesson-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: var(--shadow-md);
}

.sample-thumb {
  position: relative;
  min-height: 270px;
  background: #e2e8f0;
  overflow: hidden;
}

.sample-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-pill-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.sample-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.sample-body h2 {
  font-size: 1.55rem;
}

.sample-body p {
  color: var(--text-body);
  font-size: 0.96rem;
}

.simple-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}

.simple-pills span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-soft);
  padding: 5px 11px;
  border-radius: 8px;
}

/* Alt Bilgide Orijinal Renkli 8 Sosyal Medya Logosu (44x44 px) */
.footer-social {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.soc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(45, 36, 22, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.soc-icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
}

.soc-icon.nsosyal-tile {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 7px;
}

.soc-icon.nsosyal-tile img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.soc-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(45, 36, 22, 0.2);
}

/* ---------- SADE ALT BİLGİ (HAKKIMDA SADECE EN ALT ÜCRA KÖŞEDE!) ---------- */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 26px 0;
  margin-top: 40px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.footer-quiet-links {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-quiet-links a:hover {
  color: var(--text-body);
  text-decoration: underline;
}

/* Toast Bildirimi */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1500;
  background: #0f172a;
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 360px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- MOBİL & TABLET ---------- */
@media (max-width: 860px) {
  .grade-row { grid-template-columns: 1fr; }
  .sample-lesson-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 14px 20px 18px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; padding: 11px; margin-left: 0; }
}

@media (max-width: 480px) {
  .social-strip { grid-template-columns: 1fr; }
}
