/* Genel gövde */

.site-header.blue    { background-color: #0e2f44; }
.site-header.green   { background-color: #00796b; }
.site-header.orange  { background-color: #e67e22; }
.site-header.purple  { background-color: #6a1b9a; }
.site-header.black   { background-color: #1e1e1e; }


body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f8f9fc;
  color: #1a1a1a;
}

/* Container kontrolü */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background-color: #0E3386;
  color: #fff;
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

.site-header .nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

/* BANNER */
.banner {
  height: 280px;
  background-color: #e9eff6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 10px;
}

.banner p {
  font-size: 1.1rem;
  color: #1b263b;
  margin: 0;
}

/* Makale kartları */
.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 20px;
}

.article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card h2 {
  font-size: 1.1rem;
  color: #0e2f44;
  padding: 15px;
  margin: 0;
}

/* FOOTER */
.site-footer {
  background-color: #0e2f44;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .banner h1 {
    font-size: 1.8rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .article-card h2 {
    font-size: 1rem;
  }
}

/* Tüm linkler için temel stil */
a {
  color: #0e2f44; /* koyu mavi ton */
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Üzerine gelince rengi hafif değişsin */
a:hover {
  color: #e0a800; /* sarıya yakın buton uyumu */
  text-decoration: none;
}

/* Footer linklerine özel stil (isteğe bağlı daha açık ton) */
.site-footer a,
.rss-links a {
  color: #ffffff;
  font-weight: 500;
}

.site-footer a:hover,
.rss-links a:hover {
  color: #e0a800;
}


/* content.php özel stiller */
.article-body p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.article-tags a {
  display: inline-block;
  background-color: #e9eff6;
  color: #0e2f44;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 6px;
  margin-top: 6px;
  text-decoration: none;
}

.article-tags a:hover {
  background-color: #d0e0f0;
}

.other-articles {
  list-style: none;
  padding-left: 0;
}

.other-articles li {
  margin-bottom: 10px;
}

.other-articles a {
  color: #0e2f44;
  text-decoration: none;
}

.other-articles a:hover {
  color: #e0a800;
}


/* Sidebar kutusu */
.content-sidebar {
  background-color: #cadaed;
  border-radius: 10px;
}

/* Sidebar başlık */
.content-sidebar h4 {
  color: #0e2f44;
}

/* Diğer yazılar listesi */
.other-articles {
  list-style: none;
}

.other-articles li {
  margin-bottom: 12px;
}

.other-articles a {
  display: inline-block;
  background-color: #e9eff6;
  color: #0e2f44;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.other-articles a:hover {
  background-color: #d0e0f0;
  color: #0a2238;
}

.article-body {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.article-tags {
  background-color: #cadaed;
  padding: 15px 20px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.article-tags strong {
  display: block;
  margin-bottom: 8px;
  color: #0e2f44;
}

.article-tags a {
  display: inline-block;
  background-color: #e0ecf5;
  color: #0e2f44;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 6px;
  margin-bottom: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-tags a:hover {
  background-color: #d0e0f0;
  color: #0a2238;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff; /* ← burada beyaz yaptık */
  text-decoration: none;
}

.logo:hover {
  color: #e0a800; /* hover’da sarıya geçebilir */
  text-decoration: none;
}
