/*
Theme Name: Frontline Insight
Theme URI: https://frontline-insight.ro
Author: Tiberiu Szmuck & ChatGPT
Description: Temă minimalistă dark pentru blogul de analiză militară și geopolitică FRONTLINE INSIGHT.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: frontline-insight
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #000000;
  color: #ffffff;
}

a {
  color: #C30000;
  text-decoration: none;
}

a:hover {
  color: #ff3333;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111111;
  border-bottom: 3px solid #C30000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

.logo-img {
  height: 100px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-nav li {
  margin-left: 18px;
}

.main-nav a {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #C30000;
}

.hero {
  position: relative;
  height: 60vh;
  min-height: 360px;
  background: radial-gradient(circle at top, #222222 0, #000000 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10%;
}

.hero.with-image {
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat fixed;
}

.hero.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #dddddd;
}

.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background: #C30000;
  color: #ffffff;
  border-radius: 2px;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.section {
  padding: 50px 5%;
}

.section-dark {
  background: #050505;
}

.section-light {
  background: #111111;
}

.section-highlight {
  background: #181818;
  border-top: 2px solid #C30000;
  border-bottom: 2px solid #C30000;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  border-left: 4px solid #C30000;
  padding-left: 10px;
}

.site-footer {
  background: #111111;
  border-top: 3px solid #C30000;
  text-align: center;
  padding: 15px 5%;
  font-size: 13px;
  color: #cccccc;
  margin-top: 20px;
}

.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 5%;
}

.article-header h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 12px;
  color: #bbbbbb;
  margin-bottom: 20px;
}

.article-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #eeeeee;
  margin-bottom: 14px;
}

.article-body h2 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 10px;
  border-left: 4px solid #C30000;
  padding-left: 8px;
}

.article-body blockquote {
  border-left: 4px solid #C30000;
  margin: 16px 0;
  padding-left: 12px;
  font-style: italic;
  color: #ffdddd;
}

.article-back {
  margin-top: 25px;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .main-nav li {
    margin: 5px 10px 0 0;
  }
}
