/********************************/
/* HEADER */
/********************************/
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 8rem;
	padding: 0 2.4rem;
	background-color: transparent;
}

.sticky .header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.15);
}

/********************************/
/* NAVIGATION */
/********************************/
.nav-logo a:link,
.nav-logo a:visited {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	text-decoration: none;
}

.logo-img {
	height: 4.4rem;
	border-radius: 50%;
}

.logo-img img {
	width: 100%;
}

.logo-txt {
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: -0.5px;
	color: #fff;
}

.sticky .logo-txt {
	color: #101010;
}

.nav-links {
	display: flex;
	align-items: center;
}

.nav-item {
	list-style: none;
	padding: 0.8rem 1.6rem;
	font-size: 2rem;
}

.nav-item a:link,
.nav-item a:visited {
	display: inline-block;
}

.nav-item:last-child a:link,
.nav-item:last-child a:visited {
	padding: 0.9rem 1.8rem;
	border: 2px solid transparent;
	transition: all 0.3s;
	font-size: 2rem;
}

.sticky .nav-item:last-child a:link,
.sticky .nav-item:last-child a:visited {
	color: #fff;
}

.nav-item:last-child a:hover,
.nav-item:last-child a:active {
	border-color: #04724d;
	color: #04724d;
	background-color: #fff;
}

.nav-link:link,
.nav-link:visited {
	text-decoration: none;
	font-size: 2rem;
	font-weight: 600;
	color: #fff;
	transition: all 0.3s;
}

.sticky .nav-link:link,
.sticky .nav-link:visited {
	color: #101010;
}

.nav-link:hover,
.nav-link:active {
	color: #cde3db;
}

/* Mobile Navigation */
.btn-mobile-nav {
	border: none;
	background-color: transparent;
	cursor: pointer;
	display: none;
}

.icon-mobile-nav {
	font-size: 4rem;
	color: #04724d;
}

/* Getting only the menu icon and removing the close icon when displaying the hamburger menu button in a media query */
.icon-mobile-nav[name='close'] {
	display: none;
}

/********************************/
/* HERO SECTION */
/********************************/

.section-hero {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('/img/Hero.jpg');
	background-size: cover;
	background-position: right 0 bottom 20%;
	padding: 8rem 0 0 0;
	margin-top: -8rem;
}

.sticky .section-hero {
	margin-top: 0; /*accounting for margin-top: -8rem*/
}

.hero {
	max-width: 130rem;
	padding: 9.6rem 6.4rem;
	margin: 0 auto;
}

.hero-txt {
	width: 60%;
}

.hero-description {
	width: 80%;
	color: #fff;
	font-size: 1.8rem;
	line-height: 1.5;
	margin-bottom: 6rem;
}

/********************************/
/* FEATURED IN SECTION */
/********************************/
.section-featured-in {
	background-color: #101010;
	color: #fff;
}

.featured-logo {
	height: 3.2rem;
	filter: brightness(0) invert(1);
	opacity: 100%;
}

/********************************/
/* HOW IT WORKS SECTION */
/********************************/
.section-how-it-works {
	background-color: #023927;
	color: #e6f1ed;
}

.how-it-works-list {
	position: relative;
	list-style: none;
	margin-top: 6rem;
}

.how-it-works-list::before {
	content: '';
	display: inline-block;
	width: 2px;
	height: 100%;
	background-color: #e6f1ed;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.step-item p {
	font-size: 1.8rem;
	line-height: 1.3;
}

.step-item {
	padding: 3.2rem 4.8rem;
	position: relative;
}

.step-item-one {
	grid-column: 2;
	grid-row: 1/3;
	position: relative;
}

.step-item::before {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 600;
	color: #fff;
	height: 3rem;
	width: 3rem;
	border-radius: 50%;
	background-color: #04724d;
	position: absolute;
	top: 3.2rem;
	z-index: 1;
}

