/* Лёгкие улучшения главной страницы скина main — разметка не меняется */

/* Фон колонок: мягкий градиент вместо плоского цвета */
#main-wrapper .col-lg-7.bg-dark {
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(40, 167, 69, .14) 0%, transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(13, 110, 253, .12) 0%, transparent 60%),
    #1b1f24 !important;
}
#main-wrapper .bg-dark-2 {
  background: linear-gradient(180deg, #23272d 0%, #1c2025 100%) !important;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05);
}

/* Логотип: немного воздуха */
#main-wrapper .logo img { transition: opacity .2s; }
#main-wrapper .logo:hover img { opacity: .85; }

/* Плашка над заголовком: мягче и аккуратнее */
#main-wrapper h1.bg-success {
  padding: .45rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2fb45a, #1e8e45) !important;
  box-shadow: 0 8px 24px rgba(40, 167, 69, .25);
  font-size: .95rem;
  letter-spacing: .06em;
}
#main-wrapper h2.text-white { letter-spacing: -.02em; line-height: 1.2; }

/* Форма: скругления, подсветка при фокусе */
#main-wrapper #contact-form .form-control {
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
#main-wrapper #contact-form .form-control:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, .18) !important;
}

/* Кнопка: скругление и плавный ховер */
#main-wrapper #submit-btn {
  padding-block: .75rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(40, 167, 69, .28);
  transition: transform .2s, box-shadow .2s;
}
#main-wrapper #submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(40, 167, 69, .38);
}

/* Выбор языка: круглый флаг в «стеклянной» кнопке + аккуратное меню */
#main-wrapper #languageDropdown {
  gap: 8px;
  padding: 5px 10px 5px 5px !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
#main-wrapper #languageDropdown:hover,
#main-wrapper #languageDropdown[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, .35) !important;
  background: rgba(255, 255, 255, .12);
}
#main-wrapper #languageDropdown:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(40, 167, 69, .45); }
#main-wrapper #languageDropdown > img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}
#main-wrapper #languageDropdown::after {
  margin-left: 0;
  border-top-color: rgba(255, 255, 255, .8);
  transition: transform .2s;
}
#main-wrapper #languageDropdown[aria-expanded="true"]::after { transform: rotate(180deg); }

#main-wrapper .langlist .dropdown-menu {
  min-width: 190px;
  margin-top: 8px !important;
  padding: 6px !important;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px !important;
  background: #23272d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45) !important;
}
#main-wrapper .langlist .dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  color: #e6e8eb;
  font-size: 14px;
  text-transform: capitalize;
  transition: background-color .15s;
}
#main-wrapper .langlist .dropdown-item:hover,
#main-wrapper .langlist .dropdown-item:focus { background: rgba(255, 255, 255, .08); color: #fff; }
#main-wrapper .langlist .dropdown-item img {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6);
}

/* Нижняя панель левой колонки: «О нас», телефон, соцсети */
#main-wrapper .col-lg-7 > .container.pb-2 {
  margin-bottom: 18px;
  padding-top: 16px;
  padding-bottom: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
#main-wrapper .col-lg-7 > .container.pb-2 > .row {
  font-size: 14px;
  color: rgba(255, 255, 255, .75) !important;
}
#main-wrapper .col-lg-7 > .container.pb-2 > .row > div > span.me-2 {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #4cd07a;
  font-size: 13px;
}
#main-wrapper .col-lg-7 > .container.pb-2 a.text-white {
  color: rgba(255, 255, 255, .8) !important;
  text-decoration: none;
  transition: color .2s;
}
#main-wrapper .col-lg-7 > .container.pb-2 a.text-white:hover { color: #fff !important; }

/* Соцсети: круглые кнопки, при наведении — фирменный цвет */
#main-wrapper .social-icons li { margin: 2px 4px; }
#main-wrapper .social-icons li a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .8) !important;
  font-size: 15px;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s;
}
#main-wrapper .social-icons li:hover a { transform: translateY(-2px); color: #fff !important; border-color: transparent; }
#main-wrapper .social-icons li.social-icons-facebook:hover a { background: #1877f2; }
#main-wrapper .social-icons li.social-icons-instagram:hover a { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }

/* Копирайт внизу правой колонки */
#main-wrapper .bg-dark-2 > footer {
  padding-top: 14px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
#main-wrapper .bg-dark-2 > footer p {
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, .45) !important;
  font-size: 12.5px !important;
}
#main-wrapper .bg-dark-2 > footer a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .2s;
}
#main-wrapper .bg-dark-2 > footer a:hover { color: #4cd07a; }
