* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 导航栏样式 - 固定定位 */
.header {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(241, 248, 241, 0.97);

  /* background-color: rgba(34, 139, 34, 0.95); 半透明绿色 */
  width: 100%;
  padding: 1.2rem 2.4rem;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /*固定在顶部*/
  z-index: 100;
  transition: all 0.3s ease;
}

/* 滚动时导航栏样式变化
.header.scrolled {
  height: 4.2rem;
  background-color: rgba(34, 139, 34, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} */

.logo {
  height: 4.2rem;
  transition: all 0.3s ease;
}

/* .header.scrolled .logo {
  height: 3.6rem;
} */

/* 导航菜单样式 */
.main-nav {
  font-size: 1.8rem;
  font-weight: 400;
  font-family: Microsoft YaHei, sans-serif;
  color: #333;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link:link,
.nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: all 0.3s;
  padding: 0.8rem 1.2rem;
}

.nav-link:hover,
.nav-link:active {
  color: var(--primary-color);

  /* background-color: rgb(45, 160, 45); */
  border-radius: 11px;
  /* 向上 */
  transform: translateY(-2px);
}

.nav-link.nav-cta:link,
.nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);

  /* background-color: rgb(45, 160, 45); */
  color: white;
  border-radius: 11px;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta:active {
  background-color: var(--primary-dark);

  /* background-color: forestgreen; */
  transform: translateY(-2px);
}

/*
****************hero****************
**********************
***********************/

.hero-section {
  background-color: var(--background-light);
  padding: 9.6rem 0;
}

.hero {
  /* background-color: var(--background-light); */
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  padding: 0 3.2rem;
  gap: 6rem;
}
.hero-text-box {
  text-align: center;
}
.hero-description {
  font-size: 1.8rem;
  margin-top: 3.2rem;
  margin-bottom: 4.8rem;

  display: inline-block;
  padding: 0 10rem;
}

.hero-img {
  width: 100%;
  display: block;
  margin: 3.6rem auto;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
}
.hero-img-box {
  display: block;
  padding: 2.4rem 1.2rem;
}

.LXHimgs {
  display: flex;
  align-items: center;
  margin-top: 4rem;
  align-self: center;
  margin-left: 4rem;
}
.lxh-imgs {
  display: flex;
}
.lxh-imgs img {
  border-radius: 50%;
  height: 4.8rem;
  width: 4.8rem;
  margin-right: -1.6rem;

  border: 1px solid forestgreen;
}

.lxh-text {
  font-size: 1.8rem;
  font-weight: 400;
}
.lxh-text span {
  color: forestgreen;
  font-size: 2.2rem;
  font-weight: 700;
  margin-left: 3.2rem;
}
/* .main-container {
  font-family: Microsoft YaHei, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--background-light);
    max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
} */

/* Featured Section */
.section-featured {
  padding: 3.2rem 0 2.2rem;
}

.heading-featured {
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.75px;
  margin-bottom: 2.4rem;
  color: forestgreen;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 4.8rem;
}

/* How It Works Section */
.section-how {
  padding: 6.8rem 0;
}

.step-img {
  width: 35%;
}

.step-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.step-img-box img {
  display: block;
  padding: 3.2rem 0;
  width: 50%;
}

.step-img-box::before {
  width: 60%;
  padding-bottom: 60%;
  background-color: #e6f3e6;
}

.step-img-box::after {
  width: 48%;
  padding-bottom: 48%;
  background-color: #d4e8d4;
}

.step-number {
  display: inline-block;
  padding-bottom: 2.2rem;
  font-size: 9.6rem;
  font-weight: 600;
  color: #ddd;
}

.step-text-box {
  margin: 3.2rem 0;
  padding: 0 3.2rem;
}

.step-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-top: 3.2rem;
  margin-bottom: 4.8rem;
}

/* Meals Section */
.section-meals {
  padding: 6.8rem 0;
}

.meals {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

.meals:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}

.meal-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8em;
}

.tag {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 0.8rem 0.8rem;
  margin-bottom: 1.6rem;
  border-radius: 9px;
  color: white;
}

.tag--vegetarian {
  background-color: #51cf66;
}

.tag--vegan {
  background-color: #2aa53f;
}

.tag--paleo {
  background-color: #f39441;
}

.meal-title {
  font-size: 2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.meal-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.meal-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.meal-img {
  width: 100%;
}

.meal-icon {
  color: var(--primary-color);
}

.meal-lists {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-left: 3.2rem;
  gap: 3rem;
}

.meal-list {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.all-recipes {
  margin-top: 9.6rem;
  text-align: center;
  font-size: 1.8rem;
}

/* Testimonials Section */
.section-test {
  background-color: #e6f3e6;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.test-container {
  padding: 5.6rem;
}

.tests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 8rem;
  padding: 6.8rem 9.6rem 9.6rem 6.8rem;
}

.test-img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  transition: all 0.3s;
}

.test-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
  color: #333;
}

.test-name {
  font-size: 1.6rem;
  color: #777;
}

.section-test .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
}

.section-test.gallery-item {
  overflow: hidden;
}

.section-test .gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.3s;
}

.section-test.gallery-items .gallery-item img:hover {
  transform: scale(1.1);
}

/* Pricing Section */
/* .section-price {
  padding: 9.6rem 0;
} */

.pricing-plan {
  width: 75%;
  border-radius: 11px;
}

.pricing-plan--starter {
  justify-self: end;
  border: 2px solid #d4e8d4;
  padding: 4.6rem;
}

.pricing-plan--complete {
  background-color: #d4e8d4;
  padding: 4.8rem;
  position: relative;
  overflow: hidden;
}

.plan-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plan-name {
  font-weight: 500;
  font-size: 3.2rem;
  color: var(--primary-color);
  margin-bottom: 2.4rem;
}

.plan-price {
  color: #333;
  font-size: 6.2rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.plan-text {
  color: #6f6f6f;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 3.2rem;
}

.plan-sing-up {
  text-align: center;
  margin-top: 4.8rem;
}

.plan-details {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.4rem;
}

.feature-icon {
  color: var(--primary-color);
  height: 3.2em;
  width: 3.2rem;
  background-color: #d4e8d4;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.feature-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333;
  line-height: 3rem;
  letter-spacing: 1.5px;
}

.yuan {
  font-size: 3.2rem;
  padding-right: 1.2rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2.4rem 0;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 400;
  color: #6f6f6f;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: var(--primary-color);
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.footer-logo {
  display: flex;
  margin-bottom: 3.2rem;
}
.footer-logo img {
  width: 50%;
}

.social-icons {
  width: 2.4rem;
  height: 2.4rem;
}

.contacts {
  font-size: 1.6rem;
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 1.6rem;
}
.address-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.address {
  margin-bottom: 2.4rem;
}

/* Responsive Design */
@media (max-width: 84em) {
  .hero {
    max-width: 120em;
  }
  .heading-primary {
    font-size: 4.4rem;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
