/*
Theme Name: salonsibelle
*/

/* ========== RESET & BASE STYLES ========== */

/* Сокращённый современный reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Rubik', sans-serif;
  color: #fff;
  background: #000;
  line-height: 1.5;
  text-align: center;
}
.header_list {
	/* Делаем родительский контейнер flex, 
	   чтобы элементы (логотип и кнопка) автоматически 
	   встали по сторонам */
	display: flex;
	align-items: center;
	justify-content: space-between; /* Раздвигает их по краям */
	margin-bottom: 20px; /* Если нужно отступ снизу */
  }
  
  /* Стили для логотипа (если нужно) */
  .logoimg img {
	/* Можно задать нужную ширину или убрать */
	width: 180px; 
	transition: transform 0.3s ease;
  }
  
  /* Сами кнопки */
  .m_but {
	/* Делаем кнопку блочным элементом (или inline-block), чтобы
	   можно было легко центрировать текст и управлять отступами */
	display: inline-block;
	text-align: center; /* Текст по центру внутри кнопки */
	
	/* Отступы кнопки (padding) — подберите по вкусу */
	padding: 12px 24px;
  
	/* Пример фонового цвета, рамки и т.д. 
	   (берётся из вашего текущего стиля, если хотите) */
	background: #fff;
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 7px;
	transition: all 0.3s ease;
  }
  
  /* Ховер-эффект для кнопки, если хотите */
  .m_but:hover {
	background: #111;
	color: #fff;
  }
  

/* Базовые элементы */
img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: middle;
}

a {
  color: #12a256;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* Вспомогательные классы для float и очистки */
.clear,
.clr {
  clear: both;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* Выравнивания */
.right {
  float: right;
}
.left {
  float: left;
}
.center {
  text-align: center;
}
.centered {
  display: block;
  margin: 0 auto;
}

/* Утилитарные классы для скрытия */
.hidden {
  display: none !important;
}

/* ========== TYPOGRAPHY ========== */
p,
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 700;
}

h1 {
  color: #12a256;
  font-size: 26px;
  line-height: 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 24px;
  line-height: 30px;
}
h3 {
  font-size: 20px;
  line-height: 26px;
}
h4 {
  font-size: 18px;
  line-height: 24px;
}
h5 {
  font-size: 16px;
  line-height: 22px;
}
h6 {
  font-size: 14px;
  line-height: 20px;
}

/* Цветовые утилиты — оставляем только часто используемые */
.white {
  color: #fff !important;
}
.black {
  color: #000 !important;
}
.green {
  color: #12a256 !important;
}
.red {
  color: #ff0000 !important;
}
.grey {
  color: #808080 !important;
}

/* ========== WRAPPER ========== */
.wrap {
  width: 1220px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  /* при необходимости, можно добавить padding */
}

/* ========== HEADER ========== */

header {
  text-align: left;
  margin-bottom: 20px;
  padding: 10px;
}

/* Логотип */
.logoimg,
.flogoimg {
  width: 180px;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}
.logoimg:hover,
.flogoimg:hover {
  transform: scale(1.05);
}

/* Текстовый вариант логотипа */
.logo,
.flogo {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}
.logo a,
.flogo a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000;
}
.logo:hover,
.flogo:hover {
  transform: scale(1.05);
}

