/* ==========================
   1) СБРОС БАЗОВЫХ СТИЛЕЙ
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}

/* ==========================
   2) ШРИФТЫ
   ========================== */
/* 
   Подключены в index.html:
     - 'Lobster' для заголовков/логотипа/кнопок
     - 'Comfortaa' для остального текста
*/
body {
  font-family: 'Comfortaa', sans-serif; /* основной для текста */
  line-height: 1.5;
  color: #333;
}
/* Используем Lobster там, где хотим крупные надписи */
h1, h2, .navbar-brand, .btn {
  font-family: 'Lobster', cursive;
}

/* ==========================
   3) WRAPPER
   ========================== */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================
   4) ГЛОБАЛЬНЫЙ ФОН BODY
   ========================== */
body {
  background:
    radial-gradient(circle at 25% 25%, rgba(255,228,237,0.6), transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(255,192,203,0.5), transparent 50%),
    linear-gradient(135deg, rgba(255,153,194, 0.2), rgba(255,230,240, 0.3));
  background-blend-mode: lighten;
}

/* ==========================
   5) КОНТЕЙНЕР
   ========================== */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* ==========================
   НАВИГАЦИЯ (navbar)
   ========================== */

/* Шапка (navbar) – фон, позиция */
.navbar {
  background:
    repeating-linear-gradient(
      to right,
      rgba(255,192,203,0.85) 0,
      rgba(255,192,203,0.85) 40px,
      rgba(255,230,240,0.85) 40px,
      rgba(255,230,240,0.85) 80px
    );
  border-bottom: 2px solid #ffccd9;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 999;
}

/* Контейнер внутри navbar –
   ставим лого, ссылки и гамбургер в одну линию */
.navbar-container {
  display: flex;
  align-items: center;
}

/* Логотип */
.navbar-brand {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  margin-right: 30px; /* чуть отодвигаем меню от логотипа */
}

/* Ссылки меню (появляются сразу за логотипом) */
.navbar-links {
  list-style: none;
  display: flex;            /* Горизонтальный ряд */
  align-items: center;
}
.navbar-links li {
  margin-left: 20px;        /* Расстояние между ссылками */
}
.navbar-links a {
  text-decoration: none;
  color: #fff;
  font-size: 22px;          /* Чуть больше размер шрифта */
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
}
.navbar-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* Кнопка гамбургера (изначально скрыта на больших экранах) */
.navbar-toggle {
  display: none; 
  margin-left: auto;        /* Прижмём гамбургер к правому краю */
  cursor: pointer;
}
.navbar-toggle .bar {
  width: 25px;
  height: 3px;
  margin: 4px auto;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* ============================
   Адаптивное меню (медиазапрос)
   ============================ */
@media (max-width: 960px) {
  /* Показываем гамбургер */
  .navbar-toggle {
    display: block;
  }

  /* Прячем обычное горизонтальное меню */
  .navbar-links {
    display: none;          /* Исчезает на мобильном */
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, rgba(255,192,203,0.95), rgba(255,153,194,0.95));
    padding: 15px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .navbar-links li {
    margin: 10px 20px;
  }

  /* Чуть крупнее шрифт (или также 22px – на ваше усмотрение) */
  .navbar-links a {
    font-size: 24px;
  }

  /* При клике на гамбургер класс .show => меню "выпадает" */
  .navbar-links.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
}

/* Анимация появления вниз */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================
   8) ЧАСТИЦЫ (background bubbles)
   ========================== */
#particles-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,182,193, 0.7);
  box-shadow: 0 0 15px rgba(255,182,193, 0.5);
  animation: floatUp 10s linear infinite;
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  50%  { opacity: 1; transform: translateY(-50px) scale(1); }
  100% { opacity: 0; transform: translateY(-100px) scale(0.5); }
}

/* ==========================
   9) HERO СЕКЦИЯ
   ========================== */