.step-item::after {
	content: '';
	height: 4rem;
	width: 4rem;
	border-radius: 50%;
	background-color: #82b9a6;
	position: absolute;
	top: 2.7rem;
	transform: translateY(-50%);
}

.step-item-one::before,
.step-item-three::before,
.step-item-five::before,
.step-item-one::after,
.step-item-three::after,
.step-item-five::after {
	left: 0;
	transform: translateX(-50%);
}

.step-item-two::before,
.step-item-four::before,
.step-item-two::after,
.step-item-four::after {
	right: 0;
	transform: translateX(50%);
}

.step-item-one::before {
	content: '1';
}

.step-item-two {
	grid-column: 1;
	grid-row: 2/4;
	position: relative;
}

.step-item-two::before {
	content: '2';
}

.step-item-three {
	grid-column: 2;
	grid-row: 3/5;
	position: relative;
}

.step-item-three::before {
	content: '3';
}

.step-item-four {
	grid-column: 1;
	grid-row: 4/6;
	position: relative;
}

.step-item-four::before {
	content: '4';
}

.step-item-five {
	grid-column: 2;
	grid-row: 5/7;
	position: relative;
}

.step-item-five::before {
	content: '5';
}

.step-item:nth-child(2n) {
	text-align: end;
}

/********************************/
/* RECIPES SECTION */
/********************************/
.section-recipes {
	position: relative;
}

.section-recipes .container {
	padding-bottom: 0;
}

.header-recipes {
	margin-bottom: 4.8rem;
	font-size: 2rem;
}

.recipes-container {
	gap: 4.8rem;
	margin-bottom: 4.8rem;
}

.recipe {
	border-radius: 11px;
	overflow: hidden;
	box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.3);
	transition: all 0.5s;
}

.recipe:hover {
	transform: translateY(-1.2rem);
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.2);
}

.recipe-img {
	width: 100%;
}

.recipe-txt {
	padding: 3rem 3.6rem;
}

.recipe-title {
	color: #023927;
}

.recipe-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.6rem;
	margin-top: 3rem;
}

.recipe-list li {
	display: flex;
	gap: 1.2rem;
	align-items: center;
	font-size: 1.8rem;
}

.icon {
	font-size: 2.4rem;
	margin-right: 1.6rem;
	color: #04724d;
}

/* Modal Window */
.modal {
	grid-template-columns: 25rem 1fr;
	min-width: 100rem;
	max-width: 120rem;
	font-size: 1.8rem;
	line-height: 1.8;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	background-color: #fff;
	margin: 0 auto;
	padding: 6.4rem;
}

.modal-img {
	transform: scale(1.1);
	z-index: 100;
}

.modal-img-mocha {
	background: linear-gradient(
			to top left,
			rgba(0, 0, 0, 0.3),
			rgba(0, 0, 0, 0.2)
		),
		url('/img/recipes/Mocha\ Madness.jpg');
	background-position: right 30% bottom 45%;
	background-size: cover;
}

.modal-img-caramel {
	background: linear-gradient(
			to top left,
			rgba(0, 0, 0, 0.3),
			rgba(0, 0, 0, 0.2)
		),
		url('/img/recipes/Caramel\ Dream.jpg');
	background-position: right 55% bottom 45%;
	background-size: cover;
}

.modal-img-vanilla {
	background: linear-gradient(
			to top left,
			rgba(0, 0, 0, 0.3),
			rgba(0, 0, 0, 0.2)
		),
		url('/img/recipes/Vanilla\ Bliss.jpg');
	background-position: right 25% bottom 45%;
	background-size: cover;
}

.modal-info {
	border: 2px solid #023927;
	font-size: 1.8rem;
	position: relative;
	max-height: 40rem;
}

.icon--close {
	position: absolute;
	margin: 2rem;
	top: 0;
	right: 0;
	cursor: pointer;
}

.modal-txt {
	margin: 6.4rem;
	margin-left: 7.6rem;
	max-height: 20rem;
	overflow-y: scroll;
	padding-right: 2.4rem;
}

