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

body {
  font-family: "Inter", Arial, sans-serif;
  color: #1f2933;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}









/* Анимация появления кнопки */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Кнопка будет немного ниже при загрузке */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Кнопка поднимется в свою исходную позицию */
  }
}




/* Плавная прокрутка на странице */
html {
  scroll-behavior: smooth;
}

.btn {
  padding: 15px 40px; /* Увеличены внутренние отступы для более крупной кнопки */
  font-size: 22px; /* Увеличен шрифт для более крупного текста */
  text-decoration: none;
  border-radius: 50px; /* Округлые углы */
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer; /* Указатель мыши на кнопке */
  
  /* Добавляем анимацию появления */
  animation: fadeIn 1s ease-out forwards; /* Появление с анимацией */
  opacity: 0; /* Начальная прозрачность */
  transform: translateY(20px); /* Начальная позиция кнопки */
}

.btn-gold {
  background: linear-gradient(45deg, #cfb26d, #f7b200); /* Градиент от золотого */
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Легкая тень для кнопки */
  border: none;
}

.btn-gold:hover {
  background: linear-gradient(45deg, #b98534, #f7b200); /* Более темный градиент при наведении */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* Увеличенная тень при наведении */
  transform: translateY(-5px); /* Легкий эффект подъема при наведении */
}

.btn-gold:active {
  transform: translateY(2px); /* При нажатии кнопка немного опускается */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Возвращение тени в исходное состояние */
}




/* =============================== */
/*       HERO (главный блок)        */
/* =============================== */
.hero {
  position: relative; /* Родительский элемент для текста и фона */
  height: 100vh; /* Задаем высоту блока на весь экран */
  background: url("../images/Mein/hero.png") center/cover no-repeat; /* Используем тот же фон */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Фон с блюром и затемнением */
.hero-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/Mein/hero.png") center/cover no-repeat; /* Используем тот же фон */
  filter: blur(12px); /* Размытие фона */
  background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный для затемнения фона */
  z-index: -1; /* Фон будет под текстом */
}


/* Содержимое текста поверх фона */
.hero-content {
  position: relative;
  z-index: 1; /* Текст поверх фона */
  text-align: center;
  color: rgb(0, 0, 0); /* Белый текст для контраста */
}



.hero-subtitle {
  font-size: 38px;
  letter-spacing: 2px;
  color: #cfb26d;
  display: block;
  margin-bottom: 16px;
  font-weight: bold; /* Делаем подзаголовок жирным */
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-buttons {
  margin-top: 32px;
  /* Здесь можно добавить стили для кнопок */
}

/* Если нужно добавить бейдж */
.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 2; /* Бейдж поверх */
}


/* Адаптивные стили для мобильных */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px; /* Уменьшаем шрифт */
  }

  .hero p {
    font-size: 18px; /* Уменьшаем шрифт */
  }
}

@media (max-width: 600px) {
  .hero h1 {

    font-size: 30px; /* Уменьшаем шрифт еще больше */
  }

  .hero p {
    font-size: 16px;
  }
}




















/* =============================== */
/*       ШАПКА САЙТА               */
/* =============================== */
.header {
  background-color: #333; /* Темный фон */
  color: #cfb26d; /* Белый цвет текста */
  padding: 8px 20px; /* Легкое увеличение отступов сверху и снизу */
  display: flex;
  align-items: center; /* Центрируем элементы по вертикали */
  justify-content: space-between; /* Логотип слева, номер телефона справа */
  position: relative; /* Устанавливаем относительное позиционирование для размещения кнопки */
}

.header-inner {
  display: flex;                /* Используем Flexbox */
  justify-content: space-between; /* Распределение элементов по краям */
  align-items: center;          /* Центрируем по вертикали */
  max-width: 1200px;             /* Ограничиваем ширину контейнера */
  margin: 0 auto;               /* Центрируем контейнер по горизонтали */
}

.logo {
  font-size: 45px;               /* Размер шрифта для логотипа */
  font-weight: bold;             /* Жирный шрифт */
  color: #cfb26d;                /* Золотой цвет */
  display: flex;
  justify-content: center;       /* Центрирует элементы по горизонтали */
  align-items: center;           /* Центрирует элементы по вертикали */
  margin: 0 auto;                /* Выравнивает блок по центру */
  margin-left: -600px;
  
  
  width: 100%;                   /* Логотип на всю ширину */
  max-width: 200px;              /* Ограничиваем максимальную ширину логотипа */
}

