/* 
* janapo-wadase - Natūralūs aviečių receptai
* Color palette:
* - Ярко-малиновый (Bright Raspberry): #D12D61
* - Сливочный песочный (Creamy Sand): #FFF6E3
* - Натуральный зелёный (Natural Green): #5DAD68
* - Белый (White): #FFFFFF
* - Угольный серый (Charcoal Gray): #1F1F1F
*/

/* Base Styles */
:root {
	--color-raspberry: #d12d61;
	--color-sand: #fff6e3;
	--color-green: #5dad68;
	--color-white: #ffffff;
	--color-gray: #1f1f1f;
	--gradient-raspberry: linear-gradient(45deg, #d12d61, #ff6b98);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", Arial, sans-serif;
}

body {
	background-color: var(--color-sand);
	color: var(--color-gray);
	line-height: 1.6;
	font-size: 16px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-raspberry);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--color-green);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

h1 {
	font-size: 2.5rem;
	color: var(--color-raspberry);
}

h2 {
	font-size: 2rem;
	color: var(--color-raspberry);
	text-align: center;
	margin: 2rem 0;
}

h3 {
	font-size: 1.5rem;
	color: var(--color-gray);
}

p {
	margin-bottom: 1rem;
}

ul,
ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

section {
	padding: 4rem 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 50px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
}

.btn-primary {
	background: var(--gradient-raspberry);
	color: var(--color-white);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(209, 45, 97, 0.3);
	color: var(--color-white);
}

.btn-secondary {
	background: transparent;
	color: var(--color-raspberry);
	border: 2px solid var(--color-raspberry);
}

.btn-secondary:hover {
	background-color: var(--color-raspberry);
	color: var(--color-white);
}

