/* Общие стили */
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;
    width: 100%;
    background-color: #1A1A1A;

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

/* НАДПИСЬ КОНТАКТЫ | ОБРАТНАЯ СВЯЗЬ */
.text-contacts {
    padding: 15px;
    margin-left: 90px;
    margin-top: 50px;

    position: relative;
    text-decoration: none;
}

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

.section-contact {
    display: flex;
    flex-direction: column;
}
/* НАДПИСЬ КОНТАКТЫ | ОБРАТНАЯ СВЯЗЬ */



.text-obrat {
    align-self: flex-start;
    width: 50%;
    position: absolute;
    color: #fff;
    max-width: 400px;
    margin: 8% 90px;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 30px;
    display: flex;
    flex-direction: column;

    /* ГРАДИЕНТ */
    background-image: radial-gradient( #00c6ff,  #0072ff, #004e92);
    box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.9);
}

.text-obrat2 {
    text-align: center;
    margin: 0 5px;
}

.text-obrat h2 {
    text-align: center;
    margin-bottom: 20px;
}

.text-obrat2 h1, h3 {
    margin-bottom: 40px;
    color: #fff;
}

.text-obrat2 h1 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.text-obrat input,
.text-obrat textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.text-obrat button {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.text-obrat button:hover {
    background-color: #fff;
    transform: scale(1.1);
    color: black;
}



/* ИНФОРМАЦИЯ */
.container-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contacts {
    display: flex;
    align-self: center;
    margin: 0 auto;
    margin-left: auto;
    margin-right: 0;
}

.contacts-item {
    display: flex;
    margin: 0 auto;
}

.contacts-item1,
.contacts-item2,
.contacts-item3 {
    display: flex;
    margin: 60px 80px;
    flex-direction: column;

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

.contact-adress {
    display: flex;
    text-align: center;
    margin: 60px 800px;
    flex-direction: column;

    width: 800px;
    height: 140px;

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


.contacts-item2 p,
.contacts-item3 p,
.contact-adress {
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
}

.contact-adress p{
    margin-top: 10px;
}

.contacts-item1 p {
    text-align: center;
    margin-top: 10px;
    font-size: 1em;
    color: #fff;
}

.phone-link {
    text-align: center;
    margin-top: 10px;
    font-size: 1em;
    color: #fff;
}

.hr {
    text-align: center;
    margin-top: 10px;
    font-size: 1em;
    color: #fff;
}

.big-input {
    font-size: 0.9rem;
}

a[href^="tel:"] {
    color: #0072ff; /* Цвет Gmail #d93025 */
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #0072ff;
    border-radius: 10px;
    transition: all 0.3s;
    margin-top: 30px;
}

a[href^="tel:"]:hover {
    background-color: #0072ff;
    color: white;
}

a[href^="mailto:"] {
    color: #0072ff; /* Цвет Gmail #d93025 */
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #0072ff;
    border-radius: 10px;
    transition: all 0.3s;
}

a[href^="mailto:"]:hover {
    background-color: #0072ff;
    color: white;
}

.map-link {
    color: #0072ff;                /* Цвет текста */
    text-decoration: none;         /* Убираем подчеркивание */
    font-weight: bold;             /* Жирный шрифт */
    padding: 5px 10px;             /* Отступы */
    border: 1px solid #0072ff;     /* Рамка */
    border-radius: 10px;            /* Скругление углов */
    transition: all 0.3s ease;     /* Плавное изменение при наведении */
    display: inline-block;
    margin-top: 15px;
}

.map-link:hover {
    background-color: #0072ff;     /* Фон при наведении */
    color: #ffffff;                /* Цвет текста при наведении */
    text-decoration: none;
}



.social-icons {
    display: flex;
    gap: 50px;
    /* justify-content: center; */
    margin-left: 57%;
    /* margin-top: 20px; */
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease; /* Плавная анимация */
    /* box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.9); */
}

/* Эффект наведения (hover) */
.icon:hover {
    transform: scale(1.1); /* Увеличение */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
    box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.6); 
}


/* КАРТА С ПОЛОСКОЙ */
.theme_dark_map {
    filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

.map {
    margin-top: 150px;
    background-color: #1A1A1A;
}

.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: 2px solid #0d47a1;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

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