/* 
* Yohevi Firayu - Main Stylesheet
* Color Palette:
* - Primary: Deep Grape (#5B2C6F)
* - Accent: Bright Orange (#F39C12)
* - Secondary: Grass Green (#27AE60)
* - Background: Milk White (#FAF9F6)
* - Text: Graphite (#2C3E50)
*/

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #2c3e50;
	background-color: #faf9f6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #5b2c6f;
	margin-bottom: 0.5em;
}

a {
	color: #5b2c6f;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: #f39c12;
}

img {
	max-width: 100%;
	height: auto;
}

section {
	padding: 60px 0;
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	background-color: #f39c12;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
	background-color: #e67e22;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
	background-color: #5b2c6f;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #4a235a;
}

.btn-secondary {
	background-color: #27ae60;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #219653;
}

/* Header & Navigation */
.main-header {
	background-color: #faf9f6;
	padding: 15px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	display: block;
}

.main-nav ul {
	display: flex;
	list-style: none;
}

.main-nav li {
	margin-left: 20px;
}

.main-nav a {
	font-weight: 500;
	padding: 5px 0;
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #f39c12;
	transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
	width: 100%;
}

/* Hamburger Menu */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #5b2c6f;
	transition: all 0.3s ease;
}

.menu-toggle {
	display: none;
}

/* Hero Section */
.hero {
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("./img/Hk3uOB.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 1;
	color: white;
	max-width: 700px;
	text-align: center;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3rem;
	color: white;
	margin-bottom: 20px;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
}

/* About Section */
.about {
	background-color: #faf9f6;
}

.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.about-card {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.about-card:hover {
	transform: translateY(-5px);
}

.about-card h3 {
	color: #5b2c6f;
	margin-bottom: 15px;
}

/* Recipes Section */
.recipes {
	background-color: #f9f5ff;
}

.recipes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.recipe-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.recipe-card:hover {
	transform: translateY(-5px);
}

.recipe-image {
	height: 200px;
	background-size: cover;
	background-position: center;
}

.recipe-content {
	padding: 20px;
}

.recipe-content h3 {
	margin-bottom: 10px;
}

.recipe-content p {
	margin-bottom: 20px;
}

.recipe-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: #f39c12;
	margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
	background-color: #faf9f6;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.benefit-card {
	text-align: center;
	padding: 30px;
}

.benefit-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background-color: #27ae60;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
}

/* Testimonials Section */
.testimonials {
	background-color: #f9f5ff;
}

.testimonial-slider {
	position: relative;
	overflow: hidden;
	height: 300px;
}

.testimonial-track {
	display: flex;
	transition: transform 0.5s ease;
	animation: slide 20s infinite linear;
}

@keyframes slide {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

.testimonial-card {
	flex: 0 0 300px;
	margin-right: 30px;
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
	font-style: italic;
	margin-bottom: 15px;
}

.testimonial-author {
	font-weight: bold;
	color: #5b2c6f;
}

/* How It Works Section */
.how-it-works {
	background-color: #faf9f6;
}

.steps-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.step {
	flex: 0 0 200px;
	margin: 0 20px 30px;
	text-align: center;
	position: relative;
}

.step-number {
	width: 40px;
	height: 40px;
	background-color: #5b2c6f;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin: 0 auto 15px;
}

.step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 20px;
	right: -30px;
	width: 40px;
	height: 2px;
	background-color: #5b2c6f;
}

/* Order Form Section */
.order-form {
	background-color: #f9f5ff;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.form-check {
	margin-bottom: 10px;
}

.form-check label {
	margin-left: 10px;
}

.radio-group {
	margin-bottom: 20px;
}

.radio-option {
	margin-bottom: 10px;
}

.error-message {
	color: #e74c3c;
	font-size: 14px;
	margin-top: 5px;
}

/* FAQ Section */
.faq {
	background-color: #faf9f6;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 20px;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
	padding: 15px 20px;
	background-color: #5b2c6f;
	color: white;
	font-weight: bold;
	cursor: pointer;
	position: relative;
}

.faq-question a {
	color: white;
}

.faq-answer {
	padding: 20px;
	display: none;
}

.faq-item:target .faq-answer {
	display: block;
}

/* Footer */
.main-footer {
	background-color: #2c3e50;
	color: white;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h3,
.footer-legal h3 {
	color: #f39c12;
	margin-bottom: 20px;
}

.footer-contact ul,
.footer-legal ul {
	list-style: none;
}

.footer-contact li,
.footer-legal li {
	margin-bottom: 10px;
}

.footer-contact a,
.footer-legal a {
	color: white;
}

.footer-contact a:hover,
.footer-legal a:hover {
	color: #f39c12;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #2c3e50;
	color: white;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 9999;
}

.cookie-banner p {
	margin-right: 20px;
}

.cookie-banner a {
	color: #f39c12;
}

.cookie-banner button {
	padding: 8px 15px;
	background-color: #f39c12;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.main-nav {
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		background-color: #faf9f6;
		padding: 20px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all 0.3s ease;
	}

	.menu-toggle:checked ~ .main-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.main-nav ul {
		flex-direction: column;
	}

	.main-nav li {
		margin: 0 0 15px 0;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.step:not(:last-child)::after {
		display: none;
	}

	.cookie-banner {
		flex-direction: column;
		text-align: center;
	}

	.cookie-banner p {
		margin-right: 0;
		margin-bottom: 15px;
	}
}
