/* Цвета */
:root {
  --bg: #FEFDFC;
  --surface: #F8F5F3;
  --primary: #9A7B61;
  --secondary: #7B5F4F;
  --text-dark: #4A3224;
  --text-light: #FEF7F2;
  --border: #E6E3DE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Century Gothic', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
}

/* Шапка */
.header {
  background-color: var(--text-dark);
  color: var(--text-light);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1800px;
  margin: 0 auto;
}

.logo {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--text-light);
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav
{
  white-space: nowrap;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--border);
  font-weight: normal;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--text-light);
}

/* Приветствие */
.hero {
  height: 100vh;
  background: linear-gradient(
      rgba(74, 50, 36, 0.7),
      rgba(74, 50, 36, 0.6)
    ),
    url('../images/hero_bg_01_sm.jpg')
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 4.8rem;
  margin-bottom: 20px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.6rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--border);
  font-weight: normal;
}

/* Форма */
.contact-section {
  padding: 90px 20px;
  background-color: var(--surface);
  text-align: center;
}

.contact-section h2 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-section p {
  color: var(--text-dark);
  margin-bottom: 35px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
}

.callback-form {
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin: 0 auto;
  gap: 16px;
}

.callback-form input {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Century Gothic', Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  background-color: var(--bg);
  color: var(--text-dark);
}

.callback-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(154, 123, 97, 0.25);
}

.callback-form button {
  padding: 15px;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 10px;
  font-family: 'Century Gothic', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.callback-form button:hover {
  background-color: #8a6b52;
  transform: translateY(-2px);
}

/* Подвал */
.footer {
  text-align: center;
  padding: 32px;
  background-color: var(--text-dark);
  color: var(--border);
  font-size: 1.1rem;
}

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

/* добавленое */

/* === Прайс-галерея === */
.price-gallery {
  padding: 100px 20px;
  background-color: var(--surface);
  text-align: center;
}

.price-gallery h2 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.price-gallery p {
  color: var(--text-dark);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 в строке */
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(154, 123, 97, 0.14);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(154, 123, 97, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top; /* Важно: 1080×1920 — обрезаем снизу, видим лицо/руки */
  display: block;
}

/* === Модальное окно === */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
}

.close-btn:hover {
  color: #bbb;
  text-shadow: 0 0 10px white;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Адаптив === */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 400px;
  }
  .price-gallery h2 {
    font-size: 2.3rem;
  }
}

/* === Карта Яндекс === */
.map-section {
  padding: 80px 20px;
  background-color: var(--surface);
  text-align: center;
}

.map-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.yandex-map {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Адаптив */
@media (max-width: 768px) {
  .map-section h2 {
    font-size: 2.2rem;
  }
  .yandex-map iframe {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .yandex-map iframe {
    height: 300px;
  }
}

/* === Контакты (компактный блок с иконками) === */
.contact-section {
  padding: 100px 20px;
  background-color: var(--surface);
  text-align: center;
}

.contact-section h2 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

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

/* Иконки соцсетей */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.icon {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-position: center;
  background-size: 70%;
  background-repeat: no-repeat;
  transition: transform 0.3s, opacity 0.3s;
}

.icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.icon.whatsapp {
  background-color: #25D366;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 221.4-99.1 221.4-221.4 0-59.3-25.1-115-68.8-158.9z'/%3E%3C/svg%3E");
}

.icon.vk {
  background-color: #4A76A8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM176 384c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80zm192-160h-64c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48v32h-48v48c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-48h32v-48h-32v-32c0-8.8-7.2-16-16-16z'/%3E%3C/svg%3E");
}

.icon.telegram {
  background-color: #0088cc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M446.7 98.6l-67.6 318.8c-5.1 22.5-18.6 28.1-37.3 17.5l-165.1-94.7-33.5 30.1s-6-7.1-17.1-17.6l-18.1-19.8c-11.1-10.5-21.4-7.9-23.6-7.5l-116.6 25c-20.9 4.5-27.1-10.8-19.4-23.7l64.7-112.9 43.9-74.9c5.7-9.8 15.4-15.4 25.8-13.7l130.1 23 54.1-51.8c10.4-10 27.6-8.5 36 10l80.7 189.3 57.4-49.8c16.4-14.2 37.2-12.8 47.5 3.6l53.1 87.1c10.3 16.4 5.8 28.7-9.7 34.8z'/%3E%3C/svg%3E");
}

/* Адаптив */
@media (max-width: 500px) {
  .contact-section {
    padding: 50px 15px;
  }
  .contact-section h2 {
    font-size: 2rem;
  }
  .contact-info {
    font-size: 1rem;
  }
  .icon {
    width: 44px;
    height: 44px;
  }
  .social-icons {
    gap: 20px;
  }
}








