/* 
* Kurawa Yifaha - Main Stylesheet
* Color palette:
* Main: #D5E857 (warm lime)
* Accent: #6B8D3E (olive)
* Background: #FFF9F1 (light beige)
* Fonts: Poppins and Playfair Display
*/

/* Reset & Base Styles */
:root {
	--main-color: #d5e857;
	--accent-color: #6b8d3e;
	--bg-color: #fff9f1;
	--text-color: #333333;
	--light-text: #666666;
	--white: #ffffff;
	--border-radius: 8px;
	--transition: all 0.3s ease;
	--box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Poppins", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Playfair Display", serif;
	margin-bottom: 1rem;
	line-height: 1.3;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	position: relative;
	display: inline-block;
}

h2::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 4px;
	background-color: var(--main-color);
}

h3 {
	font-size: 1.8rem;
}

p {
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
	color: var(--accent-color);
	transition: var(--transition);
}

a:hover {
	color: var(--main-color);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius);
}

ul {
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 80px 0;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: var(--transition);
	cursor: pointer;
	border: none;
	font-family: "Poppins", sans-serif;
}

.btn-primary {
	background-color: var(--accent-color);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--main-color);
	color: var(--accent-color);
	transform: translateY(-3px);
	box-shadow: var(--box-shadow);
}

.btn-secondary {
	background-color: var(--main-color);
	color: var(--accent-color);
}

.btn-secondary:hover {
	background-color: var(--accent-color);
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: var(--box-shadow);
}

/* Header & Navigation */
.site-header {
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
}

.logo img {
	height: 50px;
}

.main-nav ul {
	display: flex;
	gap: 20px;
}

.main-nav a {
	color: var(--text-color);
	font-weight: 500;
	padding: 5px 10px;
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--main-color);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.main-nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-cta {
	background-color: var(--main-color);
	color: var(--accent-color) !important;
	padding: 8px 16px !important;
	border-radius: 30px;
}

.nav-cta:hover {
	background-color: var(--accent-color);
	color: var(--white) !important;
}

.nav-cta::after {
	display: none;
}

.menu-toggle {
	display: none;
}

/* Hero Section */
.hero {
	padding: 100px 0;
	background-color: var(--white);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background-color: var(--main-color);
	border-radius: 50%;
	opacity: 0.15;
	z-index: 1;
}

.hero .container {
	display: flex;
	align-items: center;
	gap: 40px;
	position: relative;
	z-index: 2;
}

.hero-content {
	flex: 1;
}

.hero-image {
	flex: 1;
	transform: translateY(20px);
	animation: float 4s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-15px);
	}
	100% {
		transform: translateY(0px);
	}
}

/* Brand Section */
.brand {
	background-color: var(--bg-color);
}

.brand-content {
	display: flex;
	gap: 40px;
	align-items: center;
}

.brand-image {
	flex: 1;
}

.brand-text {
	flex: 1;
}

/* Products Section */
.products {
	background-color: var(--white);
	text-align: center;
}

.product-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.product-card {
	background-color: var(--bg-color);
	padding: 30px;
	border-radius: var(--border-radius);
	transition: var(--transition);
	box-shadow: var(--box-shadow);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-card:hover {
	transform: translateY(-10px);
}

.product-card img {
	height: 180px;
	object-fit: cover;
	margin-bottom: 20px;
}

.price {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 15px 0;
	color: var(--accent-color);
}

.product-card .btn {
	margin-top: auto;
}

/* Benefits Section */
.benefits {
	background-color: var(--bg-color);
}

.benefits-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.benefits-text {
	flex: 1;
}

.benefits-text ul {
	list-style: none;
}

.benefits-text li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
}

.benefits-text li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent-color);
	font-weight: bold;
}

.benefits-image {
	flex: 1;
}

/* Testimonials */
.testimonials {
	background-color: var(--white);
	text-align: center;
}

