/* ═══════════════════════════════════════════════
   karhanyoney.com — Özel CSS
   Renk Paleti: Lacivert + Altın + Krem
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --navy:   #0b0d1f;
  --navy2:  #111428;
  --gold:   #c9a84c;
  --gold2:  #e8c97a;
  --cream:  #f5edd8;
  --text:   #e8dfc8;
  --muted:  #8a8faa;
}

/* ── GENEL ── */
body {
  font-family: 'Raleway', sans-serif !important;
  color: #222 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif !important;
}

p, li, a, span, label, input, textarea {
  font-family: 'Raleway', sans-serif !important;
}

/* ── HEADER / NAV ── */
.site-header,
#masthead,
header.site-header {
  background: rgba(11,13,31,0.98) !important;
  border-bottom: 1px solid rgba(201,168,76,0.25) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  backdrop-filter: blur(10px) !important;
}

.site-title a,
.site-title {
  font-family: 'Cinzel', serif !important;
  color: #e8c97a !important;
  font-size: 20px !important;
  letter-spacing: 2px !important;
  text-decoration: none !important;
}

.site-description {
  color: #8a8faa !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  font-family: 'Raleway', sans-serif !important;
}

/* ── NAV MENÜ ── */
.main-navigation,
.nav-menu,
#site-navigation {
  background: transparent !important;
}

.main-navigation a,
.nav-menu a,
#site-navigation a {
  color: #8a8faa !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color 0.25s !important;
  padding: 8px 14px !important;
}

.main-navigation a:hover,
.nav-menu a:hover,
#site-navigation a:hover {
  color: #e8c97a !important;
  background: transparent !important;
}

/* Eğitimler menü öğesi — altın buton */
.main-navigation li:last-child a,
.nav-menu li:last-child a {
  background: linear-gradient(135deg, #b8902a, #e8c97a) !important;
  color: #0b0d1f !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
}

/* ── ANASAYFA HERO ALANI ── */
.home .entry-header,
.home .page-header,
.site-branding {
  background: var(--navy) !important;
  padding: 80px 40px !important;
}

/* ── İÇERİK ALANI ── */
.site-content,
#content,
.content-area {
  background: #ffffff !important;
}

.entry-content {
  font-family: 'EB Garamond', serif !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #333 !important;
}

.entry-title,
.page-title {
  font-family: 'Cinzel', serif !important;
  color: #0b0d1f !important;
  font-size: 36px !important;
  letter-spacing: 1px !important;
}

/* ── BUTONLAR ── */
.wp-block-button__link,
.button,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, #b8902a, #e8c97a) !important;
  color: #0b0d1f !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3) !important;
}

.wp-block-button__link:hover,
.button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 28px rgba(201,168,76,0.4) !important;
  color: #0b0d1f !important;
}

/* ── LİNKLER ── */
a {
  color: #c9a84c !important;
  transition: color 0.2s !important;
}

a:hover {
  color: #e8c97a !important;
}

/* ── FOOTER ── */
.site-footer,
#colophon {
  background: #07080f !important;
  border-top: 1px solid rgba(201,168,76,0.15) !important;
  color: #8a8faa !important;
  padding: 40px !important;
}

.site-footer a,
#colophon a {
  color: #8a8faa !important;
}

.site-footer a:hover,
#colophon a:hover {
  color: #e8c97a !important;
}

/* ── WIDGET BAŞLIKLARI ── */
.widget-title,
.widgettitle {
  font-family: 'Cinzel', serif !important;
  color: #e8c97a !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(201,168,76,0.3) !important;
  padding-bottom: 10px !important;
  margin-bottom: 16px !important;
}

/* ── AYRAÇ ÇİZGİLERİ ── */
hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent) !important;
  opacity: 0.4 !important;
  margin: 40px 0 !important;
}

/* ── YAZI KARTLARI (Blog listesi) ── */
.post,
article.post,
article.page {
  border-bottom: 1px solid rgba(201,168,76,0.15) !important;
  padding-bottom: 40px !important;
  margin-bottom: 40px !important;
}

