/* Подключаем шрифты Geologica */
@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica.ttf");
}

* {
  box-sizing: border-box;

  scroll-behavior: smooth;
  /* Скрываем scrollbar для IE, Edge и Firefox */
  -ms-overflow-style: none; /* IE и Edge */
  scrollbar-width: none; /* Firefox */
}

/* Скрываем scrollbar для Chrome, Safari и Opera */
*::-webkit-scrollbar {
  display: none;
}

.hide_block {
  display: none !important;
}

/* Ошибка validator */
.error {
  color: red;
}

/* Основные и общие стили */

body {
  margin: 0;
  background: black;
  font-family: "Geologica", sans-serif;
}

.main-container {
  width: 1170px;
  margin: 0 auto;
  padding: 32px;
}

section {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: 100px;
}

.section-title {
  text-align: center;
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  width: auto;
  height: auto;
  flex-shrink: 0;
  margin-bottom: 120px;
}

.empty-items-text {
  color: white;
  font-size: 20px;
  text-align: center;
}

/*                  Header                      */
header {
  position: fixed;
  background-color: black;
  width: 100%;
  z-index: 1000;
}

header .main-container {
  display: flex;
  justify-content: space-between;
}

.header__logo__text {
  display: flex;
  width: auto;
  height: 23px;
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
}

.logo__text-white {
  color: white;
}

.logo__text-yellow {
  color: yellow;
}

/* При наведении на лого подсветка */
.logo__text-white-light {
  text-shadow: 1px 1px 2px #fff, 0 0 0.5em #fff, 0 0 0.2em #fff;
}

.logo__text-yellow-light {
  text-shadow: 1px 1px 2px yellow, 0 0 0.5em yellow, 0 0 0.2em yellow;
}
/* END При наведении на лого подсветка END */

.header__menu {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  gap: 75px;
}

.header__menu-item {
  cursor: pointer;
  text-decoration: none;
  color: white;
}

/* При наведении на меню подсветка */
.header__menu-item:hover {
  text-shadow: 1px 1px 2px #fff, 0 0 1em #fff, 0 0 0.2em #fff;
}
/* END При наведении на меню подсветка END */

/*                  Main                      */
main {
  padding-top: 110px;
  width: 100%;
}

/*                  Section: main                      */
section#main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 200px;
}

.main__content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.main__name {
  display: flex;
  flex-direction: column;
  color: white;
  width: 670px;
  height: auto;
  flex-shrink: 0;
  font-size: 64px;
  font-weight: 500;
  cursor: default;
  text-align: center;
}

.main__join-buttons {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main__join-buttons-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.join-button-main {
  display: flex;
  width: 177px;
  height: 52px;
  padding: 16px 51px 16px 50px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 30px;
  background: #faff00;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

/* При наведении на кнопку подсветка */
.join-button-main:hover {
  box-shadow: 0 0 12px #faff00;
}
/* END При наведении на кнопку подсветка END */

.main__image {
  border-radius: 30px;
  box-shadow: 0 0 12px #faff00;
  width: 600px;
  height: 800px;
  background-position: center;
  background-size: cover;
}

/*                  Section: actions                      */
.actions__content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

.actions__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 275px;
  height: auto;
  flex-shrink: 0;
  border-radius: 10px;
  transition: transform 0.2s linear;
}

/* При наведении на карточку подсветка */
.actions__card:hover {
  transform: scale(1.1, 1.1);
  box-shadow: 0 0 12px #faff00;
}
/* END При наведении на карточку подсветка END */

.actions__card img {
  width: 275px;
  height: auto;
  border-radius: 10px;
}

.actions__text {
  color: white;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  height: 120px;
}

.actions__join-button {
  text-align: center;
  width: auto;
  height: auto;
  padding: 6px;
  flex-shrink: 0;
  border-radius: 30px;
  background: #faff00;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
}

/* При наведении на кнопку подсветка */
.actions__join-button:hover {
  box-shadow: 0 0 12px #faff00;
}
/* END При наведении на кнопку подсветка END */

/*                  Section: advantages                      */
.advantages__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.advantages__row {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.advantages__element {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 570px;
  height: 75px;
}

.advantages__image {
  width: 42px;
  height: 52px;
}

.advantages__text-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*                  Section: tariffs                      */
.tariff__content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

.tariff__card {
  width: 255px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #222;
  transition: transform 0.2s linear;
}

.tariff__card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  border-bottom: 1px solid black;
  padding: 22px 0;
  color: white;
}

.tariff__card-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.tariff__price {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  width: 275px;
  height: 24px;
  flex-shrink: 0;
}

.tariff__card ul {
  list-style: none;
  width: 240px;
  height: 167px;
  margin: 25px 14px 25px 23px;
  padding-left: 0;
}

.tariff__card li {
  display: flex;
  align-items: center;
  width: 220px;
  height: 30px;
  flex: 1 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 15px;
}

/* Галка у элемента списка */
.tariff__card li:last-child {
  margin-bottom: 0px;
}

.tariff__card li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 12px;
  background: url("../img/ok.svg");
  display: inline-block;
  flex-shrink: 0;
}

