/* Загальні стилі */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3 {
  margin: 10px 0;
}

section {
  padding: 60px 20px;
  text-align: center;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
  color: white;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.phone { background: #ff3333; }
.btn.purple { background: #7360f2; }
.btn.blue { background: #229ED9; } /* Telegram */

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

/* Анімації Hero */
.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInDown 1.2s forwards;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Advantages */
.advantages {
  background: #f9f9f9;
}

.adv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.adv-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.adv-card img {
  width: 60px;
  margin-bottom: 15px;
}

.adv-card:hover { transform: translateY(-8px); }

/* Steps (How we work) */
.steps {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.step {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.step:hover { transform: translateY(-6px); }

.step-number {
  width: 40px;
  height: 40px;
  background: #e60000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
  font-size: 1.2rem;
}

/* Services */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card:hover { transform: translateY(-8px); }

/* Gallery */
.gallery .images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery img {
  width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

/* Contacts */
.contacts .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-box {
  max-width: 350px;
  text-align: left;
}

.contact-buttons {
  margin-top: 15px;
}

.form {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 350px;
  text-align: left;
}

.form input, .form button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}

.form button {
  background: #e60000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.form button:hover { background: #c40000; }

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  padding: 20px;
  text-align: center;
}

/* Адаптивність */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .cards { flex-direction: column; align-items: center; }
  .contacts .grid { flex-direction: column; align-items: center; }
}
