/* ============================
   BLOG & İLETİŞİM SAYFALARI
   (SCB Mimarlık - Minimal / Habif tarzı)
   Bu dosya yalnızca blog ve iletişim sayfalarına özeldir.
   Genel layout, tipografi ve topBar için css/common.css kullanılmaktadır.
============================ */

/* Genel sayfa iskeleti */
.page-wrapper {
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  justify-content: center;
}

.content-section {
  width: 94%;
  max-width: 1180px;
}

/* Bölüm başlığı */
.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.7;
  color: #b3b3b3;
}

/* =========================================
   BLOG LİSTE SAYFASI
========================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  background: #101010;
  border-radius: 18px;
  border: 1px solid #1e1e1e;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #2d2d2d;
  box-shadow: 0 22px 40px rgba(0,0,0,0.65);
}

.blog-card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.blog-card-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a8a8a;
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.blog-card-title a {
  color: #ffffff;
  text-decoration: none;
}

.blog-card-title a:hover {
  text-decoration: underline;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #cccccc;
}

.blog-card-readmore {
  margin-top: auto;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  opacity: .85;
}

.blog-card-readmore i {
  font-size: 11px;
}

.blog-card-readmore:hover {
  opacity: 1;
}

/* =========================================
   BLOG DETAY SAYFASI
========================================= */

.blog-detail {
  max-width: 800px;
  margin: 0 auto;
}

.blog-detail-header {
  margin-bottom: 26px;
}

.blog-detail-header h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 10px;
}

.blog-detail-meta {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.blog-detail-cover {
  margin-bottom: 30px;
  border-radius: 24px;
  overflow: hidden;
}

.blog-detail-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

/* İçerik */
.blog-detail-content {
  font-size: 15px;
  line-height: 1.9;
  color: #dfdfdf;
}

.blog-detail-content p {
  margin-bottom: 16px;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 10px 0 16px 20px;
}

.blog-detail-content a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================
   İLETİŞİM SAYFASI
========================================= */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-form-card,
.contact-info-card {
  background: #101010;
  border-radius: 20px;
  border: 1px solid #1f1f1f;
  padding: 24px 24px 26px;
}

.contact-info-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #c5c5c5;
}

/* Form */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b3b3b3;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #050505;
  border-radius: 12px;
  border: 1px solid #262626;
  padding: 11px 12px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #888888;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
  background-color: #080808;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

/* Uyarılar */
.alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

.alert.error {
  background: rgba(220, 53, 69, 0.14);
  border: 1px solid rgba(220, 53, 69, 0.45);
  color: #ffb3b3;
}

.alert.success {
  background: rgba(25, 135, 84, 0.14);
  border: 1px solid rgba(25, 135, 84, 0.45);
  color: #b6ffcf;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-light .blog-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  color: #111;
}
.page-light .blog-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: #dcdcdc;
}
.page-light .blog-card-title a { color:#111; }
.page-light .blog-card-meta { color:#666; }
.page-light .blog-card-readmore { color:#111; }

.page-light .contact-form-card,
.page-light .contact-info-card {
  background: #f7f7f7;
  border: 1px solid #e4e4e4;
  color: #111;
}
.page-light .contact-info-card p { color:#333; }

@media (max-width: 720px) {
  .page-wrapper {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .content-section {
    width: 92%;
  }

  .section-title {
    font-size: 26px;
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .blog-card-image img {
    height: 220px;
  }
}
