/* Base Styles */
:root {
	--bg-color: #FFF9F0;
	--text-color: #0A0A0A;
	--accent-color1: #E63946;
	--accent-color2: #1D3557;
	--button-gradient: linear-gradient(135deg, #FFAF40, #E63946);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	line-height: 1.2;
	color: var(--accent-color2);
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	position: relative;
	margin-bottom: 2rem;
	text-align: center;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: var(--button-gradient);
	border-radius: 3px;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-color1);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--accent-color2);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

section {
	padding: 4rem 0;
}

ul {
	list-style: none;
}

/* Button Styles */
.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn-primary {
	background: var(--button-gradient);
	color: white;
	box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
	color: white;
}

.btn-secondary {
	background: white;
	color: var(--accent-color1);
	border: 2px solid var(--accent-color1);
}

.btn-secondary:hover {
	background: var(--accent-color1);
	color: white;
	transform: translateY(-3px);
}

/* Header Styles */
.site-header {
	background-color: white;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--accent-color1);
	text-transform: lowercase;
}

.main-nav ul {
	display: flex;
}

.main-nav li {
	margin-left: 1.5rem;
}

.main-nav a {
	color: var(--accent-color2);
	font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
	color: var(--accent-color1);
}

.nav-cta {
	background: var(--button-gradient);
	color: white !important;
	padding: 8px 20px;
	border-radius: 50px;
}

.nav-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 20px;
	position: relative;
}

.menu-icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--accent-color2);
	border-radius: 3px;
	transition: var(--transition);
}

.menu-icon span:nth-child(1) {
	top: 0;
}

.menu-icon span:nth-child(2) {
	top: 9px;
}

.menu-icon span:nth-child(3) {
	top: 18px;
}

/* Hero Section */
.hero-section {
	background-image: linear-gradient(rgba(29, 53, 87, 0.7), rgba(29, 53, 87, 0.7)), url('./img/yioOY.jpg');
	background-size: cover;
	background-position: center;
	color: white;
	text-align: center;
	padding: 8rem 0;
	position: relative;
}

.hero-section h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: white;
	animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	animation: fadeInUp 1s ease-out 0.2s;
	animation-fill-mode: both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* About Section */
.about-content {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.about-text,
.about-image {
	flex: 1;
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.service-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

.service-card h3,
.service-card p {
	padding: 0 20px;
}

.service-card h3 {
	margin-top: 20px;
	color: var(--accent-color1);
}

.service-card .btn {
	margin: 20px;
	margin-top: auto;
}

/* Testimonials Section */
.testimonials-section {
	background-color: var(--accent-color2);
	color: white;
}

.testimonials-section h2 {
	color: white;
}

.testimonials-section h2::after {
	background: var(--accent-color1);
}

.testimonials-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: 20px;
	padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
	height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
	background: var(--accent-color1);
	border-radius: 4px;
}

.testimonial {
	flex: 0 0 auto;
	width: 80%;
	max-width: 500px;
	scroll-snap-align: start;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	border-radius: 10px;
	padding: 20px;
	margin: 10px;
}

.testimonial-content {
	margin-bottom: 15px;
	font-style: italic;
}

.testimonial-content::before {
	content: '"';
	font-size: 3rem;
	line-height: 0;
	position: relative;
	top: 15px;
	color: var(--accent-color1);
}

.testimonial-author {
	text-align: right;
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border-radius: 5px;
	overflow: hidden;
}

.faq-item input[type="checkbox"] {
	display: none;
}

.faq-item label {
	display: block;
	padding: 15px;
	background: white;
	cursor: pointer;
	font-weight: bold;
	position: relative;
	border-left: 3px solid var(--accent-color1);
	transition: var(--transition);
}

.faq-item label:hover {
	background: rgba(255, 255, 255, 0.9);
}

.faq-item label::after {
	content: '+';
	position: absolute;
	right: 15px;
	font-size: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent-color1);
	transition: var(--transition);
}

.faq-item input[type="checkbox"]:checked+label::after {
	content: '-';
	transform: translateY(-50%) rotate(180deg);
}

.faq-content {
	background: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item input[type="checkbox"]:checked~.faq-content {
	max-height: 500px;
	padding: 15px;
}

/* Contact Form Section */
.contact-section {
	background: linear-gradient(135deg, rgba(255, 175, 64, 0.1), rgba(230, 57, 70, 0.1));
	text-align: center;
}

.contact-subtitle {
	text-align: center;
	margin-bottom: 2rem;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: left;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
	border-color: var(--accent-color1);
	outline: none;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
}

.checkbox-group input {
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

.checkbox-group label {
	font-weight: normal;
	font-size: 0.9rem;
}

/* SEO Section */
.seo-section {
	background-color: white;
}

.seo-content {
	max-width: 800px;
	margin: 0 auto;
}

/* Map Section */
.map-container {
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
}

/* Footer */
.site-footer {
	background-color: var(--accent-color2);
	color: white;
	padding: 4rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-info h3,
.footer-contact h4,
.footer-links h4 {
	color: white;
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 10px;
}

.footer-info h3::after,
.footer-contact h4::after,
.footer-links h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--accent-color1);
}

.footer-links ul {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--accent-color1);
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: -100%;
	left: 0;
	right: 0;
	background: white;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
	padding: 15px;
	display: flex;
	justify-content: center;
	transition: bottom 0.3s ease-in-out;
	z-index: 1001;
}

.cookie-popup.show {
	bottom: 0;
}

.cookie-content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	max-width: 1200px;
}

.cookie-content p {
	margin: 0;
}

/* Policy Pages */
.policy-section {
	padding: 3rem 0;
}

.policy-content {
	background: white;
	padding: 3rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	max-width: 900px;
	margin: 0 auto;
}

.policy-content h1 {
	text-align: center;
	margin-bottom: 2rem;
}

.policy-content h2 {
	text-align: left;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.policy-content h2::after {
	left: 0;
	transform: none;
}

.policy-content ul,
.policy-content ol {
	margin-left: 20px;
	margin-bottom: 1.5rem;
}

.policy-content li {
	margin-bottom: 0.5rem;
}

.cookie-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.cookie-table th,
.cookie-table td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

.cookie-table th {
	background-color: #f9f9f9;
	font-weight: bold;
}

/* Thank You Page */
.thank-you-section .policy-content {
	text-align: center;
	margin: 10rem auto 5rem;
}

.cta-button {
	margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.about-content {
		flex-direction: column;
	}

	.testimonial {
		width: 85%;
	}
}

@media (max-width: 768px) {
	.menu-icon {
		display: block;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: white;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.menu-toggle:checked~.main-nav {
		max-height: 300px;
	}

	.main-nav ul {
		flex-direction: column;
		padding: 20px;
	}

	.main-nav li {
		margin: 10px 0;
		margin-left: 0;
	}

	.menu-toggle:checked+.menu-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 7px);
	}

	.menu-toggle:checked+.menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked+.menu-icon span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -7px);
	}

	.hero-section {
		padding: 6rem 0;
	}

	.hero-section h1 {
		font-size: 2rem;
	}

	.testimonial {
		width: 90%;
	}

	.policy-content {
		padding: 2rem;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.hero-section {
		padding: 4rem 0;
	}

	.testimonial {
		width: 100%;
		margin: 0;
	}

	.policy-content {
		padding: 1.5rem;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
	}
}