.tariff__card li.spec_condition {
  text-shadow: 1px 1px 5px yellow, 0 0 0.5em yellow, 0 0 0.1em yellow;
}
/* END Галка у элемента списка END */

.tariff__card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 25px 0;
}

.tariff__card-join-button {
  text-align: center;
  width: 107px;
  height: 30px;
  padding: 6px 0px;
  flex-shrink: 0;
  border-radius: 30px;
  background: #faff00;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* При наведении на кнопку и карточку подсветка */
.tariff__card:hover {
  transform: scale(1.1, 1.1);
  box-shadow: 0 0 12px #faff00;
}

.tariff__card-join-button:hover {
  box-shadow: 0 0 12px #faff00;
}
/* END При наведении на кнопку и карточку подсветка END */

/*                  Section: about                      */
.about__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.about__text {
  color: white;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 161.7%;
  width: 472px;
  height: auto;
}

.about__text p {
  text-indent: 20px;
}

/*                  Section: where                      */
.where__content {
  display: flex;
  align-items: center;
  gap: 100px;
}

.where__text {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 161.7%;
  width: 472px;
  height: 330px;
  flex-shrink: 0;
}

.where__text p {
  text-indent: 20px;
}

/*                  Section: news                      */
.news__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
}

.news-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.news-item__name {
  font-size: 30px;
  text-align: center;
}

.news-item__img {
  max-width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 24px #faff00;
}

.news__all-news-link {
  color: white;
  text-decoration: none;
  text-align: center;
  padding-top: 50px;
  font-size: 20px;
}

/*                  News list                      */
#news_list {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.news_list__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.news_list__item-name {
  font-size: 30px;
  text-align: left;
}

.news_list__item-publish-date {
  padding-top: 10px;
  text-align: right;
}

/*                  News list pager                  */
.news-list-pager {
  display: flex;
  gap: 15px;
}

.news-list-pager__link {
  text-decoration: none;
  color: white;
}

.news-list-pager__link:hover {
  color: white;
  text-shadow: 1px 1px 2px #fff, 0 0 0.5em #fff, 0 0 0.2em #fff;
}

.news-list-pager__active-page {
  color: yellow;
  text-shadow: 1px 1px 2px yellow, 0 0 0.5em yellow, 0 0 0.2em yellow;
}

/*                  News detail                      */
.news-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  gap: 20px;
}

.news-detail__name {
  font-size: 30px;
}

.news-detail__main-picture {
  max-width: 100%;
  height: auto;
}

.news-detail__to-list-link {
  color: white;
  text-decoration: none;
}

.news-detail__right-side {
  margin-left: auto;
}

