/* 
---01 Typography system
Font Size (px)
10/12/14/16/18/20/24/30/36/44/52/62/74/86/98

--Font weights
Default: 400
Medium:500
Semi-bold:600
Bold:700


-line heights
Default: 1
small : 1.05
paragraph default : 1.6


-SPACING SYSTEM (px)
2/4/8/12/16/24/32/48/64/80/96/120

---02 COLORS
-Primary: 
#AE5100 e67e22
#cf711f
AE5100

-Tints:
#fdf2e9
#fae5d3
-Shades:
-Accents:
-Greys: 
#555
#333
 
---03 Shadows

--- 04 BORDER-RADIUS

--- 07 WHITESPACE

-Spacing System (px)
2/4/8/12/16/24/32/48/64/80/96/128
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /*Percentage value of the font size is mentioned  */
  /* this value comes with dividing 10px/16px =0.625 */
  /* so when we use like this we make the font size to be 10px, */
  /* the below is basically eqaual to font-size : 10px */
  font-size: 62.5%;
  /* font-size: 16px; */
  overflow-x: hidden;
}
/* **************** */
/* GENERAL REUSABLE  */
/* **************** */

.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.grid {
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}
.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}
.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}
.grid--center-v {
  align-items: center;
}

.grid--footer {
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
}

/* ********************** */
/* NAVIGATION */
/* ********************** */
.main-nav-list {
  list-style: none;
  display: flex;
  gap: 4.8rem;
}

/* Sticky navigation */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 12rem;
  background-color: rgba(255, 255, 255, 0.832);
  z-index: 999;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}
.sticky .section-hero {
  margin-top: 9.6rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  text-decoration: none;
  color: #ae5100;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #ffff;
  background-color: #ae5100;
}

.main-nav-link.nav-cta:active,
.main-nav-link.nav-cta:hover {
  padding: 1.2re 2.4rem;
  border-radius: 0.9rem;
  color: #ffff;
  background-color: #cf711f;
}

/**********************/
/* General components */

/**********************/

/* to make the focus element outline from blue color to a custom color */
* :focus {
  outline: #cf711f;
  border: 2px;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem;
}

.heading-secondary {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background-color: #ae5100;
  color: #ffff;
  font-size: 2rem;
  font-weight: 700;
  padding: 1.6rem 3.2rem;
  text-decoration: none;
  border-radius: 1.5rem;
  transition: background-color 250ms;
}

.btn-mobile-nav {
  border: none;
  background-color: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.btn,
.btn--full:active,
.btn--full:hover {
  background-color: #cf711f;
  cursor: pointer;
}
.btn--outline:link,
.btn--outline:visited {
  background-color: #fdf2e9;
  color: #333;
}

.btn--outline:active,
.btn--outline:hover {
  background-color: #f8d8bd;
}

/**********************/
/*HELPER CLASSES*/
/**********************/

/* this is a helper class and no matter what the below style shiould be applied so we need to put important in the tag */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}
.link:link,
.link:visited {
  display: inline-block;
  color: #ae5100;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: #ae5100;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

/**********************/
/*HEADER SECTION*/
/**********************/
.header {
  display: flex;
  justify-content: space-between;
  background-color: #fdf2e9;
  align-items: center;
  position: relative;
  padding: 0 4.8rem;
}
.logo {
  height: 12rem;
}

/**********************/
/* 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: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}
.hero-img {
  width: 100%;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  /* to avoid an extra page in the right sifde of the website when adding mobile navigation */
  overflow-x: hidden;
}

.delivered-meals {
  display: flex;
  margin-top: 8rem;
  align-items: center;
  gap: 1.6rem;
  color: #333;
}

.delivered-imgs {
  display: flex;
}
.delivered-imgs img {
  height: 6.4rem;
  width: 6.4rem;
  border-radius: 50%;
  margin-right: -2.9rem;
  border: 3px solid #fdf2e9;
}
.delivered-imgs img :last-child {
  margin: 0;
}
.delivered-text {
  font-size: 1.8rem;
  font-weight: 700;
}
.delivered-text span {
  color: #cf711f;
  font-weight: 700;
  font-size: 1.8rem;
  margin-left: 0.5rem;
}

/**********************/
/* FEATURED SECTION */
/**********************/

.section-featured {
  padding: 4.8rem 0;
}
.heading-featured-in {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}
.logos {
  display: flex;
  justify-content: center;
  justify-content: space-around;
}
.logos img {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}
/* ******************** */
/* HOW IT WORKS SECTION */
/* ******************** */
.section-how {
  padding: 9.6rem 0;
}
.step-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img-box::after,
.step-img-box::before {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.step-img-box::before {
  width: 60%;
  padding-bottom: 60%;
  background-color: #fdf2e9;

  z-index: -2;
}
.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #fae5d3;
  z-index: -1;
}
.step-img {
  width: 35%;
}
.step-number {
  font-size: 8.6rem;
  color: #d6d4d4;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.subheading {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  color: #cf711f;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.heading-tertiary {
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}
.step-description {
  font-size: 2rem;
  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.4s;
}

