@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Lora:wght@600&display=swap');

:root {
  --background-color: #f8f9fa;
  --surface-color: #ffffff;
  --primary-color: #007bff;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav a {
  margin: 0 15px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section h1 {
  font-family: 'Lora', serif;
  font-size: 2.5rem; /* Adjusted font size */
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
}

.hero-section img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-top: 20px;
}

/* Main Content & Sections */
.page-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-section:last-of-type {
  border-bottom: none;
}

.page-section h2 {
  font-family: 'Lora', serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Project List */
.project-list .project-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Added for absolute positioning of child elements */
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.project-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.project-item strong {
  color: var(--text-primary);
}

.project-item ul {
  padding-left: 20px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.project-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}



.project-item a:hover {
  text-decoration: underline;
}

/* Interests */
.interest-row {
  display: flex;
  margin-bottom: 3rem;
  align-items: center;
}

.interest-image-container {
  flex: 1;
  padding: 0 20px;
}

.interest-image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.mycology-images {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}

.mycology-images img {
  width: 70%; /* Adjust as needed */
  height: auto;
}

.interest-text-container {
  flex: 1;
  padding: 0 20px;
}

.interest-text-container.full-width {
  flex: 2;
  padding: 0;
}

.interest-text-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resume-section {
  padding: 0; /* Remove padding for the resume section */
}
