/* ====================== ARTICLE.CSS – PREMIUM 2026 ====================== */

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ====================== HERO ====================== */
.article-hero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/kapak3.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,23,42,0.92) 0%, rgba(30,64,175,0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 0;   /* Üstten boşluk ekledik */
  color: white;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;     /* Başlığa yakınlaştırdık */
}

.article-hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 780px;
}

.hero-lead {
  font-size: 1.22rem;
  opacity: 0.92;
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ====================== LAYOUT ====================== */
.article-wrapper {
  padding: 70px 0 120px;
}

.article-grid {
  max-width: 1280px;              /* Daha geniş yaptık */
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 240px 1fr; /* TOC biraz daraldı, içerik daha genişledi */
  gap: 40px;                      /* Aradaki boşluğu azalttık */
  align-items: start;
}

/* ====================== TOC ====================== */
.toc {
  position: sticky;
  top: 110px;
}

.toc-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.toc-inner h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 18px;
  padding: 0 10px;
}

.toc-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.toc-item:hover {
  background: #f1f5f9;
  color: var(--text);
}

.toc-item.active {
  background: #eff6ff;
  color: var(--blue);
  font-weight: 600;
}

/* ====================== ARTICLE BODY ====================== */
.article-body {
  background: var(--white);
  border-radius: 24px;
  padding: 56px 60px;             /* İç boşluğu biraz dengeledik */
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

.article-body p {
  font-size: 1.12rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 26px;
}

.article-body h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  margin: 64px 0 24px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  position: relative;
  padding-bottom: 14px;
}

.article-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

/* Chip Grid */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.chip-grid span {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

/* Feature Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Info Card */
.info-card {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 28px 30px;
  margin: 36px 0;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0;
  font-size: 1.05rem;
}

/* Lists */
.check-list, .error-list {
  list-style: none;
  margin: 28px 0 36px;
}

.check-list li, .error-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  font-size: 1.08rem;
  color: #475569;
}

.check-list i { color: #22c55e; }
.error-list i { color: #ef4444; }

/* Process List */
.process-list {
  list-style: none;
  margin: 32px 0 40px;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1.08rem;
  color: #334155;
}

.process-list span {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Table */
.table-box {
  overflow-x: auto;
  margin: 36px 0 44px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #0f172a;
  color: white;
}

th {
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
  color: #475569;
  font-size: 1.02rem;
}

tbody tr:hover { background: #f8fafc; }
tbody tr:last-child td { border-bottom: none; }

/* FAQ */
.faq { margin-top: 70px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-btn i {
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-btn i { transform: rotate(180deg); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-panel { max-height: 220px; }

.faq-panel p {
  padding: 0 26px 22px;
  margin: 0;
  color: var(--muted);
}

/* CTA */
.cta {
  margin-top: 70px;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: white;
}

.cta h2 {
  color: white !important;
  margin: 0 0 12px !important;
  font-size: 1.85rem !important;
  padding-bottom: 0 !important;
}

.cta h2::after { display: none !important; }

.cta p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary {
  background: white;
  color: var(--blue-dark);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .toc { position: static; }
  .toc-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc-item { font-size: 0.88rem; padding: 8px 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .article-hero { height: 400px; }
  .hero-content { padding: 0 24px; }
  .article-body { padding: 40px 26px; }
  .article-body h2 { font-size: 1.55rem; }
  .cta { padding: 40px 28px; }
}
/* ====================== MAKALE KAPAK GÖRSELİ ====================== */

/* ====================== MAKALE KAPAK GÖRSELİ ====================== */

.article-cover {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.article-cover img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* ====================== MOBİL DÜZELTMELER ====================== */



/* ====================== MOBİL RESPONSIVE – PREMIUM ====================== */

@media (max-width: 768px) {

  /* Genel taşma engelleme */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Navbar */
  .topbar {
    padding: 12px 16px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  /* Hero */
  .article-hero {
    height: 240px !important;
    min-height: 240px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hero-bg {
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px !important;
    text-align: center !important;
  }

  .hero-tag {
    font-size: 0.75rem !important;
    padding: 5px 14px !important;
    margin-bottom: 12px !important;
  }

  .article-hero h1 {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    max-width: 100%;
  }

  .hero-lead {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 320px;
    margin: 0 auto 16px !important;
  }

  .hero-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px !important;
    font-size: 0.88rem !important;
  }

  /* Layout */
  .article-wrapper {
    padding: 28px 0 60px !important;
  }

  .article-grid {
    display: block !important;
    padding: 0 16px !important;
    max-width: 100%;
  }

  /* TOC */
  .toc {
    position: static !important;
    margin-bottom: 24px;
  }

  .toc-inner {
    padding: 20px 16px !important;
  }

  .toc-inner h3 {
    font-size: 0.78rem !important;
    margin-bottom: 14px !important;
  }

  .toc-inner nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .toc-item {
    font-size: 0.82rem !important;
    padding: 9px 12px !important;
    text-align: center;
    background: #f1f5f9;
    border-radius: 10px;
  }

  /* Article Body */
  .article-body {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .article-cover {
    margin: -24px -18px 24px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .article-cover img {
    height: 200px !important;
    object-fit: cover;
  }

  .lead {
    font-size: 1.05rem !important;
  }

  .article-body h2 {
    font-size: 1.4rem !important;
    margin: 36px 0 14px !important;
  }

  .article-body p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
  }

  /* Feature Cards */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Chips */
  .chip-grid {
    gap: 8px !important;
  }

  .chip-grid span {
    font-size: 0.85rem !important;
    padding: 7px 13px !important;
  }

  /* Table */
  .table-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
  }

  table {
    min-width: 480px;
  }

  th, td {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
  }

  /* Info Card */
  .info-card {
    flex-direction: column;
    gap: 12px !important;
    padding: 20px 16px !important;
  }

  /* Lists */
  .check-list li,
  .error-list li,
  .process-list li {
    font-size: 0.98rem !important;
  }

  /* FAQ */
  .faq-btn {
    font-size: 0.98rem !important;
    padding: 16px !important;
  }

  /* CTA */
  .cta {
    flex-direction: column !important;
    text-align: center !important;
    padding: 32px 20px !important;
    gap: 20px !important;
  }

  .cta h2 {
    font-size: 1.35rem !important;
  }

  .cta p {
    font-size: 0.98rem !important;
  }

  .cta-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }
}