.entry-meta {
  color: #8a8faa !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

/* ── BLOK EDİTÖR İYİLEŞTİRMELERİ ── */
.wp-block-cover,
.wp-block-group {
  font-family: 'Raleway', sans-serif !important;
}

.wp-block-heading {
  font-family: 'Cinzel', serif !important;
}

/* ── MOBİL ── */
@media (max-width: 768px) {
  .entry-title, .page-title {
    font-size: 26px !important;
  }
  .site-title {
    font-size: 16px !important;
  }
  .main-navigation a {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }
}
/* Menüyü yatay hizala */
.main-navigation ul,
.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}

/* Son öğe (İletişim) yerine 6. öğe (Eğitimler) buton olsun */
.main-navigation li:nth-child(6) a,
.nav-menu li:nth-child(6) a {
  background: linear-gradient(135deg, #b8902a, #e8c97a) !important;
  color: #0b0d1f !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}

/* Son öğe normal link */
.main-navigation li:last-child a,
.nav-menu li:last-child a {
  background: transparent !important;
  color: #8a8faa !important;
  border-radius: 0 !important;
}
/* Contact Form 7 — Altın Tema */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select {
  width: 100% !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  color: #e8dfc8 !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus {
  border-color: #c9a84c !important;
  outline: none !important;
}

.wpcf7 input[type="submit"] {
  width: 100% !important;
  background: linear-gradient(135deg, #b8902a, #e8c97a) !important;
  color: #0b0d1f !important;
  font-family: 'Cinzel', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  padding: 14px !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
}

.wpcf7 select option {
  background: #0b0d1f !important;
  color: #e8dfc8 !important;
}

/* Menüyü ortala */
.main-navigation ul,
.nav-menu {
  justify-content: center !important;
}

/* Header içeriğini ortala */
.site-header .site-branding {
  text-align: center !important;
}

@media (max-width: 768px) {

  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }

  [style*="grid-template-columns: repeat(9"],
  [style*="grid-template-columns:repeat(9"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="font-size: 52px"],[style*="font-size:52px"] { font-size: 32px !important; }
  [style*="font-size: 44px"],[style*="font-size:44px"] { font-size: 28px !important; }
  [style*="font-size: 36px"],[style*="font-size:36px"] { font-size: 24px !important; }

  [style*="padding: 100px 40px"],[style*="padding: 90px 40px"],[style*="padding: 80px 40px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  section { overflow-x: hidden !important; }
  body { overflow-x: hidden !important; }

}


/* Sol üst çizgileri kaldır */
.site-header::before,
.site-header::after,
.main-navigation::before,
.main-navigation::after,
.menu-toggle::before,
.menu-toggle::after {
  display: none !important;
}

/* Hero üstündeki dekoratif çizgileri gizle */
.elementor-widget-html > div > div[style*="width:1px"],
.elementor-widget-html > div > div[style*="width: 1px"],
.elementor-widget-html hr,
.elementor-widget-html > div > hr {
  display: none !important;
}

/* Plane tema üst çizgileri */
.site-header > *:first-child,
#masthead::before,
#masthead > .site-branding::before,
.main-navigation > ul::before {
  display: none !important;
  height: 0 !important;
  border: none !important;
}

/* Genel ince çizgi temizliği */
.site-header *[style*="height:2px"],
.site-header *[style*="height: 2px"],
.site-header *[style*="border-top"] {
  display: none !important;
}

/* ══ FOOTER ══ */
.site-footer {
  background: #07080f !important;
  padding: 60px 48px 32px !important;
  border-top: 1px solid rgba(201,168,76,0.1) !important;
}
.site-footer .site-info {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: #444 !important;
  font-family: 'Raleway', sans-serif;
}
.site-footer a { color: #444 !important; text-decoration: none !important; }
.site-footer a:hover { color: #c9a84c !important; }

body,
.site,
.site-content,
#content,
#page,
main,
.wp-site-blocks {
  background-color: #0b0d1f !important;
}

/* Sayfa yüklenirken beyaz flash önleme */
html {
  background-color: #0b0d1f !important;
}
.method-tag { display: none !important; }
button[class*="search"],
div[class*="search"],
a[class*="search"],
svg[class*="search"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
.menu-toggle,
.mobile-menu-toggle,
.hamburger,
button[aria-label="Menu"],
button[aria-label="Open Menu"] {
    display: none !important;
}
/* Sadece tekil blog yazısı sayfası */
.single-post {
    background-color: #ffffff !important;
}

/* Yazı içeriği alanı */
.single-post .entry-content,
.single-post article {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 20px;
    border-radius: 8px;
}