/* 
* Toroxu-Jedita - Sito web per lezioni di yoga online
* Color palette:
* - Primary background: #FFF3E0 (warm beige)
* - Accents: #D84315 (fiery orange) and #6A1B9A (purple)
* - Text: #212121 (dark anthracite) and #FFFFFF (white for contrast buttons)
* - Block backgrounds: gradients from #FBE9E7 to #EDE7F6
*/

/* CSS Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-bg: #fff3e0;
	--accent-orange: #d84315;
	--accent-purple: #6a1b9a;
	--text-dark: #212121;
	--text-light: #ffffff;
	--gradient-start: #fbe9e7;
	--gradient-end: #ede7f6;
	--header-height: 80px;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: "Roboto", "Segoe UI", Arial, sans-serif;
	background-color: var(--primary-bg);
	color: var(--text-dark);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 2rem;
	position: relative;
}

h2::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: var(--accent-orange);
	margin: 0.8rem auto;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-orange);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent-purple);
}

section {
	padding: 5rem 0;
}

/* Центрирование контента первой секции под шапкой */
body > section:first-of-type,
.legal-section,
.thank-you-section {
	margin-top: var(--header-height);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--header-height));
	text-align: center;
}

/* Header Styles */
.header {
	background-color: rgba(255, 243, 224, 0.95);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	height: var(--header-height);
	display: flex;
	align-items: center;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img,
.logo svg {
	height: 50px;
	width: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
}

.nav-menu li {
	margin-left: 2rem;
}

.nav-menu a {
	position: relative;
	padding: 8px 0;
}

.nav-menu a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-orange);
	transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
	width: 100%;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text-dark);
}

/* Button Styles */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 50px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	outline: none;
}

.btn-primary {
	background: var(--accent-orange);
	color: var(--text-light);
}

.btn-primary:hover {
	background: var(--accent-purple);
	color: var(--text-light);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
	background: transparent;
	color: var(--accent-orange);
	border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
	background: var(--accent-orange);
	color: var(--text-light);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Banner Section */
.hero-banner {
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	background:
		linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url("img/YfsFfK.jpg") no-repeat center center/cover;
	color: var(--text-light);
	margin-top: var(--header-height);
}

.hero-content {
	max-width: 700px;
	padding: 2rem;
	animation: fadeIn 1s ease-in-out;
	margin: 0 auto;
	text-align: center;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* About Section */
.about-section {
	background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.about-image {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
	margin-bottom: 1.5rem;
}

/* Courses Section */
.courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.course-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.course-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.course-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.course-card h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	color: var(--accent-orange);
}

.course-card p {
	padding: 0 1.5rem;
	min-height: 80px;
}

.course-card .price {
	padding: 0 1.5rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--accent-purple);
	margin: 1rem 0;
}

.course-card .btn {
	margin: 0 1.5rem 1.5rem;
}

/* Benefits Section */
.benefits-section {
	background-color: #fff;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.benefit-item {
	text-align: center;
	padding: 2rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.benefit-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
	margin-bottom: 1rem;
}

.benefit-item h3 {
	margin-bottom: 1rem;
	color: var(--accent-purple);
}

/* Testimonials Section */
.testimonials-section {
	background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
}

.testimonials-slider {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial {
	background: #fff;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
	font-style: italic;
	margin-bottom: 1rem;
	position: relative;
	padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
	content: '"';
	font-size: 2rem;
	color: var(--accent-orange);
	position: absolute;
}

.testimonial-content p::before {
	top: -10px;
	left: -10px;
}

.testimonial-content p::after {
	bottom: -10px;
	right: -10px;
}

.testimonial-author {
	text-align: right;
	font-weight: 700;
	color: var(--accent-purple);
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: #fff;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.faq-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
	color: var(--accent-orange);
	margin-bottom: 0.5rem;
}

/* Order Form Section */
.order-form-section {
	background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.order-form {
	background: #fff;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 800px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
	border-color: var(--accent-orange);
	outline: none;
	box-shadow: 0 0 0 2px rgba(216, 67, 21, 0.2);
}

.radio-group {
	display: flex;
	flex-direction: column;
}

.radio-group label {
	margin-bottom: 0.5rem;
	font-weight: 400;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.radio-group input {
	margin-right: 10px;
}

.checkbox-group label {
	display: flex;
	align-items: center;
	font-weight: 400;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.checkbox-group input {
	margin-right: 10px;
}

/* Thank You Section */
.thank-you-section {
	min-height: calc(100vh - var(--header-height));
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 3rem 0;
	margin-top: var(--header-height);
	background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.thank-you-content {
	background: #fff;
	border-radius: 10px;
	padding: 3rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.thank-you-content svg {
	margin-bottom: 1.5rem;
}

.thank-you-content h1 {
	color: var(--accent-orange);
	margin-bottom: 1.5rem;
	text-align: center;
}

.thank-you-content p {
	margin-bottom: 1.5rem;
	text-align: center;
}

.next-steps {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Footer Section */
.footer {
	background-color: #212121;
	color: #fff;
	padding: 3rem 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-column h3 {
	color: var(--accent-orange);
	margin-bottom: 1.5rem;
}

.footer-column ul {
	list-style: none;
}

.footer-column li {
	margin-bottom: 0.5rem;
}

.footer-column a {
	color: #ccc;
	transition: all 0.3s ease;
}

.footer-column a:hover {
	color: var(--accent-orange);
}

.footer-bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid #333;
}

.social-links {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 1rem;
}

.social-links a {
	color: #fff;
	margin-right: 1rem;
	font-size: 1.2rem;
}

/* Legal Pages */
.legal-section {
	margin-top: var(--header-height);
	padding: 3rem 0;
}

.legal-section h1 {
	text-align: center;
	color: var(--accent-orange);
	margin-bottom: 2rem;
}

.legal-content {
	background: #fff;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	max-width: 900px;
	margin: 0 auto 2rem;
}

.legal-content h2 {
	color: var(--accent-purple);
	text-align: left;
	margin: 2rem 0 1rem;
}

.legal-content h2::after {
	content: none;
}

.legal-content h3 {
	color: var(--accent-orange);
	margin: 1.5rem 0 0.8rem;
}

.legal-content ul,
.legal-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.legal-content li {
	margin-bottom: 0.5rem;
}

.legal-footer {
	text-align: center;
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(33, 33, 33, 0.95);
	color: #fff;
	padding: 1rem;
	z-index: 9999;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cookie-banner p {
	margin: 0;
	padding-right: 2rem;
}

.cookie-banner .btn {
	white-space: nowrap;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media Queries */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.about-content {
		grid-template-columns: 1fr;
	}

	.about-image {
		margin-bottom: 2rem;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: var(--header-height);
		left: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: rgba(255, 243, 224, 0.98);
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transition: left 0.3s ease;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-menu li {
		margin: 1.5rem 0;
	}

	.nav-toggle {
		display: block;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}

	.thank-you-content {
		padding: 2rem;
	}
}

@media (max-width: 576px) {
	section {
		padding: 3rem 0;
	}

	.course-card {
		margin-bottom: 2rem;
	}

	.testimonials-slider {
		grid-template-columns: 1fr;
	}

	.next-steps {
		flex-direction: column;
	}

	.next-steps .btn {
		width: 100%;
		margin-bottom: 1rem;
	}
}
