/* assets/css/style.css */

/* 1) Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Merriweather', serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* 2) Navigation */
nav {
  text-align: center;
  margin-bottom: 2rem;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #0366d6;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.2s;
  font-size: 2.5rem; /* slightly larger text */
}
nav a:hover {
  color: #023e8a;
}

/* 3) Layout container */
.container {
  display: flex;
  gap: 2rem;
}

/* 4) Sidebar styling */
.sidebar {
  flex: 0 0 350px;   /* wider sidebar */
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  position: sticky;
  top: 2rem;
}
.sidebar h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  margin-bottom: 0.75rem;
}
.sidebar a {
  color: #0366d6;
  text-decoration: none;
}
.sidebar a:hover {
  text-decoration: underline;
}

/* 5) Main content area */
.content {
  flex: 1;
}

/* 6) Hero section */
.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}
.profile-photo {
  width: 240px;         /* fix the displayed width */
  aspect-ratio: 2 / 3;  /* preserve original 2:3 ratio */
  object-fit: cover;    /* cover the box if needed */
  border: 4px solid #0366d6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 0;     /* square corners */
}

.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hero-text p {
  font-weight: 300;
  line-height: 1.4;
}

/* 7) Sections styling */
.content > section {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}
.content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}
.content p {
  margin-bottom: 1rem;
}

/* 8) Responsive */
@media (max-width: 800px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    position: relative;
    top: auto;
    margin-bottom: 2rem;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .profile-photo {
    margin: 0 auto;
  }
}

