/* Общие стили */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #121212; 

    /* ДЛЯ ФУТЕРА */
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* ДЛЯ ФУТЕРА */
}

*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Общие стили */


/* Фиксированная шапка */
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: radial-gradient( #00c6ff,  #0072ff, #004e92);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; 

    /* ЧТО БЫ DIV НЕ ПРОВАЛИВАЛСЯ */
    height: 100px;
}

.main-menu .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: 70%;
    margin-left: 300px;
    margin-right: 300px;
    padding: 0 20px;
}

.main-menu .header-content img {
    height: 60px;
    position: static;
    transform: none;
    margin: 0;
    transform: scale(1.3);
}

/* .logo {
    margin: 0 100px;
} */

/* ВХОД РЕГИСТРАЦИЯ ШАПКА */
.login-mainheader {
    margin-right: -250px;
}

.login-header a {
    text-decoration: none;
    color: #fff;

    /* margin-right: -250px; */
    position: relative;
    display: flex;
    justify-content: flex-end;

    font-weight: bold;
    padding: 4px 5px;
    z-index: 1;
    transition: transform 0.4s ease-out, color 0.4s ease-out;
    /* letter-spacing: 0.5px; */
}

.login-header_1 {
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    border-right: none;
}


.login-header a:hover {
    /* transform: translateY(-3px); */
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.login-header a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-image: radial-gradient(circle, #2196f3, #0d47a1);
    border-radius: 10px;
    z-index: -1;
    transition: width 0.4s ease-out;
    opacity: 0.7;
}

.login-header a:hover::after{
    width: 100%;
}
/* ВХОД РЕГИСТРАЦИЯ ШАПКА */
/* Фиксированная шапка */


/* ----- НАВИГАЦИЯ ---- */
.nav-container {
    display: flex;
    gap: 50px; /* Расстояние между левой и правой навигацией */
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 50px; /* Расстояние между ссылками */
}

.nav-left a,
.nav-right a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease-out, color 0.4s ease-out;
    letter-spacing: 0.5px;
}

.nav-left a:hover,
.nav-right a:hover {
    transform: translateY(-3px);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-image: radial-gradient(circle, #2196f3, #0d47a1);
    border-radius: 10px;
    z-index: -1;
    transition: width 0.4s ease-out;
    opacity: 0.7;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    width: 100%;
}
/* ----- НАВИГАЦИЯ ---- */




/* ---- MAIN ---- */

main {
    flex: 1 0  auto;

    /* ЧТО БЫ DIV НЕ ПРОВАЛИВАЛСЯ */
    padding-top: 100px;
}



/* НАДПИСЬ ГЛАВНАЯ */
.text-contacts {
    padding: 16px 20px;
    margin-left: 90px;
    margin-top: 50px;
    top: 0;
    left: 0;

    position: absolute;
    text-decoration: none;
    z-index: 2;

    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: inline-block;
}

.text-contacts::before {
  content: ''; 
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 8px;
  background-color: #0072ff; 
  border-radius: 3px; 
} 

.section-contact {
    display: flex;
    flex-direction: column;
}
/* НАДПИСЬ ГЛАВНАЯ */



.hero-section {
    position: relative;
    width: 100%;
    min-height: 110vh; /* Занимает всю высоту видимой области */
    display: flex;
    align-items: center; /* Центрируем контент вертикально */
    justify-content: center; /* Центрируем контент горизонтально */
    text-align: start;
    overflow: hidden; /* Чтобы фон не вылезал за пределы */
    z-index: 1; /* Поверх body, но ниже некоторых элементов */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url(../photo/fone2.jpg); /* Путь к вашему фоновому изображению */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Фон будет оставаться на месте при прокрутке */
    filter: brightness(0.7) blur(0px); /* Затемняем и слегка размываем фон */
    z-index: -1; /* Помещаем его позади контента */
}

.hero-content {
    position: relative;
    z-index: 1; /* Контент над фоном */
    max-width: 1200px; /* Ограничиваем ширину контента */
    padding: 20px;
}

.text-container {
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный черный фон для текста */
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px); /* Эффект размытия фона за текстом */
    display: inline-block; /* Чтобы фон адаптировался к контенту */
}

.hero-section h1 {
    font-size: clamp(2em, 2.5vw, 3.5em); /* Адаптивный размер шрифта */
    margin-bottom: 30px;
    color: #e0e0e0;
    /* text-shadow: 0 0 15px rgba(3, 64, 179, 0); Некое свечение */
}

.hero-section p {
    font-size: clamp(1em, 2.5vw, 1.2em); /* Адаптивный размер шрифта */
    line-height: 1.7;
    margin-bottom: 25px;
    color: #e0e0e0;
    opacity: 0.95;
}

.hero-section p:last-child {
    margin-bottom: 0; /* Убираем нижний отступ у последнего параграфа */
}





/* ---- ДРУГИЕ СЕКЦИИ ---- */
.content-section {
    background-color: #1A1A1A; /* Более темный фон для других секций */
    padding: 120px 20px; /* Большой отступ сверху и снизу */
    text-align: center;
    position: relative;
    z-index: 1;
}

.content-section h1 {
    font-size: clamp(2em, 4vw, 3em);
    margin-bottom: 30px;
    color: #00bcd4; /* Цвет заголовков других секций */
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #ccc;
    opacity: 0.9;
}


/* КАРТА С ПОЛОСКОЙ */
.map {
    background-color: #1A1A1A;
}

.theme_dark_map {
    filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

.line {
    display: flex;
    width: 70%;
    height: 2px; /* Толщина центральной части */
    background: linear-gradient(
    to right,
    transparent 0%,
    #00c6ff 50%, 
    #004e92 80%, 
    transparent 100%);
    border: none;
    /* margin-bottom: 70px; */
    margin-left: 18%;
    margin-top: 220px;
    padding: 2px;
}

.text-map_main {
    display: flex;
    position: absolute;
    justify-content: center;
    margin-top: 45px;
    margin-left: 45%;

    background-color: rgba(0.9);
    box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.9);
    border-radius: 30px;
    padding: 15px;
}

.map-text {
    color: #fff;
    font-size: 1.9em;
}
/* КАРТА С ПОЛОСКОЙ */


/* Футер */
.footer {
    background-color: #101010; /* Очень темный фон для футера */
    color: #bbb;
    padding: 20px 30px;
    text-align: center;
    border-top: 4px solid #0d47a1;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.footer p {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.8;
}


/* Для экранов меньше 768px */
/* @media (max-width: 768px) {
  .main-menu,
  .header-content {
    flex-direction: column; 
    display: flex;

  }
} */





