/* 
 * Main CSS file for Mesisu-Foceca 
 * Color palette:
 * - Background: #fff9f0 (light beige)
 * - Accent: #2e8b57 (herbal green) 
 * - Additional: #fc8eac (pastel pink)
 * - Text: #2a2a2a
 * - Buttons: White with green border and pink hover
 */

/* Reset & Base Styles */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background-color: #fff9f0;
	color: #2a2a2a;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: #2e8b57;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #fc8eac;
}

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

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

section {
	padding: 80px 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #2a2a2a;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
	text-align: center;
	position: relative;
	padding-bottom: 15px;
}

h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(to right, #2e8b57, #fc8eac);
	border-radius: 3px;
}

h3 {
	font-size: 1.8rem;
}

p {
	margin-bottom: 15px;
}

/* Buttons */
.btn-primary {
	display: inline-block;
	padding: 12px 30px;
	background-color: #fff;
	color: #2e8b57;
	border: 2px solid #2e8b57;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-primary:hover {
	background-color: #fc8eac;
	color: #fff;
	border-color: #fc8eac;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(252, 142, 172, 0.3);
}

.btn-secondary {
	display: inline-block;
	padding: 12px 30px;
	background-color: transparent;
	color: #2e8b57;
	border: 2px solid #2e8b57;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-secondary:hover {
	background-color: #2e8b57;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Header & Navigation */
header {
	background-color: rgba(255, 249, 240, 0.95);
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
}

.header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo a {
	display: block;
}

.menu-toggle {
	display: none;
}

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

.burger-menu span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #2e8b57;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.main-nav ul {
	display: flex;
	list-style: none;
}

.main-nav li:not(:last-child) {
	margin-right: 25px;
}

.main-nav a {
	font-weight: 600;
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #fc8eac;
	transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
	width: 100%;
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 249, 240, 0.98);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 15px 0;
	backdrop-filter: blur(5px);
}

.cookie-banner-visible {
	display: block;
}

.cookie-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.cookie-content p {
	margin-bottom: 10px;
	font-size: 0.95rem;
	max-width: 800px;
}

.cookie-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 15px;
}

.cookie-option {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.cookie-option label {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	cursor: pointer;
}

.cookie-option input[type="checkbox"] {
	margin-right: 8px;
	cursor: pointer;
	accent-color: #2e8b57;
}

.cookie-description {
	font-size: 0.85rem;
	color: #555;
	padding-left: 24px;
}

.cookie-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-secondary {
	padding: 8px 15px;
	font-size: 0.9rem;
}

.btn-tertiary {
	display: inline-block;
	padding: 8px 15px;
	background-color: transparent;
	color: #777;
	border: 1px solid #ddd;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-tertiary:hover {
	background-color: #f0f0f0;
	color: #555;
}

.link-text {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.9rem;
	text-decoration: underline;
}

/* Hero Section */
.hero {
	background-image: linear-gradient(rgba(255, 249, 240, 0.8), rgba(255, 249, 240, 0.8)), url("../img/ZVtXWG.jpg");
	background-size: cover;
	background-position: center;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0;
}

.hero .container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	max-width: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
}

.hero-content {
	max-width: 800px;
	padding: 0 15px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	animation: fadeInDown 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	animation: fadeIn 1s ease 0.5s forwards;
	opacity: 0;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	animation: fadeIn 1s ease 1s forwards;
	opacity: 0;
}

.scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	animation: bounce 2s infinite;
}

.scroll-down svg {
	width: 40px;
	height: 40px;
}

/* About Section */
.about-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
	align-items: center;
}

.about-image {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(0);
	transition: transform 0.3s ease;
}

.about-image:hover {
	transform: translateY(-10px);
}

.about-content h2 {
	text-align: left;
}

.about-content h2::after {
	left: 0;
	transform: none;
}