.meal:hover {
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.3);
  transform: translateY(-1.2rem);
}
.meal-content {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4.8rem; */
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}
.tag-name {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  background-color: #12dd23;
  color: #004225;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 2.4rem;
}

.tag--vegetarian {
  background-color: #12dd23;
}
.tag--vegan {
  background-color: #a9e34b;
}
.tag--paleo {
  background-color: #ffe066;
}

.meal-img {
  width: 100%;
}
.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: 2rem;
}
.meal-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #cf711f;
}
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 2.4rem;
}
.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.list-icon {
  height: 3rem;
  width: 3rem;
  color: #cf711f;
}

.all-recipes {
  text-align: center;
  font-size: 1.4rem;
}

/* ******************** */
/* TESTIMONIALS SECTION */
/* ******************** */
.section-testimonials {
  padding: 9.6rem;
  background-color: #fdf2e9;
  display: grid;
  grid-template-columns: 65fr 35fr;
  align-items: center;
}

.testimonial-container {
  padding: 9.6rem;
}
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 4.8rem;
}

.testimonial-image {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.6rem;
}

.testimonial-name {
  font-size: 1.6rem;
  font-weight: 500;
  color: #6f6f6f;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.3s;
  border-radius: 15%;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

/* ******************** */
/* PRICING SECTION */
/* ******************** */
.section-pricing {
  padding: 9.6rem;
}
.pricing-plan {
  border-radius: 11px;
  padding: 4.8rem;
  width: 80%;
}
/* ida mattum thaniya grid oda end ku kondu ponum */
.pricing-plan--starter {
  justify-self: end;
  border: 2px solid #fdf2e9;
}
.pricing-plan--complete {
  background-color: #fdf2e9;
  position: relative;
  overflow: hidden;
}
.pricing-plan--complete::after {
  content: "Best Value";
  position: absolute;
  text-transform: uppercase;
  top: 4%;
  right: -9%;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: #ffe066;
  color: #333;
  padding: 1.2rem 4rem;
  transform: rotate(45deg);
}

.plan-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plan-name {
  color: #cf711f;
  font-weight: 600;
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.plan-price {
  font-size: 6.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}
.plan-price span {
  font-size: 3rem;
  font-weight: 500;
}

.plan-text {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 300;
}

.pricing-icon {
  height: 2rem;
  width: 2rem;
  color: #ae5100;
}

.plan-signup {
  text-align: center;
  margin-top: 4.8rem;
}
.plan-details {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  margin-top: -6.4rem;
}

.feature-title {
  color: #cf711f;
  font-size: 2.4rem;

  font-weight: 600;
  margin-bottom: 1.6rem;
}
.feature-text {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.8;
}

/* ******************** */
/* CTA SECTION */
/* ******************** */
.section-cta {
  padding: 9.6rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-color: #ae5100;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-image: linear-gradient(to right bottom, #eea564, #ae5100);
}
.cta,
.heading-secondary {
  color: #45260a;

  margin-bottom: 2.4rem;
}
.cta-text-box {
  font-size: 1.6rem;
  color: #45260a;
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  line-height: 1.8;
}
.cta-text {
  margin-bottom: 2.4rem;
}
.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(232, 181, 136, 0.35),
      rgba(236, 151, 76, 0.35)
    ),
    url("../img/eating.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 3.2rem;
  align-items: center;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.cta-form input {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  border: none;
  background-color: #fdf2e9;
  border-radius: 10px;
}
.cta-form select {
  background-color: #fdf2e9;
  border-radius: 10px;
  font-size: 1.8rem;
  color: #555;
  font-family: inherit;
  padding: 1.2rem;
  border: none;
}

.btn--form {
  align-self: end;
  padding: 1.2rem;
  color: #fdf2e9;
  background-color: #45260a;
}
.btn--form:hover {
  background-color: #f8d8bd;
  color: #45260a;
  border: none;
}

/**********************/
/* FOOTER  */
/**********************/
.footer-section {
  background-color: #fdf2e9;
  display: flex;
  padding: 9.6rem;
  align-items: center;
}
.footer {
  padding: 0rem 0rem 0rem 8.4rem;
  background-color: #fdf2e9;
}

.logo-col {
  display: flex;
  flex-direction: column;
}
.address-col {
  font-size: 1.6rem;
  line-height: 1.2;
  color: #333;
}
.address-col p {
  line-height: 1.4;
}
.nav-col {
  font-size: 1.6rem;
}
.footer-heading {
  font-size: 2.4rem;
  font-weight: 700;
  color: #cf711f;
  margin-bottom: 2.4rem;
}
.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  margin-top: 2.2rem;
}
.social-link {
  height: 2.4rem;
  width: 2.4rem;
}
.copyright {
  font-size: 1.6rem;
  color: #555;
  margin-top: auto;
  line-height: 1.4;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #a06a3a;
}