.modal-title {
	margin-bottom: 3.2rem !important;
	color: #023927;
}

.modal-intro {
	margin-bottom: 2.4rem;
	line-height: 1.6;
}

.ingredients-title,
.instructions-title,
.ratings-title {
	color: #023927;
}

.ingredients-list,
.instructions-list {
	margin: 2.4rem 0 2.4rem 3.2rem;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.ingredients-item,
.instructions-item {
	padding-left: 1rem;
	line-height: 1.3;
}

.ratings-title {
	display: block;
	text-align: center;
	font-size: 1.8rem;
	text-transform: uppercase;
	margin: 4.8rem 0 1.6rem;
	letter-spacing: 1.5px;
	font-weight: 600;
}

.ratings {
	list-style: none;
	display: flex;
	gap: 0.8rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.ratings .icon {
	margin-right: 0;
	cursor: pointer;
}

.link-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.all-recipes-link:link,
.all-recipes-link:visited {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-size: 1.8rem;
	padding: 0 1rem 1.4rem;
	color: #04724d;
	border-bottom: 2px solid #04724d;
}

/********************************/
/* ECOMMERCE SECTION */
/********************************/
.section-ecomm {
	font-size: 1.8rem;
	padding-bottom: 6.4rem;
}

.section-ecomm.container {
	padding-bottom: 4.8rem;
}

.ecommerce-shop {
	gap: 3.2rem;
	color: #fff;
}

.ecommerce {
	grid-column: 1/3;
	display: flex;
	background-color: #04724d;
}

.ecomm-description {
	padding: 2rem 3rem;
	font-size: 1.6rem;
	line-height: 1.4;
}

.ecomm-img {
	width: 50%;
}

.category:link,
.category:visited {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 6.4rem 4.8rem;
	letter-spacing: 1.5px;
	transition: all 0.4s;
	height: 25rem;
	text-decoration: none;
	color: #fff;
}

.category:hover,
.category:active {
	transform: scale(1.1);
}

.category-title {
	text-transform: uppercase;
	font-size: 2.4rem;
	font-weight: 600;
	text-align: center;
}

.beans {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url('/img/ecommerce/Premium\ Roasted\ Beans.jpg');
	background-size: cover;
	background-position: center;
}

.equipment {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url('/img/ecommerce/Coffee\ Equipment.jpg');
	background-size: cover;
	background-position: center;
}

.accessories {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url('/img/ecommerce/Accessories.jpg');
	background-size: cover;
	background-position: center;
}

.gift-sets {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url('/img/ecommerce/Gift\ Set.jpg');
	background-size: cover;
	background-position: center;
}

/********************************/
/* STATISTICS SECTION */
/********************************/
.statistics .grid {
	gap: 4.8rem;
}

.statistics-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3.2rem;
	border-radius: 11px;
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.1);
}

.statistics-number {
	font-size: 5.2rem;
	color: #04724d;
	font-weight: 600;
}

.statistics-txt {
	font-size: 2rem;
	text-align: center;
}

/********************************/
/* TESTIMONIALS SECTION */
/********************************/
.section-testimonials {
	background-color: #cde3db;
	/* margin-top: 9.6rem; */
}

.gallery-row {
	padding: 1.6rem;
	gap: 1.6rem !important;
	align-items: stretch;
}

.gallery-item {
	overflow: hidden;
}

.gallery-img {
	width: 100%;
	transition: all 0.3s;
}

.gallery-img:hover {
	transform: scale(1.1);
}

.testimonials {
	column-gap: 6.4rem;
	row-gap: 4.8rem;
}

.testimonial .heading-quarternary {
	color: #023927;
}

.testimonial-txt {
	display: flex;
	font-size: 1.6rem;
	line-height: 1.3;
}

.testimonial-author {
	font-size: 1.6rem;
	padding: 1.2rem 0 0 4rem;
	font-style: italic;
}

