/* =========================
   ОСНОВНЫЕ СТИЛИ САЙТА
========================= */







body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  background: #f5f7f2;
  color: #333;
  line-height: 1.7;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

/* =========================
   ГОРИЗОНТАЛЬНОЕ МЕНЮ
========================= */

.main-menu {
  width: 100%;
  background: linear-gradient(90deg, #2d572c, #4e7d32);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-menu ul li {
  position: relative;
}

.main-menu ul li a {
  display: block;
  padding: 18px 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.main-menu ul li a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffd95a;
}

/* =========================
   ВЫПАДАЮЩЕЕ МЕНЮ
========================= */

.main-menu ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  display: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.main-menu ul li:hover ul {
  display: block;
}

.main-menu ul li ul li {
  width: 100%;
}

.main-menu ul li ul li a {
  color: #333;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.main-menu ul li ul li a:hover {
  background: #4e7d32;
  color: #fff;
}

/* =========================
   HERO БЛОК
========================= */

.hero {
  background: linear-gradient(rgba(0,0,0,0.5),
  rgba(0,0,0,0.5)),
  url('../images/bg.jpg') center/cover no-repeat;
  min-height: 650px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  font-size: 24px;
  margin-bottom: 35px;
}

.hero-btn {
  display: inline-block;
  background: #ffd95a;
  color: #222;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
}

.hero-btn:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* =========================
   КАРТОЧКИ УСЛУГ
========================= */

.service {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service img {
  height: 260px;
  object-fit: cover;
  width: 100%;
}

.service h3 {
  margin-top: 20px;
  font-size: 24px;
}

.service h3 a {
  color: #2d572c;
}

.service p {
  color: #666;
  padding: 0 20px;
}

/* =========================
   БЛОКИ ПРЕИМУЩЕСТВ
========================= */

.block__35630 {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  transition: 0.3s;
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.block__35630:hover {
  background: #4e7d32;
  color: #fff;
  transform: translateY(-5px);
}

.block__35630:hover h3,
.block__35630:hover p,
.block__35630:hover span {
  color: #fff;
}

.block__35630 .icon {
  font-size: 45px;
  color: #4e7d32;
  margin-bottom: 20px;
}

/* =========================
   ЗАГОЛОВКИ
========================= */

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
}

h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
  color: #2d572c;
}

/* =========================
   ЦЕНЫ
========================= */

.price span {
  font-size: 42px;
  font-weight: 700;
  color: #4e7d32;
}

/* =========================
   СПИСКИ
========================= */

.ul-check li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* =========================
   ОТЗЫВЫ
========================= */

.testimonial {
  background: #fff;
  padding: 30px;
  border-left: 5px solid #4e7d32;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =========================
   ФУТЕР
========================= */

footer {
  background: #1f2f1f;
  color: #ddd;
  padding: 70px 0 30px;
}

footer h2 {
  color: #fff;
}

footer a {
  color: #ddd;
}

footer a:hover {
  color: #ffd95a;
}

/* =========================
   МОБИЛЬНАЯ АДАПТАЦИЯ
========================= */

@media (max-width: 991px) {

  .main-menu ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-menu ul li {
    width: 100%;
  }

  .main-menu ul li a {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-menu ul li ul {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  h2 {
    font-size: 30px;
  }
}

/* =========================
   ВЫРАВНИВАНИЕ ВСЕГО ПО ЦЕНТРУ
========================= */

body {
  text-align: center;
}

/* Контейнеры */
.container,
.container-fluid,
.row,
.col,
[class*="col-"] {
  text-align: center;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

/* Абзацы */
p {
  text-align: center;
}

/* Списки */
ul,
ol {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
}

/* Блоки */
.service,
.block__35630,
.testimonial,
.price {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Картинки */
.service img,
img {
  display: block;
  margin: 0 auto;
}

/* HERO */
.hero {
  justify-content: center;
  text-align: center;
}

.hero-content {
  margin: 0 auto;
  text-align: center;
}

/* Кнопки */
.hero-btn,
button,
.btn {
  display: inline-block;
  margin: 15px auto;
}

/* Иконки */
.icon,
.flaticon-lorry,
.flaticon-add,
.flaticon-warehouse {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
footer {
  text-align: center;
}

footer ul {
  padding: 0;
}

/* Меню */
.main-menu ul {
  justify-content: center;
}

.main-menu ul li ul {
  left: 50%;
  transform: translateX(-50%);
}

/* FAQ */
.text-black,
.caption,
span {
  text-align: center;
}

/* Мобильная адаптация */
@media (max-width: 991px) {

  .main-menu ul {
    align-items: center;
  }

  .main-menu ul li {
    text-align: center;
  }

  .main-menu ul li a {
    text-align: center;
  }

}


/* =========================
   КРАСИВЫЙ ФОН САЙТА
========================= */

body {
  font-family: 'Rubik', sans-serif;

  /* Фон */
  background:
    linear-gradient(
      rgba(245,247,242,0.92),
      rgba(245,247,242,0.94)
    ),
    url('../images/wood-bg.jpg');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  color: #333;
}

/* Дополнительный декоративный слой */
body::before {
  content: "";

  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at top left,
    rgba(78,125,50,0.12),
    transparent 40%),

    radial-gradient(circle at bottom right,
    rgba(255,217,90,0.15),
    transparent 35%);

  pointer-events: none;
  z-index: -1;
}

/* Полупрозрачные блоки */
.service,
.block__35630,
.testimonial,
.price,
.hero-content {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(5px);
}

/* HERO */
.hero {
  background:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.55)
    ),
    url('../images/bg-wood-house.jpg');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  min-height: 700px;
}

/* Footer */
footer {
  background: rgba(25,35,25,0.95);
  backdrop-filter: blur(4px);
}

/* Меню */
.main-menu {
  background:
    linear-gradient(
      90deg,
      rgba(45,87,44,0.96),
      rgba(78,125,50,0.96)
    );

  backdrop-filter: blur(5px);
}

/* Анимация плавности */
.service,
.block__35630,
.hero-btn {
  transition: all 0.35s ease;
}


