/* ---------- Base ---------- */

:root {
  --bg: #f8f9fb;
  --text: #1f2933;
  --muted: #4b5563;
  --accent: #1f4fd8;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */

.container {
  max-width: 850px;
  margin: auto;
  padding: 2rem 1.5rem 4rem;
}

/* ---------- Navigation ---------- */

.navbar {
  background-color: white;
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 900px;
  margin: auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.navbar a {
  color: var(--text);
}

.navbar a:hover {
  color: var(--accent);
}

/* ---------- Header / Profile ---------- */
.profile {
  display: flex;
  /* Side-by-side layout */
  align-items: center;
  /* Vertically center image and text */
  gap: 20px;
  /* Space between image and text */
  margin-bottom: 40px;
}

.profile-image {
  width: 300px;
  /* Adjust to preferred size */
  height: auto;
  /* Keep aspect ratio */
  border-radius: 50%;
  /* Make it circular */
  object-fit: cover;
  /* Ensure image fits nicely */
}

.profile-text {
  max-width: 600px;
  /* Prevent text from stretching too wide */
}

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
}

/* ---------- Sections ---------- */

section {
  margin-top: 3rem;
}

section h2 {
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
}

/* ---------- Lists ---------- */

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

/* ---------- Cards (Optional) ---------- */

.card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}

/* ---------- Inline Images ---------- */

.inline-photo {
  display: block;
  max-width: 100%;
  margin: 2.5rem auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-block {
  margin-bottom: 2rem;
}

.video-block video {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
}