* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-focus-ring-color: transparent;
}


html, body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

body {
  background: #fafafa;
}

/* Меню навигации */
header {
  padding: 0;
  margin: 0;
  background: url(../Media/clothes/ban.jpg) center center/cover;
  height: 100vh;
}



nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.nav-logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

/* Исходный прозрачный стиль */
nav.transparent {
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* После прокрутки — белый фон и чёрный текст */
nav.scrolled {
  background-color: #ffffff;
  color: #000000;
}

/* Чтобы ссылки тоже меняли цвет */
nav.scrolled a {
  color: #000000;
}

nav.transparent a {
  color: white;
}
nav.transparent:hover a {
  color: black;
}

nav.transparent img {
  filter: invert(100%); /* делает иконку белой, если она чёрная */
}

nav.transparent .burger-menu img {
  filter: invert(0%);
}


nav.scrolled img {
  filter: invert(0%);
}

/* ЭФФЕКТ НАВЕДЕНИЯ: фон становится белым, иконки — чёрными */
nav.transparent:hover {
  background-color: white;
  color: black;
}

nav.transparent:hover img {
  filter: invert(0%);
}

.logo_header {
  width: 220px;
}

ul {
  display: flex;
}
li {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin-left: 40px;
  font-family: roboto;
  font-weight: 300;
  font-size: 13px;
  position: relative;
}
li:first-child {
  margin-left: 60px;
}

li img {
  width: 18px;
}

li a {
  text-decoration: none;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 10px;
}

li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: rgb(0, 0, 0);
  transition: width 0.3s ease-in-out;
}

li:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}
.menu_burger {
  display: none;
}


.cart{
margin-right: 60px;
transition: 0.5s;
}
.cart:hover{
transform:scale(1.04);
}

/* логотип */
.block_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.logo {
 margin-top: 360px;
}
.logo img {
  width: 550px;
}

.text h1 {
  flex: 1;
  display: flex;
  justify-content: center;
  font-size: 25px;
  color: white;
  font-family: roboto;
  font-weight: 200;
  font-style: inherit;
}

/* Кнопка каталог */

.btn_gen {
  display: flex;
  justify-content: center;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 75px;
  border: 1px solid white;
  color: #fff;
  text-decoration: none;
  font-family: roboto;
  font-weight: 200;
  font-size: 25px;
  margin-top: 250px;
  transition: 0.3s;
}
.btn:hover {
  transform: scale(1.04);
  background: rgb(255, 255, 255, 0.1);
}

/* Промосекция */
.promo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  margin-top: 70px;
  margin-bottom: 130px;
  max-width: 100%;
  opacity: 0;
  color: white;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.block_clother img{
  object-fit: cover;
  width: 400px;
  height: 600px;
  
}
.promo-section h2 {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  display: flex;
  align-items: center;
  font-family: roboto;
  font-size: 90px;
  font-weight: 700;
  color: #000000;
  align-self: flex-start;
  width: 100%;
  display: flex;
  justify-content: center;
}

.block_clother {
  position: relative;
  overflow: hidden;
  margin-top: 155px;
  flex-wrap: wrap;
}

.text_clother {
  position: absolute;
  bottom: 100px;
  height: 70px;
  width: 270px;
  background: white;
  padding: 20px;
  transition: 0.3s;
}
.text_clother:hover {
  width: 300px;
}

.text_clother p {
  font-size: 20px;
  font-family: roboto;
  font-weight: 200;
  margin-bottom: 20px;
}
.text_clother a {
  font-size: 17px;
  font-family: roboto;
  font-weight: 200;
  color: black;
  margin-top: 100px;
}

.image {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.image img {
  transition: 0.2s;
}

.image img:hover {
  transform: scale(1.05);
}

.promo-section p {
  color: #000000;
}

.promo_text {
  font-family: roboto;
  font-weight: 300;
  font-size: 22px;
  width: 700px;
}
.promo_text2 {
  font-family: roboto;
  font-weight: 300;
  font-size: 22px;
  width: 700px;
  text-align: right;
}

.promo_section2 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  z-index: 1;
  margin-top: 50px;
}

.promo_section2 .tm {
  font-family: roboto;
  font-size: 35px;
  font-weight: 200;
  color: white;
}
.promo_section2 .tm_sec {
  font-family: roboto;
  font-size: 20px;
  font-weight: 200;
  color: white;
  margin-top: 10px;
}

.promo_section2 video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
  filter: blur(3px) brightness(60%);
}

.promo_section2 {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* блок галерея */

.gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(0, 0, 0);
  margin-top: 150px;
}

/* Главный блок с картинками */
.gallery_image {
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 150px;
}

.gallery h2{
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  display: flex;
  align-items: center;
  font-family: roboto;
  font-size: 90px;
  font-weight: 700;
  color: #000000;
  align-self: flex-start;
  width: 100%;
  display: flex;
  justify-content: center;
}