/********************************/
/* PRICING SECTION */
/********************************/
.section-pricing .grid {
	column-gap: 4.8rem;
	font-size: 1.6rem;
}

.pricing-card {
	padding: 2.4rem;
	border: 2px solid #82b9a6;
	border-radius: 9px;
	transition: all 0.5s;
	cursor: pointer;
}

.pricing-card .subheading,
.pricing-card .price,
.price-txt {
	text-align: center;
}

.icon--dollar {
	margin-right: 0;
	font-size: 3.2rem;
}

.price span {
	font-size: 5.2rem;
}

.price-txt {
	font-size: 1.2rem;
	margin-bottom: 4.8rem;
}

.price-list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	list-style: none;
	gap: 2rem;
	margin-bottom: 6.4rem;
}

.price-item {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}

.price-item .icon {
	margin-right: 0;
}

.btn.btn--price:link,
.btn.btn--price:visited {
	padding: 0.8rem 3.2rem;
	visibility: hidden;
}

.pricing-note {
	margin-top: 3.2rem;
	text-align: center;
	font-size: 1.2rem;
}

/* Selected Plan */
.selected {
	transform: scale(1.05);
	background-color: #04724d;
	color: #fff;
}

.selected .subheading,
.selected .icon {
	color: #fff;
}

.selected .btn--price:link,
.selected .btn:visited {
	border: 2px solid #fff;
	visibility: visible;
}

/********************************/
/* CALL-TO-ACTION SECTION */
/********************************/
.section-cta {
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
		url('/img/Spilled\ beans.jpg');
	background-size: cover;
	padding: 14rem 6.4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cta {
	background-color: #fff;
	max-width: 80rem;
	padding: 6.4rem;
	padding-bottom: 8rem;
	border-radius: 9px;
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.2);
}

.cta-txt {
	font-size: 1.8rem;
	line-height: 1.6;
	margin-bottom: 6.4rem;
}

.cta-form {
	font-size: 1.8rem;
	gap: 4.8rem;
}

.cta-form label {
	margin-bottom: 1.2rem;
	font-weight: 500;
	color: #04724d;
}

.cta-form label,
.cta-form input {
	display: block;
}

.cta-input-container input,
.cta-input-container select {
	border: none;
	border-width: 0;
	background-color: #fff;
	border-bottom: 2px solid #023927;
	font-size: 1.8rem;
	width: 100%;
}

.cta-input-container input {
	color: #023927;
}

/********************************/
/* FOOTER */
/********************************/
.footer {
	background-color: #000b08;
	color: #fff;
	font-size: 1.6rem;
}

.container--footer {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
	column-gap: 4.8rem;
}

.footer-icons {
	display: flex;
	flex-direction: column;
}

.footer .logo-txt {
	color: #fff;
}

.social-media-icons {
	list-style: none;
	display: flex;
	gap: 1.2rem;
	margin: 3.2rem 0 4.8rem;
	padding-left: 1rem;
}

.social-media-icons a:link,
.social-media-icons a:visited {
	text-decoration: none;
}

.copyright {
	font-size: 1.2rem;
	padding-left: 1rem;
	margin-top: auto;
}

.address {
	line-height: 1.4;
}

.address .heading-quarternary {
	padding-top: 1rem;
}

.street-address {
	font-style: normal;
	margin-bottom: 3.2rem;
}

.contact-link:link,
.contact-link:visited {
	display: inline-block;
	font-style: normal;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s;
}

.contact-link:link:first-of-type {
	margin-bottom: 1.2rem;
}

.footer-nav {
	padding-top: 1rem;
}

.footer-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.footer-item {
	line-height: 1.6;
}

.footer-item a:link,
.footer-item a:visited {
	color: #fff;
	text-decoration: none;
	transition: all 0.3s;
}

.footer-item a:hover,
.footer-item a:active,
.contact-link:hover,
.contact-link:active {
	color: #82b9a6;
}
