/* Genel reset ve tema */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f4f8;
  color: #333;
  line-height: 1.6;
}

article h1 { font-size: 2em; }
section h1 { font-size: 1.8em; }
nav h1 { font-size: 1.5em; }
aside h1 { font-size: 1.2em; }

/* Genel UL / LI ayarları */
ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

/* Numaralı listeler için */
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

/* Başlıklar */
h2, h3, h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #222;
}

/* Paragraflar */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1rem;
}

/* Emoji veya özel simgeli liste işaretlerinin hizalanması */
li::marker {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Alt başlıkların görünümünü yumuşat */
h3 {
  font-size: 1.3rem;
  border-left: 4px solid #00c389;
  padding-left: 10px;
}

/* Bilgilendirme kutuları */
.info-box {
  background-color: #f9f9f9;
  border-left: 4px solid #ddd;
  padding: 12px 16px;
  margin: 1.5rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
}

/* Responsive uyum için */
@media (max-width: 600px) {
  ul li, ol li, p {
    font-size: 0.95rem;
  }

  h2, h3 {
    font-size: 1.2rem;
  }
}

article h1{
  font-size:1.4em;
}




/* NAVBAR & RESPONSIVE MENU */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e2f;
  padding: 12px 16px;
  position: relative;
}

.logo a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-links a {
  padding: 8px 14px;
  background-color: #2c2c3e;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-links a:hover {
  background-color: #44445a;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #1e1e2f;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 12px;
    z-index: 99;
  }

  .nav-links.show {
    display: flex;
  }
}

/* Ana içerik */
main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Kart stilinde içerikler */
article,
.page-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.2s ease;
}

article:hover,
.page-card:hover {
  transform: translateY(-4px);
}

article h2,
.page-card h1 {
  font-size: 1.5rem;
  color: #1e1e2f;
  margin-bottom: 10px;
}

article p {
  color: #555;
}

/* Giriş butonu */
.dynamic-entry-button {
  display: block;
  width: 100%;
  background-color:  #007A33;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 16px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.dynamic-entry-button:hover {
  background-color: #005826;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background: #1e1e2f; /* koyu zemin */
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Footer linkleri - Kontrast uyumlu */
footer a {
  color: #00BFFF; /* kontrastlı açık mavi */
  text-decoration: underline; /* erişilebilirlik için underline iyi olur */
  transition: color 0.3s;
}

/* Hover rengi */
footer a:hover {
  color: #009ACD;
}


/* Responsive düzeltmeler */
@media (max-width: 768px) {
  main {
    padding: 0 10px;
  }

  article h2,
  .page-card h1 {
    font-size: 1.3rem;
  }
}

.articles-heading {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #1e1e2f;
  background: linear-gradient(45deg, #1e1e2f, #3e3e5a);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#datetime-bar {
  width: 100%;
  background-color: #f1f1f1;
  color: #333;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
  font-family: Arial, sans-serif;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}


.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.article-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.3s ease;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card h4 label {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}

.article-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}


.responsive-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.keywords{
  font-size: 0.85rem; color: #444343;
}