/* Общие стили */
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background-color: #f8f6f2;
  color: #3a3a3a;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

/* ---------- Навигация ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(250, 248, 243, 0.9);
  padding: 1rem 2rem;
  z-index: 999;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #6b4e2f;
  text-decoration: none;
}

.nav-link {
  font-size: 1rem;
  color: #6b4e2f;
  text-decoration: none;
  margin-left: 2rem;
}

.nav-link:hover {
  text-decoration: underline;
}

/* ---------- Заголовок ---------- */
.site-header {
  background-color: #fdfaf4;
  padding: 7rem 0 3rem;
  text-align: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #6b4e2f;
  margin: 0;
}


.subtitle {
  font-weight: 300;
  color: #a67c52;
  margin-top: 0.5rem;
}

/* ---------- Секции ---------- */
.section-bg {
  background-color: #f6f3ed;
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.reverse {
  flex-direction: row-reverse;
}

.text-left, .text-right {
  flex: 1;
}

.image-left, .image-right {
  flex: 1;
}

img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ---------- Блок с цифрой ---------- */
.highlight-block {
  background-color: #e9e3d8;
  text-align: center;
  padding: 3rem 2rem;
}

.highlight-number {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #5c4528;
}

.highlight-text {
  font-size: 1.1rem;
  color: #555;
}

/* ---------- Разделитель ---------- */
.section-divider {
  border: none;
  height: 4px;
  width: 80%;
  margin: 4rem auto;
  background: rgba(200, 184, 159, 0.3);
}

/* ---------- Контакты и футер ---------- */
.site-footer {
  background-color: #efe9e2;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #6e6e6e;
}

/* WhatsApp */
.whatsapp-below {
  display: inline-flex;
  align-items: center;        
  gap: 6px;
  font-size: 1.5em;
  color: #25d366;
  border: 1px solid #25d366;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 6px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.whatsapp-below:hover {
  background-color: #25d366;
  color: white;
}

.whatsapp-below img {
  width: 25px;
  height: 25px;
  vertical-align: middle;         
}



.works h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #3b2e25;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-track img {
  flex: 0 0 auto;
  width: 80%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .swiper-slide img {
    width: calc(100vw - 32px); /* почти вся ширина экрана */
    margin: 0 16px; /* равномерные отступы */
    max-width: none; /* отмена max-width, если была */
  }
}

.works h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #3a3a3a;
}

.swiper {
  width: 100%;
  padding-bottom: 2rem;
}

.swiper-slide img {
  width: 100%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .swiper-slide img {
    width: 90%;
  }
}


/* ---------- Анимация появления ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Адаптив для мобилки ---------- */
@media (max-width: 768px) {
  .split,
  .reverse {
    flex-direction: column !important;
  }

  .text-left, .text-right,
  .image-left, .image-right {
    width: 100%;
  }

  img {
    margin-top: 1rem;
  }
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

}

