/*
Theme Name: Nazar Ölçer Tema
Theme URI: https://nazarolcer.com
Author: Nazar Ölçer
Description: Nazar Ölçer için özel minimal WordPress teması.
Version: 1.4.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: nazar-olcer-tema
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --bg-deep:      #011634;
  --bg-card:      #0A1628;
  --bg-elevated:  #0F1F3D;

  --gold:         #C9A84C;
  --gold-light:   #E2C47A;
  --gold-dark:    #A8853A;
  --gold-border:  rgba(201, 168, 76, 0.25);

  --text-primary: #E8F4F8;
  --text-muted:   #B0C4DE;
  --text-dark:    #0A1628;

  --font-heading: 'Marcellus', serif;
  --font-body:    'Montserrat', sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  50px;
  --transition:   0.25s ease;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #011634;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 400;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
  color: var(--gold-light);
}

/* =========================================================
   LAYOUT
   ========================================================= */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
}

.container,
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   HEADER
   ========================================================= */
#masthead,
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.site-branding img,
.custom-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.site-title-wrap .site-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.site-title-wrap .site-description {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Nav */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-navigation a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--text-primary);
}

/* Nav CTA butonu — gold */
.nav-cta,
.main-navigation .menu-item-cta > a {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25);
  transition: all var(--transition);
}

.nav-cta:hover,
.main-navigation .menu-item-cta > a:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

/* =========================================================
   PAGE CONTENT
   ========================================================= */
.site-main {
  padding: 3rem 0;
}

.page-content-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Entry */
.entry-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
}

.entry-title {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.entry-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.entry-content p,
.entry-content li {
  color: var(--text-primary);
}

.entry-content a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: all var(--transition);
}

.entry-content a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.entry-content h2,
.entry-content h3 {
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content li {
  margin-bottom: 0.4rem;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: var(--radius);
  padding: 0.75rem 1.75rem;
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25);
  transition: all var(--transition);
}

.contact-email-link:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

/* CF7 / contact form overrides */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25);
}

.wpcf7-form input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

/* =========================================================
   FOOTER
   ========================================================= */
#colophon,
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--gold-border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

/* =========================================================
   BUTTONS (global)
   ========================================================= */

/* Primary — gold */
.btn-primary,
.button.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover,
.button.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}

/* Ghost — gold border */
.btn-ghost,
.button.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-ghost:hover,
.button.btn-ghost:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

/* =========================================================
   WOOCOMMERCE OVERRIDES
   ========================================================= */
.woocommerce-page,
.woocommerce {
  color: var(--text-primary);
}

.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info {
  background: var(--bg-elevated);
  border-color: var(--gold);
  color: var(--text-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
}

.woocommerce form .form-row label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.woocommerce form .form-row input.input-text:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

/* WooCommerce butonları gold'a çevir */
.woocommerce #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce button[type="submit"],
.woocommerce input[type="submit"] {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  color: var(--text-dark) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  padding: 0.85rem 2rem !important;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25) !important;
  transition: all var(--transition) !important;
  cursor: pointer !important;
}

.woocommerce #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce button[type="submit"]:hover,
.woocommerce input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4) !important;
}

.woocommerce #payment {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--gold-border);
}

.woocommerce #payment div.payment_box {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.woocommerce #payment ul.payment_methods {
  border-bottom: 1px solid var(--gold-border);
}

.woocommerce #payment ul.payment_methods li {
  color: var(--text-primary);
}

.woocommerce table.shop_table {
  color: var(--text-primary);
  border-collapse: collapse;
  width: 100%;
}

.woocommerce table.shop_table th {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 400;
  border-bottom: 1px solid var(--gold-border);
  padding: 0.75rem;
  text-align: left;
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid rgba(201,168,76,0.08);
  padding: 0.75rem;
}

.woocommerce table.shop_table tfoot tr th,
.woocommerce table.shop_table tfoot tr td {
  border-top: 1px solid var(--gold-border);
}

.woocommerce .order-total .amount {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404 {
  text-align: center;
  padding: 6rem 2rem;
}

.error-404 .num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1;
  opacity: 0.25;
}

