/* AI Günlük - Custom Styles */

/* IBM Plex Mono font - Google Fonts'tan yükle */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* CSS değişkenlerini override et - pembe yerine beyaz */
:root {
  --color-primary-hover: #ffffff !important; /* Beyaz - temiz görünüm */
}

/* Roboto Mono yerine IBM Plex Mono kullan - tüm site için */
html,
body {
  font-family: 'IBM Plex Mono', 'Courier New', monospace !important;
}

/* Başlıklar da IBM Plex Mono kullansın */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Mono', 'Courier New', monospace !important;
}

/* Post başlıkları */
.list-item h1.title,
.list-item h1.title a,
.title h1,
.title a {
  font-family: 'IBM Plex Mono', 'Courier New', monospace !important;
}

/* Post içerik - tema default font */
.description,
.post-content,
article p,
article ul,
article ol,
article li {
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.05rem !important;
}

/* Tarihleri daha büyük göster */
.list-item time,
.post-meta time,
time {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #555 !important;
}

/* Post'lar arası çizgi */
.list-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.list-item:last-child {
  border-bottom: none;
}

/* Description kısmını sınırla */
.list-item .description {
  max-height: 150px;
  overflow: hidden;
  position: relative;
}

.list-item .description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, white);
}

/* Site logosu - Ai GÜNLÜK robot (ÇOK BÜYÜK) */
.main .logo-link {
  display: inline-block;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main .logo-link:hover,
.main .logo-link:focus,
.main .logo-link:active {
  opacity: 0.9;
  transform: scale(1.02);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.main .site-logo {
  height: 220px;
  width: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Mobil için logo boyutu (BÜYÜK) */
@media (max-width: 768px) {
  .main .site-logo {
    height: 230px;
  }
}

/* Header - logo ve menü hizalama (ÇOK KOMPAKT) */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  margin-bottom: 0;
}

header .main {
  flex-shrink: 0;
}

/* Navigasyon menüsü - logoya uygun */
header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

header nav a {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: #3b82f6 !important;
  text-decoration: none !important;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: none !important;
}

header nav a:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb !important;
  transform: translateY(-2px);
}

/* Mobil menü düzeni */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  header .main {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  header nav {
    margin-left: 0;
    margin-right: 0 !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  header nav a {
    font-size: 1.1rem !important;
    padding: 0.4rem 0.8rem;
  }
}

/* Subtitle - header altında, ortalı, belirgin (YAKIN) */
.site-description {
  text-align: center;
  margin: 0 auto 1.2rem auto;
  padding: 0.8rem 1.2rem;
  max-width: 800px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
}

.site-description p {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.95rem !important;
  font-weight: 400;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Mobil için subtitle */
@media (max-width: 768px) {
  .site-description {
    margin: 0.3rem 0.5rem 1rem 0.5rem;
    padding: 0.6rem 0.8rem;
  }

  .site-description p {
    font-size: 0.8rem !important;
    line-height: 1.5;
  }
}

/* Ana sayfadaki post başlıkları - daha büyük ve açık mavi */
.list-item h1.title,
.list-item h1.title a,
.list h1.title a,
section.list-item h1.title a {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #3b82f6 !important; /* Açık mavi */
  line-height: 1.3 !important;
  margin-bottom: 0.5rem !important;
}

.list-item h1.title a:hover,
.list h1.title a:hover,
section.list-item h1.title a:hover,
main .list-item h1.title a:hover {
  color: #60a5fa !important; /* Hover'da çok açık mavi */
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Başlıklar - tema default font */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
}

/* Read more butonu stil */
.readmore {
  margin-top: 1rem;
  display: inline-block;
  color: #3b82f6 !important;
  font-weight: 500;
}

.readmore:hover {
  color: #60a5fa !important; /* Çok açık mavi hover */
  text-decoration: underline;
}

/* Genel linkler için hover rengi */
a:hover {
  color: #60a5fa !important; /* Çok açık mavi */
}

/* Nav linkleri */
nav a:hover {
  color: #60a5fa !important; /* Çok açık mavi */
}

/* Başlık işaretlerini # yerine ▶ play butonu ile değiştir */
h1::before {
  content: '▶ ' !important;
}

h2::before {
  content: '▶ ' !important;
}

h3::before {
  content: '▶ ' !important;
}

h4::before {
  content: '▶ ' !important;
}

h5::before {
  content: '▶ ' !important;
}

h6::before {
  content: '▶ ' !important;
}
