/************************/
/* ------ HEADER ------ */
/************************/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #fdf2e9;
  height: 9.6rem;
  padding: 0 4.8rem;

  position: relative;
}

.omnifood-logo {
  height: 2.2rem;
}
/************************/

/************************/
/* ---- NAVIGATION ---- */
/************************/
.main-nav-list {
  display: flex;
  align-items: center;
  gap: 3.2rem;

  list-style: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;

  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:active,
.main-nav-link.nav-cta:hover {
  background-color: #cf711f;
}

.sticky .header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  z-index: 999;
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

.btn-mobile-nav {
  display: none;

  background: none;
  border: none;
  cursor: pointer;
}

.icon-mobile-nav {
  font-size: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}
/************************/

/************************/
/* --- HERO SECTION --- */
/************************/
.section-hero {
  background-color: #fdf2e9;
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 9.6rem;
}

.hero-img-box img {
  width: 100%;
}

.hero-descriotion {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.delivered-meals {
  display: flex;
  align-items: center;
  gap: 1.6rem;

  margin-top: 8rem;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
}

.delivered-text span {
  font-weight: 700;
  color: #cf711f;
}
/************************/

/************************/
/** FEATURED-IN SECTION **/
/************************/
.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured {
  text-transform: uppercase;
  font-size: 1.4rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 2.4rem;
  letter-spacing: 0.75px;
  text-align: center;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logo {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}
/************************/

/************************/
/* HOW IT WORKS SECTION */
/************************/
.section-how {
  padding: 9.6rem 0;
}

.step-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.step-img-box::before,
.step-img-box::after {
  content: "";

  border-radius: 50%;
  position: absolute;
}

.step-img-box::before {
  background-color: #fdf2e9;
  width: 60%;
  padding-bottom: 60%;
  z-index: -2;
}

.step-img-box::after {
  background-color: #fae5d3;
  width: 45%;
  padding-bottom: 45%;
  z-index: -1;
}

.step-img {
  max-width: 35%;

  transition: all 0.4s;
}

.step-img:hover {
  transform: scale(1.05);
}

.step-number {
  display: block;
  font-size: 8.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ddd;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}
/************************/

/************************/
/**** MEALS SECTION  ****/
/************************/
.section-meals {
  padding: 9.6rem 0;
}

.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;

  transition: all 0.3s;
}

.meal:hover {
  transform: translate(0, -1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.meal-content {
  padding: 4.8rem;
  padding-top: 3.2rem;
}

.meal-img {
  width: 100%;
}

.meal-tags {
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;

  margin-bottom: 1.6rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  color: #333;
  background-color: #cf711f;
  border-radius: 10000000px;
}

.tag--vegeterian {
  background-color: #51cf66;
}

.tag--vegan {
  background-color: #94d82d;
}

.tag--paleo {
  background-color: #ffd43b;
}

.meal-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 3.2rem;
}

.meal-attributes {
  list-style: none;
  font-size: 1.8rem;

  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.meal-attribute {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.meal-icon {
  font-size: 2.4rem;
  color: #e67e22;
}

.diet-list .list-item:hover {
  transform: translate(0, -0.4rem);
  cursor: pointer;
  color: #e67e22;
}

.all-recepies {
  text-align: center;
  font-size: 1.8rem;
}
/************************/

/************************/
/* TESTIMONIAL SECTION  */
/************************/
.testimonial-section {
  display: grid;
  grid-template-columns: 55fr 45fr;

  background-color: #fdf2e9;
}

.testimonial-container {
  align-content: center;
  padding: 9.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 4.8rem 8rem;
}

.testimonial-img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
  line-height: 1.8;
}

.testimonial-name {
  font-size: 1.6rem;
  color: #6f6f6f;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  gap: 1.6rem;

  padding: 1.6rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;

  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}
/************************/

/************************/
/*** PRICING SECTION  ***/
/************************/
.section-pricing {
  padding: 9.6rem 0;
}

.pricing-plan {
  width: 75%;
  overflow: hidden;
}

.pricing-plan:first-child {
  border: 2px solid #fdf2e9;
  border-radius: 11px;
  padding: 4.6rem;

  justify-self: end;
}

.pricing-plan:last-child {
  position: relative;

  background-color: #fdf2e9;
  border-radius: 11px;
  padding: 4.8rem;
}

.pricing-plan:last-child::after {
  position: absolute;

  content: "Best value";
  background-color: #ffd43b;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  padding: 0.8rem 8rem;
  transform: rotate(45deg);
  top: 7%;
  right: -17%;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plan-name {
  color: #cf711f;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.75px;
  margin-bottom: 3.2rem;
}

.plan-price {
  font-size: 6.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;

  display: flex;
  align-items: baseline;
  justify-content: center;
}

.plan-dollar {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;

  align-self: flex-start;
}

.plan-month {
  font-size: 2rem;
  font-weight: 400;
  color: #777;
}

.plan-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #6f6f6f;
}

.plan-sign-up {
  text-align: center;
  margin-top: 4.8rem;
}

.plan-details {
  font-size: 1.6rem;
  line-height: 1.6;
}

.feature-icon {
  font-size: 3.2rem;
  margin-bottom: 3.2rem;
  color: #e67e22;
  background-color: #fdf2e9;
  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;
  line-height: 1.8;
}
/************************/

/************************/
/****** CTA SECTION *****/
/************************/
.section-cta {
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;

  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #eb984e, #e67e22);
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.cta-text-box {
  padding: 6.4rem;
  padding-top: 4.8rem;
  color: #45260a;
}

.cta-text-box .heading-secondary {
  color: currentColor;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(235, 151, 78, 0.35),
      rgba(230, 125, 34, 0.35)
    ),
    url(../img/eating.jpg);
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 3.2rem;
}

.cta-form *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(255, 255, 255, 0.5);
}

.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;
  border: none;
  border-radius: 9px;
  background-color: #fdf2e9;
  font-family: inherit;
  font-size: 1.8rem;
  color: currentColor;
}

.cta-form .btn {
  align-self: end;
  padding: 1.2rem;
  color: #fff;
  background-color: #45260a;
  cursor: pointer;
}

.cta-form .btn:hover {
  background-color: #fff;
  color: #555;
}

.cta-form input::placeholder {
  color: #aaa;
}
/************************/

/************************/
/******** FOOTER ********/
/************************/
.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #f7f7f7;
}

.grid-footer {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.profiles {
  display: flex;
  gap: 2.4rem;

  list-style: none;
}

.social-icon {
  font-size: 2.4rem;
}

.address {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: auto;
}

.arasshu:link,
.arasshu:visited {
  position: relative;
  text-decoration: none;
  color: #e67e22;
}

.arasshu::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0; /* شروع از سمت راست */
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.arasshu:hover::after,
.arasshu:active::after {
  width: 0;
}

.arasshu:hover,
.arasshu:active {
  color: #cf711f;
}

.contact-col {
  line-height: 1.2;
}

.heading-footer {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 4rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;

  list-style: none;
  line-height: 1.2;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: #767676;
  font-size: 1.6rem;
  font-style: normal;

  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}
