/* style.css */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #1a73e8;
	--primary-dark: #0d47a1;
	--secondary-color: #00c853;
	--dark-color: #202124;
	--light-color: #f8f9fa;
	--gray-color: #5f6368;
	--light-gray: #e8eaed;
	--danger-color: #e53935;
	--warning-color: #ffb300;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--transition: all 0.3s ease;
}

body {
	font-family: 'Roboto', sans-serif;
	color: var(--dark-color);
	line-height: 1.6;
	background-color: var(--light-color);
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Навигация */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: var(--shadow);
	z-index: 1000;
	padding: 15px 0;
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--dark-color);
}

.logo-icon {
	color: var(--primary-color);
	margin-right: 8px;
	font-size: 1.8rem;
}

.logo-highlight {
	color: var(--primary-color);
	font-weight: 500;
}

.nav-menu {
	display: flex;
	list-style: none;
}

.nav-menu li {
	margin-left: 30px;
}

.nav-menu a {
	text-decoration: none;
	color: var(--gray-color);
	font-weight: 500;
	font-size: 1rem;
	transition: var(--transition);
}

.nav-menu a:hover {
	color: var(--primary-color);
}

.nav-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Кнопки */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	text-align: center;
	transition: var(--transition);
	cursor: pointer;
	border: none;
	font-family: 'Roboto', sans-serif;
}

.btn-primary {
	background-color: var(--primary-color);
	color: white;
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: rgba(26, 115, 232, 0.1);
	transform: translateY(-3px);
}

/* Герой-секция */
.hero {
	padding: 160px 0 80px;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	overflow: hidden;
}

.hero .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.hero-content {
	flex: 1;
	min-width: 300px;
	padding-right: 30px;
}

.hero-title {
	font-family: 'Roboto', sans-serif;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--dark-color);
}

.hero-subtitle {
	font-size: 1.2rem;
	color: var(--gray-color);
	margin-bottom: 30px;
	max-width: 600px;
}

.hero-buttons {
	display: flex;
	gap: 15px;
}

.hero-visual {
	flex: 1;
	min-width: 300px;
	position: relative;
	height: 350px;
}

.drone-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 200px;
	z-index: 2;
}

.drone {
	width: 100%;
	height: 100%;
	position: relative;
	animation: float 3s ease-in-out infinite;
}

.drone-body {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 40px;
	background-color: var(--dark-color);
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.drone-center {
	width: 30px;
	height: 30px;
	background-color: var(--primary-color);
	border-radius: 50%;
}

.propeller {
	position: absolute;
	width: 40px;
	height: 10px;
	background-color: #555;
	border-radius: 5px;
}

.prop1 {
	top: -20px;
	left: 20px;
}

.prop2 {
	top: 50px;
	left: 20px;
}

.prop3 {
	top: 15px;
	left: -30px;
	transform: rotate(90deg);
}

.prop4 {
	top: 15px;
	left: 70px;
	transform: rotate(90deg);
}

.camera {
	position: absolute;
	top: 15px;
	right: -10px;
	width: 15px;
	height: 15px;
	background-color: var(--secondary-color);
	border-radius: 50%;
}

.signal-animation {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 300px;
}

.signal-ring {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid rgba(26, 115, 232, 0.2);
	animation: ripple 3s linear infinite;
}

.delay-1 {
	animation-delay: 1s;
}

.delay-2 {
	animation-delay: 2s;
}

/* Секции */
.section {
	padding: 80px 0;
}

.section-title {
	font-family: 'Roboto', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 50px;
	color: var(--dark-color);
}

/* О технологии */
.about-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-text p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	color: var(--gray-color);
}

.features-list {
	list-style: none;
	margin-top: 30px;
}

