body {
	margin: 0;
	padding: 0;
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	scroll-behavior: smooth;
	color: black;
}

a {
	color: white;
	text-decoration: none;
}

ul,
li {
	list-style: none;
}

.container {
	width: 1440px;
	margin: 0 auto;
}

.black {
	color: black;
}

#popup {
	opacity: 0;
	transition: all 0.7s ease-in-out;
	position: fixed;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: -10000;
	top: 0;
	left: 0;
}

#popup.show {
	opacity: 1;
	z-index: 10000;
}

.popup {
	opacity: 0;
	transition: all 1s ease-in-out;
	position: absolute;
	top: 50%;
	left: -50%;
	transform: translate(-50%, -50%);
	background-color: white;
	border: 1px solid white;
	border-radius: 12px;
	padding: 20px;
	min-width: 300px;
	max-width: 80%;
	width: max-content;
}

#popup.show .popup {
	opacity: 1;
	top: 50%;
	left: 50%;
}

.popup_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.popup_header_title {
	font-size: 26px;
}

.popup_close {
	outline: none;
	font-size: 24px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 4px;
}

.popup_content {
	text-align: center;
	padding: 20px 0;
	font-size: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: start;
}

.header {
	background: linear-gradient(#fff 10%, transparent 10%, transparent 100%) top
		no-repeat;

	background-size: cover;
}

#main_content {
	background: linear-gradient(
				to left,
				#00000046 0%,
				transparent 50%,
				transparent 100%
			)
			top no-repeat,
		url('../assets/images/main_bg.png') top no-repeat;
	background-size: cover;

	height: 850px;
}

.header_up {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	position: relative;
	z-index: 8;
}

.block_logo {
	width: 223px;
}

.logo {
	width: 100%;
	height: auto;
}

.menu_toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	align-items: end;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.menu_toggle .bar {
	width: 30px;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
}

.menu_toggle_inside {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.menu_toggle_inside .bar {
	width: 30px;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
}

.nav_bar {
	color: #000;
	text-transform: uppercase;
	font-size: 18px;
}

.nav_bar_list {
	display: flex;

	position: relative;
}

.nav_bat_item {
	transition: all 0.3s ease;
	position: relative;
	border-right: 2px solid black;
	padding: 6px 18px;
	a {
		transition: all 0.3s ease;
		color: #000;
	}
}

.nav_content {
	display: flex;
	flex-direction: column;

	align-items: end;
}

.nav_bat_item:hover {
	color: #d70301;
	a {
		color: #d70301;
	}
}

.nav_phone {
	text-transform: uppercase;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 6px;
	a {
		color: #d70301;
		font-size: 20px;
		font-weight: 700;
		transition: all 0.3s ease-in-out;
		display: flex;
		align-items: center;
		gap: 4px;
		img {
			color: #000;
		}
		&:hover {
			color: #a30300;
			text-decoration: underline;
			text-underline-offset: 6px;
		}
	}
}

.nav_phone_mobile {
	display: none;
}

.dropdown_menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(255, 255, 255, 0.9);
	border-bottom: 5px solid #d70301;
	font-size: 12px;
	color: black;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px 0;
	z-index: 10;
}

.dropdown_menu li {
	padding: 10px 20px;
	white-space: nowrap;
	transition: all 0.3s ease;
	a {
		color: black !important;
	}
}

.dropdown_menu li:hover {
	background-color: rgba(215, 3, 1, 0.99);
	a {
		color: white !important;
	}
}

.header_title {
	padding-top: 200px;
	margin-bottom: 200px;
	text-align: right;
	display: flex;
	flex-direction: column;
	font-size: 130px;
	font-weight: bold;
	text-transform: uppercase;
	color: white;
	line-height: 90px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out, transform 1s ease-out;
	z-index: 1;
}

.header_title.show {
	opacity: 1;
	transform: translateY(0);
}

.title_small {
	font-size: 49px;
}

.title_simple {
	font-size: 139px;
}

.header_form {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
	background: #c2c0c0da;
	border-bottom: 10px solid #d70301;
	width: 100%;
	margin: 0 auto;
	color: #000;
}

#date {
	width: 90px;
}

#date2 {
	width: 90px;
}

#phone {
	width: 140px;
}

