/* ================================================
   Popescu Robotics — styles.css
   ================================================ */

/* ---------- 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.35;
}

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

p {
  margin-bottom: 1.25rem;
}

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

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

.section {
  padding: 64px 0;
}

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

/* ---------- 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__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-header__brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

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

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

.site-nav__link {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

.hero__subtitle {
  font-size: 1.3rem;
  color: #c8973a;
  font-style: italic;
  margin-bottom: 24px;
}

.hero__description {
  font-size: 1.05rem;
  color: #cccccc;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.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;
}

.btn:hover {
  background-color: #b3832e;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.95;
}

.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__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8973a;
  margin-bottom: 10px;
}

.card__title {
  margin-bottom: 12px;
  color: #222222;
}

.card__body {
  color: #666666;
  font-size: 0.97rem;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8973a;
  margin-bottom: 10px;
}

.section-header__title {
  color: #222222;
  margin-bottom: 16px;
}

.section-header__subtitle {
  color: #666666;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.quotes-section .section-header__title {
  color: #ffffff;
}

.quotes-section .section-header__eyebrow {
  color: #c8973a;
}

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

.blockquote-card__text {
  font-size: 1.05rem;
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.75;
  margin-bottom: 14px;
}

.blockquote-card__attribution {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c8973a;
  letter-spacing: 0.04em;
}

/* ---------- List Styles ---------- */
.content-list {
  list-style: disc;
  padding-left: 24px;
  color: #444444;
  margin-bottom: 1.25rem;
}

.content-list li {
  margin-bottom: 6px;
}

.checkmark-list {
  list-style: none;
  padding-left: 0;
}

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

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

/* ---------- Insight Cards ---------- */
.insight-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;
}

.insight-card__meta {
  font-size: 0.82rem;
  color: #999999;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.insight-card__meta-cat {
  color: #c8973a;
  font-weight: 600;
}

.insight-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 12px;
  line-height: 1.35;
}

.insight-card__excerpt {
  color: #555555;
  font-size: 0.97rem;
  flex: 1;
  margin-bottom: 20px;
}

.insight-card__link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #c8973a;
  margin-top: auto;
}

.insight-card__link:hover {
  text-decoration: underline;
}

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

.article-hero__category {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8973a;
  margin-bottom: 14px;
}

.article-hero__title {
  color: #ffffff;
  margin-bottom: 20px;
}

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

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.article-body h2 {
  font-size: 1.7rem;
  color: #0d1b2a;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 1.3rem;
  color: #0d1b2a;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body h4 {
  font-size: 1.1rem;
  color: #333333;
  margin-top: 24px;
  margin-bottom: 10px;
}

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

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

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

.article-body blockquote {
  border-left: 4px solid #c8973a;
  padding: 16px 24px;
  margin: 28px 0;
  background-color: #fdf6eb;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #444444;
  font-size: 1.05rem;
}

.article-body .key-takeaway {
  background-color: #0d1b2a;
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 36px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
}

.article-body .key-takeaway strong {
  color: #c8973a;
}

/* ---------- Tags ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e4e4e4;
}

.tag {
  background-color: #f0f0ee;
  color: #555555;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---------- Article Navigation ---------- */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 24px;
  max-width: 760px;
  margin: 0 auto 48px;
  border-top: 1px solid #e4e4e4;
}

.article-nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8973a;
}

.article-nav__label {
  display: block;
  font-size: 0.75rem;
  color: #999999;
  font-weight: 400;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: #222222;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8973a;
  box-shadow: 0 0 0 3px rgba(200, 151, 58, 0.12);
}

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

.form-required {
  color: #c8973a;
  margin-left: 2px;
}

/* ---------- About Page ---------- */
.about-hero {
  background-color: #0d1b2a;
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}

.about-hero__quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #e0e0e0;
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.about-hero__intro {
  font-size: 1.05rem;
  color: #cccccc;
  max-width: 680px;
  margin: 0 auto 32px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

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

.credential-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.credential-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 10px;
}

.credential-card__body {
  font-size: 0.93rem;
  color: #555555;
  line-height: 1.65;
}

.philosophy-item {
  padding: 28px 0;
  border-bottom: 1px solid #ebebeb;
}

.philosophy-item:last-child {
  border-bottom: none;
}

.philosophy-item__title {
  color: #c8973a;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.philosophy-item__body {
  color: #444444;
  font-size: 0.97rem;
}

.cta-banner {
  background-color: #0d1b2a;
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
}

.cta-banner__title {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner__body {
  color: #cccccc;
  max-width: 560px;
  margin: 0 auto 32px;
}

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

.site-footer__brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.site-footer__tagline {
  font-size: 0.88rem;
  color: #888888;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

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

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

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

.site-footer__copyright {
  font-size: 0.82rem;
  color: #666666;
}

/* ---------- Inline accents ---------- */
.text-gold {
  color: #c8973a;
}

.text-muted {
  color: #666666;
}

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

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

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

  .site-header__inner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
    text-align: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

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

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 48px 0;
  }

  .quotes-section {
    padding: 48px 0;
  }

  .article-body {
    padding: 40px 20px;
  }

  .article-nav {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form {
    padding: 0;
  }
}