/* Header */
.site-header {
	background-color: var(--color-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo-img {
	max-height: 50px;
}

/* Menu Toggle for Mobile */
.menu-toggle {
	display: none;
}

.menu-button {
	display: none;
	cursor: pointer;
	position: relative;
	width: 30px;
	height: 22px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
	position: absolute;
	width: 30px;
	height: 3px;
	background-color: var(--color-raspberry);
	transition: all 0.3s ease;
}

.menu-icon {
	top: 50%;
	transform: translateY(-50%);
}

.menu-icon::before {
	content: "";
	top: -10px;
}

.menu-icon::after {
	content: "";
	bottom: -10px;
}

/* Navigation */
.nav-list {
	display: flex;
	list-style: none;
}

.nav-list li {
	margin-left: 2rem;
}

.nav-list a {
	color: var(--color-gray);
	font-weight: 500;
}

.nav-list a:hover {
	color: var(--color-raspberry);
}

/* Hero Banner */
.hero-banner {
	background-image: url("../img/NIXGIl.jpg");
	background-size: cover;
	background-position: center;
	color: var(--color-white);
	text-align: center;
	padding: 8rem 0;
	position: relative;
}

.hero-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	color: var(--color-white);
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* About Product */
.about-product {
	background-color: var(--color-white);
}

.about-content {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-image {
	flex: 1;
	min-width: 300px;
	border-radius: 10px;
	overflow: hidden;
}

/* Benefits */
.benefits {
	background-color: var(--color-sand);
}

.benefits-container {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.benefit-item {
	flex: 1;
	min-width: 250px;
	text-align: center;
	background-color: var(--color-white);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-sand);
	position: relative;
}

.benefit-icon::before {
	font-size: 40px;
	color: var(--color-raspberry);
}

.benefit-icon.natural::before {
	content: "🌿";
}

.benefit-icon.easy::before {
	content: "👌";
}

.benefit-icon.tasty::before {
	content: "😋";
}

.benefit-icon.quality::before {
	content: "✨";
}

.benefit-icon.delivery::before {
	content: "🚚";
}

.benefit-icon.support::before {
	content: "💬";
}

/* Recipes */
.recipes {
	background-color: var(--color-white);
}

.recipes-container {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.recipe-card {
	flex: 1;
	min-width: 300px;
	max-width: 350px;
	background-color: var(--color-white);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.recipe-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.recipe-image {
	height: 200px;
	overflow: hidden;
}

.recipe-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image img {
	transform: scale(1.05);
}

.recipe-content {
	padding: 1.5rem;
	text-align: center;
}

.recipe-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-raspberry);
	margin: 1rem 0;
}

/* Testimonials */
.testimonials {
	background-color: var(--color-sand);
}

.testimonials-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.testimonial-item {
	flex: 1;
	min-width: 300px;
	max-width: 350px;
	background-color: var(--color-white);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.testimonial-image {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 1rem;
}

.testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-content {
	text-align: center;
}

.testimonial-content p {
	font-style: italic;
	margin-bottom: 1rem;
}

.testimonial-content h4 {
	color: var(--color-raspberry);
}

/* Order Form */
.order-form {
	background-color: var(--color-white);
}

.order-form-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	background-color: var(--color-sand);
	border-radius: 10px;
}

.form-group {
	margin-bottom: 1.5rem;
	padding: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
}

.form-group.checkbox-group {
	display: flex;
	align-items: center;
}

.form-group.checkbox-group input {
	width: auto;
	margin-right: 10px;
}

.form-group.checkbox-group label {
	margin-bottom: 0;
}

.form-submit {
	text-align: center;
	margin-top: 2rem;
}

.form-notice {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #666;
}

.error-messages {
	background-color: #ffebee;
	border-left: 4px solid #f44336;
	padding: 1rem;
	margin-bottom: 2rem;
	border-radius: 4px;
}

.error-messages ul {
	list-style-type: none;
	padding-left: 0;
}

.error-messages li {
	color: #d32f2f;
}

/* FAQ */
.faq {
	background-color: var(--color-sand);
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: var(--color-white);
	margin-bottom: 1rem;
	border-radius: 5px;
	overflow: hidden;
}

.faq-toggle {
	display: none;
}

.faq-question {
	display: block;
	padding: 1.5rem;
	cursor: pointer;
	font-weight: 600;
	position: relative;
}

.faq-question::after {
	content: "+";
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--color-raspberry);
	transition: all 0.3s ease;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 1.5rem;
}

.faq-toggle:checked + .faq-question::after {
	content: "-";
}

.faq-toggle:checked + .faq-question + .faq-answer {
	max-height: 1000px;
	padding: 0 1.5rem 1.5rem;
}

/* About Company */
.about-company {
	background-color: var(--color-white);
}

.about-company-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.company-contacts {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #eee;
}

/* Footer */
.site-footer {
	background-color: var(--color-gray);
	color: var(--color-white);
	padding: 4rem 0 2rem;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-company,
.footer-links,
.footer-contacts,
.footer-legal {
	flex: 1;
	min-width: 200px;
}

.footer-logo {
	margin-bottom: 1rem;
}

.footer-content h4 {
	color: var(--color-raspberry);
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

.footer-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-content li {
	margin-bottom: 0.5rem;
}

.footer-content a {
	color: var(--color-white);
	opacity: 0.8;
}

.footer-content a:hover {
	opacity: 1;
	color: var(--color-raspberry);
}

.footer-bottom {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	font-size: 0.9rem;
	opacity: 0.8;
}

/* Policy Pages */
.policy-page {
	background-color: var(--color-white);
}

.policy-content {
	max-width: 900px;
	margin: 0 auto;
}

.policy-content h2 {
	color: var(--color-raspberry);
	font-size: 1.8rem;
	margin-top: 3rem;
	text-align: left;
}

/* Thanks Page */
.thanks-page {
	background-color: var(--color-white);
	text-align: center;
	padding: 4rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.thanks-content {
	max-width: 700px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.thanks-icon {
	font-size: 5rem;
	color: var(--color-green);
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: var(--color-sand);
	margin-left: auto;
	margin-right: auto;
}

.thanks-info {
	margin: 3rem 0;
	background-color: var(--color-sand);
	padding: 2rem;
	border-radius: 10px;
	text-align: left;
	width: 100%;
}

.thanks-info h2 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.thanks-info ol {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.more-products {
	margin: 3rem 0;
	width: 100%;
}

.more-products h3 {
	margin-bottom: 1.5rem;
	text-align: center;
}

.related-products {
	display: flex;
	justify-content: center;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background-color: var(--color-white);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	padding: 1.5rem;
	border-radius: 10px;
	z-index: 9999;
	max-width: 500px;
	margin: 0 auto;
}

.cookie-popup-content {
	text-align: center;
}

.cookie-popup h3 {
	margin-bottom: 1rem;
}

.cookie-popup p {
	margin-bottom: 1.5rem;
}

.cookie-popup form {
	margin-bottom: 1rem;
}

.cookie-more-info {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.9rem;
}

/* Product Cards in Order Page */
.product-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	margin-bottom: 3rem;
}

.product-card {
	flex: 1;
	min-width: 300px;
	max-width: 350px;
	background-color: var(--color-white);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
	height: 200px;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-info {
	padding: 1.5rem;
	text-align: center;
}

.product-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-raspberry);
	margin: 1rem 0;
}

/* Page Header */
.page-header {
	background-color: var(--color-raspberry);
	color: var(--color-white);
	text-align: center;
	padding: 4rem 0;
}

.page-header h1 {
	color: var(--color-white);
	margin-bottom: 1rem;
}

.benefits-extra {
	background-color: var(--color-sand);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
	body {
		font-size: 14px;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	h3 {
		font-size: 1.3rem;
	}

	section {
		padding: 3rem 0;
	}

	.menu-button {
		display: block;
	}

	.nav-list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--color-white);
		flex-direction: column;
		padding: 1rem 0;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}

	.nav-list li {
		margin: 0;
		text-align: center;
		padding: 0.8rem 0;
	}

	.menu-toggle:checked ~ .nav-list {
		display: flex;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.benefit-item,
	.recipe-card,
	.testimonial-item,
	.product-card {
		min-width: 100%;
	}

	.about-content {
		gap: 1rem;
	}

	.logo-img {
		max-height: 40px;
	}

	.hero-banner {
		padding: 5rem 0;
	}

	.cookie-popup {
		left: 10px;
		right: 10px;
		padding: 1rem;
	}
}

.thanks-body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.thanks-body main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
