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

header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
    position: fixed;    /* фиксируем */
  top: 0;             /* прижать к верху */
  left: 0;
  width: 100%;        /* чтобы на всю ширину */
  z-index: 1000; 
  box-sizing: border-box;
}

main {
  padding-top: 100px; /* отступ под фиксированное меню */
}

.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;
}

.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;
}




.booking {
  text-align: center;
  padding: 80px 20px;
  background: #f5f5f5;
}

.booking h1 {
  font-size: 36px;
  color: #0f4b39;
  margin-bottom: 20px;
}

.booking p {
  font-size: 18px;
  margin-bottom: 40px;

}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: #0f4b39;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
  font-family: "Poiret One", sans-serif;
  font-size: 1.3rem;
}

.btn:hover {
  background: #08271e;
}
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Секция онлайн-записи */
.booking-hero {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 40px;
  padding: 60px 50px;
  background: #0c260e26;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 900px;
}

.booking-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* центрируем по горизонтали */
  justify-content: center; /* центрируем по вертикали */
  text-align: center;     /* текст ровно по центру */
}

.booking-text h1 {
  font-size: 2rem;
  color: #0f4b39;
  margin-bottom: 20px;

}

.booking-text ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 400px;
  font-family: "Nunito", sans-serif;
}
.booking-text ul li {
  margin-bottom: 10px; 
}


.booking-text .btn {
  display: inline-block;
  background: #0f4b39;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
  margin: 0 auto;
}

.booking-text .btn:hover {
  background: #06271d;
}

.booking-img {
  flex: 1;
  text-align: center;
}

.booking-img img {
  max-width: 85%; /* уменьшаем картинку */
  border-radius: 12px;
  border: 3px solid #0f4b39; /* зелёная рамка */
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

main {
  flex: 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;
  }
}

@media (max-width: 900px) {
  .booking-hero {
    flex-direction: column-reverse;
    padding: 30px 25px;
    margin: 30px auto;
    gap: 25px;
  }

  .booking-text h1 {
    font-size: 2rem;
  }

  .booking-text ul {
    font-size: 1rem;
  }

  .booking-img img {
    max-width: 100%;
    border-width: 2px;
  }

  .booking-text .btn {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .booking-text h1 {
    font-size: 1.8rem;
  }

  .booking-text ul li {
    margin-bottom: 8px;
    line-height: 1.6;
  }

  .booking-hero {
    padding: 20px;
  }

  .booking-text .btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
}

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

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

  .logo img {
    height: 60px;
  }
}

