/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  padding: 1rem;
}

/* Header with name + nav */
.site-header {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between; /* name on left, nav on right */
  align-items: center;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
}

/* Navigation links */
.nav a {
  margin-left: 1.5rem;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav a:hover {
  text-decoration: underline;
}

/* Main grid container */
.container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem 2rem;
}

/* Sidebar / Profile */
.sidebar {
  grid-column: 1 / 2;
  text-align: center;
}

.profile-pic {
  width: 100%;
  margin-bottom: 1rem;
}

.name {
  font-size: 1.3rem;
  font-weight: 700;
}

.title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.cv-text {
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

/* About section */
.about {
  grid-column: 2 / 3;
}

.about h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about p {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* Horizontal rules */
hr {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid #000;
  margin: 1.5rem 0;
}

/* Section label (left column) */
.section-label {
  grid-column: 1 / 2;
  text-align: left;
  align-self: start;
}

.section-label h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Section content (right column) */
.section-content {
  grid-column: 2 / 3;
}

.section-content ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.section-content li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Responsive: collapse to single column */
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .site-title {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .nav a {
    margin: 0 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
  }

  .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
  }

  .sidebar,
  .about,
  hr,
  .section-label,
  .section-content {
    grid-column: 1 / -1;
  }

  .name {
    font-size: 1.2rem;
  }

  .title {
    font-size: 1rem;
  }

  .section-label h3 {
    margin-top: 0.75rem;
  }
}
