/*
Theme Name: Belgeli Hava Damperi
Theme URI: https://belgelihavadamperi.com
Author: Nef Teknik
Description: CE ve EN 1751 belgeli hava damperi blog teması.
Version: 1.0
License: Private
Text Domain: belgeli-hava-damperi
*/

/* =====================================================
   BELGELI HAVA DAMPERI – WordPress Tema
   Font: Inter + Merriweather
   ===================================================== */

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

:root {
  --bg:           #f8f9fa;
  --bg-alt:       #f0f4f8;
  --white:        #ffffff;
  --navy:         #0d2137;
  --navy-dark:    #081628;
  --accent:       #d95b1a;
  --accent-hover: #bf4f16;
  --accent-pale:  #fff5f0;
  --accent-border:#f5c9b0;
  --text:         #1a2332;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --border-dark:  #d1d5db;
  --radius:       8px;
  --radius-lg:    14px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow:       0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --transition:   all 0.25s ease;
  --font-ui:      'Inter', sans-serif;
  --font-article: 'Merriweather', Georgia, serif;
  --content-w:    740px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-ui); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 0.95rem; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.logo-sub  { font-size: 0.65rem; color: var(--accent); font-weight: 500; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.current-menu-item { color: var(--text); background: var(--bg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BUTONLAR ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,91,26,0.3);
}
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.inline-link {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: transparent;
}
.inline-link:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }

/* ---- HERO (Ön sayfa) ---- */
.site-hero {
  background: var(--navy);
  color: white;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(217,91,26,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-badges { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3px;
}
.badge-ce  { background: rgba(217,91,26,0.2); color: #f5a070; border: 1px solid rgba(217,91,26,0.4); }
.badge-en  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.hero-title {
  font-family: var(--font-article);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: #f5a070; }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 640px;
}

/* ---- CE ŞERİDİ ---- */
.ce-strip { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.ce-strip-inner { display: flex; align-items: stretch; }
.ce-item {
  flex: 1; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; transition: var(--transition);
}
.ce-item:hover { background: var(--accent-pale); }
.ce-item > i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; }
.ce-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ce-item span  { font-size: 0.75rem; color: var(--text-muted); }
.ce-divider { width: 1px; background: var(--border); align-self: stretch; margin: 12px 0; }

/* ---- SECTION ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: 48px; max-width: 680px; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-article);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700; color: var(--text); line-height: 1.3;
  letter-spacing: -0.3px; margin-bottom: 14px;
}
.section-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ---- EXPLAINER ---- */
.explainer-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.explainer-main p { font-size: 1rem; color: var(--text-body); line-height: 1.85; margin-bottom: 18px; }
.explainer-main strong { color: var(--text); }
.info-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px;
}
.info-box-icon { font-size: 1.3rem; color: var(--accent); margin-bottom: 12px; }
.info-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: var(--text-body); margin-bottom: 9px; line-height: 1.5;
}
.check-list li i { color: #16a34a; font-size: 0.78rem; margin-top: 3px; flex-shrink: 0; }
.info-box-accent { background: var(--navy); border-color: transparent; }
.info-box-accent .info-box-icon { color: #f5a070; }
.info-box-accent p {
  font-family: var(--font-article); font-style: italic;
  font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.7;
}

/* ---- REASONS ---- */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: var(--transition);
}
.reason-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow); transform: translateY(-2px); }
.reason-num {
  font-size: 2.2rem; font-weight: 800; line-height: 1;
  margin-bottom: 14px; color: #fce8de; -webkit-text-stroke: 1px var(--accent-border);
}
.reason-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.reason-card p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.75; }

/* ---- BLOG LİSTESİ (Anasayfa) ---- */
.post-featured {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 32px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.post-featured:hover { box-shadow: var(--shadow-lg); }
.post-featured-body { flex: 1; }
.post-featured-body h2 {
  font-family: var(--font-article);
  font-size: 1.4rem; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 12px;
}
.post-featured-body h2 a { color: inherit; transition: color 0.2s; }
.post-featured-body h2 a:hover { color: var(--accent); }
.post-featured-body > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.post-featured-icon { font-size: 4rem; color: var(--accent-border); flex-shrink: 0; opacity: 0.6; }

.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-pale); border: 1px solid var(--accent-border);
  padding: 3px 10px; border-radius: 4px;
}
.post-read { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.post-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow); transform: translateY(-2px); }

