* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body, html {
    height: 100%;
    font-family: 'Palui SP Demo', sans-serif;
    overflow: hidden;    
    background: rgba(0, 0, 0, 0.7);
  }
  
  .video-background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
  }
  .video-background iframe {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }
  
  .overlay {
    position: relative;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 40px 40px;
    z-index: 1002;
    background: transparent;
  }
  
  
  .menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-weight: bold;
    font-size: 1rem;
  }
  .menu li {
    font-size: 1.5vw;
    margin: 0 10px;
  }
  .menu li.social {
    display: flex;
    gap: 25px;
  }
  .menu li.social img {
    width: 25px;
    height: 25px;
  }

  .menu li a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  
  .menu li a:hover {
    opacity: 0.7;
  }
  .menu li a.active {
    text-decoration: none;
    text-shadow: 0px 0px 10px #fff;
    opacity: 1;
  }
  
  
  
  .headline h1 {
    font-size: 6vw;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: bold;
  }

  @font-face {
    font-family: 'Palui SP Demo';
    src: url('fonts/PaluiSPDemo-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }  

  /* Иконка меню (бургер) — по умолчанию скрыта */
.burger-icon {
  display: none;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  z-index: 1001;
  cursor: pointer;
}
.burger-icon img {
  width: 100%;
  height: auto;
}

/* Меню по умолчанию — flex для десктопа */
.menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
  font-size: 1rem;
}

.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 20px 40px;
    background: transparent;
    z-index: 1001;
  }
  
  .footer {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
  }
  
  .footer li {
    font-size: 1.2vw;
  }
  
  .footer li a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  .footer li a:hover {
    opacity: 0.6;
  }
.carousel-container {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
  }
.carousel-container {
    scrollbar-width: none; /* Firefox */
}
    
.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
  
  .carousel-slide {
    scroll-snap-align: start;
    flex: 0 0 100vw;
    height: 100vh;
    padding-top: 100px;
    padding-inline: 50px;
    box-sizing: border-box;
    color: white;
  }

  .photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
    gap: 10px;
    width: 100%;
    /* height: 100%; */
    padding-inline: 30px;
    padding-bottom: 120px;
    box-sizing: border-box;
  }
  
  .grid-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }
  
  /* Примерные размеры "пазлин" */
.item1 {
    grid-column: span 2;
    grid-row: span 6;
}
.item2 {
    grid-column: span 2;
    grid-row: span 6;
}
.item3 {
    grid-column: span 2;
    grid-row: span 5;
}
.item4 {
    grid-column: span 2;
    grid-row: span 6;
}
.item5 {
    grid-column: span 1;
    grid-row: span 5;
}
.item6 {
    grid-column: span 3;
    grid-row: span 5;
}

.photo-slide {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* отключаем лишнее */
    padding: 0;
  }
  
  .photo-scroll {
    flex: 1;
    overflow-y: auto;
    /* padding: 80px 30px; */
    padding-top: 80px;
    /* padding-bottom: 100px; */
    /* padding-inline: 30px; */
    box-sizing: border-box;
    height: 100%;
    scrollbar-width: none; /* Firefox */
  }
  
  .photo-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  
/* Медиа-запрос для мобилки */
@media screen and (max-width: 768px) {
  .burger-icon {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 20px;
    z-index: 1000;
    width: auto;
    align-items: flex-start;
    gap: 20px;
  }

  .menu.menu-open {
    display: flex;
  }

  .menu li {
    font-size: 5vw;
    margin: 0;
  }

  .menu li.social {
    flex-direction: row;
    gap: 10px;
  }

  .menu li.social img {
    width: 20px;
    height: 20px;
  }

  .headline h1 {
    font-size: 10vw;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: bold;
  }

.item1 {
    grid-column: span 3;
    grid-row: span 2;
}
.item2 {
  grid-column: span 3;
  grid-row: span 4;
}
.item3 {
  grid-column: span 3;
  grid-row: span 2;
}
.item4 {
    grid-column: span 3;
    grid-row: span 2;
}
.item5 {
  grid-column: span 3;
  grid-row: span 2;
}
.item6 {
  grid-column: span 6;
  grid-row: span 2;
}
}
