/*
  Theme Name: the лето
  Theme URI: http://d7tn.kz/
  Description: site
  Author: Dostan Aitkhozhin
  Version: 3.0
*/

* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  margin: 0 auto;
  background: #edefed;
}

.block1 {
  width: 100%;
  text-align: center;
  margin: 0px auto 10px;
  font-size: 0; /* Убираем пробелы между inline-block элементами */
    height: 100vh; /* Высота блока на весь экран */
  overflow: hidden; /* Чтобы скрыть излишки видео */
  position: relative;
    background-color: rgba(43, 43, 43, 0.5); /* Темный полупрозрачный фон */

}
.block1 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Заполняет весь блок, не искажая видео */
  z-index: -1; /* Видео будет на фоне */
}
.block1 > .logo > img{
  width: 270px;
  margin: 0px;
  padding: 0px;
}
.block1 > .logo,
.block1 > .menu,
.block1 > .tel {
  display: inline-block;
  vertical-align: top;
  height: 100px;
}

.block1 > .logo {
width:270;
}
.block1 > .logo > a > img {
  margin-top: 10px;
  width: 180px;
}
.block1 > .menu {
  width: 650px;
  margin-right: -1px;
}

.block1 > .tel {
  width: 270px;
  position: relative;
}
.block1 > .tel > a{
    display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.block1 > .but{
  display: inline-block;
  background: transparent;
  border: 1px solid #fff;
  width:175px;
  padding: 5px;
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  margin: 32px 0px 0px 0px;
}
.block1 > .prev{
  width: 1350px;
  height: 445px;
  margin: 0 auto 0;
  text-align: center;
  position: relative;
}
.block1 > .prev > h1{
  font-size: 115px;
  font-weight: 100;
  color: #fff;
  margin: 55px 0px 0px 0px;
}
.block1 > .prev > h1 > b{
  font-weight: 700;
}
.block1 > .prev > h2{
  position: absolute;
  font-size: 40px;
  font-weight: 200;
  color: #fff;
  margin: 0px auto;
  text-transform: uppercase;
  left: 0px;
  right: 0px;
  top: 35%;
}

.block1 > .prev .but {
    width: 220px;
    margin: 120px auto 0px;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    padding: 10px;
    background: #ffd800;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}


.block1 > .prev .but:hover {
    color: #000;
    background: #ffd800;
}

.block1 > .prev-f{
  width: 1200px;
  margin: 0 auto 0;
  text-align: left;
}
.block1 > .prev-f > a{
    display: inline-block;
    margin-right: 70px;
    color: #fff;
    border-top: 3px solid #ffd800;
    font-size: 16px;
    padding-top: 6px;
    font-weight: 400;
}
.block1 > .prev-f > a.pr{
    display: inline-block;
    margin-left: 385px;
    margin-right: 0px; 
    color: #fff;
    font-size: 16px;
    padding-top: 6px;
    font-weight: 400;
    border-top: none;
}


.block2{
  width: 1350px;
  margin: 0 auto;
  text-align: center;
}
.block2 > .product {
  position: relative;
  cursor: pointer;
  background-size: cover;
  display: inline-block;
  width: 400px;
  height: 400px;
  margin: 10px;
  border: 1px solid #ccc;
  transition: 0.5s ease;
  vertical-align: top;
  overflow: hidden; /* важно, чтобы ::before не выходил за границы */
}

.block2 > .product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(43, 43, 43, 0.5); /* начальное затемнение */
  z-index: 1;
  transition: 0.5s ease;
}

.block2 > .product:hover::before {
  background-color: rgba(43, 43, 43, 0.1); /* станет светлее при наведении */
}

.block2 > .product a {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  margin: 0 auto;
  color: white;
  font-size: 23px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 2;
  text-align: center;
}

.block2 > .product a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 20%;
  height: 2px;
  background-color: #ffd800;
  transition: transform 0.4s ease;
}

