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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 0 15px;
  background-color: #77634e;
}

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  background-color: #5a4a38;
  color: #f6f6eb;
  padding: 1rem 0;
  width: 100%;
  z-index: 1000;
  border-radius: 8px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav .logo {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 1px;
}

nav ul {
  font-size: 1.2rem;
  letter-spacing: 2px;
  list-style: none;
  display: flex;
  border-bottom: 2px solid #f6f6eb;
  padding-bottom: 0.5rem;
  align-items: center;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: #f6f6eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #c5b394;
}

nav ul li.separator {
  color: #f6f6eb;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1.2rem;
}

/* Hero Section */
.hero-container {
  width: 100%;
  padding: 0;
}

.hero {
  position: relative;
  padding-top: 1rem;
}

.hero img {
  width: 100%;
  height: auto;
  max-width: calc(100vw - 30px);
  opacity: 0.7;
  border-radius: 5px;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  background-color: #77634e;
}

section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: #f6f6eb;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Headings */
.section-title {
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #5a4a38;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #c5b394;
  padding-bottom: 0.5rem;
}

.section-subtitle {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #77634e;
  margin-bottom: 1rem;
  border-bottom: 1px solid #c5b394;
  padding-bottom: 0.25rem;
}

/* Travel Section */
.travel-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: #f6f6eb;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Travel Navigation */
.travel-nav {
  padding: 0;
}

/* Travel Header */
.travel-nav .section-subtitle {
  margin: 0 0 1.5rem 0;
  text-align: center;
  width: 100%;
  display: block;
}

/* Travel List */
.travel-list {
  list-style: none;
  padding-left: 0;
  display: block;
}

/* Travel List Items */
.travel-list li {
  margin: 0.75rem 0;
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Travel List Links */
.travel-list a {
  color: #5a4a38;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

/* Hover Effect for Links */
.travel-list a:hover {
  color: #c5b394;
  text-decoration: underline;
}

/* Education Section */
.education-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: #f6f6eb;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Education Navigation */
.education-nav {
  padding: 0;
}

/* Education Header */
.education-nav .section-subtitle {
  margin: 0 0 1.5rem 0;
  text-align: center;
  width: 100%;
  display: block;
}

/* Education List */
.education-list {
  list-style: none;
  padding-left: 0;
  display: block;
}

/* Education List Items */
.education-list li {
  margin: 0.75rem 0;
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Education List Links */
.education-list a {
  color: #5a4a38;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

/* Hover Effect for Links */
.education-list a:hover {
  color: #c5b394;
  text-decoration: underline;
}

/* Link Description */
.link-description {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Table of Contents and Other Lists */
.toc-list,
.sitemap-list {
  list-style: none;
  padding-left: 0;
  display: block;
}

.toc-list li,
.sitemap-list li {
  margin: 0.75rem 0;
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.toc-list li:hover,
.sitemap-list li:hover {
  background-color: #e8e3d8;
}

.toc-list a,
.sitemap-list a {
  color: #5a4a38;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.toc-list a:hover,
.sitemap-list a:hover {
  color: #c5b394;
  text-decoration: underline;
}

/* General Lists */
ul:not(.toc-list):not(.sitemap-list):not(.education-list):not(.travel-list) {
  list-style-position: inside;
  color: #77634e;
  margin-left: 1rem;
}

ul:not(.toc-list):not(.sitemap-list):not(.education-list):not(.travel-list) li {
  margin: 0.5rem 0;
}

/* Images */
.overview-image img {
  display: block;
  border: 2px solid #5a4a38;
  height: auto;
  text-align: center;
  margin: 0 auto;
}


.inline-image-right img {
  float: right;
  max-width: 40%;
  height: auto;
  border: 2px solid #5a4a38;
  border-radius: 5px;
  margin: 0.5rem 1.5rem 0.5rem 0;
}

.inline-image-left img {
  float: left;
  max-width: 40%;
  height: auto;
  border: 2px solid #5a4a38;
  border-radius: 5px;
  margin: 0.5rem 1.5rem 0.5rem 0;
}

.img-thumbnail {
  border: 2px solid #5a4a38;
  border-radius: 5px;
  max-width: 100%;
}

/* Text */
.spaced-paragraph {
  margin: 1rem 0;
  line-height: 1.7;
  overflow: hidden;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #5a4a38;
  color: #f6f6eb;
  margin-top: 2rem;
}

.signature {
  font-family: "Brush Script MT", "Comic Sans MS", cursive;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  background-color: #f6f6eb;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
      padding: 0 10px;
  }

  nav {
      flex-direction: column;
      padding: 0.5rem;
  }

  nav .logo {
      margin-bottom: 1rem;
  }

  nav ul {
      flex-direction: column;
      align-items: center;
      border-bottom: none;
  }

  nav ul li {
      margin: 0.75rem 0;
  }

  .section-title {
      font-size: 1.75rem;
  }

  .section-subtitle {
      font-size: 1.25rem;
  }

  .inline-image-right,
  .inline-image-left {
      float: none;
      display: block;
      margin: 1rem auto;
      max-width: 80%;
  }

}

@media (min-width: 1200px) {
  main {
      padding: 2rem 0;
  }

  section {
      padding: 2rem;
  }
}