.block_img {
  display: flex;
  flex-direction: column;
  margin: 10px;
  position: relative;
  overflow: hidden;
  width: 470px;
  height: 700px;
}
.gallary_text {
  position: absolute;
  bottom: 10px;
  padding: 40px;
}
.gallary_text a {
  font-family: roboto;
  font-weight: 200;
  font-size: 20px;
  color: rgb(255, 255, 255);
}

.block_img p {
  margin-top: 25px;
  font-family: roboto;
  font-weight: 200;
  font-size: 25px;
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
}

.block_img img {
  transition: 0.3s;
  width: 470px;
  height: 700px;
  object-fit: cover;
}

.block_img img:hover {
  transform: scale(1.03);
}

/* Кнопка больше */
.more {
  display: flex;
  justify-content: center;
  justify-self: center;
  align-items: center;
  width: 221px;
  height: 59px;
  border: 1px solid rgb(0, 0, 0);
  color: #000000;
  text-decoration: none;
  font-family: roboto;
  font-weight: 200;
  font-size: 22px;
  margin-top: 50px;
  transition: 0.3s;
}
.more:hover {
  transform: scale(1.04);
  background: rgba(0, 0, 0, 0.1);
}

/* КИБЕРЛЕНД */

.cyberland {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1c1c1c;
  height: 120vh;
  overflow: hidden;
  transform: translateY(50px);
  width: auto;
  border-radius: 13px;
  margin-top: 50px;
}
.cyberland video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
  filter: blur(4px) brightness(60%);
}

.cyberland p {
  color: white;
  font-family: roboto;
  font-weight: 600;
  font-size: 30px;
  margin-top: 60px;
}
.cyber_content {
  margin-top: 250px;
  display: flex;
  align-items: center;
}