.error-404 h2 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.bg-card     { background: var(--bg-card); }
.border-gold { border: 1px solid var(--gold-border); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  #masthead,
  .site-header {
    padding: 0 1rem;
  }

  .header-inner {
    height: 64px;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--gold-border);
    padding: 1rem;
    flex-direction: column;
    gap: 0;
    z-index: 998;
  }

  .main-navigation.toggled {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .menu-toggle {
    display: block;
  }

  .site-main {
    padding: 2rem 0;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   HEADER — nz-header
   ========================================================= */
.nz-header {
  background-color: #011634;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.nz-header__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sol: logo + isim + slogan */
.nz-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nz-header__brand img,
.nz-header__brand .custom-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nz-header__logo-fallback {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #0A1628;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

.nz-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nz-header__site-name {
  font-family: 'Marcellus', serif;
  font-size: 1.2rem;
  color: #E8F4F8;
  line-height: 1.2;
}

.nz-header__tagline {
  font-size: 0.72rem;
  color: #C9A84C;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Sağ: nav + cta + toggle */
.nz-header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Nav */
.nz-header__nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}

.nz-header__nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #B0C4DE;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 4px 0;
}

.nz-header__nav a:hover,
.nz-header__nav .current-menu-item > a {
  color: #E8F4F8;
}

/* CTA — gold, 10px radius (anasayfa butonuyla aynı stil) */
.nz-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #C9A84C 0%, #E0C06A 100%);
  color: #050D1A !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201,168,76,0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nz-header__cta:hover {
  background: linear-gradient(135deg, #D4B35A 0%, #EAC96E 100%);
  color: #050D1A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
  text-decoration: none !important;
}

/* Hamburger */
.nz-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.nz-header__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #E8F4F8;
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile */
@media (max-width: 768px) {
  .nz-header__inner {
    height: 64px;
    padding: 0 1rem;
  }

  .nz-header__nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #011634;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 1rem;
    z-index: 998;
  }

  .nz-header__nav.toggled {
    display: block;
  }

  .nz-header__nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nz-header__nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.08);
  }

  .nz-header__cta {
    display: none;
  }

  .nz-header__toggle {
    display: flex;
  }
}

/* =========================================================
   MOBİL DÜZELTMELER v1.2
   ========================================================= */

/* --- Quiz: ay/yıl/tarih metinleri okunaklı renk --- */
@media (max-width: 768px) {
  /* Plugin quiz içindeki tarih/transit etiket renkleri */
  .nz-transit-label,
  .nz-date-label,
  .nz-planet-date,
  [class*="tarih"],
  [class*="date"],
  [class*="transit"] {
    color: #E2C47A !important;   /* gold-light, okunabilir */
  }

  /* Parlak sarı (ffff00 veya benzeri) → gold'a çevir */
  [style*="color: yellow"],
  [style*="color:#ff"],
  [style*="color: #ff"] {
    color: #E2C47A !important;
  }

  /* Quiz sayfasının alt boşluğu kapat */
  .nazar-quiz-wrap,
  #nazar-quiz-container,
  .nz-quiz-step,
  [class*="quiz-wrap"],
  [class*="quiz-container"] {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Elementor section'lar mobilde arka plan alsın */
  .elementor-section,
  .elementor-top-section,
  .e-con,
  .e-con-inner {
    background-color: transparent !important;
  }

  /* Sayfa içerik alanı dark bg — classic editor & Elementor */
  body.page #page,
  body.page #content,
  body.page #primary,
  body.page .site-main,
  body.page .elementor,
  body.single #page,
  body.single #content {
    background: transparent !important;
  }
}

/* Elementor section beyaz arka plan override — tüm ekranlar */
body.page .elementor-section.elementor-section-boxed > .elementor-container,
body.page .elementor-widget-wrap {
  background: transparent !important;
}

/* Classic editor sayfalar — içerik koyu arka planda */
body.page .entry-content,
body.single .entry-content {
  background: transparent !important;
}

/* Eğer Elementor section'a inline white background vermişse ezmek için */
body.page .elementor-section[style*="background-color: rgb(255"],
body.page .elementor-section[style*="background-color:#fff"],
body.page .elementor-section[style*="background-color: #fff"],
body.page .elementor-section[style*="background-color:white"],
body.page .e-con[style*="background-color: rgb(255"],
body.page .e-con[style*="background-color:#fff"] {
  background-color: transparent !important;
  background-image: none !important;
}

