/* Base Styles */
body {
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fffaf5;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Header */
header.intro {
  background-color: #b1c9d4;
  padding: 2rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

/* Navigation Bar */
.main-nav {
  background-color: #8faebb;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #b85c38;
  text-decoration: underline;
}

/* Story Blocks */
.story-block {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.story-block + .story-block {
  margin-top: 3rem;
}

/* Headings */
h2 {
  font-size: 1.75rem;
  color: #4b4b4b;
  border-bottom: 1px solid #d3c6b8;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

/* Text + Image Side Layout */
.text-image-side {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.text-image-side .text {
  flex: 2;
  min-width: 250px;
}

.text-image-side .side-image {
  flex: 1;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Figure and Captions */
figure {
  margin: .5rem auto;
  text-align: center;
}

figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.image-row img {
  width: 30%;
  min-width: 150px;
  height: auto;
  border-radius: 8px;
}shadow

.image-row figcaption {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #444;
}


/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #b1c9d4;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-image-side {
    flex-direction: column;
    align-items: center;
  }

  .text-image-side .text,
  .text-image-side .side-image {
    max-width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }
}


