/* Energy Anatolia Blog - Dark Modern Theme */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ======= NUCLEAR OVERRIDE - hello-elementor fixes ======= */
html, body {
  background: #070b14 !important;
  color: #f0f6ff !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill hello-elementor's max-width restrictions on everything */
.site-header,
.site-header:not(.dynamic-header),
.site-footer,
.site-footer:not(.dynamic-footer),
body:not([class*=elementor-page-]) .site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
  box-sizing: border-box !important;
}

/* hello-elementor sets these too */
.site-header .header-inner,
.site-footer .footer-inner {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* site-main wrapper - no white bg */
.site-main, main, #main, #content, #page {
  background: transparent !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Responsive overrides too */
@media (min-width: 576px) {
  .site-header, .site-header:not(.dynamic-header),
  .site-footer, .site-footer:not(.dynamic-footer),
  .site-header .header-inner, .site-footer .footer-inner,
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (min-width: 768px) {
  .site-header, .site-header:not(.dynamic-header),
  .site-footer, .site-footer:not(.dynamic-footer),
  .site-header .header-inner, .site-footer .footer-inner,
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (min-width: 992px) {
  .site-header, .site-header:not(.dynamic-header),
  .site-footer, .site-footer:not(.dynamic-footer),
  .site-header .header-inner, .site-footer .footer-inner,
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (min-width: 1200px) {
  .site-header, .site-header:not(.dynamic-header),
  .site-footer, .site-footer:not(.dynamic-footer),
  .site-header .header-inner, .site-footer .footer-inner,
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
    width: 100% !important;
  }
}
/* ======= END NUCLEAR OVERRIDE ======= */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1525;
  --bg-card: #111827;
  --accent-cyan: #00d4ff;
  --accent-green: #00ff88;
  --accent-purple: #7c3aed;
  --text-primary: #f0f6ff;
  --text-secondary: #8899aa;
  --border: rgba(0,212,255,0.15);
  --gradient-primary: linear-gradient(135deg, #00d4ff, #00ff88);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ======= HEADER ======= */
.site-header {
  background: rgba(7,11,20,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 40px; }
.site-logo .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.header-nav a:hover, .header-nav a.current { color: var(--accent-cyan); }
.header-nav .btn-back {
  background: var(--gradient-primary);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ======= HERO / PAGE HEADER ======= */
.blog-page-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(0,255,136,0.05) 0%, transparent 50%),
              var(--bg-primary);
  padding: 80px 32px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-page-hero .badge {
  display: inline-block;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent-cyan);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.blog-page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.2;
}
.blog-page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ======= BLOG GRID ======= */
.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 20px 60px rgba(0,212,255,0.08);
}
.blog-card:hover::before { opacity: 1; }
.blog-card-thumb {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}
.blog-card-thumb-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(0,255,136,0.05));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-card-cat {
  background: rgba(0,212,255,0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
}
.blog-card-date { color: var(--text-secondary); font-size: 0.8rem; }
.blog-card-read { color: var(--text-secondary); font-size: 0.8rem; margin-left: auto; }
.blog-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.blog-card h2 a { color: var(--text-primary); text-decoration: none; transition: color 0.3s; }
.blog-card h2 a:hover { color: var(--accent-cyan); }
.blog-card-excerpt { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 20px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-read-more {
  background: transparent;
  border: 1px solid rgba(0,212,255,0.4);
  color: var(--accent-cyan);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 6px;
}
.btn-read-more:hover { background: var(--accent-cyan); color: #000; }

/* ======= PAGINATION ======= */
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.blog-pagination a, .blog-pagination span {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}
.blog-pagination a:hover, .blog-pagination .current {
  background: rgba(0,212,255,0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ======= SINGLE POST ======= */
.single-post-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%), var(--bg-primary);
  padding: 60px 32px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.single-post-hero .post-cat {
  display: inline-block;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent-cyan); padding: 5px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px; text-decoration: none;
}
.single-post-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  max-width: 900px; margin: 0 auto 20px; line-height: 1.25; color: var(--text-primary);
}
.single-post-hero .post-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; color: var(--text-secondary); font-size: 0.85rem; flex-wrap: wrap;
}
.post-featured-image { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.post-featured-image img { width: 100%; border-radius: 16px; border: 1px solid var(--border); margin-top: -20px; }
.post-content-wrap { max-width: 800px; margin: 60px auto; padding: 0 32px; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'Space Grotesk', sans-serif; margin: 2em 0 0.8em; }
.entry-content h2 { font-size: 1.8rem; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.entry-content h3 { font-size: 1.35rem; color: var(--accent-cyan); }
.entry-content p { margin-bottom: 1.5em; color: rgba(240,246,255,0.85); }
.entry-content a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { max-width: 100%; border-radius: 12px; border: 1px solid var(--border); margin: 1.5em 0; }
.entry-content ul, .entry-content ol { margin: 1em 0 1.5em 1.5em; }
.entry-content li { margin-bottom: 0.5em; color: rgba(240,246,255,0.85); }
.entry-content blockquote {
  border-left: 3px solid var(--accent-cyan);
  margin: 2em 0; padding: 16px 24px;
  background: rgba(0,212,255,0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--text-secondary);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content table th { background: rgba(0,212,255,0.1); padding: 12px 16px; text-align: left; font-weight: 600; border: 1px solid var(--border); color: var(--accent-cyan); }
.entry-content table td { padding: 12px 16px; border: 1px solid var(--border); color: rgba(240,246,255,0.8); }
.entry-content table tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* ======= FOOTER ======= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 32px 30px;
  margin-top: 80px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand .logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 10px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; max-width: 280px; }
.footer-links h5 { color: var(--text-primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-secondary); font-size: 0.82rem; }

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .header-inner { padding: 14px 20px; }
  .header-nav { gap: 16px; }
  .header-nav a:not(.btn-back) { display: none; }
  .blog-container { padding: 40px 20px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-page-hero { padding: 60px 20px 40px; }
  .single-post-hero { padding: 40px 20px 30px; }
  .post-content-wrap { padding: 0 20px; }
  .footer-top { flex-direction: column; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* ======= SEO CONTENT ELEMENTS ======= */
.ea-info-box {
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.3);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2em 0;
}
.ea-info-box h4 { color: var(--accent-cyan); margin: 0 0 14px; font-size: 1rem; font-weight: 600; }
.ea-info-box ul { margin: 0; padding-left: 20px; }
.ea-info-box li { color: rgba(240,246,255,0.9); margin-bottom: 8px; }

.ea-warning-box {
  background: rgba(255,165,0,0.07);
  border: 1px solid rgba(255,165,0,0.3);
  border-left: 4px solid #ffa500;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2em 0;
}
.ea-warning-box h4 { color: #ffa500; margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.ea-warning-box p { color: rgba(240,246,255,0.85); margin: 0; }

.ea-stats-box {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.25);
  border-left: 4px solid var(--accent-green);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2em 0;
}
.ea-stats-box h4 { color: var(--accent-green); margin: 0 0 14px; font-size: 1rem; font-weight: 600; }
.ea-stats-box ul { margin: 0; padding-left: 20px; }
.ea-stats-box li { color: rgba(240,246,255,0.9); margin-bottom: 8px; }

.ea-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2em 0;
}
.ea-pros {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 12px;
  padding: 20px 24px;
}
.ea-cons {
  background: rgba(255,80,80,0.06);
  border: 1px solid rgba(255,80,80,0.2);
  border-radius: 12px;
  padding: 20px 24px;
}
.ea-pros h4 { color: var(--accent-green); margin: 0 0 12px; }
.ea-cons h4 { color: #ff5050; margin: 0 0 12px; }
.ea-pros ul, .ea-cons ul { margin: 0; padding-left: 18px; }
.ea-pros li, .ea-cons li { margin-bottom: 8px; font-size: 0.92rem; }

.ea-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ea-table thead tr { background: rgba(0,212,255,0.12); }
.ea-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.ea-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(240,246,255,0.82);
  font-size: 0.9rem;
}
.ea-table tr:last-child td { border-bottom: none; }
.ea-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.ea-related-links {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2.5em 0;
}
.ea-related-links h4 { color: var(--text-primary); margin: 0 0 14px; font-size: 1rem; }
.ea-related-links ul { margin: 0; padding-left: 20px; }
.ea-related-links li { margin-bottom: 8px; }
.ea-related-links a { color: var(--accent-cyan); text-decoration: none; font-size: 0.92rem; transition: opacity 0.2s; }
.ea-related-links a:hover { opacity: 0.75; text-decoration: underline; }

.ea-faq { margin: 2.5em 0; }
.ea-faq > h2 { color: var(--text-primary); margin-bottom: 24px; }
.ea-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ea-faq-q {
  padding: 18px 24px;
  margin: 0;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.ea-faq-q::before { content: 'S: '; color: var(--accent-cyan); }
.ea-faq-a {
  padding: 16px 24px;
  background: rgba(0,0,0,0.2);
}
.ea-faq-a p { color: rgba(240,246,255,0.85); margin: 0; line-height: 1.7; font-size: 0.93rem; }

@media (max-width: 640px) {
  .ea-pros-cons { grid-template-columns: 1fr; }
  .ea-table { font-size: 0.82rem; }
  .ea-table th, .ea-table td { padding: 10px 12px; }
}
