/* ======= Основные стили главной ======= */
main {
  background-color: #061016;
  color: #ffffff;
  font-family: "Arial", sans-serif;
}

/* ======= Hero ======= */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8%;                   /* padding: 60px 8%; */

  gap: 40px;
}

.hero-text {
  flex: 1 1 400px;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #d9d9d9;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

/* ======= Кнопки ======= */
.btn-primary, .btn-primary-2 {
  display: inline-block;
  background-color: #00bcd4;
  color: #fff;
  padding: 12px 28px;               /*  padding: 12px 28px;      */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-primary-2 {
marggn-left: 45%;
}



.btn-primary:hover {
  background-color: #00a5bb;
}

/* ======= Directions ======= */
.directions {
  padding: 60px 8%;
  text-align: center;
}

.directions h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.direction-item {
  text-align: center;
}

.direction-item img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}
.direction-item img:hover {
  transform: scale(1.05);
}

.direction-item p {
  font-size: 1rem;
  font-weight: 500;
}

/* ======= About ======= */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px 8%;             /* padding: 70px 8%;  */
  gap: 50px;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

.about-image-2 img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}



.about-text, .about-text-2 {
  flex: 1 1 350px;
  max-width: 480px;
}

 .about-text_2 {
  max-width: 250px;
  }
.about-text_3 {
	display: blok;
	max-width: 250px;
	margin-left:40%;
   /* margin-right:35%; */
}




.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: #d9d9d9;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* ======= Contact ======= */
.contact {
  text-align: center;
  padding: 60px 1% 10px;        /* padding: 60px 8% 100px;           */
  background-color: #061016;
}

.contact p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.6;
}


/* ======= Адаптивность ======= */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 250px;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}