.testimonial-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.testimonial-card {
	background-color: var(--bg-color);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 20px;
	font-size: 4rem;
	font-family: "Playfair Display", serif;
	color: var(--main-color);
	opacity: 0.3;
	line-height: 1;
}

.stars {
	color: #ffd700;
	font-size: 1.2rem;
	margin-bottom: 15px;
}

.client {
	margin-top: 15px;
	font-style: italic;
	font-weight: 500;
}

/* FAQ Section */
.faq {
	background-color: var(--bg-color);
}

.faq-items {
	margin-top: 40px;
}

.faq-item {
	margin-bottom: 20px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.faq-item input {
	display: none;
}

.faq-item label {
	display: block;
	padding: 20px;
	background-color: var(--white);
	cursor: pointer;
	position: relative;
	font-weight: 600;
	transition: var(--transition);
}

.faq-item label::after {
	content: "+";
	position: absolute;
	right: 20px;
	transition: var(--transition);
}

.faq-item input:checked + label {
	background-color: var(--main-color);
}

.faq-item input:checked + label::after {
	transform: rotate(45deg);
}

.answer {
	max-height: 0;
	overflow: hidden;
	background-color: var(--white);
	transition: max-height 0.35s ease;
}

.faq-item input:checked ~ .answer {
	max-height: 500px;
}

.answer p {
	padding: 20px;
}

/* Order Form */
.order-form {
	background-color: var(--white);
	text-align: center;
}

form {
	max-width: 600px;
	margin: 40px auto 0;
	padding: 30px;
	background-color: var(--bg-color);
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: left;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

input:not([type="checkbox"]),
select {
	width: 100%;
	padding: 12px;
	border: 2px solid #ddd;
	border-radius: var(--border-radius);
	font-family: "Poppins", sans-serif;
	transition: var(--transition);
}

input:focus,
select:focus {
	border-color: var(--accent-color);
	outline: none;
}

.checkbox {
	display: flex;
	align-items: flex-start;
}

.checkbox input {
	margin-top: 5px;
	margin-right: 10px;
}

form .btn {
	width: 100%;
	margin-top: 10px;
}

/* Footer */
.site-footer {
	background-color: #242424;
	color: #aaa;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-col h3 {
	color: var(--white);
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #aaa;
}

.footer-links a:hover {
	color: var(--main-color);
}

address p {
	margin-bottom: 10px;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 400px;
	background-color: var(--white);
	padding: 20px;
	border-radius: var(--border-radius);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	z-index: 9999;
	animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.cookie-popup h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.cookie-popup p {
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.cookie-popup .btn {
	padding: 8px 16px;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
	h1 {
		font-size: 2.5rem;
	}
	h2 {
		font-size: 2rem;
	}
	section {
		padding: 60px 0;
	}
	.hero {
		padding: 80px 0;
	}
}

@media (max-width: 768px) {
	/* Mobile menu */
	.menu-toggle {
		display: block;
		position: relative;
		z-index: 1001;
	}

	.menu-toggle input {
		display: none;
	}

	.menu-toggle label {
		display: flex;
		flex-direction: column;
		width: 30px;
		cursor: pointer;
	}

	.menu-toggle span {
		height: 3px;
		background-color: var(--text-color);
		margin-bottom: 5px;
		transition: var(--transition);
	}

	.menu-toggle input:checked ~ label span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle input:checked ~ label span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle input:checked ~ label span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 250px;
		height: 100vh;
		background-color: var(--white);
		padding: 80px 20px 20px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		z-index: 1000;
	}

	.menu-toggle input:checked ~ .main-nav {
		right: 0;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 10px;
	}

	/* Content responsiveness */
	.hero .container,
	.brand-content,
	.benefits-content {
		flex-direction: column;
	}

	.hero-image {
		order: -1;
		margin-bottom: 30px;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.8rem;
	}
	.product-cards,
	.testimonial-cards {
		grid-template-columns: 1fr;
	}
}

/* Centered title style */
.centered-title {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.centered-title::after {
	left: 50%;
	transform: translateX(-50%);
}
