/* ============================================================
   DÖKÜMASYON SAYFASI CSS — dokumantasyon.css
   ============================================================ */

/* ── Hero ── */
.dok-hero {
  background: linear-gradient(135deg, #071626 0%, #002a6a 60%, #003d99 100%);
  padding: 80px 0 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dok-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 350px at 90% 40%, rgba(0,196,224,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at -5% 90%, rgba(0,102,204,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.dok-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .dok-hero-inner { grid-template-columns: 1fr; } }

.dok-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,196,224,0.15);
  border: 1px solid rgba(0,196,224,0.30);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7de8f5;
  margin-bottom: 20px;
}
.dok-hero-text h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.dok-hero-text h1 span {
  background: linear-gradient(90deg, #7de8f5, #4db8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dok-hero-text p {
  font-size: 1.05rem;
  opacity: 0.82;
  max-width: 520px;
  line-height: 1.68;
  margin-bottom: 30px;
}
.dok-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dok-hero-actions .btn-cta-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  background: linear-gradient(135deg, #1a7fe8, #0055b3);
  color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,102,204,0.45);
  transition: filter 0.2s, transform 0.2s;
}
.dok-hero-actions .btn-cta-hero:hover { filter: brightness(1.1); transform: translateY(-2px); color: #fff; }
.dok-hero-actions .btn-outline-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.dok-hero-actions .btn-outline-hero:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); color: #fff; }

.dok-hero-stats { display: flex; flex-direction: column; gap: 14px; min-width: 190px; }
@media (max-width: 860px) { .dok-hero-stats { flex-direction: row; flex-wrap: wrap; gap: 10px; } }
.dok-stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  min-width: 110px;
}
.dok-stat-box strong { display: block; font-size: 1.65rem; font-weight: 800; color: #7de8f5; line-height: 1; margin-bottom: 4px; }
.dok-stat-box span { font-size: 0.76rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ── Hızlı erişim kategori kartları ── */
.dok-cats { padding: 70px 0 56px; background: var(--surface); }
.dok-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 860px) { .dok-cats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px)  { .dok-cats-grid { grid-template-columns: 1fr; } }
.dok-cat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.dok-cat-card:hover { border-color: var(--brand); box-shadow: 0 6px 28px rgba(0,102,204,0.12); transform: translateY(-3px); }
.dok-cat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; flex-shrink: 0;
}
.dok-cat-icon--blue   { background: rgba(0,102,204,0.10);  color: var(--brand); }
.dok-cat-icon--green  { background: rgba(34,197,94,0.10);   color: #16a34a; }
.dok-cat-icon--orange { background: rgba(249,115,22,0.10);  color: #ea580c; }
.dok-cat-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.dok-cat-card p  { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* ── Döküman kartları ── */
.dok-docs { padding: 72px 0; background: var(--bg); }

.dok-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 32px;
  justify-content: center;
}
.dok-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.dok-filter-btn:hover  { border-color: var(--brand); color: var(--brand); }
.dok-filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.dok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .dok-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .dok-grid { grid-template-columns: 1fr; } }

.dok-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.dok-card:hover { border-color: var(--brand); box-shadow: 0 6px 28px rgba(0,102,204,0.11); transform: translateY(-3px); }
.dok-card[hidden] { display: none; }

.dok-card-top {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.dok-card-top.green  { background: linear-gradient(135deg, #16a34a, #15803d); }
.dok-card-top.orange { background: linear-gradient(135deg, #ea580c, #c2410c); }
.dok-card-top.slate  { background: linear-gradient(135deg, #475569, #334155); }

.dok-card-top i { font-size: 1.8rem; flex-shrink: 0; }
.dok-card-top-text h3 { font-size: 1rem; font-weight: 800; margin: 0 0 2px; }
.dok-card-top-text span { font-size: 0.78rem; opacity: 0.8; }

.dok-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.dok-card-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.dok-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.75rem;
}
.dok-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}
.dok-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.dok-btn-dl {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: filter 0.18s;
}
.dok-btn-dl:hover { filter: brightness(1.1); color: #fff; }
.dok-btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.dok-btn-view:hover { border-color: var(--brand); color: var(--brand); }

/* ── Teknik Tablolar ── */
.dok-tables { padding: 72px 0; background: var(--surface); }
.dok-table-block { margin-top: 48px; }
.dok-table-block + .dok-table-block { margin-top: 56px; border-top: 1px solid var(--border); padding-top: 56px; }
.dok-table-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.dok-table-header-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,102,204,0.09);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.dok-table-header h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 2px; color: var(--text); }
.dok-table-header p  { font-size: 0.85rem; color: var(--muted); margin: 0; }
.dok-table-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(0,102,204,0.05);
  border: 1px solid rgba(0,102,204,0.14);
  border-radius: 10px;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}
.dok-table-note i { color: var(--brand); flex-shrink: 0; margin-top: 1px; }

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.tech-table thead tr { background: linear-gradient(90deg, var(--brand), var(--brand-dark)); color: #fff; }
.tech-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tech-table td { padding: 13px 18px; color: var(--text); border-bottom: 1px solid var(--border); }
.tech-table tbody tr:last-child td { border-bottom: none; }
.tech-table tbody tr:hover td { background: rgba(0,102,204,0.04); }
.tech-table td strong { color: var(--brand); font-weight: 700; }
.tech-table .rec-row td { background: rgba(0,102,204,0.06); font-weight: 600; }

/* ── Bakım adımları ── */
.dok-maintain { padding: 72px 0; background: var(--bg); }
.dok-maintain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 720px) { .dok-maintain-grid { grid-template-columns: 1fr; } }
.dok-maintain-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.dok-maintain-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.dok-maintain-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.dok-maintain-card h4 { font-size: 0.98rem; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.dok-maintain-card p  { font-size: 0.86rem; color: var(--muted); line-height: 1.65; margin: 0 0 12px; }
.dok-maintain-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.dok-maintain-tag {
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0,102,204,0.08);
  color: var(--brand);
  border: 1px solid rgba(0,102,204,0.16);
}

/* ── Sorun Giderme accordion ── */
.dok-trouble { padding: 72px 0; background: var(--surface); }
.dok-trouble-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dok-trouble-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.dok-trouble-item.open { border-color: rgba(0,102,204,0.35); }
.dok-trouble-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  font-family: inherit;
  transition: color 0.18s;
}
.dok-trouble-toggle:hover { color: var(--brand); }
.dok-trouble-item.open .dok-trouble-toggle { color: var(--brand); }
.dok-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.3s, background 0.2s, color 0.2s;
}
.dok-trouble-item.open .dok-chevron { transform: rotate(180deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.dok-trouble-body { display: none; padding: 0 22px 18px; }
.dok-trouble-item.open .dok-trouble-body { display: block; }
.dok-trouble-body p  { font-size: 0.91rem; color: var(--muted); line-height: 1.72; margin: 0 0 10px; }
.dok-trouble-body ul { margin: 0; padding-left: 20px; }
.dok-trouble-body li { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 4px; }
.dok-trouble-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.dok-trouble-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