.block2 > .product:hover a::after {
  transform: translateX(-50%) scaleX(1);
}
.block2 > .inf{
  width: 100%;
  height: 400px;
}
.block2 > .inf > img{
  vertical-align: top;
  width: 845px;
  height: 330px;
  display: inline-block;
}
.block2 > .inf > .info{
  position: relative;
  padding: 20px;
  text-align: left;
  vertical-align: top;
  width: 350px;
  height: 300px;
  display: inline-block;
  margin-left: 10px;
}
.block2 > .inf > .info > h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.block2 > .inf > .info > h3{
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}
.block2 > .inf > .info > .buts{
    width: 315px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    background: #35ceb2;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.5s ease;
}
.block2 > .inf > .info > .buts:hover{
  background: #12977f;
}
.block3 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 700px;
}

.block3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(image/t-pergol.webp) no-repeat 50% 50%;
  background-size: cover;
  transform: scale(1);
  transition: transform 3s ease;
  z-index: 0;
}

.block3:hover::before {
  transform: scale(1.1); /* Увеличение фона */
}

.block3 > .vn{
  width: 1350px;
  margin: 0 auto;
  position: relative;
}
.block3 > .vn > .bl{
  background: #fff;
  width: 400px;
  height: 400px;
  position: absolute;
  right: 0;
  top:100px;
  border: 1px solid #fff;
  padding: 20px;
  border-radius: 5px;
}
.block3 > .vn > .bl > h2{
  text-transform: uppercase;
      font-size: 30px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}
.block3 > .vn > .bl > h3{
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    color: #000;
}
.block3 > .vn > .bl > .buts{
 width: 315px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    background: #35ceb2;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.5s ease;
  }

.block3 > .vn > .bl > .buts:hover{
  background: #12977f;
}
.block3 > .vn > .bl-photo{
  width: 800px;
  height: 400px;
  position: absolute;
  left: 0;
  top:100px;
  padding: 20px;
  border-radius: 5px;
}
.block3 > .vn > .bl-photo > a{
  background: #000;
  vertical-align: top;
  display: inline-block;
  width: 235px;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  border: 1px solid #fff;
  margin: 10px 10px 10px 10px;
  border-radius: 5px;
    transition: transform 0.4s ease;

}
.block3 > .vn > .bl-photo > a:hover{
    transform: scale(1.05);

}

.block3 > .vn > .bl-photo > a:nth-child(2n) {
 margin: 25px 10px 10px 10px;
}
.block3 > .vn > .bl-photo > a > img {
  width: 235px;
  border-radius: 5px;
  transition: transform 0.4s ease;
}

.block3 > .vn > .bl-photo > a:hover > img {
  transform: scale(1.05);
}
.block4{
  width: 100%;
}
.block4 > .bl{
  text-align: center;
  width: 1350px;
  height: auto;
  margin: 20px auto;
  padding-bottom: 20px;
  vertical-align: top;
}
.block4 > .bl > a{
  vertical-align: top;
  width: 500px;
  display: inline-block;
}
.block4 > .bl > a > img{
  width: 500px;
}
.block4 > .bl > .info{
  display: inline-block;
  width: 500px;
  height: 400px;
  padding: 20px;
  text-align: left;
  position: relative;
}
.block4 > .bl > .info > h2{
    text-transform: uppercase;
      font-size: 30px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}
.block4 > .bl > .info > h3{
    font-size: 18px;
    font-weight: 300;
    line-height: 32px;
    color: #000;
}
.block4 > .bl > .info > .buts{
  cursor: pointer;
 width: 485px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border:2px solid #35ceb2;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 30px;
    color: #000;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.5s ease;
}
.block5{
  background: url(image/vertical.jpg) no-repeat 50% 0%;
  background-size: 100% 400px;
  width: 100%;
  height: 720px;
}

.block5 > .bl{
  position: relative;
  width: 950px;
  height: 420px;
  margin: 0 auto;
}