.logo span {
  position: relative;            /* Делаем текст позиционированным относительно его нормального положения */
  top: 7px;                     /* Опускаем текст немного ниже */
}


.logo img {
  width: 100px;                   /* Ширина логотипа */
  height: auto;                  /* Автоматическое масштабирование */
  margin-right: -20px;            /* Отступ между изображением и текстом */
}

.header-actions {
  font-size: 22px;               /* Размер шрифта для телефона */
  display: flex;                 /* Выравнивание элементов внутри телефона */
  align-items: center;           /* Центрируем элементы по вертикали */
  position: relative;            /* Позиционируем блок с номером телефона и кнопкой относительно его нормального положения */
}
















/* =============================== */
/*       АДАПТИВНОСТЬ              */
/* =============================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;           /* Элементы по вертикали на мобильных */
    align-items: flex-start;          /* Выравнивание по левому краю */
    padding: 10px 20px;               /* Добавляем отступы */
    width: 100%;                      /* Ширина контейнера на 100% */
  }

  .logo {
    margin-bottom: 15px;              /* Отступ между логотипом и телефоном */
    font-size: 28px;                  /* Уменьшаем размер шрифта логотипа */
    width: 100%;                      /* Логотип на всю ширину */
    max-width: 50px;                  /* Ограничиваем максимальную ширину логотипа */
    display: flex;
    justify-content: flex-start;      /* Логотип по левому краю */
    word-wrap: break-word;            /* Чтобы текст не выходил за пределы */
    margin-left: -55px;               /* Сдвигаем логотип влево на мобильных */
  }

 
  .phone {
    display: flex;                    /* Размещаем элементы (иконку и номер) в одну строку */
    align-items: center;              /* Центрируем элементы по вертикали */
    width: 100%;                      /* Блок с номером телефона на всю ширину */
  }

  .phone-icon {
    font-size: 24px;                  /* Увеличиваем размер иконки */
    margin-right: 10px;               /* Отступ между иконкой и номером */
  }

  .phone-link {
    color: #cfb26d;                   /* Золотой цвет для номера телефона */
    text-decoration: none;            /* Убираем подчеркивание */
    font-weight: bold;
    font-size: 20px;                  /* Размер шрифта для номера телефона */
  }

  .phone-link:hover {
    color: #e3eefd;                   /* Цвет при наведении */
  }
}











/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  padding: 120px 0;
  background: #f4efe9; /* или white, если фон светлый */
}

.about-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%; /* можно 40–50% */
  height: 100%;
  background-image: url("../images/Mein/about-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Скрытие картинки на мобильных устройствах */
@media (max-width: 992px) {
  .about-section::after {
    display: none; /* Скрываем картинку на экранах шириной до 992px */
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d;
}

.about-content h2 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 30px;
  color: #cfb26d
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  max-width: 540px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #cfb26d;
  font-size: 14px;
}

/* Visual Card */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(145deg, #ffffff, #f2efe9);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #c78a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfb26d;
  margin: 0 auto 30px;
  font-size: 22px;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1c1c1c;
}

.about-card p {
  font-size: 14px;
  color: #666;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-content h2 {
    font-size: 38px;
  }

  .about-visual {
    justify-content: flex-start;
  }
}












/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 100px 0;
  background-color: #ffffff;
  text-align: center;
}

/* Заголовок раздела */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.section-header p {
  font-size: 16px;
  color: #666;
}

/* Стиль для сетки услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки на больших экранах */
  gap: 40px;
}

/* Карточки услуг */
.service-card {
  background: #faf9f7;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1c1c1c;
}

.service-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Адаптивность */

/* Для экранов до 992px (планшеты) */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
  }
}

/* Для экранов до 600px (мобильные устройства) */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 колонка для мобильных устройств (по одному) */
    gap: 20px; /* Меньше промежутков между блоками */
  }

  .service-card {
    padding: 30px 20px; /* Уменьшаем паддинги на мобильных */
  }
}






/* ===== ABOUT SECTION ===== */

.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label {
  font-size: 35px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d
}

.about-text h2 {
  font-size: 48px;
  line-height: 1.15;
  margin: 20px 0 30px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  max-width: 520px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.about-list li {
  padding-left: 28px;
  margin-bottom: 14px;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #cfb26d
}

/* RIGHT SIDE */

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: 20px;
}

