
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* PAGE BASE */
  html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #FFFCED;
    font-family: 'Georgia', serif;
    color: #222;
    -webkit-font-smoothing: antialiased;
  }
  
  main {
    flex: 1;
  }
  
  /* HEADER */
  header {
    height: 200px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* NAVIGATION */
  nav {
    background-color: #A6B280;
    height: 50px;
    max-width: 1500px;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px;
    padding: 0 40px;
    z-index: 2;
  }
  
  /* NAV LINKS */
  .nav-links {
    display: flex;
    gap: 5px;
    width: 90%;
  }
  
  .section-links {
    display: flex;
    gap: 35px;
    width: 60%;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #FFFCED;
    font-family: 'Georgia', serif;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #5B653D;
  }
  
  /* RIGHT ICONS */
  .nav-icons {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: right;
    width: 40%;
    gap: 20px;
  }
  
  .nav-icons img {
    width: 35px;
    height: 35px;
    transition: opacity 0.3s ease;
  }
  
  .nav-icons img:hover {
    opacity: 0.7;
  }
  
  .title {
    text-align: center;
    font-family: 'Playfair Display', serif; /* elegant serif font */
    color: #6c8e52; /* natural earthy green */
    font-size: 70px;
    font-weight: 700;
    margin-top: 80px;
    margin-bottom: 40px;
    letter-spacing: 2px;
  }

  .about-text {
    flex: 1;
    padding: 150px 60px;
    font-family: 'Poppins', sans-serif;
    color: #3d5037;
    
  }
  
  .about-tagline {
    display: inline-block;
    font-size: 0.8em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6c8e52;
    background-color: #eaf2e0;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
  }
  
  .about-text h2 {
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #3a4c2f;
  }
  
  .about-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #4a4a4a;
  }
  
  
  /* Responsive */
  @media (max-width: 900px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
    .about-image img {
      max-width: 1200px;
      max-height: 300px;
      align-items: center;
      margin-left: 50px;
      margin-right: 20px;
    }
    .about-text {
      padding: 30px;
    }
  }

  /* Tablets */
@media (max-width: 1024px) {
  .logo {
    width: 350px;
  }
  .section-links {
    gap: 20px;
  }
  .about-container {
    flex-direction: column;
    padding: 40px 20px;
  }
  .about-text {
    padding: 30px;
  }
  .diets {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Phones (≤768px) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
    text-align: center;
  }

  .section-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-icons {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 16px;
  }

  .logo {
    width: 200px;
  }

  .about-text {
    padding: 20px;
  }

  .about-text h2 {
    font-size: 1.3em;
  }

  .about-text p {
    font-size: 0.95em;
  }
}

/* Mobile nav menu overlay */
@media (max-width: 768px) {

  .nav-links {
    /* position: fixed; */
    /* inset: 0; */
    /* background-color: #FFFCED; */
    display: flex;
    flex-direction: row;
    justify-content: justify-between;
    align-items: center;
    height: fit-content;
    /* gap: 30px; */
    /* opacity: 0; */
    /* visibility: hidden; */
    /* transform: translateY(-20px); */
    /* transition: all 0.4s ease; */
    /* z-index: 1000; */
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .section-links {
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    text-align: center;
    width: fit-content;
    gap: 25px;
    height: 34px;
  }

  .nav-icons {
    flex-direction: row;
    gap: 15px;
    width: fit-content;
    justify-content: center;
    margin-top: 0;
  }

  .nav-icons img {
    width: 30px;
    height: 30px;
  }
}