/* ====== Сброс ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #111;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ====== Шапка ====== */
header {
  background: #0b0b0b;
  border-bottom: 2px solid #1a5e2d;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  color: #1db954;
  font-size: 1.8rem;
  margin: 0;
}

/* ====== Основное меню ====== */
ul.menu,
ul.sub-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.menu {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: #0b0b0b;
}

ul.menu > li {
  position: relative;
}

ul.menu > li > a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #f5f5f5 !important;
  text-decoration: none !important;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

ul.menu > li > a:hover {
  background: #1db954;
  color: #fff !important;
}

/* Подменю */
ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  padding: 0.5rem 0;
  min-width: 180px;
  border-radius: 8px;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 999;
}

ul.sub-menu li {
  width: 100%;
}

ul.sub-menu a {
  padding: 0.5rem 1rem;
  display: block;
  color: #f5f5f5 !important;
}

ul.sub-menu a:hover {
  background: #159442;
}

/* Показ подменю при наведении */
ul.menu > li:hover > ul.sub-menu {
  display: block;
}

/* ====== Социальное меню ====== */
ul.menu-smart.menu-smart-social {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

ul.menu-smart.menu-smart-social li {
  list-style: none !important;
}

ul.menu-smart.menu-smart-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #f5f5f5;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul.menu-smart.menu-smart-social a:hover {
  background: #1db954;
  color: #fff;
}

/* ====== Контент ====== */
section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #1db954;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ====== Кнопки ====== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #1db954;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #159442;
}

/* ====== Подвал ====== */
footer {
  background: #0b0b0b;
  text-align: center;
  padding: 1.5rem;
  color: #aaa;
  border-top: 2px solid #1a5e2d;
}

footer a {
  color: #1db954;
  text-decoration: none;
}

footer a:hover {
  color: #d4af37;
}/* Общий стиль header */
#masthead {
    background-color: #000; /* черный фон */
    color: #fff; /* белый текст по умолчанию */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 999;
}

/* Лого */
#masthead #main-logo img {
    height: 40px; /* подогнать под ваш header */
    width: auto;
}

/* Главное меню */
#masthead .navbar-nav > ul > li > a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 15px 20px;
    transition: color 0.3s ease;
}

/* Hover для ссылок */
#masthead .navbar-nav > ul > li > a:hover,
#masthead .navbar-nav > ul > li.current-menu-item > a {
    color: #1abc9c; /* яркий акцент, например бирюзовый */
}

/* Dropdown меню */
#masthead .drop-menu {
    background-color: #111; /* чуть светлее черного */
    border: 1px solid #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
    display: none; /* скрыто по умолчанию */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
}

#masthead .menu-item-has-children:hover > .drop-menu {
    display: block; /* показываем при наведении */
}

#masthead .drop-menu li a {
    color: #fff;
    padding: 10px 15px;
    display: block;
}

#masthead .drop-menu li a:hover {
    background-color: #1abc9c;
    color: #000;
}

/* Социальные иконки */
#masthead .menu-icons li a {
    color: #fff;
    font-size: 18px;
    margin-left: 10px;
    transition: color 0.3s;
}

#masthead .menu-icons li a:hover {
    color: #1abc9c;
}

/* Мобильное меню */
.mobile-menu-button {
    color: #fff;
    cursor: pointer;
}

.mobile-menu-button:hover .lines {
    background-color: #1abc9c;
}

/* Адаптивность */
@media (max-width: 991px) {
    #masthead .navbar-nav {
        display: none; /* скрыть десктопное меню */
    }
    #masthead .mobile-menu-button {
        display: block;
    }
}/* Основные стили для шапки */
header.navbar {
    background-color: #ffffff; /* фон шапки */
    position: fixed; /* фиксированная шапка */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* тень для глубины */
    padding: 10px 20px;
    transition: all 0.3s ease;
}

/* Контейнер логотипа */
header.navbar #logo-container-mobile {
    display: flex;
    align-items: center;
}

/* Логотип */
header.navbar #main-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Основное меню */
header.navbar .main-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили для ссылок меню */
header.navbar .navbar-main a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: inline-block;
    transition: color 0.3s;
}

header.navbar .navbar-main a:hover,
header.navbar .navbar-main a.active {
    color: #1abc9c; /* цвет при наведении/активной странице */
}

/* Подменю */
header.navbar .drop-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 10px;
    padding: 10px 0;
    list-style: none;
}

header.navbar .menu-item-has-children:hover .drop-menu {
    display: block;
}

/* Социальные иконки */
header.navbar .menu-icons a {
    color: #333333;
    margin-left: 10px;
    font-size: 18px;
    transition: color 0.3s;
}

header.navbar .menu-icons a:hover {
    color: #1abc9c;
}

/* Адаптив для мобильных */
@media (max-width: 991px) {
    header.navbar {
        padding: 10px;
    }
    
    header.navbar .main-menu-container {
        display: none; /* можно добавить мобильное раскрытие меню */
    }
}