:root {
	--primary-color: #c56900;
	--primary-dark-color: #8b4a00;
	--secondary-color: #f8b88b;
	--text-color: #333;
	--background-color: #fff;
	--tinted-background-color: #f8f0e7;
	--nav-height: 60px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

p {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}

h1,
h2,
h3,
h4 {
	color: var(--primary-color);
}

.landing-header {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 3.5rem;
	font-weight: 300;
	text-align: center;
	/* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
}


img {
	max-width: 100%;
	height: auto;
}

a,
a:visited {
	color: var(--primary-dark-color);
	text-decoration: none;
}

main {
	margin-top: calc(var(--nav-height) + 1rem);
	padding: 2rem;
	flex: 1;
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Media queries for responsive main content width */
@media (min-width: 768px) {
	main {
		max-width: 1200px;
	}
}

@media (min-width: 1200px) {
	main {
		max-width: 1200px;
	}
}

@media (min-width: 1600px) {
	main {
		max-width: 1200px;
	}
}

.main-nav {
	background-image: linear-gradient(to right, #ffd6a8, #c56900);
	padding: 1rem;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	z-index: 1001;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--background-color);
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
}

.nav-links {
	margin-left: auto;
}

.main-nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.main-nav a {
	color: var(--background-color);
	text-decoration: none;
	font-size: 1.3rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: var(--secondary-color);
	border-bottom: 2px solid var(--secondary-color);
}

.logo-nav {
	padding: 6px 0 0 0;
	height: var(--nav-height);
}

.main-footer {
	background-color: var(--primary-color);
	color: var(--background-color);
	padding: 1rem;
	text-align: center;
}

.footer-content p {
	font-size: 1rem;
}

.bottom-navigation {
	margin: auto;
	margin-top: .5rem;
	margin-bottom: .5rem;
	font-size: small;
	font-weight: 500;
}

.subscription-box {
	padding: 1rem 1.5rem;
	background-color: var(--tinted-background-color);
	border: 1px solid var(--secondary-color);
	border-radius: 8px;
}

.social-icons {
	margin-top: 10px;
}

.social-icons a {
	color: var(--background-color);
	transition: color 0.3s ease;
	margin: 0 8px;
}

.social-icons a:hover {
	color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: var(--nav-height);
		left: -100%;
		width: 100%;
		height: calc(100vh - var(--nav-height));
		background-color: var(--primary-color);
		transition: left 0.3s ease;
		margin: 0;
		-webkit-transition: left 0.3s ease;
		-moz-transition: left 0.3s ease;
		-ms-transition: left 0.3s ease;
		-o-transition: left 0.3s ease;
	}

	.nav-links.active {
		left: 0;
	}

	.main-nav ul {
		flex-direction: column;
		text-align: center;
		gap: 2rem;
		padding: 2rem 0;
	}

	.main-nav {
		position: fixed;
	}
}


/* Herbs */

.herb-image {
	width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	/* object-fit: cover; */
	/* border-radius: 12px; */
	/* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); */
}

.herb-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.herb-title {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 2.5rem;
	text-align: center;
	line-height: 1.5rem;
	margin-top: 1rem;
	margin-bottom: .2rem;
	color: var(--primary-color);

}

.herb-dropcap {
	float: left;
	font-size: 2.7em;
	line-height: 1;
	font-weight: bold;
	margin-right: 8px;
	color: red;
	font-family: 'Times New Roman', Times, serif;
	text-shadow: gray 0.05em 0.05em;
}

.herb-text {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	margin-bottom: 1rem;
	color: black;
}

.container-herb {
	display: grid;
	grid-template-areas:
		"2para 2para"
		"aside main"
		"foot foot"
		"head head"
		"aside main"
		"foot foot";
	;
}

.header {
	grid-area: head;
}

.aside {
	grid-area: aside;
}

.main {
	grid-area: main;
}

.footer {
	grid-area: foot;
}

/* Herb card styles */
.herb-card {
	clear: both;
	margin-bottom: 3rem;
	overflow: hidden;
}

.herb-card .img-left {
	float: left;
	margin-right: 2rem;
	margin-bottom: 1rem;
	max-width: 240px;
}

@media (max-width: 768px) {
	.herb-card .img-left {
		max-width: 160px;
	}
}

.herb-card ul {
	list-style-position: inside;
	padding-left: 0;
}

/* Recipes List Styles */
.recipes-section-heading {
	position: relative;
	display: inline-block;
	width: calc(100% - 12px);
	color: var(--background-color);
	padding: 8px 32px;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
	background: none;
	z-index: 1;
}

.recipes-section-heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--primary-color);
	transform: skewX(-15deg);
	z-index: -1;
	box-shadow: 5px 5px 0 var(--secondary-color), inset 3px 3px 15px rgba(255, 255, 255, 0.2), inset -3px -3px 15px rgba(0, 0, 0, 0.1);
}

