/* ============================================================
   KALEMDEN DÜŞÜNCELER — Ana Stil Dosyası
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ── CSS Değişkenleri ── */
:root {
  --bg-dark:       #08020d;
  --bg-card:       rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.12);
  --border:        rgba(255,255,255,0.12);
  --border-hover:  rgba(255,80,200,0.4);

  --purple-deep:   #050110;
  --purple-mid:    #3e0f52;
  --accent-blue:   #6b1480;
  --accent-pink:   #b8126b;
  --accent-light:  #f48fb1;

  --grad-hero:   linear-gradient(135deg, #050110 0%, #0d041a 40%, #1a0533 100%);
  --grad-accent: linear-gradient(135deg, #6b1480, #b8126b);
  --grad-text:   linear-gradient(90deg, #ffffff, #fce4ec);
  --grad-btn:    linear-gradient(135deg, #6b1480, #b8126b);

  --text-primary:   #ffffff;
  --text-secondary: rgba(255,255,255,0.68);
  --text-muted:     rgba(255,255,255,0.42);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 60px rgba(194,24,91,0.4);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg-dark);
  background-image: var(--grad-hero);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Mobile Background Fix */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-image: linear-gradient(180deg, #050110 0%, #0d041a 100%);
  }
}
/* Dalgalı mesh katmanı */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(184,18,107,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 10%, rgba(107,20,128,0.1) 0%, transparent 50%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.06) translateY(-20px); }
}
/* Tüm içeriği z-index 1 üstüne çek */
.orb-bg, .nav, header, main, section, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1a1aff22; }
::-webkit-scrollbar-thumb { background: var(--accent-pink); border-radius: 10px; }

/* ── Yardımcılar ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Orb Arka Plan ── */
.orb-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.orb-bg::before, .orb-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb-bg::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #7b1fa2aa, transparent 70%);
  top: -10%; left: -5%;
}
.orb-bg::after {
  width: 650px; height: 650px;
  background: radial-gradient(circle, #e91e8c88, transparent 70%);
  bottom: -15%; right: -8%;
  animation-delay: -10s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.14); }
}

/* ── Navigasyon ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(26,10,62,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobil Menü ── */
.mobile-nav {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 20px 18px;
  background: rgba(26,10,62,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 90px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.9rem; font-weight: 600;
  padding: 13px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: var(--transition);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}
.btn-primary:hover { transform: translateY(-2px); background: rgba(255,255,255,0.32); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.9rem; font-weight: 500;
  padding: 13px 28px;
  border-radius: 30px;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ── Bölüm Başlıkları ── */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-desc {
  margin-top: 12px;
  font-size: 1rem; color: var(--text-secondary);
  max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ── Kategori Kartları (Yeni Premium Tasarım) ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  background: rgba(15, 5, 30, 0.6);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  /* 3D Etki İçin Hazırlık */
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
}

/* Animasyonlu Renkli Sınır (Border) */
.category-card::before {
  content: '';
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--c1), var(--c2), rgba(255,255,255,0.1), var(--c1));
  background-size: 300% 300%;
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -2;
  animation: borderRotate 6s linear infinite;
  opacity: 0.4;
  transition: opacity 0.4s;
}
.category-card::after {
  content: '';
  position: absolute; inset: 1px;
  background: rgba(20, 5, 40, 0.85);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: background 0.4s;
}

/* İç Glow Efekti */
.category-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

/* Büyük Arka Plan Simgesi */
.category-bg-icon {
  position: absolute;
  right: -15%; bottom: -20%;
  font-size: 10rem;
  line-height: 1;
  opacity: 0.03;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: rotate(-15deg);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

/* Uçuşan Partiküller */
.category-particles {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.category-particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--c2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c1);
  animation: floatParticle 4s ease-in-out infinite;
}
.category-particles span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.category-particles span:nth-child(2) { top: 60%; right: 20%; width: 6px; height: 6px; animation-duration: 5s; animation-delay: 1s; }
.category-particles span:nth-child(3) { bottom: 20%; left: 40%; animation-duration: 3.5s; animation-delay: 2s; }

/* Kart İçeriği */
.category-content {
  position: relative; z-index: 1;
}
.category-icon {
  font-size: 2.2rem; margin-bottom: 18px; display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.category-name {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600;
  margin-bottom: 10px; color: #fff;
  transition: transform 0.3s;
}
.category-desc {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6;
  transition: color 0.3s;
}
.category-count {
  font-size: 0.78rem; font-weight: 600; margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: 30px;
  transition: background 0.3s, transform 0.3s;
}

/* Hover Efektleri */
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(var(--c1), 0.2);
}
.category-card:hover::before { opacity: 1; animation-duration: 3s; }
.category-card:hover::after { background: rgba(20, 5, 40, 0.6); }
.category-card:hover .category-glow { opacity: 1; }
.category-card:hover .category-bg-icon { opacity: 0.08; transform: rotate(0deg) scale(1.1); right: -10%; }
.category-card:hover .category-particles { opacity: 1; }
.category-card:hover .category-icon { transform: scale(1.2) rotate(10deg); }
.category-card:hover .category-name { transform: translateX(4px); }
.category-card:hover .category-count { background: rgba(255,255,255,0.12); transform: translateX(4px); }

/* Animasyon Keyframeleri */
@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) scale(1.5); opacity: 1; }
}

