/* assets/css/style.css */

/* General formatting */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  font-weight: 700; /* Use the bold weight for headings */
}

.wrapper {
  display: flex;
  min-height: 100vh;
}

/* Vertical navigation bar */
.sidebar {
  width: 250px;
  background-color: #f4f4f4;
  padding: 20px;
  box-sizing: border-box;
  position: fixed; /* Keeps it visible while scrolling */
  height: 100vh;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  max-width: 150px;
  border-radius: 50%; /* Optional: makes logo round */
}

.nav-links {
  color: #0056b3; /* Your primary theme color */
  border-left: 4px solid #0056b3;
  padding-left: 10px;
}

.nav-links li {
  margin-bottom: 15px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.nav-links a:hover {
  color: #0056b3;
}

.content {
  margin-left: 250px; /* Offset by the width of the sidebar */
  padding: 40px;
  flex-grow: 1;
  max-width: 900px; /* Prevents text from stretching too wide */
}

/* Formatting for the Members page */

/* Container for all members */
.members-list {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Space between different people */
  margin-top: 20px;
}

/* Individual member row */
.member-row {
  display: flex;
  align-items: flex-start; /* Aligns items to the top */
  gap: 25px; /* Space between photo and text */
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* Photo styling */
.member-photo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px; /* Square with rounded corners looks very modern */
  border: 1px solid #ddd;
}

/* Text styling */
.member-info h3 {
  margin: 0 0 5px 0;
  color: #0056b3;
}

.member-info .role {
  margin-bottom: 10px;
  color: #555;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 1px;
}

.member-info .description {
  line-height: 1.5;
  color: #333;
}

@media (max-width: 600px) {
  .member-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .member-photo img {
    width: 200px;
    height: 200px;
  }
}

.member-socials {
  margin: 10px 0;
  display: flex;
  gap: 15px;
  font-size: 1.2rem;
}

.member-socials a {
  color: #777;
  transition: color 0.2s ease-in-out;
}

/* Specific colors on hover to match the brands */
.member-socials a:hover .fa-orcid { color: #A6CE39; }
.member-socials a:hover .fa-graduation-cap { color: #4285F4; }
.member-socials a:hover .fa-bluesky { color: #0085ff }
.member-socials a:hover .fa-linkedin { color: #0077b5; }


/* Formatting for the Blog page */

.post-list {
  list-style-type: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.post-meta {
  font-size: 0.9em;
  color: #828282;
  margin-top: -10px; /* Pulls it closer to the title */
  margin-bottom: 20px;
}

.post-link {
  text-decoration: none;
  color: #0056b3;
}

.post-link:hover {
  text-decoration: underline;
}

/* Formatting for the Projects page */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden; /* Ensures the image doesn't break the corners */
  transition: transform 0.2s;
  background: #fff;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card-content {
  padding: 15px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}