/*
Theme Name: WPBaseLite SEO
Theme URI: https://example.com
Author: SEO Optimized
Description: Google Core Web Vitals, Schema.org, Open Graph ve teknik SEO odaklı hafif ilan teması. LCP, CLS ve semantic HTML optimize edilmiştir.
Version: 3.0.0-SEO
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: wpbaselite-seo
Tags: custom-post-type, seo, schema, lightweight, responsive
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f7f9f7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0a66c2;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover, a:focus {
  color: #084a8f;
  text-decoration: underline;
}

/* ===== LAYOUT ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
  text-align: center;
}

.site-branding {
  max-width: 1200px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}
.site-title a {
  color: #111;
  text-decoration: none;
}
.site-title a:hover {
  color: #0a66c2;
}

.site-description {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.site-main,
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  margin-top: 3rem;
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #111;
}
h2, .h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h3, .h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* ===== CARDS / GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card img {
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.card-meta {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.card-excerpt {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

/* ===== INTRO / WELCOME ===== */
.site-intro,
.welcome-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}
.breadcrumb a {
  color: #0a66c2;
}
.breadcrumb span[aria-current="page"] {
  color: #333;
  font-weight: 500;
}

/* ===== PAGINATION ===== */
.pagination {
  text-align: center;
  margin: 2rem 0;
}
.pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 0.9rem;
}
.pagination .current {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

/* ===== SINGLE / CONTENT ===== */
.entry-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.entry-meta {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}
.entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}
.entry-content p {
  margin-bottom: 1.1rem;
}
.featured-image {
  margin: 0 auto 1.5rem;
  max-width: 100%;
  text-align: center;
}
.featured-image img {
  border-radius: 8px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: #0a66c2;
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.btn:hover {
  background: #084a8f;
}
.btn-success {
  background: #198754;
}
.btn-success:hover {
  background: #146c43;
}

/* ===== 404 ===== */
.error-404 {
  text-align: center;
  padding: 3rem 1rem;
}
.error-404 h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* ===== ACCESSIBILITY ===== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .site-title { font-size: 1.45rem; }
  h1, .h1 { font-size: 1.5rem; }
  .grid { grid-template-columns: 1fr; }
  .site-main, main { padding: 1rem 0.75rem; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .breadcrumb, .pagination { display: none; }
  body { background: #fff; color: #000; }
}
