/* ================================================
   HEP DOĞADA — Ana Stil Dosyası
   Child Tema: hepdogada-child
   Kadence üzerine uygulanır
   ================================================ */

/* ---- RENK DEĞİŞKENLERİ ---- */
:root {
  --hd-green:        #3B6D11;
  --hd-green-light:  #EAF3DE;
  --hd-green-mid:    #C0DD97;
  --hd-green-dark:   #27500A;
  --hd-green-text:   #3B6D11;
  --hd-text:         #1a1a1a;
  --hd-text-muted:   #6b6b6b;
  --hd-text-faint:   #9b9b9b;
  --hd-border:       rgba(0,0,0,0.1);
  --hd-bg:           #ffffff;
  --hd-bg-surface:   #f5f5f0;
  --hd-radius:       8px;
  --hd-radius-lg:    12px;
}

/* ---- GENEL ---- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hd-text);
  background: var(--hd-bg);
}

a {
  color: var(--hd-green);
  text-decoration: none;
}
a:hover {
  color: var(--hd-green-dark);
}

/* ---- TİPOGRAFİ ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--hd-text);
  line-height: 1.2;
}
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p { margin-bottom: 1rem; }

/* ---- HEADER ---- */
.site-header,
#masthead,
.kadence-sticky-header {
  background: #ffffff !important;
  border-bottom: 0.5px solid #e8e8e8 !important;
  box-shadow: none !important;
}

/* Header yüksekliği */
.site-header .site-header-row-container-inner {
  min-height: 60px;
}

/* Logo */
.site-branding .site-title,
.site-branding .site-title a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--hd-text) !important;
  letter-spacing: -0.2px;
}

/* Navigasyon linkleri */
.main-navigation a,
.kadence-navigation a,
#site-navigation a {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--hd-text-muted) !important;
  letter-spacing: 0;
  text-transform: none !important;
}
.main-navigation a:hover,
.kadence-navigation a:hover {
  color: var(--hd-text) !important;
}
.main-navigation .current-menu-item > a,
.kadence-navigation .current-menu-item > a {
  color: var(--hd-text) !important;
  font-weight: 500 !important;
}

/* Arama kutusu header */
.header-search-wrap input[type="search"],
.wp-block-search__input {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: var(--hd-text-muted);
  border: 0.5px solid var(--hd-border);
  border-radius: var(--hd-radius);
  padding: 5px 10px;
  background: transparent;
}

/* ---- BUTONLAR ---- */
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.kadence-button {
  background: var(--hd-green-light) !important;
  color: var(--hd-green-dark) !important;
  border: 0.5px solid var(--hd-green-mid) !important;
  border-radius: var(--hd-radius) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.wp-block-button__link:hover,
.button:hover,
.kadence-button:hover {
  background: var(--hd-green-mid) !important;
  color: var(--hd-green-dark) !important;
}

/* ---- ETİKETLER / PILL ---- */
.hd-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.6;
}
.hd-tag-kolay  { background: #EAF3DE; color: #27500A; border: 0.5px solid #C0DD97; }
.hd-tag-orta   { background: #FAEEDA; color: #633806; border: 0.5px solid #FAC775; }
.hd-tag-zor    { background: #FCEBEB; color: #791F1F; border: 0.5px solid #F7C1C1; }
.hd-tag-nort   { background: #f5f5f0; color: #6b6b6b; border: 0.5px solid rgba(0,0,0,0.1); }

/* ---- KARTLAR ---- */
.hd-card {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: var(--hd-radius-lg);
  overflow: hidden;
}
.hd-card:hover {
  border-color: rgba(0,0,0,0.2);
}

/* ---- ROTA KART GRİDİ ---- */
.hd-rota-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0;
}

/* ---- FİLTRE CHİPLERİ ---- */
.hd-chip {
  display: inline-block;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  padding: 5px 12px;
  border-radius: 20px;
  border: 0.5px solid rgba(0,0,0,0.1);
  background: transparent;
  color: var(--hd-text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.hd-chip.active,
.hd-chip:hover {
  background: var(--hd-green-light);
  color: var(--hd-green-dark);
  border-color: var(--hd-green-mid);
  font-weight: 500;
}

/* ---- SIDEBAR KARTI ---- */
.hd-side-card {
  background: var(--hd-bg-surface);
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: var(--hd-radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.hd-side-card-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--hd-text);
  margin-bottom: 10px;
}
.hd-side-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
  font-size: 11px;
}
.hd-side-row:last-child { border-bottom: none; }
.hd-side-lbl { color: var(--hd-text-faint); }
.hd-side-val { font-weight: 500; color: var(--hd-text); }

/* ---- WİKİLOC BUTONU ---- */
.hd-wikiloc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background: var(--hd-green-light);
  border: 0.5px solid var(--hd-green-mid);
  border-radius: var(--hd-radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--hd-green-dark);
  text-decoration: none;
  margin-bottom: 14px;
}
.hd-wikiloc-btn:hover {
  background: var(--hd-green-mid);
  color: var(--hd-green-dark);
}

/* ---- BİLGİ KUTUSU ---- */
.hd-info-box {
  background: var(--hd-green-light);
  border: 0.5px solid var(--hd-green-mid);
  border-radius: var(--hd-radius);
  padding: 14px 16px;
  margin: 20px 0;
}
.hd-info-box-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--hd-green-dark);
  margin-bottom: 6px;
}
.hd-info-box p {
  font-size: 12px;
  color: var(--hd-green);
  line-height: 1.6;
  margin: 0;
}

/* ---- MADDE LİSTESİ ---- */
.hd-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.hd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--hd-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.hd-checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #97C459;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---- BÖLÜM BAŞLIĞI ---- */
.hd-section-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hd-text-faint);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

/* ---- FOOTER ---- */
.site-footer,
#colophon {
  border-top: 0.5px solid #e8e8e8;
  background: #ffffff;
  padding: 14px 0;
}
.site-footer .site-info,
.site-footer p {
  font-size: 11px;
  color: var(--hd-text-faint);
}

/* ---- YAZI / SAYFA İÇERİĞİ ---- */
.entry-content {
  font-size: 13px;
  line-height: 1.75;
  color: var(--hd-text-muted);
}
.entry-content h2 {
  font-size: 16px;
  margin: 28px 0 10px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.entry-content h3 {
  font-size: 14px;
  margin: 20px 0 8px;
}

/* ---- SAYFALAMA ---- */
.pagination .page-numbers {
  font-size: 12px;
  padding: 5px 12px;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: var(--hd-radius);
  color: var(--hd-text-muted);
}
.pagination .page-numbers.current {
  background: var(--hd-green-light);
  color: var(--hd-green-dark);
  border-color: var(--hd-green-mid);
  font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  .hd-rota-grid {
    grid-template-columns: 1fr;
  }
}