/* Google Fonts - MoodFoods Style */
@import url('https://fonts.googleapis.com/css?family=Poppins:500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
  scroll-behavior: smooth;
  text-decoration: none;
  color: #002431;
}

body {
  background: #fdfbf7;
  min-height: 100vh;
  padding-top: 120px;
}


/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 998;
    background-color: #ffffff;
    transition: all 0.3s ease;
  }
  
  nav.sticky {
    background: #ffffff;
    padding: 13px 0;
  }
  
  nav .navbar {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
  }
  
  nav .navbar .logo a {
    font-weight: 700;
    font-size: 32px;
    font-family: 'Karla', sans-serif;
    color:s #000000;
  }
  
  nav .navbar .menu {
    display: flex;
  }
  
  nav .navbar .menu li {
    list-style: none;
    margin: 0 10px;
  }
  
  .navbar .menu a {
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    transition: color 0.3s ease;
  }
  .navbar .menu a:hover {
    color: #cdd6e6;
  }
  
  .navbar .media-icons a {
    color: #000000;
    font-size: 18px;
    margin: 0 6px;
  }
  nav.sticky .media-icons a {
    color: #000000;
  }
  

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: #000000;
  animation: bounce 2s infinite;
  z-index: 1000;
  cursor: pointer;
  opacity: 0.8;
}

.scroll-down-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

/* Main Content */
main {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

/* Recipe Image */
.recipe-img {
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
}

/* Introduction Text */
.intro-text {
  font-size: 18px;
  color: #4d4d4d;
  margin-bottom: 30px;
}

/* Articles Layout */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

/* Article Cards */
.articles article {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.articles article:hover {
  transform: translateY(-5px);
}

.articles article h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  color: #000000;
}

.articles article ul,
.articles article ol {
  text-align: left;
  padding-left: 20px;
  line-height: 1.8;
}

.articles article li {
  margin-bottom: 10px;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: #000000;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #cdd6e6;
}

/* Footer */
footer {
  background: #000000;
  padding: 20px 0;
  text-align: center;
}

footer .text span {
  font-size: 16px;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
}

footer .text span a {
  font-weight: 600;
  color: #ffffff;
}

footer .text span a:hover {
  text-decoration: underline;
}
