/**************************/
/* HEADER */
/**************************/

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f9f5f6;

	/* Because we want header to be sticky later */
	height: 18rem;
	padding: 0 18rem;
	position: relative;
}

.logo {
	height: 10.8rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
	display: inline-block;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 1.8rem;
	transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
	color: #b31e41;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
	padding: 1.2rem 2.4rem;
	border-radius: 9px;
	color: #fff;
	background-color: #c84a6e;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
	background-color: #fc819e;
}

.main-nav-link.nav-egg:link,
.main-nav-link.nav-egg:active {
	padding: 1.2rem 2.4rem;
	border-radius: 9px;
	color: #fff;
	background-color: #f3e54a;
}

/* MOBILE */
.btn-mobile-nav {
	border: none;
	background: none;
	cursor: pointer;

	display: none;
}

.icon-mobile-nav {
	height: 4.8rem;
	width: 4.8rem;
	color: #333;
}

.icon-mobile-nav[name='close-outline'] {
	display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 8rem;
	padding-top: 0;
	padding-bottom: 0;
	background-color: rgba(255, 255, 255, 0.97);
	z-index: 999;
	box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
	margin-top: 9.6rem;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
	background-color: #f9f5f6;
	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: 90%;
	border-radius: 15%;
}

.delivered-meals {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-top: 8rem;
}

.delivered-imgs {
	display: flex;
}

.delivered-imgs img {
	height: 4.8rem;
	width: 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 {
	color: #fc819e;
	font-weight: 700;
}

/**************************/
/* MEALS SECTION */
/**************************/

.section-meals {
	padding: 9.6rem 0;
}

.meal {
	box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.4s;
}

.meal: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.8rem;
}

.meal-tags {
	margin-bottom: 1.2rem;
	display: flex;
	gap: 0.4rem;
}

.tag {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	font-size: 1.2rem;
	text-transform: uppercase;
	color: #333;
	border-radius: 100px;
	font-weight: 600;
}

.tag--vegetarian {
	background-color: #51cf66;
}

.tag--vegan {
	background-color: #94d82d;
}

.tag--paleo {
	background-color: #ffd43b;
}

.meal-title {
	font-size: 2.4rem;
	color: #212121;
	font-weight: 600;
	margin-bottom: 3rem;
}

.meal-attributes {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.meal-attribute {
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.meal-icon {
	height: 1.2rem;
	width: 1.2rem;
	color: #fc819e;
}

.meal-img {
	width: 90%;
	max-height: 75%;
}
/**************************/
/* order form */
/**************************/

.section-cta {
	padding: 4.8rem 0 12.8rem;
}

.cta-text-box {
	padding: 4.8rem 6.4rem 6.4rem 6.4rem;
	color: #212121;
	text-align: center;
	font-size: 2.4rem;
}

.cta-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 2.4rem;
	row-gap: 2.4rem;
	max-width: 600px;
	margin: 0 auto;
	padding-bottom: 4.8rem;
}

.cta-form label {
	display: block;
	font-size: 1.6rem;
	font-weight: 500;
	margin-bottom: 1.2rem;
}

textarea,
.cta-form input {
	width: 100%;
	padding: 1.2rem;
	font-size: 1.6rem;
	font-family: inherit;
	color: inherit;
	border: none;
	background-color: #fdf2e9;
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta *:focus {
	outline: none;
	box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

.cta-container {
	max-width: 750px;
	margin: 80px auto 20px;
	background-color: #f3d0d7;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-family: 'Inter', serif;
}

.menu-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 0;
	border-bottom: 1px solid #ddd;
}

.menu-item img {
	width: 90px;
	height: auto;
	border-radius: 5px;
}

.menu-item div {
	flex-grow: 1;
	text-align: center;
}

.menu-item p {
	margin: 0;
	font-size: 1.8rem;
	text-align: center;
}

.menu-item input {
	width: 60px;
	text-align: center;
	padding: 0.5rem;
	font-size: 1.2rem;
}

button {
	width: 100%;
	padding: 1rem;
	background-color: #c84a6e;
	color: white;
	font-size: 1.8rem;
	border: none;
	cursor: pointer;
}

button:hover {
	background-color: #fc819e;
}

/* Ensure swiper container has a fixed height */
.swiper {
	width: 100%;
	height: 450px;
	/* Adjust height if needed */
}

/* Make images fit properly */
.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Ensures images resize correctly */
	border-radius: 10px;
}

/* Ensure navigation arrows are visible */
.swiper-button-next,
.swiper-button-prev {
	color: #fff;
	/* Change to black if needed */
}

.input-container {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	text-align: center;
	max-width: 450px;
	/* Adjust width as needed */
}

.input-container .icon {
	position: absolute;
	left: 3px;
	width: 36px;
	/* Adjust size */
	height: 36px;
}

.input-container input {
	width: 100%;
	padding-left: 30px;
	/* Make space for the icon */
	height: 40px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	background-color: #fdf2e9;
	font-size: 1.8rem;
	font-family: inherit;
	color: inherit;
	text-align: center;
}

.input-container ::placeholder {
	text-align: center;
}
p {
	font-size: 1.8rem;
	color: #564b4b;
	font-family: 'Noto Sans' thin;
	margin-bottom: 1.2rem;
	word-spacing: 0.2rem;
}

/**************************/
/* FOOTER */
/**************************/
.footer {
	background-color: #2d2d2d;
	color: #fff;
	padding: 6.4rem 0 3.2rem 0;
}

.footer-container {
	max-width: 120rem;
	margin: 0 auto;
	padding: 0 3.2rem;
	display: flex;
	justify-content: center;
}

.logo-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.footer-logo {
	display: block;
	margin-bottom: 3.2rem;
	height: 8rem;
}

.social-links {
	list-style: none;
	display: flex;
	gap: 2.4rem;
	margin-bottom: 2.4rem;
}

.footer-link {
	text-decoration: none;
}

.social-icon {
	height: 2.4rem;
	width: 2.4rem;
	color: #f3d0d7;
	transition: all 0.3s;
}

.social-icon:hover {
	color: #c84a6e;
}

.copyright {
	font-size: 1.4rem;
	color: #999;
	line-height: 1.6;
	margin-top: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.footer {
		padding: 4.8rem 0 2.4rem 0;
	}

	.footer-container {
		padding: 0 2.4rem;
	}

	.footer-logo {
		height: 6rem;
		margin-bottom: 2.4rem;
	}

	.social-links {
		gap: 1.6rem;
		margin-bottom: 1.6rem;
	}

	.copyright {
		font-size: 1.2rem;
	}
}
