/* ===== Genel Stil Ayarları ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-bg: #1e293b;
  --light-bg: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --sidebar-width: 280px;
  --header-height: 70px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--light-bg);
}

/* ===== Sidebar (Sol Menü) ===== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--dark-bg);
  color: white;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.version {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Arama ===== */
.search-container {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#searchInput {
  width: 100%;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 0.9em;
  transition: all 0.3s;
}

#searchInput:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Navigasyon Menüsü ===== */
.nav-menu {
  list-style: none;
  padding: 10px 0;
}

.nav-section {
  padding: 15px 20px 8px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

.nav-item {
  margin: 2px 10px;
}

.nav-item a {
  display: block;
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9em;
  transition: all 0.2s;
}

.nav-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(2px);
}

.nav-item.active a {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 500;
}

/* ===== Ana İçerik Alanı ===== */
.content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  height: var(--header-height);
  background: white;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px 10px;
  margin-right: 15px;
  color: var(--text-primary);
}

.header h1 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-primary);
}

.page-content {
  flex: 1;
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ===== Bölümler ===== */
section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

section h2 {
  font-size: 1.75em;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

section h3 {
  font-size: 1.3em;
  margin: 25px 0 15px;
  color: var(--text-primary);
}

section h4 {
  font-size: 1.1em;
  margin: 20px 0 10px;
  color: var(--primary-color);
  font-weight: 600;
}

section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

section ul, section ol {
  margin: 15px 0 15px 25px;
  color: var(--text-secondary);
}

section li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ===== Vurgu Kutuları ===== */
.highlight-box {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.highlight-box strong {
  color: var(--primary-color);
  font-size: 1.1em;
}

.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.warning-box {
  background: #fffbeb;
  border-left: 4px solid var(--warning-color);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.success-box {
  background: #f0fdf4;
  border-left: 4px solid var(--success-color);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.danger-box {
  background: #fef2f2;
  border-left: 4px solid var(--danger-color);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* ===== Kartlar ===== */
.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.quick-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.quick-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.quick-card h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
}

.quick-card p {
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-bottom: 15px;
}

.quick-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quick-link:hover {
  gap: 8px;
}

/* ===== Modül Kartları ===== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.module-card {
  background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.module-card h3 {
  margin: 0 0 15px;
  color: var(--text-primary);
}

.module-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.95em;
}

.module-card ul {
  list-style: none;
  margin: 15px 0;
}

.module-card li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.module-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.module-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

/* ===== İş Akışı Adımları ===== */
.workflow-steps {
  margin-top: 25px;
}

.workflow-step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
}

.step-content h4 {
  margin: 0 0 10px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* ===== Tablolar ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

thead {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  font-weight: 600;
  font-size: 0.9em;
}

tbody tr:hover {
  background: #f8fafc;
}

kbd {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85em;
  font-family: monospace;
}

/* ===== Görsel Örnekler ===== */
.example-image {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  border: 1px solid var(--border-color);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.example-item {
  text-align: center;
}

.example-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.example-caption {
  font-size: 0.9em;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== Navigasyon Butonları ===== */
.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.nav-button.prev::before {
  content: "←";
}

.nav-button.next::after {
  content: "→";
}

/* ===== SSS (FAQ) ===== */
.faq-section {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: #f8fafc;
  padding: 15px 20px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-answer {
  padding: 20px;
  background: white;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ===== Destek Kartları ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.support-card {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.support-card h4 {
  margin: 0 0 10px;
  color: var(--text-primary);
}

.support-card p {
  font-weight: 600;
  color: var(--primary-color);
  margin: 5px 0;
  font-size: 1.1em;
}

.support-card small {
  color: var(--text-secondary);
  font-size: 0.85em;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 25px 30px;
  text-align: center;
  font-size: 0.9em;
}

.footer-info p {
  margin: 5px 0;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive Tasarım ===== */
@media (max-width: 992px) {
  :root {
    --sidebar-width: 260px;
  }
  
  .page-content {
    padding: 20px;
  }
  
  section {
    padding: 20px;
  }
  
  .quick-start-grid, .module-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .content {
    margin-left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header h1 {
    font-size: 1.2em;
  }
  
  .page-navigation {
    flex-direction: column;
  }
  
  .nav-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 15px;
  }
  
  section {
    padding: 15px;
  }
  
  .quick-card, .module-card {
    padding: 20px;
  }
  
  .workflow-step {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== Yazdırma Stilleri ===== */
@media print {
  .sidebar, .menu-toggle, .page-navigation, .footer {
    display: none;
  }
  
  .content {
    margin-left: 0;
  }
  
  section {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ===== Özel Animasyonlar ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.5s ease-out;
}

/* ===== Erişilebilirlik ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a:focus, button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== Breadcrumb Stilleri ===== */
.breadcrumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 12px 25px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
  font-weight: 300;
}

.breadcrumb .category {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.breadcrumb .current {
  color: white;
  font-weight: 600;
}

/* ===== LOGO Stilleri ===== */
.sidebar-header .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.2s;
}

.sidebar-header .logo-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-header .logo-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.sidebar-header .logo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-header .logo-title {
  font-size: 1.1em;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-header .version {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.6);
}