.about-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  max-width: 380px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.about-icon {
  font-size: 28px;
  color: #cfb26d;
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-card {
    position: static;
    transform: none;
    margin-top: 40px;
  }
}
.about {
  width: 100%;
  min-height: 80vh;
  background-image: url("../images/about-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-card {
  position: absolute;          /* поверх фона */
  inset: 0;                    /* растягиваем на весь блок */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: rgba(247, 242, 235, 0.85); /* светлая вуаль */
  padding: 40px;
}
.about-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #cfb26d;
  color: #cfb26d;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  margin-bottom: 20px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 60px;
  text-align: center;
  max-width: 420px;
}
.about-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;

  border: 1px solid #d8a35d;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  color: #cfb26d
}
.about-overlay h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.about-overlay p {
  font-size: 14px;
  color: #666;
}

.hero-right {
  position: relative;
}

.hero-overlay {
  z-index: 1;
}

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











/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 100px 0;
  background-color: #fafafa;
  text-align: center;
}

/* Лейбл раздела */
.services-section .section-label {
  display: block;
  font-size: 40px;
  letter-spacing: 2px;
  color: #cfb26d;
  margin-bottom: 40px;
}

/* Заголовок секции */
.services-section h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 50px;
  color: #1c1c1c;
}

/* Сетка для карточек услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Три колонки для больших экранов */
  gap: 40px;
}

/* Карточки услуг */
.service-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 14px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #1c1c1c;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* Иконка в карточке */
.service-icon-img {
  width: 90px;
  height: 90px;
  display: block;
  margin: 0 auto 15px;
  transition: transform 0.3s, filter 0.3s;
}

.service-card:hover .service-icon-img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.service-icon-img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.service-card p,
.service-card h3 {
  position: relative;
  z-index: 2; /* Текст поверх фона */
}

.service-card-text-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 70%;
  background-color: rgba(217, 160, 102, 0.1);
  border-radius: 16px;
  z-index: 1;
}

/* Адаптивность для планшетов (1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* Две колонки для планшетов */
    gap: 30px;
  }

  .service-card h3 {
    font-size: 18px; /* Уменьшаем размер заголовка */
  }

  .service-card p {
    font-size: 14px; /* Уменьшаем размер текста */
  }

  .service-icon-img {
    width: 80px; /* Уменьшаем размер иконок */
    height: 80px;
  }
}

/* Адаптивность для мобильных устройств (768px) */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* Одна колонка на мобильных устройствах */
    gap: 20px;
    overflow-y: scroll; /* Разрешаем прокрутку */
  }

  .service-card {
    padding: 25px 20px; /* Уменьшаем padding */
  }

  .service-card h3 {
    font-size: 16px; /* Меньше размер шрифта для заголовка */
  }

  .service-card p {
    font-size: 13px; /* Меньше размер шрифта для текста */
  }

  .service-icon-img {
    width: 60px; /* Уменьшаем размер иконок */
    height: 60px;
  }
}

/* Адаптивность для очень маленьких экранов (480px) */
@media (max-width: 480px) {
  .services-section .section-label {
    font-size: 32px; /* Уменьшаем размер лейбла */
  }

  .services-section h2 {
    font-size: 24px; /* Уменьшаем размер заголовка */
  }

  .service-card h3 {
    font-size: 14px; /* Уменьшаем размер заголовка */
  }

  .service-card p {
    font-size: 12px; /* Уменьшаем размер текста */
  }

  .service-icon-img {
    width: 50px; /* Уменьшаем иконки */
    height: 50px;
  }
}









.portfolio-section {
  padding: 80px 0;
  background-color: #fafafa;  /* Светлый фон */
  text-align: center;
}

.portfolio-section .section-label {
  font-size: 1.2em;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d;
  margin-bottom: 20px;
}

.portfolio-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1c1c1c;
}

.portfolio-item {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;  /* Максимальная ширина для контента */
  margin: 0 auto;   /* Центрируем */
  overflow: hidden; /* Для предотвращения выхода текста за пределы */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out; /* Плавная анимация для увеличения */
}

.portfolio-item:hover img {
  transform: scale(1.05); /* Увеличиваем картинку при наведении */
}

.portfolio-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Темный фон с прозрачностью */
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  max-width: 80%; /* Ограничиваем ширину текста */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Тень для улучшения читаемости */
}

.portfolio-info h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 1.2em;
}




