.post-card-thumb {
  width: 100%; height: 180px; overflow: hidden;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: rgba(255,255,255,0.3);
}
.bg-blue   { background: linear-gradient(135deg,#0d2137,#1a4d6e); }
.bg-red    { background: linear-gradient(135deg,#3e1a1a,#7a2e2e); }
.bg-green  { background: linear-gradient(135deg,#1a2e1a,#1e5c2a); }
.bg-purple { background: linear-gradient(135deg,#1e1a3e,#3d2e70); }
.bg-orange { background: linear-gradient(135deg,#3e2a0d,#7a5520); }

.post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h3 {
  font-family: var(--font-article);
  font-size: 0.98rem; font-weight: 700; color: var(--text);
  line-height: 1.5; margin-bottom: 10px;
}
.post-card-body h3 a { color: inherit; transition: color 0.2s; }
.post-card-body h3 a:hover { color: var(--accent); }
.post-card-body > p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.post-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  transition: var(--transition); margin-top: auto;
}
.post-link:hover { gap: 10px; color: var(--accent-hover); }

/* ---- TEKİL MAKALE ---- */
.article-hero {
  background: var(--navy); padding: 60px 0 52px; color: white;
}
.article-breadcrumb {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.article-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.article-breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.article-breadcrumb i { font-size: 0.6rem; }
.article-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 50px;
  font-size: 0.73rem; font-weight: 600;
  background: rgba(217,91,26,0.2); color: #f5a070;
  border: 1px solid rgba(217,91,26,0.4); margin-bottom: 18px;
}
.article-title {
  font-family: var(--font-article);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700; color: white; line-height: 1.25;
  letter-spacing: -0.3px; margin-bottom: 18px; max-width: 760px;
}
.article-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.75; max-width: 680px; margin-bottom: 28px;
}
.article-info { display: flex; align-items: center; gap: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; }
.article-info span { display: flex; align-items: center; gap: 6px; }

/* Öne çıkan görsel */
.article-featured-image {
  width: 100%; max-height: 420px;
  object-fit: cover; display: block;
}

/* Makale gövdesi */
.article-body { max-width: var(--content-w); margin: 0 auto; padding: 60px 24px 80px; }
.article-content h2 {
  font-family: var(--font-article); font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin: 44px 0 16px;
  padding-top: 8px; border-top: 2px solid var(--border); line-height: 1.35;
}
.article-content h3 {
  font-family: var(--font-article); font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin: 28px 0 12px;
}
.article-content p {
  font-family: var(--font-article); font-size: 1rem;
  color: var(--text-body); line-height: 1.9; margin-bottom: 20px; font-weight: 300;
}
.article-content strong { font-weight: 700; color: var(--text); }
.article-content ul, .article-content ol { margin: 0 0 20px 0; padding-left: 20px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  font-family: var(--font-article); font-size: 1rem;
  color: var(--text-body); line-height: 1.9; margin-bottom: 6px; font-weight: 300;
}
.article-content a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-border); }
.article-content a:hover { color: var(--accent-hover); }
.article-content img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }

.callout {
  background: var(--accent-pale); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 28px 0;
}
.callout p {
  font-family: var(--font-ui) !important; font-size: 0.92rem !important;
  color: var(--text) !important; line-height: 1.7 !important;
  margin: 0 !important; font-weight: 500 !important;
}
.callout-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px;
}

.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; font-family: var(--font-ui); }
.article-content th { background: var(--navy); color: white; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.82rem; }
.article-content td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); font-size: 0.88rem; }
.article-content tr:hover td { background: var(--bg); }

.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 40px; border-top: 1px solid var(--border);
  margin-top: 40px; flex-wrap: wrap;
}
.article-nav a { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--accent); transition: var(--transition); }
.article-nav a:hover { color: var(--accent-hover); }
.article-nav .all-posts { background: var(--navy); color: white; padding: 10px 20px; border-radius: var(--radius); }
.article-nav .all-posts:hover { background: var(--navy-dark); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition);
}
.contact-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow); }
.contact-card-icon {
  width: 44px; height: 44px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; margin-bottom: 16px;
}
.contact-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.contact-link { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-muted); margin-bottom: 8px; transition: color 0.2s; }
.contact-link:hover { color: var(--accent); }
.contact-link i { color: var(--accent); width: 14px; flex-shrink: 0; }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding-top: 56px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand .logo-icon { background: var(--accent); }
.footer-brand .logo-name { color: white; }
.footer-brand > p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: white; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- WP ALIGNMENT HELPERS ---- */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 6px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .explainer-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: repeat(2,1fr); }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ce-strip-inner { flex-wrap: wrap; }
  .ce-item { min-width: 50%; }
  .ce-divider { display: none; }
}
@media (max-width: 680px) {
  .main-nav { display: none; position: fixed; inset: 64px 0 0 0; background: white; flex-direction: column; padding: 24px; gap: 4px; z-index: 99; border-top: 1px solid var(--border); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 0.95rem; }
  .hamburger { display: flex; }
  .hero-title { font-size: 1.7rem; }
  .post-featured { flex-direction: column; }
  .post-featured-icon { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .ce-item { min-width: 100%; }
  .article-nav { flex-direction: column; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .site-hero { padding: 52px 0 48px; }
}
