body {
  font-family: "Murecho", sans-serif;
  color: #444;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: "Architects Daughter", cursive;
  color: #427ac1;
}

h2 {
  font-size: 24px;
  margin: 40px 0 20px;
}

h3 {
  font-size: 20px;
  margin: 20px 0 10px;
}

header {
  margin-top: 80px;
}

.header-bg-wrap {
  position: relative;
  overflow: hidden;
  height: 60vh;
}

.header-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.header-bg-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

header h1 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.5rem;
}

header h2 {
  font-size: 1.5rem;
  color: #f5f5dc;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}


 .w3-sidebar {
  height: 100%;
  width: 250px;
  background-color: #fff;
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 2000;
  overflow: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.w3-sidebar.open {
  transform: translateX(0); /* slide in */
}



.w3-bar-block {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.w3-bar-item {
  padding: 16px;
  font-size: 22px;
  text-align: left;
  color: #427ac1;
  border-bottom: 1px solid #eee;
}

.w3-bar-item:hover {
  background-color: #f4f4f4;
  color: #333;
}

.w3-top {
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  font-size: 36px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger-position {
  padding: 10px 20px;
}

.intro {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  text-align: justify;
  background: #fafafa;
  border-left: 4px solid #2b6a4f;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.recipe {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 6px solid #2b6a4f;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.recipe h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2b6a4f;
}

.recipe-columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ingredients,
.instructions {
  flex: 1;
}

.ingredients h3,
.instructions h3 {
  font-family: "Murecho", sans-serif;
  margin-bottom: 1rem;
  color: #333;
}

main,
.bg-container {
  width: 80%;
  margin: 20px auto;
  max-width: 1100px;
}

.content {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

article img {
  border-radius: 8px;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
}

.image-container {
  margin-bottom: 1rem;
}

.image-container img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
}

.outer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1100px;
}

.inner-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 6px solid #2b6a4f;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.inner-container h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  color: #427ac1;
}

.about-author {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  text-align: justify;
  background: #fafafa;
  border-left: 4px solid #2b6a4f;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

footer {
  background: linear-gradient(135deg, #2b6a4f, #1f4d39);
  padding: 40px 20px;
  color: #fff;
  margin-top: 40px;
  text-align: center;
}

footer ol {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

footer ol li {
  margin: 0;
}

footer a {
  color: #f5f5f5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
}

footer a:hover {
  color: #ffe082;
  border-bottom: 2px solid #ffe082;
}

.footer-bottom {
  font-size: 14px;
  color: #ddd;
  margin-top: 15px;
}

.desktop-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  display: inline-block;
}

.desktop-nav a {
  text-decoration: none;
  color: #2b6a4f;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 15px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.desktop-nav a:hover {
  background: #2b6a4f;
  color: #fff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
}

.mobile-only {
  display: inline-block;
}

.outer-container .image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.outer-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 18px;
  background: #2b6a4f;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #1f4d39;
  transform: translateY(-2px);
}

/* Media Queries */
@media only screen and (min-width: 900px) {
  #mySidebar {
    display: none !important;
  }
  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 24px;
  }

  .outer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .inner-container {
    width: 48%;
  }

  .w3-bar-item {
    font-size: 20px;
  }

  .recipe-columns {
    flex-direction: row;
  }

  .mobile-only {
    display: none;
  }

  .desktop-nav {
    display: flex;
    gap: 30px;
  }
}

@media only screen and (min-width: 1340px) {
  .hamburger-position {
    margin-left: 10%;
  }

  header h1 {
    font-size: 4rem;
  }

  header h2 {
    font-size: 2rem;
  }
}