/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  padding: 80px 0;
  background-color: rgba(31, 41, 55, 0.1);  /* Светлый темный фон */
  text-align: center;
}

.portfolio-section .section-label {
  font-size: 1.2em;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d;
  margin-bottom: 20px;
}

.portfolio-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1c1c1c;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.portfolio-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.portfolio-gallery img:hover {
  transform: scale(1.05); /* Увеличение картинки при наведении */
}









@media (max-width: 768px) {
  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
  }
}

@media (max-width: 480px) {
  .portfolio-gallery {
    grid-template-columns: 1fr; /* 1 колонка для мобильных устройств */
  }
}



/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  padding: 80px 0;
  background-color: rgba(31, 41, 55, 0.1);  /* Светлый темный фон */
  text-align: center;
}

.portfolio-section .section-label {
  font-size: 55px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d;
  margin-bottom: 20px;
}

.portfolio-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1c1c1c;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
}

.portfolio-slider {
  position: relative;
  max-width: 100%;
  overflow: hidden; /* Скрываем изображения, которые выходят за пределы */
}

.slides {
  display: flex;
  transition: transform 0.5s ease; /* Плавный сдвиг */
}

.portfolio-image {
  width: 100%; /* Каждое изображение будет занимать 100% ширины контейнера */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}

button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .portfolio-image {
    width: 90%; /* На меньших экранах изображение будет занимать 90% */
  }
}

@media (max-width: 600px) {
  .portfolio-image {
    width: 100%; /* На мобильных устройствах изображение будет занимать 100% */
  }
}




/* ===== 5-й Блок: Как мы работаем ===== */
.work-process h2 {
  color: #cfb26d;
  text-align: center;  /* Центрируем текст */
  font-size: 2.5em;    /* Размер шрифта для "So arbeiten wir" */
  margin-bottom: 30px; /* Отступ снизу */
}


/* Стили для шагов */
.work-process .steps {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.work-process .step {
  background-color: #f1eae1;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 22%;
  margin-bottom: 20px;
}

.work-process .step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;              /* Установим диаметр круга */
  height: 100px;             /* Установим диаметр круга */
  border-radius: 50%;       /* Круглая форма */
  background-color: #f7f7f7; /* Светлый фон вокруг иконки */
  border: 2px solid #d39c42; /* Желтая граница вокруг круга */
  margin: 0 auto 20px;      /* Центрируем и добавляем отступ снизу */
  overflow: hidden;         /* Обрезает изображение, если оно выходит за пределы круга */
}

.work-process .step-number img {
  width: 100%;              /* Растягиваем изображение на весь круг */
  height: 100%;             /* Высота изображения равна высоте круга */
  object-fit: contain;      /* Поддерживает пропорции изображения и вмещает его в круг */
}

.work-process h3 {
  font-size: 1.5em;
  color: #333;
  margin-top: 10px;         /* Отступ сверху */
}