/* =========================================================
   LİNK & HOVER RENKLERİ — v1.2.4 düzeltme
   Cyan yok, gold sistemi
   ========================================================= */

/* Global link — sadece tema içerik alanlarında gold */
/* NOT: Elementor kendi renklerini yönetir, global override kaldırıldı */
.entry-content a,
.nz-page-body a,
.site-main a:not([class]),
.site-main a:not(.elementor-button):not(.nz-cta-btn):not(.nz-header__cta):not(.nz-cta) {
  color: var(--gold-light);
  text-decoration: none;
}
.entry-content a:hover,
.nz-page-body a:hover,
.site-main a:not([class]):hover,
.site-main a:not(.elementor-button):not(.nz-cta-btn):not(.nz-header__cta):not(.nz-cta):hover {
  color: var(--gold);
}

/* nz-cta butonu — yazı rengi kesin koyu */
a.nz-cta,
a.nz-cta:link,
a.nz-cta:visited,
a.nz-cta:hover {
  color: #011634 !important;
  border-bottom: none !important;
}

/* İçerik linkleri — altı çizgili gold */
.entry-content a,
.nz-page-body a,
.nz-page-body .entry-content a {
  color: var(--gold-light) !important;
  border-bottom: 1px solid rgba(201,168,76,0.35) !important;
  text-decoration: none !important;
  transition: color .2s, border-color .2s !important;
}
.entry-content a:hover,
.nz-page-body a:hover,
.nz-page-body .entry-content a:hover {
  color: #fff !important;
  border-bottom-color: var(--gold) !important;
}

/* Nav linkleri — renk değişmesin, override etme */
.nz-header__nav a,
.nz-header__nav a:link,
.nz-header__nav a:visited,
.nz-header__nav a:hover {
  color: #B0C4DE !important;
}
.nz-header__nav a:hover,
.nz-header__nav .current-menu-item > a {
  color: #E8F4F8 !important;
}

/* Footer linkleri */
.nz-links a,
.nz-footer-legal a,
.nz-contact-item a {
  color: #C8D8E8 !important;
}
.nz-links a:hover,
.nz-footer-legal a:hover,
.nz-contact-item a:hover {
  color: var(--gold-light) !important;
}

/* Buton linkleri — renk sıfırlama */
.nz-header__cta,
.nz-header__cta:link,
.nz-header__cta:visited,
.nz-header__cta:hover,
a.nz-cta-btn,
a.nz-cta-btn:link,
a.nz-cta-btn:visited,
a.nz-cta-btn:hover,
.nz-cta-btn,
.nz-cta-btn:hover,
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.woocommerce #place_order,
.woocommerce input[type="submit"],
.woocommerce button[type="submit"] {
  color: #011634 !important;
  border-bottom: none !important;
}

/* Footer CTA buton */
a.nz-cta-btn,
a.nz-cta-btn:hover {
  color: #011634 !important;
  border-bottom: none !important;
}

/* Elementor butonları — yazı rengi korunacak */
.elementor-button,
.elementor-button:link,
.elementor-button:visited,
.elementor-button:hover,
.elementor-button-wrapper a,
.elementor-button-wrapper a:hover,
.elementor-widget-button a,
.elementor-widget-button a:hover,
a.elementor-button,
a.elementor-button:hover {
  border-bottom: none !important;
}

/* Gold buton üzerindeki metin — koyu kalacak */
.elementor-button[style*="background-color: rgb(201"],
.elementor-button[style*="background-color:#C9A84C"],
.elementor-button[style*="background-color: #C9A84C"],
.elementor-button.elementor-button-link {
  color: #011634 !important;
}

/* En güvenli çözüm: buton class'ı olan her a'yı sıfırla */
a[class*="btn"],
a[class*="button"],
a[class*="Button"] {
  border-bottom: none !important;
}

/* =========================================================
   BLOG — Öne çıkan görsel hero (single) + liste kartları
   v1.3.0
   ========================================================= */

