/* Base styles */
:root {
	--color-bg-main: #f8e9e1;
	--color-accent: #d7263d;
	--color-text: #2f2f2f;
	--color-button: #42b883;
	--color-white: #ffffff;
	--color-light-gray: #f4f4f4;
	--font-main: "Arial", sans-serif;
	--border-radius: 10px;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	color: var(--color-text);
	background-color: var(--color-bg-main);
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 80px 0;
}

section:nth-child(even) {
	background-color: var(--color-light-gray);
}

section:nth-child(odd) {
	background-color: var(--color-white);
}

.section-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 50px;
	color: var(--color-text);
	position: relative;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--color-accent);
	border-radius: 5px;
}

.btn {
	display: inline-block;
	background-color: var(--color-button);
	color: white;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: bold;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(66, 184, 131, 0.4);
}

/* Header styles */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 15px 0;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1.5rem;
}

.logo svg {
	margin-right: 10px;
}

.menu {
	display: flex;
	align-items: center;
}

.menu li {
	margin: 0 15px;
}

.menu a {
	position: relative;
}

.menu a:not(.btn)::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: var(--transition);
}

.menu a:not(.btn):hover::after {
	width: 100%;
}

.menu-toggle,
.menu-btn {
	display: none;
}

/* Hero section */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	background-image: url("../img/RqJViU.jpg");
	background-size: cover;
	background-position: center;
	color: var(--color-white);
	position: relative;
	padding-top: 80px;
	margin-bottom: 0;
}

.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;
	max-width: 600px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
}

/* About section */
.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-image {
	flex: 1;
	overflow: hidden;
}

.about-text {
	flex: 1;
}

/* Features section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	text-align: center;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-light-gray);
	border-radius: 50%;
	color: var(--color-accent);
}

/* Recipes section */
.recipes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.recipe-card {
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.recipe-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.recipe-image {
	height: 200px;
	overflow: hidden;
}

.recipe-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.recipe-card:hover .recipe-image img {
	transform: scale(1.05);
}

.recipe-content {
	padding: 20px;
}

.recipe-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.recipe-price {
	color: var(--color-accent);
	font-weight: bold;
	font-size: 1.2rem;
	margin: 15px 0;
}

/* Testimonials section */
.testimonials-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 30px;
	padding-bottom: 30px;
	margin-bottom: 20px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
	display: none;
}

.testimonial-card {
	flex: 0 0 calc(33.333% - 20px);
	min-width: 280px;
	scroll-snap-align: start;
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.testimonial-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}

.testimonial-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-author {
	font-weight: bold;
}

.testimonial-content {
	position: relative;
}

.testimonial-content::before {
	content: '"';
	font-size: 5rem;
	position: absolute;
	top: -40px;
	left: -20px;
	color: var(--color-accent);
	opacity: 0.2;
}

/* About raspberries section */
.raspberry-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.raspberry-image {
	flex: 1;
	overflow: hidden;
}

.raspberry-text {
	flex: 1;
}

.raspberry-benefits {
	margin-top: 30px;
}

.benefit-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.benefit-item svg {
	margin-right: 15px;
	color: var(--color-accent);
}

/* FAQ section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 20px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 20px;
	font-weight: bold;
	position: relative;
	border-radius: var(--border-radius);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.faq-answer {
	background-color: var(--color-white);
	padding: 20px;
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
}

/* Order form section */
.order-form-container {
	max-width: 600px;
	margin: 0 auto;
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	padding: 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-size: 16px;
	transition: var(--transition);
}

.form-control:focus {
	border-color: var(--color-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.2);
}

.recipe-options {
	margin-top: 10px;
}

