@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&display=swap');

.open-sans {
	font-family: 'Open Sans', serif;
	font-optical-sizing: auto;
	font-weight: weight;
	font-style: normal;
	font-variation-settings: 'wdth' 100;
	font-size: 1.2em;
}

/* Общие стили */
* {
	box-sizing: content-box;
}

body,
html {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
  	overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Шапка сайта */
header {
	background-color: #000000;
	color: #fff;
	padding: 10px 20px;
}

.container {
	max-width: 1200px;
	margin: 2em auto;
	padding: 35px;
}

.header-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	/* При необходимости увеличьте значение */
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #000000;
	color: #fff;
	height: 65px;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 50px;
	margin-right: 10px;
}

/* Десктопная навигация */
.desktop-nav {
	display: none;
	/* по умолчанию скрыта (видна только на десктопе) */
}

.desktop-nav a {
	color: #fff;
	text-decoration: none;
	margin: 0 12px;
	padding: 0 12px;
	background-color: #000000;
	border-radius: 8px;
	transition: background-color 0.9s ease;
}

.desktop-nav a:hover {
    cursor: pointer;
	background-color: #fff;
	color: #000000;
}

/* Гамбургер для мобильного меню */
.hamburger {
	font-size: 28px;
	cursor: pointer;
	display: block;
	margin-right: 10px;
}

/* Скрытый чекбокс */
#menu-toggle {
	display: none;
}

/* Мобильное меню (боковая панель) */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	/* скрыто за пределами экрана */
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.94);
	color: #fff;
	transition: right 1s ease;
	z-index: 1000;
	padding-top: 60px;
}

.mobile-menu nav a {
	display: block;
	padding: 15px 20px;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.3s ease;
	text-align: center;
}

.mobile-menu nav a:hover {
	background-color: #141414;
}

.mobile-menu nav p {
	font-size: 22px;
	margin: 7px;
}

/* При активном чекбоксе показываем мобильное меню */
#menu-toggle:checked ~ .mobile-menu {
	right: 0;
}

/* Основной контент */
main {
	padding: 20px;
}

.aslan-avto {
    font-family: 'Martian Mono', monospace;
	font-size: 160px;
	margin: auto;
	text-align: center;
	cursor: default;
}

/* Медиа-запросы для десктопа */
@media screen and (min-width: 1189px) {
	.desktop-nav {
		display: flex;
	}
	.hamburger,
	.mobile-menu {
		display: none;
	}
}

.close-btn {
	position: absolute;
	top: 10px;
	left: 15px;
	font-size: 30px;
	color: white;
	cursor: pointer;
}

#left-intro {
	margin-left: 38em;
	margin-top: 5em;
	text-align: justify;
	line-height: 1.5;
	width: 40%;
	float: left;
	cursor: default;
}

#right-intro {
	cursor: default;
}

@media screen and (max-width: 768px) {
	body,
	html {
		font-size: 14px;
	}
	.open-sans {
		font-size: 1em;
	}
	.aslan-avto {
		font-size: 44px;
	}
	header {
		font-size: 16px;
	}
	.mobile-menu nav a {
		font-size: 16px;
	}
	#left-intro {
		margin-left: 5em;
		margin-top: 15px;
		text-align: justify;
		line-height: 2.2;
		width: 90%;
	}
	#stat {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 30px;
	}
	#stat img {
		display: none;
	}
	.stat-item {
		flex: 1 1 calc(50% - 15px);
	}
	.vertical-line-2 {
		display: none;
	}
	.vertical-line {
		display: none;
	}
}

.vertical-line {
	width: 1px;
	height: 100px;
	background-color: black;
}

.vertical-line-2 {
	width: 1px;
	height: 100px;
	background-color: black;
}

.stat_num_anim {
	font-size: 48px;
	font-weight: 550;
}

img {
	border-radius: 15px;
}

section {
	margin-bottom: 100px;
}

#stat {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	text-align: center;
}

@media screen and (max-width: 400px) {
	#stat {
		flex-direction: column;
		align-items: center;
	}
}

#stat img {
	width: 200px;
	height: auto;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 200px;
}

.stat-item p {
	margin-bottom: auto;
	margin-top: auto;
	cursor: default;
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

.h2 {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 28px;
	cursor: default;
}

.bi-bi-instagram {
	color: #000000;
}

body:has(#menu-toggle:checked) {
	overflow: hidden;
	height: 100vh;
}

.product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
}

.product-card {
	width: 300px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.2s;
	text-align: center;
	cursor: pointer;
}

.product-card:hover {
	transform: scale(1.05);
}

.product-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.product-info {
	padding: 1em;
}

.product-title {
	font-size: 22px;
	margin: 0.5em 0;
}

.product-price {
	font-size: 22px;
	color: #333;
}

.product-condition {
	font-size: 19px;
	color: #777;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
	padding-top: 150px;
	max-height: 100%;
}

.modal-content {
	background-color: #fff;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 800px;
	border-radius: 17.5px;
}

@media (max-width: 768px) {
	.modal-content {
		height: 150%;
	}
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.modal-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em;
}

.modal-image {
	width: 100%;
	max-width: 200px;
	height: auto;
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');

.contact-section {
    display: flex;
    flex-wrap: wrap;
    height: 80vh;
    font-family: Arial, sans-serif;
}

.contact-left {
    background: #1e1e1e;
    color: white;
    padding: 40px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-section {
        justify-content: center; /* центрируем по горизонтали */
    }
}

@media (max-width: 510px) {
	.contact-left,
    .contact-right iframe {
        width: 90vw;
        height: 90vw;
        max-width: 400px;
	}
}

@media (max-width: 510px) {
	.contact-left {
		min-width: 100px;
	}
}
	

.social-icons {
    display: flex;
    gap: 9px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.icons-wa-inst img {
    filter: brightness(0) invert(1);
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 18px;
    margin: 8px 0;
}

.contact-info .phone {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.contact-right {
    flex: 1;
    min-width: 200px;
}

.contact-right iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-container {
	background-color: #000000;
	color: #fff;
	padding: 20px;
}