@import url(reset.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
	overflow-x: hidden;
	scroll-behavior: smooth;
	font-family: 'Montserrat Alternates', sans-serif;
}

/* SECTION ABOUT COMPANY!!! */
.about-section {
	background: linear-gradient(90deg, #ff8c8c, #8c9bff);
	padding: 40px;
	border-radius: 16px;
	position: relative;
	min-height: 500px;
	color: #fff;
	max-width: 1400px;
	margin: 0 auto;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.about-text {
	max-width: 860px;
}

.about-text h1 {
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: bold;
}

.about-text h2 {
	font-size: 30px;
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}

.about-text p {
	font-size: 28px;
	line-height: 1.5;
	color: #f0f0f0;
}

.logo-circle {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	will-change: transform;
	transition: transform 0.15s ease-out;
}

.logo-circle img {
	max-width: 60%;
	max-height: 60%;
}

.logo-1 {
	top: 48px;
	left: 1098px;
	right: 52px;
}
.logo-2 {
	top: 123px;
	left: 932px;
	right: 227px;
}
.logo-3 {
	top: 261px;
	left: 1098px;
	right: 52px;
}
.logo-4 {
	top: 336px;
	left: 923px;
	right: 227px;
}

@media (max-width: 1200px) {
	.logo-1,
	.logo-2,
	.logo-3,
	.logo-4 {
		position: static;
		margin: 10px;
	}

	.about-section {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.logo-grid {
		display: grid;
		grid-template-columns: repeat(2, 80px);
		grid-gap: 15px;
		margin-top: 30px;
	}

	.logo-circle {
		width: 80px;
		height: 80px;
		transform: none !important;
	}
}

/* SECTION STATISTIC'S */
.stats-section {
	background: #fff;
	border: 2px solid #000;
	border-radius: 12px;
	padding: 10px 10px;
	max-width: 1400px;
	margin: 40px auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.stat-item {
	flex: 1 1 250px;
	text-align: center;
	margin: 20px 10px;
}

.stat-number {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 10px;
}

.stat-line {
	height: 6px;
	width: 80px;
	margin: 0 auto 15px auto;
	border-radius: 3px;
	background: linear-gradient(90deg, #ff8c8c, #8c9bff);
}

.stat-text {
	font-size: 16px;
	font-weight: 500;
	color: #222;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.stat-number {
		font-size: 36px;
	}

	.stat-text {
		font-size: 14px;
	}

	.stat-line {
		width: 60px;
	}
}

/* ГРОЗНЫЙ МОЛЛ */
.text-project {
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 10px;
}

.text-project p {
	font-size: 40px;
	font-weight: 500;
}

.mall-section {
	position: relative;
	max-width: 1200px;
	margin: 20px auto;
	overflow: hidden;
	border-radius: 12px;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.mall-section img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.5s ease;
}

.mall-content {
	position: absolute;
	bottom: 30px;
	left: 30px;
	color: #fff;
	transition: opacity 0.5s ease-in-out;
}

.mall-content h3 {
	font-size: 48px;
	margin: 0 0 5px 0;
	font-weight: 600;
}

.mall-content h1 {
	font-size: 96px;
	margin: 0;
	font-weight: 600;
}

.mall-button {
	position: absolute;
	z-index: 1;
	color: black;
	font-size: 24px;
	top: 50%;
	left: 40%;
	border: 1px solid black;
	border-radius: 10px;
	width: 250px;
	height: 60px;
	padding: 12px 24px;
	background: transparent;
	overflow: hidden;
	cursor: pointer;
	pointer-events: none;

	opacity: 0;
	transform: translateY(150px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.mall-button::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0%;
	background: black;
	z-index: -1;
	transition: height 0.5s ease;
}

.mall-button:hover::before {
	height: 100%;
}

.mall-button:hover {
	color: white;
	font-weight: 600;
}

.mall-section:hover img,
.mall-section:hover .mall-content {
	opacity: 0.5;
}

.mall-section:hover .mall-button {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

@media (max-width: 768px) {
	.mall-content h1 {
		font-size: 24px;
	}

	.mall-content h3 {
		font-size: 14px;
	}

	.mall-button {
		width: 180px;
		height: 50px;
		font-size: 16px;
		padding: 10px 20px;
	}
}

/* DERBENT PLAZA */
.hotel-section {
	position: relative;
	max-width: 1200px;
	margin: 20px auto;
	border-radius: 12px;
	overflow: hidden;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.hotel-section img {
	width: 100%;
	display: block;
	transition: opacity 0.5s ease;
}

.hotel-content {
	position: absolute;
	bottom: 30px;
	left: 30px;
	color: #fff;
	transition: opacity 0.5s ease;
}

.hotel-content h3 {
	font-size: 48px;
	margin: 0 0 5px;
	font-weight: 600;
}

.hotel-content h1 {
	font-size: 96px;
	margin: 0;
	font-weight: 600;
}

.hotel-button {
	position: absolute;
	z-index: 1;
	color: black;
	font-size: 24px;
	top: 50%;
	left: 40%;
	border: 1px solid black;
	border-radius: 10px;
	width: 250px;
	height: 60px;
	padding: 12px 24px;
	background: transparent;
	overflow: hidden;
	cursor: pointer;
	pointer-events: none;

	opacity: 0;
	transform: translateY(150px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.hotel-button::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0%;
	background: black;
	z-index: -1;
	transition: height 0.5s ease;
}

.hotel-button:hover::before {
	height: 100%;
}

.hotel-button:hover {
	color: white;
	font-weight: 600;
}

.hotel-section:hover img,
.hotel-section:hover .hotel-content {
	opacity: 0.5;
}

.hotel-section:hover .hotel-button {
	opacity: 1;
	pointer-events: auto;
	transform: translate(0);
}

@media (max-width: 768px) {
	.hotel-content h1 {
		font-size: 24px;
	}

	.hotel-content h3 {
		font-size: 14px;
	}

	.hotel-button {
		width: 180px;
		height: 50px;
		font-size: 16px;
		padding: 10px 20px;
	}
}

/* PROJECT FORM */
.project-section {
	background: url('/assets/background_form_project_v2.svg') no-repeat center;
	padding: 60px 20px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 20px;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.project-form {
	background: #fff;
	border-radius: 20px;
	padding: 40px 30px;
	max-width: 600px;
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-form h2 {
	font-size: 42px;
	margin-bottom: 15px;
	font-weight: 600;
}

.project-form p {
	font-size: 16px;
	color: #333;
	margin-bottom: 25px;
	line-height: 1.2;
}

.project-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	color: #333;
	cursor: default;
}

.project-form input,
.project-form textarea {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
	box-sizing: border-box;
	font-size: 14px;
}

.project-form textarea {
	resize: none;
	min-height: 80px;
}

.project-button {
	position: relative;
	border: 1px solid black;
	border-radius: 10px;
	width: 100%;
	height: 50px;
	background: transparent;
	overflow: hidden;
	cursor: pointer;
	transition: color 0.5s ease, font-weight 0.5s ease;
	font-size: 16px;
	color: black;
	z-index: 0;
}

.project-button span {
	position: relative;
	z-index: 2;
	transition: color 0.5s ease;
}

.project-button::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0%;
	background: black;
	color: white;
	z-index: 1;
	transition: height 0.5s ease;
}

.project-button:hover::before {
	height: 100%;
}

.project-button:hover span {
	color: white;
	font-weight: 600;
}

@media (max-width: 768px) {
	.project-section {
		justify-content: center;
		padding: 40px 15px;
	}

	.project-form {
		padding: 25px 20px;
	}

	.project-form h2 {
		font-size: 22px;
	}

	.project-button {
		font-size: 14px;
		height: 45px;
	}
}

/* СЕКЦИЯ С ИНФОРМАЦИЕЙ  */
.contacts-section {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 20px;
}

.contact-card {
	background: #fff;
	border: 2px solid #000;
	border-radius: 12px;
	padding: 10px 35px;
	width: 400px;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	align-items: center;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.3s;
}

.contact-card h2 {
	font-size: 26px;
	margin: 0 0 5px 0;
}

.contact-card .city {
	font-size: 20px;
	margin-bottom: 15px;
}

.contact-card .line {
	height: 6px;
	width: 100%;
	background: linear-gradient(90deg, #f87171, #8b5cf6);
	border-radius: 4px;
	margin: 10px 0 15px 0;
}

.contact-card p {
	text-align: start;
	font-size: 18px;
	font-weight: 500;
	color: #222;
	margin: 10px 0;
	line-height: 1.5;
}

.contact-card a.phone {
	display: inline-block;
	margin-top: 15px;
	font-size: 32px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-card a.phone:hover {
	color: #555;
}

.badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 6px;
	background: #333;
	color: white;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 6px;
	width: 150px;
	height: 35px;
}

@media (max-width: 768px) {
	.contact-card {
		width: 100%;
		max-width: 350px;
	}

	.contact-card h2 {
		font-size: 22px;
	}

	.contact-card a.phone {
		font-size: 18px;
	}
}

.about-section.visible,
.stats-section.visible,
.contact-card.visible,
.mall-section.visible,
.hotel-section.visible,
.project-section.visible {
	opacity: 1;
	transform: translateY(0);
}

.popup-message {
	position: fixed;
	left: 50%;
	bottom: 10%;
	transform: translate(-50%, -50%) scale(0.9);
	background: #fff;
	border-radius: 10px;
	padding: 20px 30px;
	font-size: 18px;
	color: #111;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s ease;
	z-index: 1000;
}

.popup-message.show {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;
}

.form-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 2000;
}

.form-loader.active {
	opacity: 1;
	pointer-events: all;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #ccc;
	border-top-color: #111;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