/* ── Yazı Kartları ── */
.articles-list { display: flex; flex-direction: column; gap: 16px; }
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 10px;
}
.article-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateX(4px); }
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.article-category-tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 4px 12px; border-radius: 20px;
}
.article-date { font-size: 0.8rem; color: var(--text-muted); }
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.article-card:hover .article-title { color: var(--accent-light); }
.article-summary { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.article-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent-light);
  margin-top: 4px;
  transition: gap 0.2s;
}
.article-card:hover .article-read-more { gap: 10px; }

/* ── Filtreleme ── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 18px; border-radius: 30px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
}

/* ── Divider ── */
.divider {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── Footer ── */
.footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.footer-logo span { color: var(--teal-light); }
.footer-bio { font-size: 0.88rem; color: var(--text-secondary); max-width: 380px; margin: 0 auto 28px; }
.footer-bottom { font-size: 0.78rem; color: var(--text-muted); margin-top: 24px; }

/* ── Detay Sayfası ── */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-secondary);
  padding: 8px 0; margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent-light); }
.article-hero { padding: 60px 0 48px; }
.article-hero .article-meta { margin-bottom: 20px; }
.article-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.article-hero-summary {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; max-width: 680px;
}
.article-body {
  padding: 0 0 80px;
  font-size: 1.05rem; line-height: 1.85;
  color: rgba(241,240,248,0.88);
}
.article-body p { margin-bottom: 1.4em; }
.article-body h2 { font-family: var(--font-heading); font-size: 1.6rem; margin: 2em 0 0.8em; }
.article-body h3 { font-family: var(--font-heading); font-size: 1.3rem; margin: 1.6em 0 0.7em; }
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--accent-light);
  padding: 12px 0 12px 24px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ── Tez / Makale Görünümü (Ana Sayfa) ── */
.thesis-section {
  padding: 40px 0 100px;
}
.thesis-content {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}
@media (max-width: 768px) {
  .thesis-content {
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: left;
  }
}
.thesis-content p {
  margin-bottom: 1.8em;
}
.thesis-content .drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  color: var(--accent-light);
}

.thesis-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 auto 2.5em;
  padding: 45px 30px;
  position: relative;
  word-break: break-word;
  white-space: normal !important;
  display: block;
  max-width: 950px;
  z-index: 10;
  
  /* Glassmorphism Badge Style */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  
  /* Gradient Text */
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-primary);
  
  animation: titleGlow 4s ease-in-out infinite alternate;
}

.thesis-main-title::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(184, 18, 107, 0.15);
  pointer-events: none;
  opacity: 0.6;
}

@keyframes titleGlow {
  from { box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.08); }
  to   { box-shadow: 0 0 40px rgba(184, 18, 107, 0.2); border-color: rgba(184, 18, 107, 0.4); }
}
.thesis-quote {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
  margin: 2.5em auto;
  padding: 0 20px;
  position: relative;
  max-width: 1000px;
}
.thesis-quote::before, .thesis-quote::after {
  content: '”';
  font-size: 4.5rem;
  color: var(--accent-light);
  position: absolute;
  top: -20px;
}
.thesis-quote::before { content: '“'; left: -10px; }
.thesis-quote::after { right: -10px; bottom: -40px; top: auto; }

.thesis-signature {
  font-family: 'Eyesome Script', 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: var(--accent-light);
  text-align: center;
  margin-top: 1.5em;
  padding: 20px 0 10px;
  line-height: 1.2;
}

.author-signature {
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-heading);
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--text-primary);
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 12px;
  animation: signatureGlow 4s ease-in-out infinite alternate;
}

.author-signature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-light), var(--accent-pink), transparent);
  background-size: 200% 100%;
  animation: flowingLine 3s linear infinite;
  border-radius: 2px;
}

@keyframes signatureGlow {
  from { text-shadow: 0 0 10px rgba(255,255,255,0), 0 0 20px rgba(184,18,107,0); }
  to   { text-shadow: 0 0 15px rgba(255,255,255,0.4), 0 0 25px rgba(184,18,107,0.6); }
}

@keyframes flowingLine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Boş Durum ── */
.empty-state {
  text-align: center; padding: 64px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { font-size: 1rem; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: rgba(100,0,200,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 14px 28px; border-radius: 30px;
  font-size: 0.88rem; font-weight: 500;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  z-index: 999; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Animasyonlar ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── MOBİL UYUMLULUK ── */
@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .hero { padding: 60px 0 30px; }
  .section { padding: 40px 0; }
  
  .thesis-section { padding-top: 40px !important; }
  .thesis-main-title {
    font-size: clamp(1.4rem, 8vw, 2.2rem);
    padding: 25px 20px;
    margin-bottom: 1.5em;
  }
  .thesis-main-title::before { inset: -5px; }

  .thesis-signature { font-size: 2.5rem; margin-top: 1rem; }
  .author-signature { font-size: 0.95rem; margin-top: 5px; }
  .thesis-quote { font-size: 1.5rem; margin: 2em auto; }

  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { padding: 20px 16px; }
  .article-card { padding: 20px 18px; }
  .article-hero { padding: 40px 0 32px; }
}
@media (max-width: 420px) {
  .thesis-main-title { font-size: 1.35rem; padding: 20px 15px; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
