/* marcbonavia.com — Author Site */
/* Clean, minimal, thought-leader aesthetic */

:root {
  --bg: #FAFAF8;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #E5E5E0;
  --surface: #FFFFFF;
  --surface-soft: #F5F5F2;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 2rem;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-switch {
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-switch a {
  color: var(--text-muted);
}

.lang-switch a.active {
  color: var(--text);
}

.lang-switch span {
  color: var(--border);
  margin: 0 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #111827 0%, #16213e 55%, #0f3460 100%);
  color: white;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 20%;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(10, 14, 23, 0.03);
  backdrop-filter: none;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero .subheadline {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.hero .role {
  font-size: 0.95rem;
  opacity: 0.8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero .cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: white;
  color: #1a1a2e;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn-outline-dark:hover {
  background: var(--text);
  color: white;
  text-decoration: none;
}

.btn-dark {
  background: var(--text);
  color: white;
  border: none;
  box-shadow: 0 8px 16px rgba(26, 26, 26, 0.2);
}

.btn-dark:hover {
  background: var(--accent);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Sections */
section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  padding-bottom: 2rem;
}

section.alt-bg {
  background: var(--surface-soft);
  border-radius: 16px;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem;
  text-align: center;
}

section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

section h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.feature-list {
  text-align: left;
  max-width: 520px;
  margin: 1.2rem auto 0;
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.section-note {
  margin-top: 1.5rem;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.quote-line {
  margin: 1.4rem auto 0;
  max-width: 560px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: center;
}

/* Video placeholder */
.video-block {
  aspect-ratio: 16/9;
  background: #1a1a2e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

/* Credibility bar */
.credibility-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 2rem;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.credibility-bar span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* What I Do grid */
.what-i-do {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.what-i-do .card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.what-i-do .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.what-i-do .card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.what-i-do .card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.what-i-do.three-col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .what-i-do.three-col {
    grid-template-columns: 1fr;
  }
}

.what-i-do .card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quiz CTA block */
.quiz-block {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.quiz-block h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.quiz-block p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.quiz-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-links a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 4.5rem 2rem 2.25rem;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
  padding: 0.75rem 1.5rem;
}

.footer-contact {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 2rem;
}

.footer-contact a {
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About page */
.about-hero {
  padding: 7rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.about-hero p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.profile-image-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 2rem auto;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.profile-image {
  width: 130%;
  height: 130%;
  object-fit: cover;
  object-position: 78% 22%;
  margin-left: -15%;
  margin-top: -10%;
}

.about-cta {
  margin-top: 3rem;
}

.headshot-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  margin: 2rem 0;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.credentials-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.credentials-list li:last-child {
  border-bottom: none;
}

/* Work With Me */
.offerings {
  margin: 2rem 0;
}

.offering {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.offering h3 {
  margin-top: 0;
}

/* Contact */
.contact-form {
  max-width: 480px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1rem;
}

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

.contact-direct {
  max-width: 560px;
  margin: 1.25rem auto 0;
  padding: 2rem 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.contact-direct p {
  margin: 0.5rem 0;
}

.contact-direct p:first-child {
  margin-bottom: 1rem;
}

.contact-direct strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.contact-direct a {
  font-weight: 600;
}

.contact-linkedin {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: #f7f8fb;
  transition: all 0.2s ease;
  text-decoration: none;
}

.contact-linkedin:hover {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Page titles */
.page-hero {
  padding: 7rem 2rem 3rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.about-hero p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 640px) {
  .site-nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 1rem 3rem;
  }

  .credibility-bar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: 100%;
  }
}
