/* ====================== BLOG.CSS - SON VERSİYON ====================== */

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --accent: #2563eb;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --gray-50: #f8fafc;
}
/* ====================== HERO ====================== */
.blog-hero {
  height: 18vh !important;           /* Daha da küçülttük */
  min-height: 160px !important;
  background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.95)), 
              url("images/kapak3.jpg") center/cover no-repeat;
  background-position: center 48%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 25px !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88) !important;
}

.hero-content {
  z-index: 2;
}

.breadcrumb-hero {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  background: rgba(0,0,0,0.55);
  padding: 5px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* ====================== BLOG SECTION ====================== */
.blog-section {
  padding: 110px 0 140px;
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 85px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 9px 26px;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-dark);
  margin: 0;
}

/* ====================== BLOG KARTLARI ====================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
  gap: 42px;
}

.blog-card {
  background: white;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(15,23,42,0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 65px rgba(15,23,42,0.13);
}

/* Blog Kartları - Fotoğraf Ayarı */
.blog-image {
  height: 435px;           /* Burayı azalttık */
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover img {
  transform: scale(1.08);
}

.blog-content {
  padding: 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.blog-content h3 {
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--text-dark);
  flex: 1;
}

.blog-content p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 26px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.read-more:hover i {
  transform: translateX(8px);
}

/* ====================== RESPONSIVE ====================== */

@media (max-width: 768px) {
  .blog-hero { height: 58vh; }
  .blog-section { padding: 80px 0 100px; }
  .blog-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-title { font-size: 2.4rem; }
}

/* ====================== HERO + ARTICLE ÇAKIŞMA DÜZELTMESİ ====================== */

.article-hero {
  height: 38vh;
  min-height: 320px;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), 
              url("images/kapak3.jpg") center/cover no-repeat;
  position: relative;
}

.article {
  max-width: 860px;
  margin: -50px auto 80px;   /* Önemli: Negatif değeri azalttık */
  background: white;
  border-radius: 24px;
  padding: 70px 55px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.1);
  position: relative;
  z-index: 20;               /* Hero'nun üstüne çıksın */
}

/* Breadcrumb */
.breadcrumb-hero {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
}

.breadcrumb-hero a {
  color: white;
  text-decoration: none;
}

.breadcrumb-hero a:hover {
  text-decoration: underline;
}
