body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ===================== */
/* Хедер                 */
/* ===================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  /*padding: 15px 20px;*/
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Лого */
.logo {
  font-size: 28px;
  color: #111;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
}

.logo span {
  color: #bfa46f; /* золотистый акцент */
}

/* Навигация */
.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #bfa46f;
}

/* Кнопка меню */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===================== */
/* Герой-секция          */
/* ===================== */

.hero {
  text-align: center;
  background-color: #f9f9f9;
  padding: 60px 0;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  background-color: #111;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: #333;
}

/* ===================== */
/* Блоки-карточки        */
/* ===================== */

.features,
.terrace,
.gallery,
.video {
  background-color: #ffffff;
  padding: 60px 0;
}

.features .cards,
.photos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  width: 280px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

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

.terrace {
  background-color: #f7f7f7;
  text-align: center;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gallery .photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.photos img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.video iframe {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===================== */
/* Адаптация под мобилу  */
/* ===================== */

@media screen and (max-width: 768px) {
  .header .container {
    position: relative;
    justify-content: space-between;
  }

  .logo {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 220px;
    background-color: #ffffffa1;
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
    gap: 30px;
    z-index: 999;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  }

  .nav a {
    color: #111;
    font-size: 18px;
  }

  .nav.open {
    right: 0;
  }
}

html {
  scroll-behavior: smooth;
}

.reviews {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-card {
  background: #ffffff;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.review-card p {
  font-style: italic;
  margin-bottom: 10px;
}

.review-card span {
  color: #777;
  font-size: 14px;
}

.stars {
  color: #bfa46f; /* золотистый оттенок */
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.carousel img {
  flex: 0 0 auto;
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: white;
  border: none;
  font-size: 28px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media screen and (max-width: 768px) {
  .carousel img {
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}