.features-list li {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.features-list i {
	color: var(--primary-color);
	margin-right: 10px;
	font-size: 1.2rem;
}

.about-image {
	flex: 1;
	min-width: 300px;
}

.tech-demo {
	background-color: var(--dark-color);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.screen {
	background-color: #1e1e1e;
	border-radius: 10px;
	overflow: hidden;
	height: 300px;
}

.screen-header {
	background-color: #2d2d2d;
	padding: 12px 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.screen-dots {
	display: flex;
	gap: 8px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.red {
	background-color: var(--danger-color);
}

.yellow {
	background-color: var(--warning-color);
}

.green {
	background-color: var(--secondary-color);
}

.screen-title {
	color: var(--light-gray);
	font-size: 0.9rem;
	font-weight: 500;
}

.screen-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	height: calc(100% - 40px);
}

.map-view {
	flex: 1;
	background-color: #0a3d62;
	border-radius: 8px;
	margin-bottom: 15px;
	position: relative;
	overflow: hidden;
}

.map-view::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
	background-size: 20px 20px;
}

.controls {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}

.joystick {
	width: 60px;
	height: 60px;
	background-color: #333;
	border-radius: 50%;
	position: relative;
}

.joystick::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	background-color: var(--primary-color);
	border-radius: 50%;
}

.data-panel {
	display: flex;
	justify-content: space-between;
	background-color: #2d2d2d;
	border-radius: 8px;
	padding: 12px 15px;
}

.data-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.data-label {
	color: #aaa;
	font-size: 0.8rem;
	margin-bottom: 5px;
}

.data-value {
	color: var(--light-color);
	font-weight: 500;
	font-size: 0.9rem;
}

.active {
	color: var(--secondary-color);
}

/* Возможности */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: white;
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--shadow);
	transition: var(--transition);
	text-align: center;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 70px;
	height: 70px;
	background-color: rgba(26, 115, 232, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--primary-color);
	font-size: 1.8rem;
}

.feature-title {
	font-family: 'Roboto', sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--dark-color);
}

.feature-description {
	color: var(--gray-color);
	line-height: 1.6;
}

/* Применение */
.applications-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.application-card {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.application-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.application-image {
	height: 180px;
	background-size: cover;
	background-position: center;
}

.security {
	background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/img/photo-1.jpg');
}

.delivery {
	background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/img/photo-1.jpg');
}

.agriculture {
	background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/img/photo-1.jpg');
}

.inspection {
	background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/img/photo-1.jpg');
}

.application-content {
	padding: 25px;
}

.application-content h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--dark-color);
}

.application-content p {
	color: var(--gray-color);
	line-height: 1.6;
}

/* Контакты */
.contact-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	background-color: white;
	border-radius: 12px;
	padding: 40px;
	box-shadow: var(--shadow);
}

.contact-info {
	flex: 1;
	min-width: 300px;
}

.contact-info h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--dark-color);
}

.contact-info p {
	color: var(--gray-color);
	margin-bottom: 30px;
}

.contact-details {
	margin-bottom: 30px;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.contact-item i {
	color: var(--primary-color);
	font-size: 1.2rem;
	margin-right: 15px;
	width: 24px;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background-color: rgba(26, 115, 232, 0.1);
	border-radius: 50%;
	color: var(--primary-color);
	font-size: 1.2rem;
	transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-5px);
}

.contact-form {
	flex: 1;
	min-width: 300px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--dark-color);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--light-gray);
	border-radius: 8px;
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.form-response {
	margin-top: 20px;
	padding: 15px;
	border-radius: 8px;
	font-weight: 500;
	display: none;
}

.form-response.success {
	background-color: rgba(0, 200, 83, 0.1);
	color: var(--secondary-color);
	display: block;
}

.form-response.error {
	background-color: rgba(229, 57, 53, 0.1);
	color: var(--danger-color);
	display: block;
}

/* Футер */
.footer {
	background-color: var(--dark-color);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 40px;
}

.footer-logo {
	flex: 1;
	min-width: 300px;
	margin-bottom: 30px;
}

.footer-logo p {
	margin-top: 15px;
	color: #aaa;
	max-width: 300px;
}

.logo .logo-text,
.footer-logo .logo-text {
	color: #aaa;
	font-weight: 300;
}

.navbar .logo .logo-text {
	color: var(--dark-color);
}

.footer-links {
	flex: 0 0 200px;
	margin-bottom: 30px;
}

.footer-links h4 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: white;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #aaa;
	text-decoration: none;
	transition: var(--transition);
}

.footer-links a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #333;
	color: #aaa;
	font-size: 0.9rem;
}

/* Анимации */
@keyframes float {
	0%, 100% {
		transform: translate(-50%, -50%);
	}
	50% {
		transform: translate(-50%, -55%);
	}
}

@keyframes ripple {
	0% {
		transform: scale(0.8);
		opacity: 1;
	}
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

/* Адаптивность */
@media (max-width: 992px) {
	.hero-title {
		font-size: 2.3rem;
	}

	.section-title {
		font-size: 2.2rem;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background-color: white;
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		box-shadow: var(--shadow);
		transform: translateY(-150%);
		transition: var(--transition);
		z-index: 999;
	}

	.nav-menu.active {
		transform: translateY(0);
	}

	.nav-menu li {
		margin: 15px 0;
	}

	.nav-toggle {
		display: block;
	}

	.hero {
		padding: 140px 0 60px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-visual {
		margin-top: 40px;
	}

	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.btn {
		width: 100%;
		margin-bottom: 10px;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 1.8rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.contact-wrapper {
		padding: 25px;
	}
}