/*                  Footer                      */
.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.contact-links img {
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

.contact-links img:hover {
  box-shadow: 0 0 12px #faff00;
}

/*                  Modal join                      */
#fade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fade.opened {
  opacity: 1;
  pointer-events: auto;
}

#validate_sign_up_form_error {
  max-width: 350px;
  text-align: center;
}
.modal__join, .modal__end-join {
  align-items: center;
  margin: 0;
  transform: none;
  color: yellow;
  max-width: 400px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 0 12px #faff00;
  background: black;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative !important;
}

#fade.opened .modal__join, .modal__end-join {
  opacity: 1;
  transform: translateY(0);
}

.modal__join_title {
  font-weight: bold;
  text-align: center;
}

.modal__join form {
  display: inline-flex;
  gap: 5px;
  flex-direction: column;
  align-items: flex-start;
}

.modal__join form input {
  width: 100%;
  height: 30px;
  border-radius: 10px;
  border: none;
  background-color: white;
}

.modal__join form input:focus {
  outline: none;
  border: none !important;
  box-shadow: 0 0 12px #faff00 !important;
}

.modal__join form input.select2-search__field:focus {
  box-shadow: none !important;
}

.cancel-button {
  font-family: "Geologica", sans-serif;
  color: yellow;
  text-align: center;
  width: 120px;
  border-radius: 10px;
  background-color: black;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
}

.send-button {
  font-family: "Geologica", sans-serif;
  text-align: center;
  width: 120px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  background-color: yellow;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
}

.cancel-button:hover,
.send-button:hover {
  box-shadow: 0 0 12px #faff00;
}

/* Мухлюем с select2 стилями ;) */
.client-info-form form .select2-selection {
  background-color: white;
  border: none;
  height: auto;
  color: black;
}

.modal__join form .select2-container--focus {
  outline: none;
  border: none;
  box-shadow: 0 0 12px #faff00;
  border-radius: 10px;
}
/* END Мухлюем с select2 стилями ;) END */

.modal__join form textarea {
  width: 100%;
  min-height: 40px;
  min-width: 400px;
  max-height: 100px;
  max-width: 400px;
  border-radius: 10px;
  background-color: white;
}

.modal__join form textarea:focus {
  outline: none;
  box-shadow: 0 0 12px #faff00;
}

.modal__join form .error-fields {
  display: none;
  color: red;
}

.modal__join_footer {
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

/*                  Modal end-join                      */
.modal__end-join {
  text-align: center;
}

/* Стили для Select2 */
.select2-container {
  width: 100% !important;
  z-index: 2100 !important;
}

.select2-container--default .select2-selection--multiple {
  background-color: white !important;
  border: none !important;
  border-radius: 10px !important;
  min-height: 30px !important;
}

.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: none !important;
  outline: none !important;
  box-shadow: 0 0 12px #faff00 !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #faff00 !important;
  border: none !important;
  border-radius: 5px !important;
  color: black !important;
  padding: 2px 8px !important;
  margin: 2px !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  color: black !important;
  margin-right: 5px !important;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #faff00 !important;
  color: black !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 0 !important;
}

.select2-dropdown {
  background: #fff !important;
  color: #000 !important;
}

.select2-results__option {
  color: #000 !important;
  background: #fff !important;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #4a90e2 !important;
  color: #fff !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #faff00 !important;
  color: #000 !important;
}

.select2-container--open .select2-dropdown {
  margin-top: 0 !important;
  left: 0 !important;
}

.about__carousel {
  width: 600px;
  height: 450px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 24px #faff00;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__carousel .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.swiper-pagination-bullet {
  width: 20px !important;
  height: 10px !important;
  border-radius: 8px !important;
  margin: 0 6px !important;
  background: #000;
  opacity: 1 !important;
  transition: background 0.2s;
}

.swiper-pagination-bullet-active {
  background: #faff00 !important;
}

.select2-container--default .select2-selection--multiple {
  border-radius: 10px !important;
}