.info_cyber {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.info_cyber p {
  font-size: 22px;
  font-weight: 100;
  text-align: center;
  width: 600px;
}


.block_right img{
  width: 1000px;
}


/* Кнопка подробнее */
.more2 {
  display: flex;
  justify-content: center;
  justify-self: center;
  align-items: center;
  width: 221px;
  height: 59px;
  border: 1px solid rgb(255, 255, 255);
  color: #ffffff;
  text-decoration: none;
  font-family: roboto;
  font-weight: 200;
  font-size: 22px;
  margin-top: 100px;
  transition: 0.3s;
}
.more2:hover {
  transform: scale(1.04);
  background: rgba(115, 115, 115, 0.1);
}
footer {
  display: flex;
  flex-direction: column;
  height: 400px;
  overflow: hidden;
  background: #181818;
  padding-top: 30px;
}

.contact {
  display: flex;
  flex-direction: column;
}

.contact a {
  margin-top: 20px;
  text-decoration: none;
  color: #fafafa;
  font-family: roboto;
  font-weight: 200;
  transition: 0.3s;
}

.contact a:hover {
  font-weight: 400;
}

.top_footer {
  display: flex;
  gap: 200px;
  justify-content: center;
  margin-top: 50px;
  width: 70%;
  align-self: center;
}
.top_footer p {
  font-family: roboto;
  font-weight: 200;
  font-size: 22px;
  color: #fafafa;
}

.bottom_logo {
  width: 180px;
}

.block_help {
  display: flex;
  flex-direction: column;
}

.block_help p {
  font-size: 30px;
  margin-top: 15px;
  font-family: roboto;
  font-weight: 200;
}

.block_help a {
  font-size: 15px;
  font-family: roboto;
  font-weight: 200;
  margin-top: 15px;
  color: #fafafa;
  text-decoration: none;
  transition: 0.1s;
}
.block_help a:hover {
  font-weight: 400;
}

.social a img {
  margin-right: 20px;
  margin-top: 15px;
  width: 35px;
  transition: 0.3s;
}
.social a img:hover {
  transform: scale(1.1);
}

.line {
  width: 1200px;
  border: 1px solid #fafafa;
  align-self: center;
  margin-top: 100px;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.banner {
  display: none;
}

@media screen and (max-width: 1800px) {
  .promo-section h2{
    font-size: 80px;
  }
}

@media screen and (min-width: 1800px) {
  nav {
    height: 83px;
  }

  .logo_header{
    width: 250px;
  }

  li{
    font-size: 15px;
  }

  li img {
    width: 20px;
  }

  


  .block_clother img{
    height:700px;
  }

  .slide{
    width: 500px;
  }

  .text_clother {
  position: absolute;
  bottom: 100px;
  height: 80px;
  width: 290px;
  background: white;
  padding: 20px;
  transition: 0.3s;
  }

  .text_clother:hover {
  width: 320px;
}

  .text_clother p {
    font-size: 22px;
  }

  .text_clother a {
    font-size: 20px;
  }
  .block_img {
    width: 550px;
    height: 800px;
  }

  .block_img img {
    transition: 0.3s;
    width: 600px;
    height: 800px;
    object-fit: cover;
  }

  .gallary_text {
    position: absolute;
    bottom: 30px;
    padding: 40px;
  }
}

@media screen and (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  header {
    background: none;
    display: flex;
    flex-direction: column;
    height: 600px;
    margin-bottom: 80px;
  }
  header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    filter: blur(3px); /* Уровень размытия */
    z-index: -1;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 20px;
    height: 50px;
    background: none;
  }
  ul {
    padding: 0;
    display: none;
  }
  li {
    margin-left: 30px;
  }
  li:first-child {
    margin-left: 0;
  }
  li a {
    color: #000000;
    font-size: 16px;
  }

  .nav-logo {
    position: absolute;
    top: 20%;
    left: 47%;
    transform: translateX(-50%);
  }

  .transparent {
    justify-content: flex-end;
    height: 30px;
    background: #fafafa;
  }
  nav.scrolled {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    justify-content: flex-end;
    height: 30px;
  }



  nav.transparent .logo_header {
    filter: none; /* делает иконку белой, если она чёрная */
  }

 nav.scrolled .bur{
  filter: invert(100%);
 }

  nav.transparent:hover .bur {
  filter: invert(100%);
}



  .menu_burger:focus {
    outline: none;
    box-shadow: none;
  }
  .burger {
    margin: 0;
  }
  .menu_burger {
    display: flex;
    margin-right: 40px;
  }


  .menu_burger img {
    width: 40px;
    margin-top: 10px;
    transition: 0.3s;
  
  }

  .menu_burger:focus{
    transform: scale(1.05);
  }

  .burger-menu ul {
    display: flex;
    justify-content: start;
    align-items: flex-start;
  }

  .banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
  }
  .banner_img {
    width: 100%;
    height: 600px;
    background: url(../Media/clothes/ban.jpg) center center/cover;
    transform: scale(1.2);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .banner_img img {
    width: 200px;
    margin-top: 240px;
  }
  .btn {
    display: none;
  }
  .btn_p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 59px;
    border: 1px solid white;
    color: #fff;
    background: rgb(255, 255, 255, 0.2);
    text-decoration: none;
    font-family: roboto;
    font-weight: 200;
    font-size: 16px;
    margin-top: 200px;
  }
  .block_logo {
    display: none;
  }

  /* Промосекция */
  .promo-section {
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .promo-section h2 {
    margin-left: 10px;
    margin-top: 60px;
    font-size: 50px;
  }

  .image {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .block_clother {
    margin-top: 250px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .image img {
    max-width: 100%; /* чтобы не вылазило */
    height: auto;
  }

  /* по желанию — скрыть скроллбар */
  .image::-webkit-scrollbar {
    display: none;
  }
  .image {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .promo_section2 video {
    width: 100%;
  }

  .promo_section2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 800px;
    overflow: hidden;
    z-index: 1;
    margin-top: 50px;
    text-align: center;
  }

  .promo_section2 .tm {
    justify-content: center;
    font-family: roboto;
    font-size: 26px;
    font-weight: 200;
    color: white;
    width: 300px;
  
  }
  .promo_section2 .tm_sec {
    font-family: roboto;
    font-size: 16px;
    font-weight: 200;
    color: white;
    margin-top: 10px;
  }

  .image img {
    width: 430px;
    height: 700px;;
    scroll-behavior: smooth;
  }

  .text_clother {
    bottom: 30px;
  }

  .block_img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .block_img img {
    width: 100%;
  }


  .gallery{
    margin-top: 10px;
  }

  .gallery_image{
    margin-top: 200px;
  }

  .gallary_text {
    width: 100%;
  }

  .gallery h2{
    font-family: roboto;
    font-size: 60px;
    margin-left: 10px;
  }

  .gallary_text p,
  .gallary_text a {
    margin: 40px;
  }

  .more{
    margin-top: 100px;
  }

  /* cyberland */

  .cyberland {
    display: flex;
    justify-content: center;
  }

  .cyberland video {
    width: 100%;
  }

  .cyberland p {
    font-size: 20px;
  }

  .cyber_content {
    margin-top: 60px;
  }

  .info_cyber {
    margin-top: 100px;
  }

  .info_cyber p {
    width: 350px;
    font-size: 18px;
  }

  .block_left img {
    width: 120px;
  }

  .block_right {
    margin-top: 100px;
    margin-left: 0;
  }

  .block_right img {
    width: 340px;
  }

  footer {
    height: 650px;
    margin-top: 0;
  }

  .top_footer {
    flex-direction: column;
    gap: 50px;
  }

  .line {
    display: none;
  }
}

.burger-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 40px;
  background-color: white;
  padding: 15px 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}


.burger-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.burger-menu li {
  margin-bottom: 20px;
}

.burger-menu li a{
  color: #000000;
}

.burger-menu li:last-child {
  margin-bottom: 0;
}

.burger-menu a {
  text-decoration: none;
  color: black;
  font-size: 16px;
}

.burger-menu.show {
  display: block;
}

/* Показать бургер и скрыть обычное меню на маленьком экране */
@media (max-width: 440px) {
  .burger {
    margin: 0;
  }

  .menu_burger {
    display: block;
    cursor: pointer;
  }

  .burger-menu {
    display: none;
  }

  .burger-menu.show {
    display: block;
  }
}