/* Tekil yazı hero — başlık görselin üstüne biner */
.nz-post-hero {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.nz-post-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(1,22,52,0.94) 0%,
    rgba(1,22,52,0.55) 45%,
    rgba(1,22,52,0.20) 100%);
}
.nz-post-hero__inner {
  position: relative; z-index: 2;
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 2.2rem;
}

/* Tekil yazı — üstteki 50px boşluğu kaldır (cover header'a yapışsın), alta 50px */
body.single-post .site-main {
  padding: 0 0 50px !important;
}
.nz-post-hero__meta {
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.nz-post-hero__title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  max-width: 900px;
}
.nz-post-hero__cat {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
}

/* =========================================================
   BLOG — Liste Kartları (Net 3'lü Düzen)
   ========================================================= */

/* Masaüstü: Varsayılan olarak yan yana tam 3 kolon */
.nz-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Kasmıyoruz, net 3 kolon! */
  gap: 28px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 1rem 2rem 2rem;
}

.nz-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nz-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.nz-blog-card__link { 
  text-decoration: none; 
  display: block; 
}

.nz-blog-card__media {
  position: relative;
  min-height: 260px;
  background-color: var(--bg-elevated);
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
}

.nz-blog-card__overlay {
  position: absolute; 
  inset: 0;
  background: linear-gradient(to top,
    rgba(1,22,52,0.92) 0%,
    rgba(1,22,52,0.45) 55%,
    rgba(1,22,52,0.10) 100%);
}

.nz-blog-card__content {
  position: relative; 
  z-index: 2;
  padding: 1.4rem 1.3rem;
}

.nz-blog-card__meta {
  color: var(--gold-light);
  font-size: 0.66rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 0.35rem !important;
}

.nz-blog-card__title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.375rem;
  line-height: 1.25;
  margin: 0 !important;
}

.nz-blog-card:hover .nz-blog-card__title { 
  color: var(--gold-light); 
}

.nz-blog-card__cat {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
}

