/* =========================================
   1. ГЛОБАЛЬНЫЕ СТИЛИ
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(135deg, #1b1b1f 0%, #2b2b36 100%);
  background-attachment: fixed;
  color: #050505;
  line-height: 1.6;
  padding-top: 80px; /* чтобы контент не налезал на меню */
}

/* Фоновое изображение */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/garage-bg.jpg") center/cover no-repeat;
  opacity: ;
  z-index: -1;
}

/* Заголовки */
h1, h2, h3 {
  text-align: center;
  color: #000000;
  margin-bottom: 10px;
}

/* Ссылки */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

/* =========================================
   2. НАВИГАЦИЯ
========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e1e2e;
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.logo {
  position: absolute;
  left: 40px;
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: #4e46e5;
}

/* Иконки меню */
.nav-links li a i {
  margin-right: 6px;
}

/* Бургер-меню */
.burger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 40px;
}

/* =========================================
   3. КНОПКИ
========================================= */
.btn {
  display: inline-block;
  background: #4e46e5;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(78, 70, 229, 0.4);
}

.btn:hover {
  background: #372fcf;
  box-shadow: 0 6px 14px rgba(55, 47, 207, 0.5);
}

/* =========================================
   4. верхняя надпись
========================================= */

.my-text {
  font-size: 48px;      /* Размер шрифта */
  color: #030303;       /* Цвет текста */
  text-align: center;   /* Центрирование текста */
  font-weight: bold; 
}

/* =========================================
   4. СЕКЦИИ
========================================= */
section {
  text-align: center;
  background: rgba(140, 140, 140, 0.773); 
  backdrop-filter: blur(4px);
  padding: 50px 10%;
  border-radius: 12px;
  margin: 20px auto;
 
  max-width: 1200px;
}

/* Hero */
.hero {
  background: none;
  backdrop-filter: blur(0px);       /* Размытие заднего фона */
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(9, 9, 9); 
  border-radius: 12px;
}


.hero-content {
  background-color: rgba(140, 140, 140, 0.773); 
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
}

.hero h1 {
  font-size: 42px; 
}

.hero p {
  font-size: 18px; 
  margin-bottom: 20px;
}

/* =========================================
   5. КАРТОЧКИ УСЛУГ
========================================= */
/* 🔹 Первый блок карточек — всегда по центру */
.service-cards-row {
  display: flex;
  justify-content: center;      /* Центрируем карточки */
  align-items: stretch;         /* Ровняем по высоте */
  gap: 30px;                    /* Расстояние между карточками */
  flex-wrap: wrap;              /* Если экран узкий — перенос */
  max-width: 1000px;            /* Ограничиваем максимальную ширину */
  margin: 0 auto;               /* Центрируем весь блок */
  padding: 0 10px;
}

.service-cards-row .card {
  width: 200px;                 /* Фиксированный размер карточек */
  min-height: 200px;
  background: rgba(229, 229, 231, 0.766); 
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-cards-row .card:hover {
  transform: translateY(-8px);
}


/* 🔹 Остальные блоки карточек — адаптивная сетка */
.service-cards,
.price-cards,
.features-grid {
  display: flex;
  flex-wrap: wrap; /* карточки переносятся */
  justify-content: center;
  gap: 30px;
}

.service-cards .card,
.price-cards .price-card,
.features-grid .feature {
  width: 300px;
}


/* =========================================
   6. ТАБЛИЦЫ ЦЕН
========================================= */
.prices-table {
  overflow-x: auto;
  margin-bottom: 40px;
}

.prices-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}

.prices-table th,
.prices-table td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px; 
}

.prices-table th {
  background: rgba(78, 70, 229, 0.8);
  color: white;
  font-weight: bold;
}

.prices-table tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   7. ПЛАВАЮЩИЕ КНОПКИ
========================================= */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.float-btn {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4e46e5;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 22px;   
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.float-btn.phone {
  background: #2d89ef;
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.map {
  background: #ff4b4b;
}

/* =========================================
   8. АДАПТИВНОСТЬ
========================================= */
@media (max-width: 992px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1e1e2e;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    text-align: center;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .logo {
    position: static;
    margin-bottom: 10px;
  }

  section {
    padding: 30px 5%;
  }

  .card,
  .feature,
  .price-card {
    width: 100%;
  }
}

/* ======== SERVICES PAGE ======== */
.services-page {
  padding: 60px 10%;
  background: rgba(30, 30, 46, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  margin: 20px auto;
  max-width: 1000px;
}

.services-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.services-page h2 {
  text-align: center;
  font-size: 90px; 
  margin-bottom: 20px;
}

.services-page p {
  text-align: center;
  font-size: 18px; 
  margin-bottom: 40px;
  color: #060606;
}

/* Каждый блок услуг */
.service-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px; /* 🔹 Отступ между блоками */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Заголовок блока */
.service-item h3 {
  font-size: 44px; 
  color: #4e46e5;
  margin-bottom: 10px;
}

/* Список услуг */
.service-item ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-item ul li {
  padding: 6px 0;
  font-size: 16px; 
  color: #080808;
  position: relative;
  padding-left: 25px;
}