/* Отступ сверху, чтобы шапка не перекрывала контент */
.hero {
  position: relative;
  padding-top: 120px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,230,240,0.8), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,192,203,0.5), transparent 50%),
    linear-gradient(135deg, rgba(255,153,194,0.2), rgba(255,230,240,0.3));
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image: url("/images/1.jpg");
  background-size: cover;
  background-position: initial;
}
.hero-content {
  z-index: 2;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 4rem;
  color: #ff66a3;
  margin-bottom: 20px;
  text-shadow: 0px 0px 8px rgba(255,255,255,0.8);
}
.hero p {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #333;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.4);
  z-index: 1;
}

/* ==========================
   10) БЛОК «ПОЧЕМУ ВЫБИРАЮТ НАС»
   ========================== */
.reasons-section {
  padding: 80px 20px;
  background:
    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
    repeating-linear-gradient(
      to right,
      #ffe6f2,
      #ffe6f2 20px,
      #fff 20px,
      #fff 40px
    );
}
.reasons-section h2 {
  font-size: 2.8rem;
  color: #ff66a3;
  text-align: center;
  margin-bottom: 50px;
}
.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}
.reason-card {
  background: #ffe6f2;
  border-radius: 15px;
  padding: 30px;
  flex: 1 1 220px;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.reason-card:hover {
  transform: translateY(-5px);
}
.reason-number {
  font-size: 2.6rem;
  color: #ff99c2;
  margin-bottom: 15px;
}
.reason-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #ff66a3;
}
.reason-card p {
  font-size: 1rem;
  color: #555;
}

/* ==========================
   11) SERVICES PREVIEW
   ========================== */
.services-preview {
  position: relative;
  padding: 80px 20px;
  background:
    repeating-linear-gradient(
      45deg,
      #ffe6f2,
      #ffe6f2 30px,
      #fff 30px,
      #fff 60px
    );
  text-align: center;
}
.services-preview h2 {
  font-size: 2.8rem;
  color: #ff66a3;
  margin-bottom: 40px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background: #ffe6f2;
  border-radius: 15px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.card h3 {
  color: #ff66a3;
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.card p {
  font-size: 1rem;
  color: #555;
}
.centered-btn {
  margin-top: 30px;
}

/* ==========================
   12) PROMO SECTION
   ========================== */
.promo-section {
  background:
    radial-gradient(circle, #ffe6f2, #fff 80%);
  text-align: center;
  padding: 60px 20px;
}
.promo-section h2 {
  font-size: 2.8rem;
  color: #ff66a3;
  margin-bottom: 20px;
}
.promo-section p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  color: #555;
}

/* ==========================
   13) CTA SECTION
   ========================== */
.cta-section {
  background:
    radial-gradient(circle at center, #ffe6f2 0%, #fff 90%);
  text-align: center;
  padding: 60px 20px;
}
.cta-section h2 {
  font-size: 2.8rem;
  color: #ff66a3;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  color: #555;
}

/* ==========================
   14) КНОПКИ (BTN)
   ========================== */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff66a3, #ff99c2);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}
.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff99c2, #ff66a3);
}
.btn-hero {
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(255,102,163,0.3);
}
.btn-cta {
  font-size: 1.3rem;
  padding: 15px 30px;
}

/* ==========================
   15) ФУТЕР (Footer)
   ========================== */
footer {
  background:
    radial-gradient(farthest-corner at 20% 80%, rgba(255,192,203,0.6), transparent 50%),
    radial-gradient(farthest-corner at 80% 20%, rgba(255,228,237,0.6), transparent 50%),
    linear-gradient(to right, rgba(255,153,194,0.2), rgba(255,230,240,0.3));
  padding: 20px;
  text-align: center;
  border-top: 2px solid #ffccd9;
  margin-top: 40px;
  position: relative;
}
footer p {
  font-size: 1rem;
  color: #ff66a3;
  margin: 5px 0;
}

/* ==========================
   16) АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .reasons-section h2,
  .services-preview h2,
  .promo-section h2,
  .cta-section h2 {
    font-size: 2.2rem;
  }
}
