body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background-color: #f7f5f0;
  color: #222;
  margin: 0;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-top-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.nav-home {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

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

.nav-separator {
  opacity: 0.6;
}

.nav-current {
  color: #666;
}

/* Main project page container */
.project-page {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

/* Hero / intro section */
.project-hero {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.project-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.project-hero > p {
  margin-top: 0.5rem;
}

/* Generic section styling */
.project-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.project-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Step by step list */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.step-item {
  border-left: 3px solid #d4c9b6;
  padding-left: 0.75rem;
}

.step-item h3 {
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #e7dfd1;
  font-size: 0.85rem;
  font-weight: 600;
}

.step-image {
  width: 100%; 
  max-width: 350px; 
  display: block;
  border: 3px solid #f7f5f0;
  margin: 1rem auto; 
  border-radius: 8px; 
}

.step-image-row {
	    display: flex;
	        justify-content: center;   /* centers the images */
		    gap: 1rem;                 /* space between them */
		        margin: 1.5rem 0;
		}

		.step-image-small {
			    width: 100%;
			        max-width: 350px;          /* size of each image */
				    height: auto;
				        border-radius: 8px;
		  border: 3px solid #f7f5f0;
		}


/* Final product */
.project-final p {
  margin-bottom: 0.75rem;
}

.project-figure {
  margin: 1rem 0;
}

.project-figure img {
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

.project-figure figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Bottom navigation */
.project-bottom-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f0e7d8;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-nav-link:hover {
  background: #e4d7c3;
}

.project-home-link {
  font-weight: 600;
}

/* Make sure regular links inside content look good */
.project-section a {
  color: #0056b3;
  text-decoration: none;
}

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

/* Mobile tweaks */
@media (max-width: 600px) {
  .project-hero,
  .project-section {
    padding: 1.25rem;
  }

  .project-title {
    font-size: 1.6rem;
  }

  .project-bottom-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .project-nav-link {
    width: 100%;
    justify-content: center;
  }
}