/* Features Section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.feature-card {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-10px);
	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: #f0f8ff;
	border-radius: 50%;
	color: #2e8b57;
}

.feature-icon svg {
	width: 40px;
	height: 40px;
	fill: #2e8b57;
}

/* Products Section */
.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.product-card {
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
	height: 200px;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

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

.product-content {
	padding: 20px;
}

.product-content h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.product-price {
	font-size: 1.2rem;
	font-weight: 700;
	color: #2e8b57;
	margin-bottom: 15px;
	display: block;
}

/* Reviews Section */
.reviews-slider {
	margin-top: 50px;
	position: relative;
	overflow: hidden;
}

.reviews-container {
	display: flex;
	transition: transform 0.5s ease;
}

.review-card {
	flex: 0 0 calc(33.333% - 20px);
	margin: 0 10px;
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.review-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.review-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}

.reviewer-name {
	margin-bottom: 5px;
}

.review-date {
	font-size: 0.8rem;
	color: #777;
}

.review-stars {
	color: #fc8eac;
	margin-bottom: 10px;
}

.review-content {
	font-style: italic;
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 50px auto 0;
}

.faq-item {
	position: relative;
	margin-bottom: 15px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.faq-question {
	position: relative;
	background-color: #fff;
	padding: 15px 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	width: 100%;
	text-align: left;
	border: none;
}

.faq-question::after {
	content: "+";
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-question::after {
	transform: rotate(45deg);
}

.faq-answer {
	background-color: #f8f8f8;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
	padding: 15px 20px;
	max-height: 500px;
}

/* Contact Section */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
	margin-top: 50px;
	align-items: center;
}

.contact-info-centered {
	max-width: 700px;
	margin: 50px auto 0;
	text-align: center;
}

.contact-info-centered h3 {
	margin-bottom: 30px;
	text-align: center;
}

.contact-info-centered .contact-methods-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.contact-info-centered .contact-method {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 20px;
	width: calc(50% - 15px);
}

.contact-info-centered .contact-icon {
	margin-bottom: 10px;
	margin-right: 0;
}

.contact-info-centered .contact-details {
	text-align: center;
}

.contact-info h3 {
	margin-bottom: 20px;
}

.contact-method {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.contact-icon {
	width: 40px;
	height: 40px;
	background-color: #f0f8ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
}

.contact-icon svg {
	width: 20px;
	height: 20px;
	fill: #2e8b57;
}

.contact-details h4 {
	margin-bottom: 5px;
}

.contact-details a {
	color: #000000;
	transition: color 0.3s ease;
}

.contact-details a:hover {
	color: #fc8eac;
}

/* Specific styles for phone and email links */
a[href^="tel:"],
a[href^="mailto:"] {
	color: #000000;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
	color: #fc8eac;
}

.contact-form {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	outline: none;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	border-color: #2e8b57;
}

/* Order Form */
.order-section {
	background-color: #f8f8f8;
}

.order-form {
	max-width: 700px;
	margin: 0 auto;
	background-color: #fff;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.product-selection {
	margin-bottom: 30px;
}

.product-option {
	display: flex;
	align-items: center;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.product-option:hover {
	background-color: #f9f9f9;
	border-color: #ccc;
}

.product-option.selected {
	border-color: #2e8b57;
	background-color: #f0f8f2;
}

.product-radio {
	margin-right: 15px;
}

.product-info {
	flex: 1;
}

.product-price-tag {
	font-weight: 700;
	color: #2e8b57;
}

.form-row {
	display: flex;
	gap: 20px;
}

.form-row .form-group {
	flex: 1;
}

.checkbox-group {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.checkbox-group input {
	margin-right: 10px;
}

.order-total {
	margin: 20px 0;
	padding: 15px;
	background-color: #f0f8f2;
	border-radius: 5px;
	text-align: right;
	font-size: 1.2rem;
}

.total-price {
	font-weight: 700;
	color: #2e8b57;
}

/* Footer */
footer {
	background-color: #2e8b57;
	color: #fff;
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}

.footer-col h3 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-col h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: #fc8eac;
	border-radius: 2px;
}

.footer-col p {
	margin-bottom: 20px;
	line-height: 1.7;
}

.contact-info li {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.contact-info li svg {
	margin-right: 10px;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #fff;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #fc8eac;
	text-decoration: underline;
}

.contact-info a {
	color: #fff;
	transition: color 0.3s ease;
}

.contact-info a:hover {
	color: #fc8eac;
	text-decoration: underline;
}

.copyright {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
}

.copyright p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) translateX(-50%);
	}
	40% {
		transform: translateY(-10px) translateX(-50%);
	}
	60% {
		transform: translateY(-5px) translateX(-50%);
	}
}

/* Responsiveness */
@media (max-width: 1024px) {
	h1 {
		font-size: 2.5rem;
	}
	h2 {
		font-size: 2rem;
	}
	.features-grid,
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.review-card {
		flex: 0 0 calc(50% - 20px);
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.8rem;
	}

	.burger-menu {
		display: flex;
	}

	.menu-toggle:checked ~ .main-nav {
		right: 0;
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 250px;
		height: 100vh;
		background-color: #fff;
		padding: 80px 20px 20px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		z-index: 1000;
	}

	.main-nav ul {
		flex-direction: column;
	}

	.main-nav li:not(:last-child) {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		text-align: center;
	}

	.cookie-options {
		align-items: center;
	}

	.cookie-option {
		max-width: 400px;
	}

	.cookie-buttons {
		justify-content: center;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 1.8rem;
	}
	section {
		padding: 60px 0;
	}

	.features-grid,
	.products-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.review-card {
		flex: 0 0 100%;
	}

	.product-option {
		flex-direction: column;
		text-align: center;
	}

	.product-radio {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.cookie-banner {
		padding-bottom: 20px;
	}

	.cookie-content p {
		font-size: 0.9rem;
	}

	.cookie-buttons {
		flex-direction: column;
		width: 100%;
	}

	.cookie-buttons .btn-primary,
	.cookie-buttons .btn-secondary,
	.cookie-buttons .btn-tertiary {
		width: 100%;
	}

	.link-text {
		margin-top: 10px;
		margin-left: 0;
	}

	.contact-info-centered .contact-method {
		width: 100%;
	}
}

/* Legal Pages Styling */
.legal-page {
	padding: 120px 0 60px;
}

.legal-page h1 {
	text-align: center;
	margin-bottom: 30px;
	color: #2e8b57;
}

.legal-content {
	background-color: #fff;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	margin-top: 30px;
}

.legal-content h2 {
	color: #2e8b57;
	font-size: 1.8rem;
	margin-top: 30px;
	text-align: left;
	padding-bottom: 10px;
}

.legal-content h2::after {
	left: 0;
	transform: none;
	width: 60px;
}

.legal-content h3 {
	font-size: 1.4rem;
	margin-top: 20px;
	margin-bottom: 15px;
}

.legal-content ul {
	margin-left: 20px;
	margin-bottom: 20px;
}

.legal-content li {
	margin-bottom: 8px;
}
