* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif;
	flood-color: #333;
	overflow: hidden; /* нельзя прокручивать страницу вверх вниз */
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
	color: #333;
    display: flex;
    align-items: center;
    justify-content: center; /* выравнивание - горизонталь */
    padding: 0 40px;
    z-index: 1000;	 
	border-bottom: 2px solid #eee; 	/* 2px - толщина, solid - стиль, - цвет */
	font-size: 20px;
}

.nav {
    display: flex;
	align-items: center; /* выравнивание - вертикаль */	
	height: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
	text-align: center;
}

.nav a {
    text-decoration: none;
	color: #333;
	display: inline-block;
    padding: 20px 10px;
}

.nav a:hover {
    text-decoration: none;
	background: #eee;
	animation: jump 0.4s ease;
}

@keyframes jump {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-3px); }
    60%  { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

html {
    scroll-behavior: smooth;
}

.lang-switch {
	position: fixed;
	right: 5%;      /* прижать к левому краю */
	align-items: center; /* выравнивание - вертикаль */
    margin-left: 50px;
}

.lang-switch b {
    width: 30px;
    cursor: pointer;
    margin-left: 10px;
	color: #333;
}

.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.section {
    height: 100vh; /* Занимает весь экран */
    display: flex;
    padding-top: 70px;
    overflow: hidden;
}

.section h1 {
	font-weight: 100;
	font-size: 40px;
	letter-spacing: 1px;
	padding-top: 10px;
	/*text-align: left;  Горизонтально - слева (по умолчанию) */
	vertical-align: top; /* Вертикально - сверху */
	color: #333;
}

.section h3 {
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 1px;
	padding-top: 10px;
	color: #333;
}

.section p {
	padding-top: 10px;
	font-weight: 100;
	font-size: 18px;
	color: #333;
}

.section hr{
    border: none; 
	border-top: 1px solid #bbb; 
	width: 90%;
	margin-top: 10px;
}
/* ---------- ЛЕВАЯ И ПРАВАЯ ЧАСТИ ---------- */

.left, .right {
    width: 50%;
    padding-top: 60px;
	padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    transition: all 1s ease;
}

/* начальное состояние */
.left {
	vertical-align: top;
	padding-left: 70px;
	padding-right: 15px;
    transform: translateX(-5%);
    opacity: 0;
}

.right {
	padding-right: 70px;
	padding-left: 15px;
    transform: translateX(5%);
    opacity: 0;
}

/* активное состояние — сходятся к центру */
.section.active .left {
    transform: translateX(0);
    opacity: 1;
}

.section.active .right {
    transform: translateX(0);
    opacity: 1;
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius: 0px; /* Скругление всех углов на 15px */
}

/* ---------- СПЕЦИАЛЬНЫЙ 4 РАЗДЕЛ ---------- */

.special {
    display: flex;
}

.menu-left {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    transition: all 1s ease;
    transform: translateX(-5%);
    opacity: 0;
}

.menu-left button {
    padding: 10px;
    cursor: pointer;
}

.content-right {
    width: 75%;
    position: relative;
    overflow: hidden;
    transition: all 1s ease;
    transform: translateX(5%);
    opacity: 0;
}

.special.active .menu-left {
    transform: translateX(0);
    opacity: 1;
}

.special.active .content-right {
    transform: translateX(0);
    opacity: 1;
}

.tab-content {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease;
    padding: 60px;
}

.tab-content.active {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- КАРТА ---------- */
.right iframe { 
    width: 100%; 
	height: 100%; 
	border:0; 
	max-width:1000px; 
	allowfullscreen: none; 
	loading: lazy; 
	referrerpolicy: strict-origin-when-cross-origin;
}

/* ---------- АДАПТИВ ---------- */

@media(max-width: 900px) {

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        background: white;
        width: 100%;
        left: 0;
        padding: 20px;
    }

    .nav ul {
        flex-direction: column;
    }

    .burger {
        display: block;
    }

    .section {
        flex-direction: column; /* ставим друг под друга */
    }

    .left, .right {
        width: 100%;
    }

    /* на мобильных выезд сверху и снизу */
    .left {
        transform: translateY(-100%);
    }

    .right {
        transform: translateY(100%);
    }

    .section.active .left,
    .section.active .right {
        transform: translateY(0);
    }

    .menu-left {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .content-right {
        width: 100%;
    }
}
