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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  background-color: #e8e4df;
}

/* Typography */
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

p {
  margin-bottom: 1.2em;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #666;
}

em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
}

/* Header */
.header {
  background-color: #3d3d3d;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.site-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #e8e4df;
  margin-bottom: 1rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.main-nav a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: #c9c5c0;
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e8e4df;
  border-bottom-color: #e8e4df;
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  border-bottom: 3px solid #3d3d3d;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(30%);
}

.about-content {
  font-size: 1rem;
  color: #444;
}

.about-content p:first-child {
  font-size: 1.05rem;
}

/* Featured Work Section */
.featured-section {
  padding: 3rem 2rem 4rem;
  background-color: #d9d5d0;
  border-bottom: 3px solid #3d3d3d;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #333;
}

.featured-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.featured-item {
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.featured-item:hover {
  transform: translateY(-5px);
}

.featured-image {
  margin-bottom: 1rem;
}

.featured-image img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border: 1px solid #999;
}

.featured-caption {
  border: 1px solid #666;
  padding: 0.75rem;
  background-color: #e8e4df;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-caption p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Teaching Section */
.teaching-section {
  padding: 4rem 2rem;
  background-color: #3d3d3d;
  color: #e8e4df;
}

.teaching-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title-dark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #e8e4df;
}

.teaching-item {
  margin-bottom: 2.5rem;
}

.teaching-item h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #e8e4df;
}

.institution {
  font-style: italic;
  color: #b0ada8;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.teaching-item ul {
  margin-left: 1.5rem;
  color: #c9c5c0;
}

.teaching-item li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.courses-taught {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #555;
}

.courses-taught h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #e8e4df;
}

.courses-taught p {
  color: #c9c5c0;
  font-size: 0.95rem;
}

/* Education Section */
.education-section {
  padding: 4rem 2rem;
  background-color: #e8e4df;
  border-bottom: 3px solid #3d3d3d;
}

.education-container {
  max-width: 900px;
  margin: 0 auto;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.education-item {
  text-align: center;
  padding: 1.5rem;
}

.education-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.school {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.year {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.dissertation {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.75rem;
}

.honors {
  font-size: 0.9rem;
  color: #666;
}

/* Honors Section */
.honors-section {
  padding: 4rem 2rem;
  background-color: #3d3d3d;
  color: #e8e4df;
}

.honors-container {
  max-width: 900px;
  margin: 0 auto;
}

.honors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.honors-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #e8e4df;
}

.honors-column ul {
  list-style: none;
}

.honors-column li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid #666;
  color: #c9c5c0;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background-color: #e8e4df;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: #333;
  border-bottom: 1px solid #333;
}

.contact-info a:hover {
  color: #666;
  border-bottom-color: #666;
}

.skills-section {
  border-top: 1px solid #999;
  padding-top: 2rem;
}

.skills-section h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category h4 {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.skill-category p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Footer */
.footer {
  background-color: #e8e4df;
  padding: 2rem;
  border-top: 3px solid #3d3d3d;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-email {
  font-size: 0.95rem;
  color: #333;
}

.footer-copyright {
  font-size: 0.95rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 350px;
    margin: 0 auto;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .honors-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-section,
  .featured-section,
  .teaching-section,
  .education-section,
  .honors-section,
  .contact-section {
    padding: 2.5rem 1rem;
  }
}
