/* Tema renkleri – CSS değişkenleri (admin’den seçilen renk header’da inline override edilir) */
:root {
  --site-primary: #1e3a5f;
  --site-primary-dark: #2c5282;
  --site-header: #1e3a5f;
  --site-footer: #1e3a5f;
  --site-hero-start: #1e3a5f;
  --site-hero-end: #2c5282;
  --site-section-title: #1e3a5f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
}

.header {
  background: var(--site-header);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.site-title a {
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  text-decoration: underline;
}

.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  min-height: 60vh;
}

.hero {
  background: linear-gradient(135deg, var(--site-hero-start) 0%, var(--site-hero-end) 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.hero p {
  margin: 0;
  opacity: 0.95;
  font-size: 1.05rem;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}

.section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--site-section-title);
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.page-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  color: var(--site-section-title);
}

.footer {
  background: var(--site-footer);
  color: rgba(255,255,255,0.85);
  padding: 1.5rem 1.25rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1.25rem;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}
