/* =========================================================
   George Popescu Insights — Global Stylesheet
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #222222;
  background-color: #f7f7f5;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin-bottom: 1.1rem;
}

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

strong {
  font-weight: 600;
}

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

.section {
  padding: 64px 0;
}

.section--white {
  background-color: #ffffff;
}

.section--light {
  background-color: #f7f7f5;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0d1b2a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo:hover {
  color: #c8973a;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: #cccccc;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: #c8973a;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background-color: #0d1b2a;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero .hero-subtitle {
  font-size: 1.15rem;
  color: #aaaaaa;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-disclaimer {
  font-size: 0.88rem;
  color: #888888;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background-color: #c8973a;
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background-color: #b07e2a;
  color: #ffffff;
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  border: 2px solid #c8973a;
  color: #c8973a;
}

.btn--outline:hover {
  background-color: #c8973a;
  color: #ffffff;
}

/* ---------- Cards ---------- */
.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card-grid--two {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.card-grid--three {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---------- Section Headings ---------- */
.section-heading {
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  color: #666666;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* ---------- Home Page Specific ---------- */
.features-intro h2 {
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #0d1b2a;
}

.feature-card p {
  color: #444444;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.bullet-list li {
  padding-left: 20px;
  position: relative;
  color: #444444;
  margin-bottom: 6px;
}

.bullet-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #c8973a;
  font-weight: 700;
}

/* ---------- Quotes Section ---------- */
.quotes-section {
  background-color: #0d1b2a;
  color: #ffffff;
}

.quotes-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.quotes-section .section-sub {
  color: #aaaaaa;
}

.quote-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #c8973a;
  border-radius: 4px;
  padding: 28px 32px;
}

.quote-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: #dddddd;
  line-height: 1.75;
  margin-bottom: 12px;
}

.quote-card cite {
  font-size: 0.88rem;
  color: #c8973a;
  font-style: normal;
  font-weight: 600;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background-color: #ffffff;
  text-align: center;
  padding: 64px 0;
}

.cta-banner h2 {
  margin-bottom: 16px;
  color: #0d1b2a;
}

.cta-banner p {
  color: #666666;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* ---------- About Page Specific ---------- */
.about-intro-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: #555555;
  border-left: 4px solid #c8973a;
  padding: 16px 24px;
  margin: 24px 0 20px;
  background: #fefaf3;
  border-radius: 0 4px 4px 0;
}

.credential-list {
  padding: 0;
  margin: 16px 0 0;
}

.credential-list li {
  padding-left: 20px;
  position: relative;
  color: #444444;
  margin-bottom: 8px;
}

.credential-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #c8973a;
  font-size: 0.8rem;
  top: 4px;
}

.about-content-block {
  margin-bottom: 40px;
}

.about-content-block h3 {
  margin-bottom: 12px;
  color: #0d1b2a;
}

.about-content-block h4 {
  margin: 20px 0 8px;
  color: #0d1b2a;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.principle-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 28px 32px;
  border-top: 3px solid #c8973a;
}

.principle-card h4 {
  margin-bottom: 10px;
  color: #0d1b2a;
}

/* ---------- Insights Index ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.article-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card .article-meta {
  font-size: 0.85rem;
  color: #666666;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-card .article-category {
  color: #c8973a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.article-card h2 {
  font-size: 1.4rem;
  color: #0d1b2a;
  margin-bottom: 4px;
}

.article-card h2 a {
  color: #0d1b2a;
  text-decoration: none;
}

.article-card h2 a:hover {
  color: #c8973a;
}

.article-card .excerpt {
  color: #555555;
  font-size: 0.97rem;
  line-height: 1.75;
}

.article-card .read-more {
  color: #c8973a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.article-card .read-more:hover {
  text-decoration: underline;
}

/* ---------- Article (Single Post) ---------- */
.article-page-hero {
  background-color: #0d1b2a;
  color: #ffffff;
  padding: 60px 0 48px;
}

.article-page-hero .article-category-tag {
  display: inline-block;
  background-color: #c8973a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-page-hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.article-page-hero .article-meta-bar {
  display: flex;
  gap: 20px;
  color: #aaaaaa;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 36px 0 14px;
  color: #0d1b2a;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: #0d1b2a;
}

.article-body h4 {
  margin: 22px 0 8px;
  color: #0d1b2a;
}

.article-body p {
  margin-bottom: 1.2rem;
  color: #333333;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.2rem 24px;
  color: #444444;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 6px;
}

.article-body blockquote {
  border-left: 4px solid #c8973a;
  padding: 12px 20px;
  margin: 24px 0;
  background: #fefaf3;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #555555;
}

.article-body strong {
  color: #222222;
}

/* ---------- Tags ---------- */
.tags-section {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
}

.tags-section h4 {
  margin-bottom: 14px;
  color: #444444;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.tags-list li a {
  display: inline-block;
  background: #f0f0ee;
  color: #555555;
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.tags-list li a:hover {
  background: #c8973a;
  color: #ffffff;
}

/* ---------- Post Navigation ---------- */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
  flex-wrap: wrap;
}

.post-nav-item {
  flex: 1;
  min-width: 200px;
}

.post-nav-item.next {
  text-align: right;
}

.post-nav-label {
  display: block;
  font-size: 0.8rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.post-nav-item a {
  color: #0d1b2a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.post-nav-item a:hover {
  color: #c8973a;
}

/* ---------- Contact Page ---------- */
.contact-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro p {
  color: #555555;
  margin-bottom: 12px;
}

.contact-form-wrapper {
  max-width: 640px;
  margin: 48px auto 0;
}

.contact-form {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #222222;
  background: #fafafa;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8973a;
  background: #ffffff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-required {
  color: #c8973a;
}

.contact-disclaimer {
  font-size: 0.85rem;
  color: #888888;
  text-align: center;
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #0d1b2a;
  color: #aaaaaa;
  padding: 40px 0;
  text-align: center;
}

.site-footer .footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer .footer-desc {
  font-size: 0.88rem;
  color: #888888;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  color: #aaaaaa;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #c8973a;
}

.footer-copy {
  font-size: 0.82rem;
  color: #666666;
}

/* ---------- Muted / Utility ---------- */
.text-muted {
  color: #666666;
}

.text-center {
  text-align: center;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.2rem; }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-nav {
    gap: 16px;
    justify-content: flex-start;
  }

  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 48px 0;
  }

  .card-grid,
  .card-grid--two,
  .card-grid--three {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav-item.next {
    text-align: left;
  }

  .article-page-hero {
    padding: 40px 0 32px;
  }
}