.recipes-section-heading::after {
	content: "✦";
	position: absolute;
	right: -15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--secondary-color);
	font-size: 1.5em;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.recipes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	padding: 1rem 0;
}

.recipes-card {
	border: 1px solid var(--secondary-color);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
	background: var(--background-color);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.recipes-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.recipes-card a {
	text-decoration: none;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.recipes-card-content {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.recipes-card-image-container {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.recipes-card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
	-webkit-transition: transform 0.3s ease;
	-moz-transition: transform 0.3s ease;
	-ms-transition: transform 0.3s ease;
	-o-transition: transform 0.3s ease;
}

.recipes-card:hover .recipes-card-image {
	transform: scale(1.1);
}

.recipes-card h2 {
	margin: 0 0 0.5rem 0;
	color: var(--primary-color);
}

.recipes-card p {
	margin: 0;
	color: #666;
}

.recipes-card p:not(.recipes-card-meta) {
	flex-grow: 1;
}

.recipes-card-meta {
	padding-top: .5rem;
	font-weight: 600;
	margin-top: auto;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.recipes-grid {
		grid-template-columns: 1fr;
	}
}



/* Blog page styles */

.blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

img.center-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

/* Blog feature classes */
.blog-feature {
	display: flex;
	align-items: start;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
}

.blog-feature p {
	font-size: 1.25rem;
}

.blog-feature-img {
	flex: 0 0 auto;
	margin-right: 1rem;
	width: 200px;
}

.blog-feature-body {
	flex: 1;
}

@media (max-width: 760px) {
	.blog-feature {
		flex-direction: column;
	}

	.blog-feature-img {
		margin-right: 0;
		margin-bottom: 1rem;
	}
}

/* Blor articles classes */

.blog-image {
	width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
}

.blog-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.blog-title {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 2.5rem;
	text-align: center;
	line-height: 1.5rem;
	margin-top: 1rem;
	margin-bottom: .2rem;
	color: var(--primary-color);

}

.blog-dropcap {
	float: left;
	font-size: 2.7em;
	line-height: 1;
	font-weight: bold;
	margin-right: 8px;
	color: red;
	font-family: 'Times New Roman', Times, serif;
	text-shadow: gray 0.05em 0.05em;
}


.blog-text {
	font-family: 'Noto Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	margin-bottom: 1rem;
	color: black;
}

.indented {
	text-indent: 20px;
}

li {
	padding-left: 11px;
}

.blog-heading {
	color: #b43632;
	font-weight: bold;
	font-size: 1.4rem;
	display: block;
	margin-top: -3rem;
	margin-bottom: 3rem;
}

/* Recipe article page styles */

.recipe-container {
	max-width: 1200px;
	margin-top: var(--nav-height);
	padding: 2rem;
}

.recipe-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.recipe-image {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.recipe-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.recipe-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.recipe-meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

.recipe-meta-item {
	text-align: center;
	padding: 1rem;
	background-color: var(--tinted-background-color);
	border-radius: 8px;
	font-weight: 600;
}

.recipe-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
}

.recipe-block {
	padding: 1.5rem;
	border-radius: 12px;
}

.recipe-block ul,
.recipe-block ol {
	padding-left: 1.5rem;
	margin: 0;
}

@media (max-width: 760px) {
	.blog-title {
		font-size: 2.1rem;
		line-height: 1.1;
		height: 2.4em;
		margin-top: -.5rem;
		margin-bottom: -2rem;
		/* 2 lines x 1.2 line height */
		overflow: hidden;
	}
}


@media (max-width: 768px) {
	.recipe-grid {
		grid-template-columns: 1fr;
	}

	.recipe-content {
		grid-template-columns: 1fr;
	}
}