/** @format */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
}

/* ********************* */
/* GENERAL REUSEABLE COMPONENTS */
/* ********************* */

/* ****************** */
/* HEADER SECTION */
/* ****************** */

.logo {
  height: 2.2rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fef2eb;
  /* padding-top: 2.5rem; */
  height: 9.6rem;
  padding-inline: 4.8rem;
}

/* ****************** */
/* NAVIGATION SECTION */
/* ****************** */
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all;
  color: #333;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #cf711f;
}
.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 0.9rem;
  background-color: #e67e22;

  color: #fff;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #cf711f;
}
/* ****************** */
/* HERO SECTION */
/* ****************** */

.section-hero {
  background-color: #fef2eb;
  padding: 4.8rem 0 9.6rem 0;
}
.hero {
  max-width: 130rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  margin: 0 auto;
  align-items: center;
  padding-inline: 4.5rem;
}
.hero-image {
  width: 100%;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 4.8rem;
}
.delivered-meals {
  display: flex;
  margin-top: 8rem;
  align-items: center;
  gap: 3.2rem;
}

.delivered-images img {
  height: 3.4rem;
  border-radius: 50%;
  width: 3.4rem;
  margin-right: -1.6rem;
  border: 0.2rem white solid;
}
.delivered-meal-text {
  font-size: 1.8rem;
  font-weight: 600;
}
.delivered-meals span {
  color: #e67e22;
  font-weight: 700;
}
/* ************* */
/* FEATURED IN HEADING */
/* ************* */

.featured-section {
  padding: 4.8rem 0 3.2rem 0;
}

.featured-in-heading {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 2.4rem;
  color: #999;
}

.logo {
  display: flex;
  justify-content: space-between;
  /* gap: ; */
}

.logo img {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 55%;
}

/* ************* */
/* HOW IT WORKS SECTION */
/* ************ */
.section-how {
  padding: 9.6rem 0;
}

.step-num {
  font-size: 9.8rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}
.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}
.step-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  position: absolute;
  display: block;
  /* height: 60%; */
}

.step-img-box::before {
  padding-bottom: 60%;
  /* z-index: 1; */
  width: 60%;
  border-radius: 60%;
  background-color: #fef2eb;
}

.step-img-box::after {
  padding-bottom: 45%;
  /* z-index: 1; */
  width: 45%;
  border-radius: 45%;
  background-color: #fae5d3;
}

.step-img {
  width: 30%;
  z-index: 1;
}

/* ************* */
/* MEALS SECTION */
/* ************ */
.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s;
}

.meal:hover {
  transform: translateY(-1.2rem);
}
.meals-section {
  padding: 9.6rem 0;
}
.meal-title {
  font-size: 2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.meal-content {
  padding-top: 3.2rem;
  padding: 4.8rem;
}
.meal-container {
  align-items: start;
}
.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;
  /* display: ; */
}
.meal-icon {
  color: #e67e22;
  width: 2.4rem;
  height: 2.4rem;
  /* display: flex; */
}
.meal-img {
  width: 100%;
}
.meal-tags {
  margin: 1.2rem;
  display: flex;
  gap: 0.4rem;
}
.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  background-color: #51cf66;
  color: #333;
  border-radius: 100px;
  font-weight: 600;
}
.tag--paleo {
  background-color: #fec138;
}

.all-recipies {
  text-align: center;
  font-size: 1.8rem;
}

/* ************* */
/* TESTIMONIAL SECTION */
/* ************ */
.testimonial-section {
  background-color: #fdf2e9;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
}
.testimonial-img {
  width: 64px;
  border-radius: 50%;
}

.testimonials-container {
  padding: 9.6rem;
}

.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}
.testimonial-name {
  font-size: 1.6rem;
  color: #6f6f6f;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem;
  padding: 1.6rem;
}
.gallery-item {
  overflow: hidden;
}
.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

.pricing-plan {
  border-radius: 1.1rem;
  padding: 4.8rem;
  width: 75%;
}
.pricing-starter-price {
  justify-self: end;
  border: 2px solid #fdf2e9;
}

.pricing-complete-price {
  background-color: #fdf2e9;
  position: relative;
  overflow: hidden;
}

.pricing-complete-price::after {
  content: "Best Value";
  position: absolute;
  text-transform: uppercase;
  top: 6%;
  right: -20%;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: #fec138;
  transform: rotate(45deg);
  padding: 0.8rem 8rem;
}
.pricing-section {
  padding: 9.6rem 0;
}
.pricing-header {
  text-align: center;
  margin-bottom: 4.8rem;
}
.plan-name {
  color: #cf711f;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.75;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
}

.plan-price {
  font-size: 7.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}
.plan-text {
  font-size: 1.6rem;
  line-height: 1.6;
}
.pricing-signup {
  margin-top: 4.8rem;
  text-align: center;
}
.feature-icon {
  color: #e67e22;
  height: 3.2rem;
  width: 3.4rem;
  margin-bottom: 3.2rem;
  background-color: #fdf2e9;
  border-radius: 50%;
  padding: 1.6rem;
}
.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.feature-text {
  font-size: 1.4rem;
  line-height: 1.8;
}

.plan-details {
  text-align: center;
  margin-top: 4.8rem;
  line-height: 1.6;
  font-size: 1.6rem;
}

/* ************* */
/* CTA SECTION */
/* ************ */
.cta-section {
  padding: 4.8rem 0 12.8rem 0;
}
.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-color: #e67e22;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.015);
  background-image: linear-gradient(to right bottom, #eb984e, #e67e22);
  border-radius: 11px;
  overflow: hidden;
}

.cta-text-box {
  color: #2e1907;
  padding: 6.4rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta .secondary-heading {
  color: #2e1907;
  margin-bottom: 3.2rem;
}

.cta-image-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(235, 151, 78, 0.35),
      rgba(230, 125, 34, 0.3)
    ),
    url("../images/eating.jpg");
  /* background-image: url("../images/eating.jpg"); */
  background-size: cover;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  border-radius: 9px;
  border: none;
  background-color: #fdf2e9;
  color: inherit;
}
.cta-form select {
}
.cta-form button {
}

.cta *:focus {
  box-shadow: 0 0 0 0.8rem hsla(28, 80%, 52%, 0.297);
  /* outline: none; */
}
.gird--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.footer {
  border-top: 1px solid #eee;
  padding: 12.8rem 0;
}
.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 3.2rem;
}
.footer-logo {
  display: block;
  margin-bottom: 1.2rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.social-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  color: #777;
  line-height: 1.5;
  margin-top: auto;
}
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #777;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}