.form_el {
	padding: 30px 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.form_label {
	font-size: 20px;
	font-weight: 700;

	text-transform: uppercase;
}

.form_input {
	padding: 10px 16px;
	font-size: 16px;
	border-radius: 4px;
	border: none;
	width: 90%;
	outline: none;
}

.header_form_button {
	background-color: #d70301;
	width: 200px;
	height: 127px;
	color: white;
	border: none;

	cursor: pointer;
	font-weight: bold;
	font-size: 54px;
	line-height: 55px;
	text-transform: uppercase;
	position: relative;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.header_form_button:hover {
	background-color: #a80401;
}

/* about */

.about {
	margin: 40px 0;
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.about_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 30%;
	flex: 0 0 30%;
	width: 100%;
	text-align: center;
	position: relative;
	margin-bottom: 60px;
}

.about_item_img {
	margin: 0 auto;
	width: 200px;
	height: 200px;
	position: relative;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 40px;
	border: 5px solid white;
	transition: all 0.3s ease;
	filter: grayscale(1);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.about_item_img:hover {
	filter: none;
}

.about_item_title {
	color: black;
	font-size: 18px;
	text-transform: uppercase;
	white-space: nowrap;
	font-weight: 600;
	transition: all 0.3s ease;
	width: min-content;
	a {
		color: black; /* Заміна синього на сірий */
	}
}

.about_item_title:hover {
	transform: scale(1.05);
}

.about_item_title::after {
	content: '';
	display: block;
	width: 30%;
	height: 5px;
	background: #d70301;
	border-radius: 150px;
	margin-top: 4px;
}

.about_item_description {
	text-align: left;
	font-size: 17px;
	display: block;
	font-weight: 300;
	width: 70%;
	color: black;
}

/* Slider */

#comments {
	margin: 30px 0;
	background: url('../assets/images/comment-bg.jpg') center no-repeat;
}

.slider-container {
	position: relative;
	width: 100%;
	max-width: 1100px;
	min-height: 313px;
	margin: auto;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.slide {
	display: none;
	position: relative;
	padding: 50px;
	text-align: center;
	color: white;
}

.slide.active {
	display: block;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.quote {
	font-size: 100px;
	font-weight: bold;
	position: absolute;
	top: 5px;
	left: 15%;
	transform: translateX(-50%);
}

.text {
	position: relative;
	font-size: 18px;
	line-height: 1.6;
	max-width: 70%;
	margin: auto;
	z-index: 1;
}

.author {
	font-size: 14px;
	margin-top: 10px;
	font-style: italic;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: transparent;
	cursor: pointer;
	font-size: 24px;
	padding: 10px;
	border: none;
}

.prev {
	left: 0px;
}

.next {
	right: 0px;
}

/* information */

#information {
	margin: 30px 0;
}

.information {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 100px;
	padding: 20px;
}

.text {
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-size: 18px;
	font-weight: 400;
}

.information_text_title {
	font-size: 32px;
	font-weight: 300;
	color: black;
	line-height: 50px;
}

.information_text_text {
	color: black;
	font-size: 16px;
	font-weight: 300;
}

.small_video {
	display: none;
}

/* Contact */

#contact_us {
	margin: 30px 0;
}

#contact {
	margin: 30px 0;
	position: relative;
	height: 1000px;
}

.contact {
	padding-top: 400px;
	text-align: center;
	color: black;
}

.contact_title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
	color: black;
}

.contact_info {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-size: 20px;
	text-align: left;
	align-items: start;
	width: 30%;
	ul {
		li {
			margin: 12px 0;
			display: flex;
			align-items: center;
			gap: 20px;
			img {
				border: none;
				border-radius: 50%;
				background: #d70301;
				padding: 20px;
				color: #000;
				width: 24px;
				height: 24px;
			}
			a {
				color: black;
				transition: all 0.3s ease;
				&:hover {
					color: #d70301;
				}
			}
		}
	}
}

#map {
	margin: 30px 0;
}

.contact_content {
	display: flex;
	justify-content: space-around;
	gap: 50px;
	align-items: center;
	color: black;
}

.estimate {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.estimate_title {
	font-size: 32px;
	color: black; /* Заміна синього на сірий */
	margin: 0 auto;
}

.contact_form {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.contact_input {
	border: 1px solid black; /* Заміна синього на сірий */
	border-radius: 6px;
}

/* Contact Information */

#contact_information {
	margin: 30px 0 0 0;
	background-color: #808080;
	padding: 70px 0;
	color: #fff;
}

.contact_information {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.contact_information_el {
	display: flex;
	align-items: center;
	gap: 22px;
	transition: all 0.3s ease;
	img {
		width: 32px;
		border: 1px solid #d70301;
		border-radius: 50%;
		background-color: #d70301;
		padding: 16px;
		transition: all 0.3s ease;
		&:hover {
			transform: scale(1.05);
		}
	}
}

.contact_track {
	position: absolute;
	width: 700px;
	height: 370px;
	top: 0%;
	left: -100%;
	background: url('../assets/images/white_track.png') no-repeat;
	background-size: 100%;
	transition: left 1.5s ease-in-out; /* Плавная анимация */
}

.contact_track.visible {
	left: 50%;
	transform: translateX(-50%);
}

.contact_information_el_text {
	font-size: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	a {
		letter-spacing: 2px;
		transition: all 0.3s ease;
	}
}

.contact_information_el_text a:hover {
	color: #8b0200;
}

/* story */

#story {
	margin: 30px 0;
}

.story {
	display: flex;
	justify-content: start;
	gap: 50px;
}

.story_el {
	width: 30%;
	span {
		font-size: 18px;
		font-weight: 600;
		margin-bottom: 12px;
	}
	ul {
		padding: 0;
		li {
			font-size: 16px;
		}
	}
}

.story_list {
	display: flex;
	align-items: center;
	font-size: 18px;
}

.story_list::before {
	content: url('../assets/icons/check.svg');
	padding-inline: 4px;
}

.story_el_text {
	font-size: 16px;
	color: black;
}

/* Footer */
footer {
	margin: 30px 0;
	color: black;
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer_nav_bar {
	text-transform: uppercase;
	font-size: 18px;
	ul {
		li {
			a {
				color: #000;
				transition: all 0.3s ease;
				&:hover {
					color: #d70301;
				}
			}
		}
	}
}
