body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  min-height: 100vh;
  background-color: #f5f5f5;
  color: #333;
}

.stick-page {
  min-height: 100vh;
  display: flex;
  flex-direction:column;
}


button 
{  font-family: 'Poppins', sans-serif; }


.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


header {
  background-color: #2c3e50;
  padding: 5px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#contact-header {
  margin-left: 19%;
  color: white;
}

.logo {
  width: 250px;
  height: auto;
  border-radius: 16px;
  margin-top: 2%;
  margin-bottom: 2%;
}

.header-button {

  background: white;
  color: rgb(3, 3, 3);
  text-decoration: none;
  letter-spacing: 0.07em;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.header-button:hover {
  transform: translateX(-3px);
  opacity: 0.7;
}

a {
  color: black;
}

.general-block {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  height: 400px;
  overflow: hidden;
  border-radius: 0px;
  display: flex;
  align-items: center;
}

/* КАРТИНКА */
.general-image {
  position: absolute;
  inset: 0;
  /*background-image: url("work1.jpg"); /* <- твоя картинка 
  background-size: cover;
  background-position: center;*/
  z-index: 1;

}

.general-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /*z-index: 1;*/
}

.general-image {
  transition: transform 0.6s ease;
}

/*general-block:hover .general-image {
  transform: scale(1.05);
} */

/* направление layout */
.general-block.left {
  flex-direction: row;
}

.general-block.right {
  flex-direction: row-reverse;
}

/* ГРАДИЕНТНЫЙ ПЕРЕХОД */
.general-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* LEFT: текст слева → белый слева */
.general-block.left::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(245, 245, 245, 0.8) 50%,
    rgba(245, 245, 245, 0.2) 70%,
    rgba(245, 245, 245, 0) 100%
  );
}

/* RIGHT: зеркально */
.general-block.right::after {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(245, 245, 245, 0.8) 50%,
    rgba(245, 245, 245, 0.2) 70%,
    rgba(245, 245, 245, 0) 100%
  );
}

/* ТЕКСТ */
.general-text {
  position: relative;
  z-index: 10;

  max-width: 40%;
  padding: 40px;

  font-size: 17px;
}

.general-text a:hover{
  text-decoration: none;
}

.general-text ul {
  padding-left: 0;
  margin-left: 0;

  /*list-style: none;*/
  list-style-position: inside;
}

.general-text h2 {
  margin-bottom: 10px;
}

.general-text p {
  color: #333;
  line-height: 1.5;
}

.general-block.right .general-text {
  text-align: right;
  margin-left: auto;
}

.contact {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 8px;
  margin-left: 45%;
  line-height: 90%;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #2c3e50;
  color: white;
  margin-top: auto;
}



/*///// Form page /////*/



.header-form {
  margin: 20px auto;
  max-width: 1070px;
}


.form-wrapper {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.form-wrapper {
  max-width: 660px;
  margin: 20px auto;
}

/* BACK BUTTON */
.back-link {
  display: inline-block;
  margin-bottom: 2px;
  color: #2c3e50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.back-container {
  max-width: 600px;
  margin: 30px auto 10px auto;
  padding: 100px 30px;
}

.back-link {
  display: inline-block;
  padding: 10px 18px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.back-link:hover {
  background-color: #f0f0f0;
  opacity: 0.7;
  transform: translateX(-3px);
}

.contact-form {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  margin: 20px auto;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.contact-form input,
.contact-form textarea {
  width: 95% !important;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 5px;
  border: 0.6px solid #727171;
}

.contact-form button {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}


.contact-form button:hover {
  opacity: 0.7;
  background-color: #44586d;
  transform: translateX(-3px);
}


/*////Services//////*/



.image1-button {
  position: absolute;
  bottom: 25px;
  right: 25px;

  z-index: 5;

  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-decoration: none;

  padding: 14px 24px;
  border-radius: 12px;

  font-weight: 600;
  letter-spacing: 0.05em;

  transition: all 0.3s ease;

  font-size: 18px;
}

.image1-button:hover {
  background-color: #f0f0f0;
  opacity: 0.7;
  transform: translateX(-3px);
}

.image2-button {
  position: absolute;
  bottom: 25px;
  left: 25px;

  z-index: 5;

  background-color: #ffffff;
  color: rgb(0, 0, 0);
  
  text-decoration: none;

  padding: 14px 24px;
  border-radius: 12px;

  font-weight: 600;
  letter-spacing: 0.05em;

  transition: all 0.3s ease;

  font-size: 18px;
}

.image2-button:hover {
  background-color: #f0f0f0;
  opacity: 0.7;
  transform: translateX(-3px);
}

.service-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;

  max-width: 1000px;
  margin: 20px auto;
  padding: 25px 30px;

  font-family: 'Poppins', sans-serif;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.service-header h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.service-price {
  color: #06a13f;
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.service-features {
  margin-top: 20px;
  padding-left: 20px;
  color: #666;
  line-height: 1.8;
}

.service-features li {
  margin-bottom: 5px;
}

.back-back {
  max-width: 1000px;
  margin: 20px auto 10px auto;
}


/*//////АДАПТАЦИЯ//////*/


/* Телефоны */
@media (max-width: 768px) {

  /* Заголовки */
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  /* Обычный текст */
  p,
  label,
  input,
  textarea,
  button {
    font-size: 14px;
  }

  /* Логотип */
  .logo {
    width: 150px;
    height: auto;
  }

  /* Кнопки */
  .header-button, 
  .image1-button, .image2-button  {
    padding: 10px 20px;
    font-size: 14px;
  }

  .contact {
    margin-left: 18%;
    line-height: 1;
  }

  /*

  .general-text a {
    font-size: 14px;
    text-decoration: underline;
  }
  .general-text a:hover {
    text-decoration: none !important;
  }
  */

  .back-back h1 {
    font-size: 24px;
  }

  .service-price {
    font-size: 20px;
  }

  .service-header h3 {
    font-size: 22px;
  }

  footer {
    font-size: 8px;
  }
}

/*
section {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}


*/

/*.swiper-container {
  max-width: 800px;
  height: 400px;
  margin: 30px auto;
  overflow: hidden;
  position: relative; /* 👈 важно! для абсолютного позиционирования стрелок 
}

.swiper-button-next,
.swiper-button-prev {
  color: #2c3e50;          
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0); 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next {
  right: 10px;
  position: absolute;
}

.swiper-button-prev {
  left: 10px;
  position: absolute;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: 90% !important;         
  height: 400px;
  background-size: cover;
  background-position: center;
} */



