body {
  margin: 0;
  background: #fff;
  color: #222;
}

header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  box-sizing: border-box;
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%; 
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: bold;
}
.logo img {
  height: 70px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-family: "Poiret One", sans-serif;
  font-size: 1.3rem;
}
nav a:hover {
  color: #0f4b39; /* тёмно-зелёный */
}



.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  margin-right: 0; 
}

.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
nav a:hover,
nav a:active {
  color: #0f4b39;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  padding-top: 100px; 
}

/* Блок о мастере */
.about-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: #0c260e26;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.about-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 2rem;
  color: #0b3d2e;
}

.about-text .subtitle {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 20px;
}

.bio-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bio-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-family: "Nunito", sans-serif;
  line-height: 1.8;
}

.intro {
  margin-top: 20px;
  font-family: "Nunito", sans-serif;
  color: #000000;
  line-height: 1.7;
}

.about-photo {
  flex: 1;
  text-align: center;
}

.about-photo img {
  max-width: 60%;
  border-radius: 12px;
  border: 3px solid #0f4b39;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Секция "Почему выбирают меня" */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Заголовок секции */
.features > h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 2.2rem;
  color: #0b3d2e;
  font-weight: bold;
}

.feature {
  background: #f6f6f6;
  border-left: 5px solid #0b3d2e; /* зелёный акцент */
  padding: 10px;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h2 {
  margin-bottom: 10px;
  color: #0b3d2e;
}

.feature p {
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
}

/* Контакты */
.contacts-map {
  display: flex;
  align-items: center; /* выравниваем карту и текст по центру */
  gap: 40px;
  background: #0c260e26;
  padding: 30px 40px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1000px; /* блок поменьше */
}

.contacts-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacts-info h2 {
  font-size: 2.2rem;
  color: #0b3d2e;
  font-weight: bold;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.contact-item i {
  font-size: 1.2rem;
}

.contacts-info a {
  color: #000000;
  text-decoration: none;
}

.contacts-info a:hover {
  text-decoration: underline;
}

/* Иконка Instagram */
.insta-link img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.insta-link img:hover {
  transform: scale(1.1);
}

/* Карта */
.map {
  flex: 1;
}
.map iframe {
  width: 100%;
  height: 250px; /* делаем ниже */
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}


/* Футер */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #fff;
  font-size: 14px;
}



@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #000;
    position: fixed;
    top: 90px;
    right: -100%;
    width: 60%;
    height: calc(100vh - 90px);
    padding: 40px 20px;
    transition: right 0.4s ease;
  }

  nav.open ul {
    right: 0;
  }

  .burger {
    display: flex;
      margin-right: 0; 
  }
}

@media (max-width: 768px) {

  /* ======= Общие отступы ======= */
  main {
    padding-top: 100px;
  }

  /* ======= Блок о мастере ======= */
  .about-section {
    padding: 20px;
    margin: 30px auto;
  }

  .about-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .about-text h1 {
    font-size: 1.8rem;
  }

  .about-text .subtitle {
    font-size: 1.1rem;
  }

  .bio-list li {
    font-size: 1rem;
  }

  .intro {
    font-size: 1rem;
  }

  .about-photo img {
    max-width: 80%;
  }

  /* ======= Почему выбирают меня ======= */
  .features {
    grid-template-columns: 1fr; /* одна колонка */
    gap: 20px;
    margin: 40px auto;
  }

  .features > h2 {
    font-size: 1.8rem;
  }

  .feature {
    padding: 15px;
    border-left-width: 4px;
  }

  /* ======= Контакты ======= */
  .contacts-map {
    flex-direction: column; /* карта под текстом */
    align-items: flex-start;
    padding: 25px;
    gap: 20px;
    margin: 40px auto;
  }

  .contacts-info {
    width: 100%;
  }

  .contacts-info h2 {
    font-size: 1.8rem;
  }

  .contact-item {
    font-size: 1rem;
  }

  .map {
    width: 100%;
  }

  .map iframe {
    height: 200px;
    border-radius: 10px;
  }

  /* ======= Футер ======= */
  footer {
    font-size: 0.9rem;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 25px; /* как на главной странице */
  }

  .burger {
    right: 25px;
    position: absolute;
  }

  .logo img {
    height: 60px;
  }
}