/* ========== MAIN NAV ========== */
.main_nav {
  background: linear-gradient(92deg, #1e283f, rgba(20, 27, 46, 0.6));
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
.main_nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.main_nav > ul > li {
  position: relative;
  padding: 0 15px;
  margin: 5px 0;
}
.main_nav > ul > li > a {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
}
.main_nav > ul > li > a:hover,
.main_nav > ul > li.current-menu-item > a {
  color: #12a256;
}

/* Подменю */
.main_nav > ul > li ul {
  display: none;
  position: absolute;
  z-index: 77;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 10px 0;
  border-radius: 4px;
  background: #edf2fe;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.32);
}
.main_nav > ul > li:hover > ul {
  display: block;
}
.main_nav > ul > li ul li {
  margin: 0;
  padding: 5px 15px;
}
.main_nav > ul > li ul li a {
  color: #222;
  font-size: 15px;
  font-weight: 400;
}
.main_nav > ul > li ul li a:hover {
  color: #12a256;
  text-decoration: underline;
}

/* Кнопка адаптивного меню */
.adapt_menu {
  display: none;
  width: 29px;
  height: 18px;
  position: relative;
  z-index: 1000;
  cursor: pointer;
  margin-left: auto;
}
.adapt_menu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #12a256;
  transition: all 0.2s ease-in-out;
}
.adapt_menu span:nth-child(1) {
  top: 0;
}
.adapt_menu span:nth-child(2) {
  top: 8px;
}
.adapt_menu span:nth-child(3) {
  top: 16px;
}
.adapt_menu.open span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.adapt_menu.open span:nth-child(2) {
  opacity: 0;
}
.adapt_menu.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ========== CONTENT BLOCKS (примерные) ========== */

/* Блок-заголовок */
.main_zag {
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}

/* Пример обёрточных блоков */
.top_main_b {
  margin-bottom: 20px;
  border-radius: 6px;
  padding: 20px 10px 10px;
  background: #202020;
}
.autor_list {
  display: flex;
  align-items: center;
  background: #202020;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 20px;
}
.autor_list_img {
  flex: 0 0 120px;
  margin-right: 20px;
}
.autor_list_img img {
  border-radius: 10px;
}
.autor_list_r {
  font-size: 14px;
  line-height: 20px;
}
.autor_list_r > span {
  display: block;
  font-weight: bold;
  margin-bottom: 3px;
}

/* Примеры кнопок */
a.m_but,
a.d_but,
a.c_but {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 7px;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

a.m_but {
  padding: 12px;
  background: #fff;
  color: #000;
  width: 200px;
  font-size: 14px;
}
a.m_but:hover {
  background: #111;
  color: #fff;
}

a.d_but {
  padding: 12px;
  background: #7ca934;
  color: #fff;
  box-shadow: 0 5px 20px rgba(49, 188, 105, 0.5);
  width: 140px;
  font-size: 14px;
}
a.d_but:hover {
  background: #ff2400;
  box-shadow: 0 5px 30px rgba(49, 188, 105, 0.5);
}

a.c_but {
  padding: 12px;
  background: #12a256;
  color: #fff;
  width: 200px;
  box-shadow: 0 5px 20px rgba(49, 188, 105, 0.5);
}
a.c_but:hover {
  box-shadow: 0 5px 30px rgba(49, 188, 105, 0.5);
}

/* Пример прогресс-бара/полосы */
.param_list {
  background: #202020;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 20px;
}
.param_bt {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.param_bl {
  height: 15px;
  border-radius: 5px;
  background: #08150c;
  margin-bottom: 10px;
}
.param_b_line {
  display: block;
  height: 15px;
  border-radius: 5px;
  background: #a6f128;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  text-align: right;
  padding-right: 10px;
}

/* FAQ */
.faqs_list {
  margin-bottom: 20px;
}
.faq_b {
  background: #202020;
  border-radius: 6px;
  margin-bottom: 12px;
}
.faq_b_title {
  font-weight: bold;
  font-size: 17px;
  line-height: 20px;
  color: #fff;
  position: relative;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.faq_b_title.active {
  color: #7ca934;
}
.faq_b_title::before,
.faq_b_title::after {
  content: "";
  display: block;
  position: absolute;
  right: 10px;
  width: 18px;
  height: 2px;
  background: #a6f128;
  transition: all 0.3s ease;
}
.faq_b_title::after {
  transform: rotate(90deg);
}
.faq_b_title.active::before {
  transform: rotate(180deg);
}
.faq_b_title.active::after {
  transform: rotate(360deg);
}
.faq_b_text {
  display: none;
  padding: 0 10px 10px;
  font-size: 15px;
  line-height: 20px;
}

/* Пример таблиц */
.table,
.entry table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.entry table th {
  background: #323b45;
  color: #fff;
  padding: 10px;
  border: 1px solid #1e283f;
}
.table td,
.entry table td {
  padding: 10px;
  border: 1px solid #323b45;
  background: rgba(255, 255, 255, 0.1);
}

/* Контейнер для горизонтальной прокрутки больших таблиц */
.bigtable {
  display: block;
  width: 100%;
  overflow-x: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* ========== FORMS ========== */
.form_block {
  margin-bottom: 20px;
}
.form_line {
  margin-bottom: 15px;
}
.lab {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.inp,
.ta {
  width: 100%;
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #b2b2b2;
  border-radius: 3px;
  color: #000;
  font-size: 15px;
  margin-bottom: 10px;
}
.ta {
  height: 80px;
  resize: none;
}
.tb_form_sub,
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #12a256;
  background: #ffbc00;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}
.btn:hover,
.tb_form_sub:hover {
  background: #c18f03;
  border-color: #ca2a3c;
}

/* ========== FOOTER ========== */
footer {
  padding: 20px 0;
}
.f_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.copu {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
}

/* Соцсети */
.f_soc {
  margin-bottom: 10px;
  text-align: center;
}
.f_soc ul {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.f_soc li a {
  display: block;
  width: 32px;
  height: 32px;
  background: #000;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.f_soc li a:hover {
  transform: rotate(360deg);
}
.f_soc li img {
  max-height: 20px;
  margin: auto;
  display: block;
}

/* ========== MEDIA QUERIES ========== */

/* До 1260px */
@media (max-width: 1260px) {
  .wrap {
    width: 980px;
  }
}

/* До 1020px */
@media (max-width: 1020px) {
  .wrap {
    width: 760px;
  }
  .adapt_menu {
    display: block;
  }
  .main_nav {
    display: none;
    width: 100%;
  }
  .main_nav ul {
    display: block;
  }
  .main_nav > ul > li {
    display: block;
    padding: 10px 0;
  }
}

/* До 760px */
@media (max-width: 759px) {
  .wrap {
    width: 100%;
    min-width: 300px;
    padding: 0 10px;
  }
  body {
    font-size: 16px;
    line-height: 20px;
  }
  .main_zag {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 15px;
  }
  .autor_list {
    flex-direction: column;
    text-align: center;
  }
  .autor_list_img {
    margin: 0 auto 10px auto;
  }
  .faq_b_title {
    font-size: 16px;
    line-height: 20px;
    padding: 10px 10px;
  }
  .faqs {
    padding: 40px 0;
  }
  .benefits_list {
    display: block;
  }
  .benefits_line {
    width: auto;
  }
  /* Пример уменьшения кнопок */
  a.m_but {
    width: 200px;
    font-size: 13px;
    padding: 8px;
  }
  a.d_but,
  a.c_but {
    width: 200px;
    padding: 10px;
  }
}