.block5 > .bl > h2 {
  position: absolute;
  text-transform: uppercase;
  font-size: 33px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  top: 90px;
  right: 20px;
}

.block5 > .bl > h2::before {
  content: "";
  position: absolute;
  top: -10px; /* расстояние до текста */
  left: 0;
  width: 70%;
  height: 3px;
  background-color: #ffd800; /* цвет линии */
}
.block5 > a {
  background: url(image/str.png) no-repeat 100% 50%;
  background-size: 30px;
  display: block;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 500;
  color: #000;
  border-bottom: 1px solid #ccc;
  width: 900px;
  margin: 10px auto;
  height: 30px;
  padding: 25px 10px 15px 55px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.5s all; ease;
}
.block5 > a:hover {
    padding: 25px 10px 15px 75px;
    opacity: 0.5;
}

.block6 {
  display: flex;
  max-width: 965px;
  height: 500px;
  margin: 0 auto;
  gap: 20px;
  align-items: flex-start;
}

.gallery {
  flex: 1;
  overflow: hidden;
  max-width: 60%;
}

.gallery img {
  border-radius: 30px;
  width: 550px;
  display: none;
}

.gallery img.active {
  display: block;
}

.gallery-info {
  flex: 1;
  max-width: 40%;
  position: relative;
}

.gallery-info h2 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 500;
}

.gallery-info h3 {
  font-weight: 300;
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 18px;
  color: #555;
}

.navigation {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.gallery-info a {
     position: absolute;
    font-weight: 300;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
    text-align: center;
    border: 3px solid #ccc;
    top: 230px;
    text-decoration: none;
    padding: 10px;
}
.left, .right {
  cursor: pointer;
  font-size: 30px;
  padding: 10px;
  user-select: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 50px;
  text-align: center;
  transition: background 0.2s;
}

.left:hover, .right:hover {
  background-color: #f0f0f0;
}

.block7{
  background: url(image/ostekl.jpg) no-repeat 50% 0%;
  background-size: 100% 400px;
  width: 100%;
  height: 720px;
}

.block7 > .bl{
  position: relative;
  width: 950px;
  height: 420px;
  margin: 0 auto;
}

.block7 > .bl > h2 {
  position: absolute;
  text-transform: uppercase;
  font-size: 33px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  top: 90px;
  left: 0px;
}

.block7 > .bl > h2::before {
  content: "";
  position: absolute;
  top: -10px; /* расстояние до текста */
  left: 0;
  width: 70%;
  height: 3px;
  background-color: #ffd800; /* цвет линии */
}
.block7 > a {
  background: url(image/str.png) no-repeat 100% 50%;
  background-size: 30px;
  display: block;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 500;
  color: #000;
  border-bottom: 1px solid #ccc;
  width: 900px;
  margin: 10px auto;
  height: 30px;
  padding: 25px 10px 15px 55px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.5s all; ease;
}
.block7 > a:hover {
    padding: 25px 10px 15px 75px;
    opacity: 0.5;
}


nav {
  padding: 30px 0;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
}

.menu > li {
  position: relative;
  margin-right: 25px;
}

.menu > li > a {
  display: block;
  margin: 10px 20px;
  padding-bottom: 10px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;

    position: relative; /* Нужно для позиционирования псевдоэлемента */
  color: white;
  text-decoration: none; /* Отключаем стандартное подчеркивание */
}

.menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* или 5px, если хочешь ниже текста */
  width: 0;
  height: 2px;
  background-color: #ffd800;
  transition: width 0.3s ease;
}

.menu > li > a:hover::after {
  width: 100%; /* Подчеркивание на всю ширину ссылки */
}
.menu > li > a:hover {
  color: #fff; /* Эффект изменения цвета текста при наведении */
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff
}