.work-process .section-label {
  font-size: 1.2em;
  letter-spacing: 2px;
  font-weight: 600;
  color: #cfb26d;
  margin-bottom: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .work-process .steps {
    flex-direction: column;
    gap: 30px;
  }

  .work-process .step {
    width: 80%;  /* Блоки с иконками занимают 80% ширины */
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .work-process h2 {
    font-size: 2em;
  }

  .work-process .step-number {
    width: 60px;
    height: 60px;
  }

  .work-process h3 {
    font-size: 1.2em;
  }
}




/* Стили для блока "Инструменты" */
.tools {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.tools h2 {
    font-size: 35px;
    margin-bottom: 30px;
     color: #cfb26d; /* Заменяем на нужный цвет (например, оранжевый) */
}

.tools-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: -25px; /* Уменьшаем расстояние между блоками */
}

.tool-item {
    background-color: #fff;
    border: 2px solid #afafaf;
    border-radius: 8px;
    padding: 15px; /* Уменьшаем внутренние отступы */
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tool-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px; /* Уменьшаем расстояние между фото и текстом */
}

.tool-item p {
    font-size: 14px;
    color: #555;
}













/* ===== 5-й Блок: Что мы делаем ===== */
.what-we-do {
  padding: 100px 0; /* Немного уменьшаем отступы, чтобы сделать блок компактнее */
  background-color: #ffffec;
  text-align: center;
  min-height: 600px;
}

.what-we-do h2 {
  font-size: 3.5em;
  margin-bottom: 60px;
  color: #1c1c1c;
  font-weight: 600; /* Увеличиваем жирность для выделения заголовка */
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.what-we-do-item {
  position: relative;
  background-color: #ffffff;
  padding: 30px; /* Уменьшаем padding для компактности */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  position: relative;
  width: 80%; /* Уменьшаем ширину контейнера с изображением */
  margin: 0 auto;
}

.slider {
  display: block;
}

.slide {
  display: block;
}

.slide-image {
  width: 90%; /* Уменьшаем размер изображения */
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* Добавляем скругление углов изображения */
  border: 0.5px solid #e0e0e0; /* Тонкая рамка вокруг изображения */
  transition: transform 0.3s ease-in-out; /* Эффект нажатия для увеличения */
}

.slide-image:hover {
  transform: scale(1.05); /* При наведении изображение будет немного увеличиваться */
}

.text-overlay {
  position: absolute;
  bottom: 10%; /* Перемещаем текст в самый низ рамки */
  left: 50%;
  transform: translateX(-50%); /* Выравниваем по центру */
  z-index: 1;
  color: white;
  background: rgba(0, 0, 0, 0.7); /* Темный фон для улучшения читаемости */
  padding: 20px 30px;
  text-align: center;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Тень вокруг блока с текстом */
}

.text-overlay h3 {
  font-size: 2.6em;
  margin-bottom: 20px;
  font-weight: 600; /* Сделаем заголовок более жирным для выделения */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Добавляем тень к заголовку для контраста */
}

.text-overlay p {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #f4f4f4; /* Более светлый текст для лучшего контраста */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Добавляем тень к параграфу */
}

/* Адаптивность для планшетов (1024px) */
@media (max-width: 1024px) {
  .text-overlay h3 {
    font-size: 2.4em;
  }

  .text-overlay p {
    font-size: 1.1em;
  }

  .text-overlay {
    width: 90%; /* Уменьшаем ширину текста, чтобы не закрывать картинку */
    bottom: 8%; /* Немного поднимем текст */
  }

  .slide-image {
    width: 100%; /* Картинка будет занимать всю ширину */
  }
}

/* Адаптивность для мобильных устройств (768px) */
@media (max-width: 768px) {
  .text-overlay h3 {
    font-size: 2em;
  }

  .text-overlay p {
    font-size: 1.05em;
  }

  .text-overlay {
    width: 90%; /* Сужаем блок с текстом */
    bottom: 5%; /* Поднимем текст чуть выше */
    padding: 15px 20px; /* Уменьшаем отступы */
  }

  .slide-image {
    width: 100%; /* Картинка будет занимать всю ширину */
  }
}

/* Адаптивность для мобильных устройств (480px) */
@media (max-width: 480px) {
  .text-overlay h3 {
    font-size: 1.6em;
  }

  .text-overlay p {
    font-size: 1em;
  }

  .text-overlay {
    width: 100%; /* Текст будет занимать всю ширину на самых маленьких экранах */
    bottom: 0; /* Текст будет расположен внизу */
    padding: 10px 15px; /* Меньшие отступы */
  }

  .slide-image {
    width: 100%; /* Картинка будет занимать всю ширину */
  }
}








/* Общий стиль для страницы */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Заголовок секции */
.contact-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Описание под заголовком */
.contact-description {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

/* Контактная информация */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Отступы между контактными блоками */
  align-items: center;
}

/* Элемент контактной информации */
.contact-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 80%; /* Ширина каждого блока */
  max-width: 500px; /* Ограничиваем максимальную ширину */
  margin: 0 auto; /* Центрируем элементы */
}

/* Иконки */
.contact-icon {
  font-size: 2em;
  color: #cfb26d;
  margin-right: 20px; /* Отступ между иконкой и текстом */
}

/* Текст в каждом блоке */
.contact-text {
  display: flex;
  flex-direction: column;
}

/* Заголовок для каждого типа контакта */
.contact-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

/* Текст с контактной информацией */
.contact-text p {
  font-size: 16px;
  color: #666;
}

.contact-text a {
  color: #d39c42; /* Золотой цвет для ссылок */
  text-decoration: none;
}

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

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .contact-title {
    font-size: 30px;
  }

  .contact-description {
    font-size: 16px;
  }

  .contact-item {
    width: 100%;
    padding: 15px;
  }

  .contact-icon {
    font-size: 1.8em;
  }

  .contact-text h3 {
    font-size: 16px;
  }

  .contact-text p {
    font-size: 14px;
  }
}