.nz-blog-card__excerpt {
  padding: 1.1rem 1.3rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Tablet Ekranlar (1024px ve altı) */
@media (max-width: 1024px) { 
  .nz-blog-grid { 
    grid-template-columns: repeat(2, 1fr); /* Yan yana 2 adet */
  } 
}

/* Mobil Ekranlar (768px ve altı) */
@media (max-width: 768px) {
  .nz-post-hero { 
    min-height: 280px; 
  }
  .nz-blog-grid { 
    grid-template-columns: 1fr; /* Net tek sıra! */
    gap: 20px; 
    padding: 1rem 1rem 2rem;
  }
}
/* =========================================================
   BLOG — Numaralı pagination
   ========================================================= */
.nz-blog-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.nz-blog-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.nz-blog-pagination li { margin: 0; }
.nz-blog-pagination a.page-numbers,
.nz-blog-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.nz-blog-pagination a.page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.nz-blog-pagination span.page-numbers.current {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  font-weight: 600;
}
.nz-blog-pagination span.page-numbers.dots {
  border-color: transparent;
}

/* =========================================================
   BLOG — Tekil yazı paylaş butonları
   ========================================================= */
.nz-post-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nz-post-share__label {
  font-family: var(--font-heading);
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.nz-post-share__btns { display: flex; gap: 10px; }
.nz-post-share__btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  padding: 0;
}
.nz-post-share__btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.nz-post-share__btn svg { width: 18px; height: 18px; display: block; }
.nz-copy-link.is-copied::after {
  content: 'Kopyalandı';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-family: var(--font-body);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nz-post-hero__inner { padding: 0 1.25rem 1.75rem; }
}
/* =========================================================
   CUSTOMIZER'DAN YEDİRİLEN KURALLAR (v1.3.9)
   Önceden Görünüm → Ek CSS'te duran kurallar buraya taşındı.
   NOT: Bu bölüm taşınınca Customizer → Ek CSS boşaltılmalı.
   ========================================================= */

/* ── Blog: sayfa kapsayıcılarını tam genişliğe aç ── */
.site-main,
.nz-page-body-wrap,
.nz-page-body {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Blog sayfası (id 760): üst hero gizle + düz arka plan ── */
body.page-id-760 .nz-page-hero {
  display: none !important;
}
body.page-id-760,
body.page-id-760 #page,
body.page-id-760 #content {
  background-image: none !important;
  background-color: #011634 !important;
}

/* ── WooCommerce Checkout: konuk ödeme bildirimini gizle ── */
.wc-block-checkout__guest-checkout-notice,
.wc-block-components-notice-banner--info:has(p) {
  display: none !important;
}

/* ── WC Checkout: "Sipariş Ver" butonu (gold) ── */
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button {
  background-color: #C9A84C !important;
  background-image: linear-gradient(90deg, #C9A84C 0%, #E0C06A 50%, #C9A84C 100%) !important;
  color: #050D1A !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover {
  background-image: none !important;
  background-color: #E0C06A !important;
}

/* ── WC Checkout: posta kodu alanını gizle ── */
.wc-block-components-address-form__postcode,
.wc-block-components-address-form [id*="postcode"],
.wc-block-components-address-form [autocomplete*="postal-code"],
.wp-block-woocommerce-checkout-billing-address-block [id*="postcode"],
.wp-block-woocommerce-checkout-billing-address-block [autocomplete*="postal-code"] {
  display: none !important;
}
.wc-block-components-address-form .wc-block-components-text-input:has(input[autocomplete*="postal-code"]) {
  display: none !important;
}

/* ── WC Checkout: label renkleri (gold) ── */
.wc-block-components-text-input label,
.wc-block-components-select label,
.wc-block-components-form label,
.wc-block-components-address-form label {
  color: #C9A84C !important;
}

/* ── İade metni bağlantıları ── */
.nazar-iade-metni a {
  color: #C9A84C;
  text-decoration: underline;
}
.nazar-iade-metni a:hover {
  color: #E0C06A;
}

/* ── WC Sepet: tablo başlıkları, ürün adı, fiyatlar, toplam ── */
.wc-block-cart-items__header th,
.wc-block-cart-items__header span,
.wp-block-woocommerce-cart-items-block th,
.wc-block-cart-item__product-name,
.wc-block-cart-item__product-name a,
.wc-block-components-product-name,
.wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-cart-item__total .woocommerce-Price-amount,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item__label,
.wc-block-cart__totals-title,
.wc-block-components-totals-wrapper span,
.wc-block-components-totals-wrapper bdi {
  color: #E8F4F8 !important;
}

/* =========================================================
   ANASAYFA HERO + FEATURES (Elementor HTML widget stilleri)
   NOT: .nz-hero arka planı panelden (Tasarım Ayarları → Anasayfa
   Banner) geliyor; buradaki background-image satırı kaldırıldı.
   ========================================================= */
.nz-hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Diagonal gradient — sol üstten sağ alta, koyu lacivert %50 → şeffaf (%50) */
.nz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
    rgba(1,22,52,0.5) 0%,
    rgba(1,22,52,0) 50%);
  pointer-events: none;
}
.nz-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 64px 7% 72px;
  display: flex;
  align-items: center;
}
.nz-hero__left {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nz-sparkle-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  display: block;
}
.nz-hero__title {
  font-family: 'Marcellus', serif;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.05;
  color: #E8F4F8;
  margin-bottom: 20px;
}
.nz-hero__title span { color: #C9A84C; display: block; }
.nz-hero__sub {
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.75;
  color: rgba(232,244,248,0.70);
  margin-bottom: 32px;
  max-width: 360px;
}
.nz-time-hint {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(232,244,248,0.45);
  margin-bottom: 12px;
}
.nz-time-hint svg { width: 14px; height: 14px; flex-shrink: 0; }
.nz-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #C9A84C 0%, #E0C06A 100%) !important;
  color: #011634 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none; border-radius: 10px;
  padding: 11px 24px;
  width: auto; max-width: none;
  cursor: pointer;
  text-decoration: none !important;
  margin-bottom: 18px;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
}
.nz-cta:hover, .nz-cta:focus, .nz-cta:active, .nz-cta:visited {
  background: linear-gradient(135deg, #D4B35A 0%, #EAC96E 100%) !important;
  color: #011634 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
  text-decoration: none !important;
}
.nz-social__text { font-size: 13px; color: rgba(232,244,248,0.72); line-height: 1.4; white-space: nowrap; }
.nz-social__text strong { color: #C9A84C; }

.nz-features {
  background-image: url('https://nazarolcer.com/wp-content/uploads/2026/06/Nazar-Olcer-Arkaplan-4.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 56px 7% 48px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.nz-eyebrow {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-bottom: 24px;
}
.nz-eyebrow__line { flex: 1; max-width: 90px; height: 1px; background: rgba(201,168,76,0.35); }
.nz-eyebrow__icon svg { width: 26px; height: 26px; display: block; color: #C9A84C; }
.nz-features__title {
  font-family: 'Marcellus', serif;
  font-size: clamp(22px, 3vw, 28px);
  text-align: center; color: #E8F4F8;
  line-height: 1.3; margin-bottom: 12px;
}
.nz-features__title span { color: #C9A84C; }
.nz-features__sub {
  font-size: 14px; text-align: center;
  color: #B0C4DE; line-height: 1.75;
  max-width: 480px; margin: 0 auto 36px;
}
.nz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 24px;
}
.nz-card {
  background: #0F1F3D;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 18px;
  padding: 22px 18px;
}
.nz-card__ico {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon-img { width: 64px; height: 64px; object-fit: contain; }
.nz-card__title { font-size: 12px; font-weight: 700; color: #C9A84C; margin-bottom: 8px; line-height: 1.4; letter-spacing: 0.05em; }
.nz-card__desc  { font-size: 13px; color: #B0C4DE; line-height: 1.65; }
.nz-privacy {
  background: #0F1F3D;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  max-width: 760px; margin: 0 auto;
}
.nz-privacy__left { display: flex; align-items: center; gap: 12px; }
.nz-privacy__icon svg,
.nz-privacy__lock svg { width: 22px; height: 22px; color: #C9A84C; display: block; }
.nz-privacy__text { font-size: 13px; color: #B0C4DE; line-height: 1.5; }
.nz-privacy__text strong { color: #E8F4F8; }

/* =========================================================
   ANASAYFA HERO — MOBİL (≤768px)
   Aynı banner; içerik sola yaslı, gradient yok.
   ========================================================= */
@media (max-width: 768px) {
  .nz-hero {
    min-height: 520px;
  }
  .nz-hero__inner {
    padding: 48px 1.25rem 56px;
    justify-content: flex-start;
  }
  .nz-hero__left {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }
  .nz-hero__title {
    font-size: clamp(30px, 8.5vw, 44px);
  }
  .nz-hero__sub {
    max-width: 300px;
  }
  .nz-time-hint {
    justify-content: flex-start;
    width: 100%;
  }
  .nz-cta {
    max-width: none;
  }
  .nz-social__text {
    text-align: left;
    width: 100%;
  }
}

/* =========================================================
   ANASAYFA BLOG TEASER — [nazar_blog_home]
   4'lü satır + ortalı buton. base .nz-blog-grid'i ezer.
   ========================================================= */
.nz-blog-grid.nz-blog-grid--home {
  grid-template-columns: repeat(4, 1fr) !important;
  width: 100% !important;
}
@media (max-width: 1024px) {
  .nz-blog-grid.nz-blog-grid--home { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .nz-blog-grid.nz-blog-grid--home { grid-template-columns: 1fr !important; }
}
.nz-blog-more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
}

/* =========================================================
   ANASAYFA FEATURES — geniş (blog satırıyla aynı 1260px)
   Kart alanı 4'lü satır; gizlilik kutusu tam genişlik.
   ========================================================= */
.nz-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  max-width: 1260px !important;
  gap: 20px !important;
}
.nz-privacy {
  max-width: 1260px !important;
}
@media (max-width: 1024px) {
  .nz-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .nz-grid { grid-template-columns: 1fr !important; }
  .nz-privacy {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
}

/* =========================================================
   WC CHECKOUT/ÖDEME — kenar boşluğu + ortalı max-width (v1.4.8)
   Site geneli ".site-main" tam-genişlik override'ını (blog için
   eklenen) checkout/order-pay sayfalarında geri sararak içeriği
   ortalar ve yan padding verir.
   ========================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-order-pay .site-main {
  max-width: 1080px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

@media (max-width: 768px) {
  body.woocommerce-checkout .site-main,
  body.woocommerce-order-pay .site-main {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}