.submenu li a {
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.submenu li a:hover {
  color: #000; /* Эффект изменения цвета текста при наведении */
}

.menu > li:hover .submenu {
  display: block;
}
.header{
  position: relative;
  width: 100%;
  height: 100vh; /* Высота блока на весь экран */
  background-size: cover;
  background-position: 50% 50%;
}
.header > .ps > a{
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid #ffd800;
  font-size: 22px;
  font-weight: 400;
  position: absolute;
  left: ;
}
footer{
  width: 100%;
  height: 500px;
  background: #000;
  padding-bottom: 50px;
}
footer > .footer-vn{
  width: 1350px;
  margin: 0 auto;
  text-align: center;
}
footer > .footer-vn > .bl1:nth-of-type(2) {
margin-right: 210px;
margin-left: 210px;
}
footer > .footer-vn > .bl1{
  vertical-align: top;
  width: 280px;
  height: 490px;
  display: inline-block;
  margin: 15px;
  text-align: left;
}
footer > .footer-vn > .bl1 > h3{
  margin-top: 20px;
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}
footer > .footer-vn > .bl1 > h3:not(:first-of-type) {
  margin-top: 50px;
}
footer > .footer-vn > .bl1 > a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 8px;
}
footer > .footer-vn > .bl1 > a:hover{
  color: #ffd800;
}
.menu-prlx {
  position: fixed;               /* Меню всегда видно */
  top: 36%;
  left: -1%;
  width: 65px;                   /* Узкая полоска меню */
  height: 200px;                 /* На всю высоту экрана */
  background:#ffd800 url(image/menu.png) no-repeat center;
  background-size: 35px;
  writing-mode: vertical-rl;     /* Текст вертикально сверху вниз */
  text-orientation: upright;     /* Буквы читаются нормально */
  display: flex;
  align-items: center;           /* Центровка по горизонтали */
  justify-content: center;       /* Центровка по вертикали */
  font-weight: bold;
  z-index: 9999;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, opacity 0.3s ease;  /* Плавное изменение фона и прозрачности */
  cursor: pointer;              /* Курсор как для кликабельного элемента */
  opacity: 0.3;                 /* Изначальная прозрачность */
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: all 0.5s ease;
}

.menu-prlx:hover {
  opacity: 0.5;                   /* Прозрачность при наведении — 100% */
  left: 0%;
  transition: all 0.5s ease;
}

body.no-scroll {
  overflow: hidden;
}
.menu-over {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: auto;
  background-color: rgba(0,0,0,0.9); /* например */
  z-index: 9999;
  padding-bottom: 20px;
}
.menu-over > .vn{
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
    padding-bottom: 20px;

}
.menu-over > .vn > .bl1{
  vertical-align: top;
  display: inline-block;
  width: 250px;
  padding-top: 10px;
  padding-left:30px; 
}
.menu-over > .vn > .bl1 > h3{
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-top: 30px;
  margin-bottom: 20px;
}
.menu-over > .vn > .bl1 > a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 200;
  margin-top: 5px;
}
.menu-over > .vn > .bl1 > a:hover{
  color: #ffd800;
}
.menu-over > .vn > .bl1:nth-child(2) {
  margin-right: 110px;
  margin-left: 110px; 
}

.bioclimatic-pergolas {
  background-color: #fff;
  color: #1f2937;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.bioclimatic-pergolas h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.bioclimatic-pergolas h3 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 20px;
}

.bioclimatic-pergolas h4 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.bioclimatic-pergolas ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.bioclimatic-pergolas ul li {
  margin-bottom: 10px;
}

.bioclimatic-pergolas .card {
  background-color: #f3f4f6;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bioclimatic-pergolas .highlight-box {
  background-color: #e0f2fe;
  padding: 25px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 40px;
}

.bioclimatic-pergolas .highlight-box-green {
  background-color: #d1fae5;
  padding: 25px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 40px;
}

.bioclimatic-pergolas .grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
  font-weight: 500;
  text-align: center;
}

.bioclimatic-pergolas .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
