/* ==========================================================================
   1. СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ (RESET & BASE)
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Плавный скролл по якорным ссылкам */
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212; /* Дорогой глубокий матовый фон */
  color: #f5f5f5; /* Мягкий белый цвет для текста, чтобы не резало глаза */
  line-height: 1.6;
}

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

/* Универсальные кнопки */
.btn-primary, .btn-rdv {
  display: inline-block;
  background-color: #cb997e; /* Элегантный пудрово-розовый / песочный оттенок */
  color: #ffffff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-rdv:hover {
  background-color: #ddb892; /* Чуть более светлый тон при наведении */
  transform: translateY(-2px); /* Эффект легкого приподнимания */
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #cb997e;
  border: 1px solid #cb997e;
  text-decoration: none;
  padding: 14px 35px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #cb997e;
  color: #ffffff;
}

/* Заголовки секций */
.section-title {
  font-size: 32px;
  font-weight: 300; /* Тонкое начертание придает премиальности */
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  color: #a3a3a3;
  font-weight: 300;
  margin-bottom: 50px;
}

.text-center { text-align: center; }
.margin-top-40 { margin-top: 40px; }

/* ==========================================================================
   2. MODULE 1: HEADER (ШАПКА САЙТА)
   ========================================================================== */
.site-header {
  background-color: rgba(18, 18, 18, 0.95); /* Полупрозрачный фон */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #222222;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* Логотип */
.logo {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
}

.logo-subtitle {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #cb997e;
  margin-top: 2px;
}

/* Навигация */
.main-nav a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 20px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #cb997e;
}

/* Кнопка записи в шапке (делаем её чуть компактнее основной) */
.btn-rdv {
  padding: 10px 20px;
  font-size: 12px;
}

/* ==========================================================================
   3. MODULE 2: HERO SECTION (ГЛАВНЫЙ ЭКРАН)
   ========================================================================== */
.hero-section {
  position: relative;
  /* Для фона можно использовать качественное фото интерьера салона или эстетичное бьюти-фото */
  background: url('img/hero-bg.jpg') no-repeat center center/cover;
  background-color: #1c1c1c; /* Запасной цвет фона */
  height: 80vh; /* Занимает 80% высоты экрана */
  display: flex;
  align-items: center;
}

/* Темное наложение на фото, чтобы текст легко читался */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #d4d4d4;
  font-weight: 300;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* ==========================================================================
   4. MODULE 3: CONCEPT (О НАС)
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: #161616; /* Легкий контраст с основным фоном */
}

.about-grid {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.text-p {
  color: #a3a3a3;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-item p {
  color: #a3a3a3;
  font-size: 14px;
  font-weight: 300;
}

/* ==========================================================================
   5. MODULE 4: PRESTATIONS & TARIFS (ЦЕНЫ В ВИДЕ РЕСТОРАННОГО МЕНЮ)
   ========================================================================== */
.services-section {
  padding: 100px 0;
}

.menu-container {
  display: flex;
  gap: 60px;
  margin-top: 50px;
}

.menu-category {
  flex: 1;
}

.category-title {
  font-size: 20px;
  font-weight: 400;
  color: #cb997e;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #2d2d2d;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.menu-item {
  margin-bottom: 25px;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.item-name {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
}

.item-price {
  font-size: 16px;
  font-weight: 500;
  color: #cb997e;
  padding-left: 15px;
}

.item-desc {
  font-size: 13px;
  color: #888888;
  font-weight: 300;
}

/* ==========================================================================
   6. MODULE 5: GALERIE (ГАЛЕРЕЯ ИНСПИРАЦИЙ / ИНСТАГРАМ СЕТКА)
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: #161616;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 колонки в ряд */
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1; /* Карточки всегда квадратные */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Красивое приближение фото при наведении курсора */
.gallery-item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   7. MODULE 6: FOOTER (ПОДВАЛ САЙТА)
   ========================================================================== */
.site-footer {
  background-color: #0b0b0b;
  padding: 80px 0 40px 0;
  border-top: 1px solid #1a1a1a;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 50px;
}

.footer-info strong {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.footer-info p, .footer-hours p {
  color: #888888;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 8px;
}

.footer-hours h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 15px;
}

.developer-credits {
  margin-top: 15px;
  font-size: 12px !important;
}

.developer-credits a {
  color: #cb997e;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #888888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #cb997e;
}

/* СТИЛИ ДЛЯ БЛОКА ИКОНОК СОЦСЕТЕЙ */
.footer-socials {
  display: flex;
  gap: 15px; /* Расстояние между иконками */
  margin: 20px 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1c1c1c; /* Темный круглый фон */
  border: 1px solid #2d2d2d;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: #a3a3a3; /* Серый цвет иконки по умолчанию */
  transition: fill 0.3s ease;
}

/* Эффект наведения: кружок подсвечивается пудровым, иконка становится белой */
.social-link:hover {
  background-color: #cb997e;
  border-color: #cb997e;
  transform: translateY(-3px);
}

.social-link:hover .social-icon {
  fill: #ffffff;
}

/* ==========================================================================
   8. BANNER COOKIES (КУКИ)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: -100px; /* Изначально спрятан внизу */
  left: 20px;
  right: 20px;
  background-color: #1c1c1c;
  border: 1px solid #2d2d2d;
  padding: 20px;
  border-radius: 4px;
  z-index: 1000;
  transition: bottom 0.5s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cookie-banner.active {
  bottom: 20px; /* Плавное появление */
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-content p {
  font-size: 13px;
  color: #a3a3a3;
  font-weight: 300;
}

.cookie-content a {
  color: #cb997e;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background-color: #cb997e;
  color: white;
  border: none;
  padding: 8px 18px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.btn-cookie-refuse {
  background-color: transparent;
  color: #888888;
  border: 1px solid #333333;
  padding: 8px 18px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ==========================================================================
   9. АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ ТЕЛЕФОНЫ (RESPONSIVE DESIGN)
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid { flex-direction: column; gap: 40px; }
  .menu-container { flex-direction: column; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); } /* 2 картинки в ряд на планшетах */
}

@media (max-width: 768px) {
  .header-wrap { flex-direction: column; gap: 15px; text-align: center; }
  .main-nav { margin: 10px 0; }
  .hero-content h1 { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .cookie-content { flex-direction: column; text-align: center; }
  /* Добавляем центрирование иконок соцсетей только для мобильных */
  .footer-socials { justify-content: center; } 
}
/* ==========================================================================
   10. СТИЛИ ДЛЯ КНОПКИ "НАВЕРХ"
   ========================================================================== */
.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #1c1c1c;
  color: #cb997e;
  border: 1px solid #cb997e;
  border-radius: 50%; /* Делаем кнопку круглой */
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Класс, который добавляет JavaScript при прокрутке */
.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background-color: #cb997e;
  color: #ffffff;
  transform: translateY(-3px);
}