/*
Theme Name: Fehler Hilfe Pro
Author: Senin Adın
Description: Modern, temiz ve tam donanımlı hata çözümü teması.
Version: 2.0
*/

:root {
  --primary-color: #2563eb;
  --text-main: #1f2937;
  --bg-main: #ffffff;
  --border-radius: 8px;
}

/* Reset & Base Styles */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  background-color: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-title {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
}
.main-navigation ul {
  display: flex;
  gap: 20px;
}
.main-navigation a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.7;
}
.main-navigation a:hover { opacity: 1; }

/* Hero Section (Search) */
.hero-section {
  text-align: center;
  padding: 60px 0 40px;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-desc {
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto 30px;
}
.search-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
  background: var(--bg-main);
  color: var(--text-main);
}
.search-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 25px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Post List */
.post-list {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 40px;
}

.post-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 30px;
  transition: transform 0.2s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.post-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 10px;
  font-weight: 700;
}
.post-title {
  margin: 0 0 15px;
  font-size: 1.5rem;
  line-height: 1.3;
}
.post-excerpt {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 20px;
}
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* Single Post */
.single-post-container {
  padding-top: 40px;
  max-width: 750px;
  margin: 0 auto;
}
.entry-header { margin-bottom: 40px; text-align: center; }
.entry-title { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.entry-content { font-size: 1.125rem; line-height: 1.8; opacity: 0.9; }
.entry-content h2 { margin-top: 2.5em; font-size: 1.8rem; }
.entry-content ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; }

/* Footer */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}