.contact-section {
  padding: 100px 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 239, 204, 0.8)), url('path_to_your_image.jpg') no-repeat center center;
  background-size: cover; /* Обеспечивает растяжение изображения по всей секции */
}


.contact-title {
  font-size: 48px;
  margin-bottom: 30px;
  text-align: center;
  color: #cfb26d;
}

.contact-description {
  font-size: 20px;
  text-align: center;
  color: #000000;
  margin-bottom: 50px;
}

/* Контактная информация */
.contact-info {
  display: flex;
  justify-content: center; /* Центрируем блоки по горизонтали */
  gap: 30px; /* Отступы между блоками */
  flex-wrap: wrap; /* Добавляем возможность переноса на мобильных */
  text-align: left; /* Текст по левому краю */
  width: 100%;
  margin-top: 100px; /* Отступ сверху */
}

.contact-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(252, 252, 252, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-basis: 30%; /* Каждый блок занимает 30% ширины */
  max-width: 500px; /* Ограничиваем максимальную ширину блоков */
  min-width: 250px; /* Минимальная ширина блоков */
  text-align: left; /* Изменили текст на выравнивание влево */
  margin-bottom: 30px;
  cursor: pointer; /* Курсор при наведении */
  display: flex; /* Используем flex для выравнивания */
  align-items: center; /* Центрируем по вертикали */
  justify-content: flex-start; /* Прикрепляем элементы к левой стороне */
}

.contact-icon {
  width: 40px;
  height: 45px;
  margin-right: 15px;
}

.contact-text p {
  font-size: 16px;
  color: #000;
  display: inline-block; /* Убираем блочное поведение */
  vertical-align: middle; /* Вертикальное выравнивание с иконкой */
}

.contact-text a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  white-space: nowrap; /* Запрещаем перенос текста на несколько строк */
  vertical-align: middle; /* Вертикальное выравнивание с иконкой */
}

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

/* ===== FORM SECTION ===== */
.contact-form {
  padding: 50px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(252, 252, 252, 0.1);
  margin-top: 40px;
  text-align: left; /* Выравнивание текста по левому краю */
  position: relative; /* Добавляем позиционирование для нормального расположения кнопки */
}

.contact-form h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #cfb26d
}

.contact-form p {
  font-size: 18px;
  color: #000;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #cfb26d
}

textarea {
  resize: vertical;
}













/* ===== FORM SECTION ===== */
.contact-form {
  padding: 40 50px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(252, 252, 252, 0.1);
  margin-top: 50px;
  text-align: left;
  position: relative; /* Позиционируем форму для фиксации кнопки */
  display: flex;
  flex-direction: column; /* Элементы внутри формы будут располагаться вертикально */
  justify-content: flex-start; /* Все элементы отжимаются к верхней части */
  min-height: 650px; /* Минимальная высота формы */
  padding-bottom: 20px; /* Место для кнопки внизу */
}
/* ===== Кнопка отправки в форме ===== */
.submit-btn {
  background-color: #cfb26d;
  color: white;
  font-size: 20px;
  padding: 10px 40px; /* Размер кнопки */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: absolute; /* Фиксируем кнопку */
  
  /* Параметры, которые можно будет изменять вручную: */
  bottom: -18px; /* Расстояние от нижней части формы (можно изменить) */
  right: 50px; /* Расстояние от правой части формы (можно изменить) */
  /* Для изменения расположения по вертикали и горизонтали: */
  /* Используйте margin-top или margin-left для дополнительного управления */
  margin-top: 310px; /* Пример: расстояние сверху, можно уменьшить или увеличить */
  margin-left: 0; /* По умолчанию кнопка справа, можно использовать для левого выравнивания */
  height: 40px; /* Высота кнопки */
  width: auto; /* Ширина кнопки под её контент */
}

/* ===== Эффекты для кнопки ===== */
.submit-btn:hover {
  background-color: #e8a85a;
}

.submit-btn:focus {
  outline: none;
}






/* ===== Добавление стилей для радиокнопок ===== */
.radio-group {
  display: flex;
  gap: 20px; /* Отступ между радиокнопками */
  align-items: center;
  margin-top: 10px;
}

.radio-item {
  display: flex;
  align-items: center;
}

