/* Подключаем общие компоненты: шапку, подвал, контейнер, модалку */
@import '../components/header/header.css';
@import '../components/footer/footer.css';
@import '../components/container/base.css';
@import '../components/modal/modal.css';

.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;

	margin-top: 71px;
}

.hero_bg_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero_bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero_date {
	font-size: 18px;
	letter-spacing: 3px;
	margin-bottom: 10px;
}

.hero_title {
	font-size: clamp(60px, 10vw, 120px);
	font-weight: 700;
	margin-bottom: 10px;
}

.hero_author {
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 5px;
}

.hero_desc {
	color: #e96362;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 40px;
}

.btn {
	display: inline-block;
	background: #e96362;
	color: #fff;
	text-decoration: none;
	padding: 15px 40px;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 600;
	transition:
		transform 0.3s,
		background 0.3s;
}

.btn:hover {
	background: #d45251;
	transform: translateY(-2px);
}

.experience {
	padding: 100px 0;
	background: #fff;
}

.experience_inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: flex-start;
}

.exp_title {
	color: #e96362;
	text-transform: lowercase;
	font-size: 24px;
	margin-bottom: 30px;
	font-weight: 700;
}

.exp_text p {
	margin-bottom: 20px;
	font-size: 15px;
	color: #555;
	max-width: 500px;
}

.authors {
	margin-top: 40px;
	font-size: 14px;
}

.welcome {
	margin-top: 20px;
}

.experience_image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.about_cta {
	position: relative;
	height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.about_bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.about_bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about_inner {
	position: relative;
}

.about_text {
	position: absolute;
	top: 64px;
	left: 0;
	color: #fff;
	font-size: 24px;
	line-height: 1.8;
	margin-bottom: 50px;
	text-align: left;
}

.btn_center {
	position: absolute;
	display: block;
	width: fit-content;
	margin: 0 auto;
	left: 0;
}

.cta {
	padding: 80px 0 40px 0;
}

.cta_btn {
	display: inline-block;
	background: #e96362;
	color: #fff;
	text-decoration: none;
	padding: 18px 50px;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	transition:
		transform 0.3s,
		background 0.3s;
}

.cta_btn:hover {
	background: #d45251;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.hero {
		margin-top: 70px;
		height: 80vh;
	}

	.hero_date {
		font-size: 14px;
		letter-spacing: 2px;
	}

	.hero_desc {
		padding: 0 20px;
	}

	.experience {
		padding: 60px 0;
	}

	.experience_inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.exp_title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.exp_text p {
		font-size: 14px;
	}

	.about_cta {
		height: 420px;
	}

	.about_text {
		position: static;
		font-size: 18px;
		line-height: 1.7;
		padding: 0 5px;
		margin-top: 40px;
	}

	.cta {
		padding: 50px 0 30px 0;
	}

	.cta_btn {
		font-size: 15px;
		padding: 15px 40px;
	}
}
