/* Основні стилі для body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* Шапка */
.header {
  background-color: #2c3e50;
  color: white;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 60px;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.site-subtitle {
  font-size: 1rem;
  color: white;
  margin: 5px 0 0;
}

/* Стиль для іконки Instagram в шапці */
.instagram-link {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.instagram-icon {
  width: 40px;
  height: 40px;
}

/* Головний заголовок */
.container {
  padding: 40px 20px;
  text-align: center;
}

.container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Послуги */
.services {
  padding: 50px 0;
  background: #fff;
}

.services h2 {
  text-align: center;
  margin-bottom: 30px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-item {
  background: #eaf2f8;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-item h3 {
  margin-bottom: 10px;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e74c3c;
}

/* Футер */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 50px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.footer.show {
  opacity: 1;
}

/* Кнопка телефону */
.floating-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.floating-phone img {
  width: 40px;
  height: 40px;
}

/* Анімація */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Адаптивність для планшетів і мобільних до 768px */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .logo-container {
    flex-direction: column;
    gap: 10px;
  }

  .site-title {
    font-size: 1.8rem;
  }

  .site-subtitle {
    font-size: 1rem;
  }

  .service-list {
    flex-direction: column;
    gap: 15px;
  }

  .service-item {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
  }

  .floating-phone {
    bottom: 10px;
    right: 10px;
    padding: 10px;
  }
}

/* Для мобільних телефонів до 480px */
@media screen and (max-width: 480px) {
  .site-title {
    font-size: 1.5rem;
  }

  .site-subtitle {
    font-size: 0.9rem;
  }

  .service-item {
    padding: 10px;
    width: 90%;
  }

  .price {
    font-size: 1rem;
  }

  .floating-phone img {
    width: 35px;
    height: 35px;
  }
}

/* Відео */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.video-item {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