.radio-item input[type="radio"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.radio-item label {
  font-size: 16px;
  color: #555;
  margin: 0;
  cursor: pointer;
}








/* =============================== */
/*       АДАПТИВНОСТЬ для мобильных */
/* =============================== */
@media (max-width: 768px) {
  .contact-form {
    padding: 15px; /* Уменьшаем отступы внутри формы */
    min-height: 500px; /* Увеличиваем минимальную высоту формы на мобильных */
    margin-bottom: 20px; /* Уменьшаем отступ снизу формы */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Располагаем элементы с отступами */
  }

  .contact-form h2 {
    font-size: 35px; /* Уменьшаем размер заголовка */
  }

  .contact-form p {
    font-size: 16px; /* Уменьшаем размер описания */
  }

  .form-group label {
    font-size: 15px; /* Уменьшаем размер меток */
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px; /* Уменьшаем шрифт полей ввода */
    padding: 10px; /* Уменьшаем внутренние отступы */
  }

  /* Для кнопки в мобильной версии */
  .submit-btn {
    font-size: 14px;
    padding: 12px 25px;
    margin-top: 20px; /* Отступ сверху */
    align-self: center; /* Центрируем кнопку */
    width: auto;
    position: static; /* Убираем абсолютное позиционирование на мобильных */
    margin-bottom: 20px; /* Увеличиваем отступ снизу */
  }
}
 /* Уменьшаем размер текста для почты (снизу) */
  .contact-text a {
    font-size: 15px; /* Уменьшаем размер шрифта почты */
  }






/* Обнуление стилей для ссылок */
a {
  text-decoration: none; /* Убираем подчеркивание */
  color: inherit; /* Ссылка будет наследовать цвет от родительского элемента */
  outline: none; /* Убираем обводку, которая появляется при фокусе */
  cursor: pointer; /* Устанавливаем указатель при наведении */
}






















/* Стиль для кнопки открытия меню */
.menu-btn {
  font-size: 40px; /* Увеличиваем размер шрифта */
  position: fixed;
  top: 84px;/* Опускаем кнопку ниже (можно настроить по вашему вкусу) */
  right: 20px;

  background: none; /* Убираем фон */
  color: #cfb26d; /* Цвет текста кнопки */
  border: none;
  padding: 20px; /* Увеличиваем отступы кнопки */
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000; /* Чтобы кнопка была поверх контента */
  transition: color 0.3s ease, opacity 0.3s ease; /* Плавное изменение цвета и прозрачности */
}

/* Стиль при наведении на кнопку */
.menu-btn:hover {
  color: #CDA434; /* Темно-золотистый цвет для текста при наведении */
}

/* Когда кнопка скрыта */
.menu-btn.hidden {
  opacity: 0;
  pointer-events: none; /* Отключаем кнопку для кликов, когда она скрыта */
}

.menu-btn:focus {
  outline: none; /* Убираем обводку при фокусировке */
}






















/* Стиль для самого поп-ап меню */
.popup-menu {
  display: none; /* Меню скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
  z-index: 999; /* Размещаем меню поверх контента */
  justify-content: center;
  align-items: center;
}

/* Стиль для содержимого меню */
.popup-menu-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  max-width: 400px;
}

.popup-menu-content ul {
  list-style-type: none;
  padding: 0;
}

.popup-menu-content ul li {
  margin: 20px 0;
}

.popup-menu-content ul li a {
  text-decoration: none;
  color: black; /* Цвет текста на черный */
  font-size: 20px;
}

.popup-menu-content ul li a:hover {
  text-decoration: underline;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #cfb26d
}

.close-btn:hover {
  color: #a08852
}

html {
  scroll-behavior: smooth;
}


/* =============================== */
/*       АДАПТИВНОСТЬ              */
/* =============================== */
@media (max-width: 768px) {
  /* Уменьшаем размер кнопки и позиционирование на мобильных */
  .menu-btn {
    font-size: 34px; /* Уменьшаем размер шрифта для мобильных */
    top: 20px; /* Понижаем кнопку на мобильных */
    right: 15px; /* Сдвигаем кнопку немного ближе */
    padding: 15px; /* Уменьшаем отступы кнопки */
  }

  /* Стиль для меню */
  .popup-menu-content {
    width: 90%; /* Увеличиваем ширину меню на мобильных */
    max-width: 350px; /* Ограничиваем максимальную ширину */
    padding: 20px; /* Уменьшаем отступы */
  }

  .popup-menu-content ul li a {
    font-size: 18px; /* Уменьшаем шрифт для мобильных */
  }
}