.recipe-option {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.recipe-option:hover {
	background-color: var(--color-light-gray);
}

.recipe-option input {
	margin-right: 10px;
}

.recipe-option-price {
	margin-left: auto;
	font-weight: bold;
	color: var(--color-accent);
}

.checkbox-group {
	margin-top: 20px;
}

.checkbox-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.checkbox-item input {
	margin-right: 10px;
	margin-top: 5px;
}

.form-submit {
	width: 100%;
	margin-top: 20px;
	font-size: 1.1rem;
	padding: 15px;
}

/* Footer styles */
.footer {
	background-color: #333;
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-info .logo {
	margin-bottom: 20px;
}

.company-description {
	margin-bottom: 20px;
	opacity: 0.8;
}

.footer h3 {
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.footer h3::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--color-accent);
}

.footer-links ul li {
	margin-bottom: 10px;
}

.footer-links ul li a:hover {
	color: var(--color-accent);
}

.footer-contacts address {
	font-style: normal;
}

.footer-contacts p {
	margin-bottom: 10px;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0.7;
}

/* Cookie popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 400px;
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	padding: 20px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	animation: slideUp 0.5s ease forwards;
}

.cookie-content p {
	margin-bottom: 15px;
}

.cookie-content .btn {
	width: 100%;
}

@keyframes slideUp {
	0% {
		transform: translate(-50%, 100px);
		opacity: 0;
	}
	100% {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}

/* Thank you page */
.thank-you {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	background-color: var(--color-bg-main);
}

.thank-you-content {
	max-width: 600px;
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	padding: 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 30px;
	background-color: var(--color-button);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 2rem;
}

.thank-you h1 {
	margin-bottom: 20px;
	color: var(--color-accent);
}

.thank-you p {
	margin-bottom: 30px;
	font-size: 1.2rem;
}

/* Policy pages */
.policy-page {
	padding: 120px 0 80px;
}

.policy-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	border-radius: var(--border-radius);
	padding: 40px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
	margin-bottom: 30px;
	text-align: center;
}

.policy-container h2 {
	margin: 30px 0 15px;
}

.policy-container p {
	margin-bottom: 15px;
}

.policy-container ul,
.policy-container ol {
	margin: 15px 0;
	padding-left: 20px;
}

.policy-container li {
	margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
	.section-title {
		font-size: 2rem;
	}

	.hero h1 {
		font-size: 2.8rem;
	}

	.about-content,
	.raspberry-content {
		flex-direction: column;
	}

	.about-image,
	.raspberry-image {
		margin-bottom: 30px;
	}
}

@media (max-width: 768px) {
	section {
		padding: 60px 0;
	}

	.hero h1 {
		font-size: 2.3rem;
	}

	.menu-btn {
		display: block;
		width: 30px;
		height: 20px;
		position: relative;
		cursor: pointer;
	}

	.menu-btn span,
	.menu-btn::before,
	.menu-btn::after {
		content: "";
		position: absolute;
		width: 100%;
		height: 2px;
		background-color: var(--color-text);
		transition: var(--transition);
	}

	.menu-btn span {
		top: 50%;
		transform: translateY(-50%);
	}

	.menu-btn::before {
		top: 0;
	}

	.menu-btn::after {
		bottom: 0;
	}

	.menu-toggle {
		display: none;
	}

	.menu-toggle:checked ~ .menu-btn span {
		opacity: 0;
	}

	.menu-toggle:checked ~ .menu-btn::before {
		transform: rotate(45deg);
		top: 9px;
	}

	.menu-toggle:checked ~ .menu-btn::after {
		transform: rotate(-45deg);
		bottom: 9px;
	}

	.nav {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		height: 0;
		background-color: var(--color-white);
		overflow: hidden;
		transition: var(--transition);
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	}

	.menu-toggle:checked ~ .nav {
		height: auto;
	}

	.menu {
		flex-direction: column;
		padding: 20px 0;
	}

	.menu li {
		margin: 10px 0;
	}

	.recipe-card {
		max-width: 400px;
		margin: 0 auto;
	}
}

@media (max-width: 576px) {
	.section-title {
		font-size: 1.8rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.order-form-container {
		padding: 30px 20px;
	}

	.footer-content {
		gap: 30px;
	}
}

/* Thank you page footer adjustment */
.thank-you + .footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 10px;
	background-color: #333;
	z-index: 10;
}

@media (max-height: 800px) {
	.thank-you + .footer {
		position: relative;
	}
}
