

/* start */
.lang {
    display: flex;
    align-items: center;
    justify-content: center;

}

.lang__ul {
    display: flex;
    gap: 10px;
}
.lang__li {
    color: var(--fontColor);
    padding: 8px 15px;
    border-radius: 25px;
    background-color: rgb(25, 25, 25);
}

.lang__li.active {
    background-color: white;
    color: #000;
}


/* lang */

.start-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
/* social */

.social-links {
    display: flex;
    width: 100%;  
    justify-content: center;
    align-items: flex-end;
    padding: 50px;
    gap: 30px;

}

/* .social-links {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;   
    justify-content: center;
    align-items: flex-end;
    left: 0;
    bottom: 0;
    padding: 50px;
    gap: 30px;
    z-index: 100;
} */

.social-links-link {
    font-size: 1.5rem;
    color: white;
    background-color: rgb(15, 15, 15);
    min-width: 300px;
    min-height: 80px ;
    padding: 30px 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow:
    inset 4px 4px 5px rgba(44, 44, 44, 0.5),
    inset -4px -4px 5px rgba(0, 0, 0, 0.35);
    cursor: pointer;


    transition: 0.8s;
    background-size: 280% auto;
    background-image: linear-gradient(
        325deg,
        var(--btn-bg-2) 0%,
        var(--btn-bg-1) 55%,
        var(--btn-bg-2) 90%
    );
}




/* social */



.start-section__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: first baseline;
    

}


.start-section-logo {
    z-index: 5;
    display: flex;
    gap: 0px;
    justify-content: center;
    display: inline-flex;
    align-items: flex-end;
    height: clamp(40px, 8vw, 120px);
    
}

.start-section-logo img {
    height: 100%;
    transition: opacity  0.2s ease, transform 0.2s ease;
}

/* about-me */







.aboutme-section__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: last baseline;
    text-align: left;
    color: var(--fontColor)
}

.aboutme-section-text {
    width: 100%;
    font-size: 2rem;
    padding: 30px 50px;
}



/* slider */
.aboutme-section-slider {
    height: 70vh;
    width: 100%;
    position: relative;
}

.aboutme-section-slider-headline {
    position: absolute;
    left: 50px;
    bottom: 30px;
    color: white;
    text-align: left;
    font-size: 5rem;
    font-weight: 800;
    
}

.aboutme-section-slider-item {
    border-radius: 50px;
    width: 100%;
    height: 100%;
    filter: saturate(50%);
    transition: filter 0.2s ease;
    overflow: hidden;
    align-items: center;
    display: flex;

}





.aboutme-section-slider-item-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.aboutme-section-slider-item-img img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    object-fit: cover;
}

h1 {
    transition: color 0.2s ease;

}


/* design */

.design-section {
    width: 100%;
    height: auto;
}



.section-headline {
    padding: 0px 50px;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}
.section-headline-info {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}


.section-headline-info-text {
    width: 80%;
    height: 100%;
    font-size: 2rem;
    color: var(--fontColor);
    padding-top: 50px;
    padding-bottom: 50px;
    
}



.section-headline-icon img {
    width: 500px;
    height: 100%;
}

.section-headline-text {
    width: 50%;
}
.section-headline h2,
.section-headline h3,
.section-headline h4  {
    font-size: 6rem;
    text-align: left;
    transition: all 0.4s ease;
    transform: translateX(0px);




}





.section-headline-icon-img {
    animation: headline-icon-move 4s ease-in-out infinite;
    transition: filter 0.5s ease;


}




@keyframes headline-icon-move {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-10px);

  }
  100% {
    transform: translateY(10px);
  }
}


/* design-slider */

.design-section-slider__wrapper {
    width: 100%;
    overflow: hidden; /* Важно, чтобы не было лишнего скролла */
    padding: 50px 0; /* Убираем боковые padding здесь, они мешают 100vw */
}

.design-section-slider__container {
    display: flex;
    /* Убираем фиксированную width: 500vw. 
       Контейнер сам растянется по сумме дочерних элементов */
    width: max-content; 
    gap: 0; /* Убираем зазор между слайдами, чтобы шаг был ровно 100vw */
}

.design-section-slider-item {
    /* Фиксируем ширину айтема ровно по экрану */
    width: 100vw;
    flex-shrink: 0; 
    
    height: 70vh;
    display: flex;
    justify-content: center; /* Центрируем картинки внутри слайда */
    align-items: center;
    gap: 25px;
    padding: 0 50px; /* Если нужны отступы по бокам, делаем их ВНУТРИ айтема */
    box-sizing: border-box;
}

.design-section-slider-item img {
    /* Картинки будут делить место поровну */
    flex: 1 1 0; 
    min-width: 0;
    
    /* Сохраняем пропорции, чтобы картинка была видна целиком */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    display: block;
}







.design-section-slider__wrapper {
    position: relative; /* Для позиционирования кнопок */
}

.design-section-slider__container {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Стили кнопок */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Чтобы контейнер не перекрывал клики по кнопкам */
    padding: 0 20px;
}


 .prev-btn {
    rotate: 180deg;
 }

.slider-controls button {
    pointer-events: all; /* Возвращаем кликабельность кнопкам */
    background: rgba(35, 35, 35, 0.2);
        box-shadow:
    inset 4px 4px 5px rgba(44, 44, 44, 0.5),
    inset -4px -4px 5px rgba(0, 0, 0, 0.35);
        transition: 0.8s;
    background-size: 280% auto;
    background-image: linear-gradient(
        325deg,
        rgba(16, 16, 16, 0.5) 0%,
        rgba(61, 61, 61, 0.5) 55%,
        rgba(16, 16, 16, 0.5) 90%
    );
    border: none;
    color: white;
    width: 70px;
    height: 70px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    border-radius: 50%;
    transition: background 0.3s;
}
















.section-headline-info-bottom {
    padding: 50px 50px;
}






.section-headline-bottom-link {
     background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(18px);
    border: 0.5px solid rgba(255, 255, 255, 0.65);
    font-size: 2rem;

    padding: 25px 60px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-transform: uppercase;
    gap: 20px;
}




.section-headline-bottom-link-text {
    transition: all 0.2s ease;
    font-weight: 800;

}

.arrow-up {
    font-size: 2.3rem !important;
    font-weight: 600 !important;
    transform: translateX(0px);
    color: black;
    opacity: 1;
    transition: all 0.2s ease;
}

/* button */
.btn-portfolio {

  cursor: pointer;
  padding: 35px 70px;
  font-size: 2rem;
  font-weight: 500;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: 50px;
  color: var(--btn-bg-color);
  box-shadow:
    /* 0px 0px 5px rgba(44, 44, 44, 0.5),
    0px 5px 5px -1px rgba(46, 46, 46, 0.25), */
    inset 4px 4px 5px rgba(44, 44, 44, 0.5),
    inset -4px -4px 5px rgba(0, 0, 0, 0.35);
}



@media (prefers-reduced-motion: reduce) {
  .btn-donate {
    transition: linear;
  }
}

/* motion */


.motion-section-slider__wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 50px 0;
}

.motion-section-slider__container {
    display: flex; /* Возвращаем в ряд для слайдера */
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    gap: 50px;
    width: 100%;
    padding: 0 100px; /* Убираем падинги здесь, они ломают шаг 100vw */
}

.motion-section-slider-item {
    width: 100%;
    height: 75vh;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0 40px;
    box-sizing: border-box;
}

.video-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Убираем flex: 1, чтобы контейнер подстраивался под видео внутри */
}

.video-container iframe {
    height: 100%;
    border-radius: 15px;
    background: #000;
    /* Фишка здесь: задаем аспект */
    aspect-ratio: 16 / 9; /* По умолчанию для горизонтальных */
}

/* Если в слайде 3 видео, считаем их вертикальными */
.motion-section-slider-item:has(> :nth-child(3)) .video-container iframe {
    aspect-ratio: 9 / 16;
}


.footer {
    margin-top: 20vh;
    height: 40vh;
    width: 100%;
    background-color: black;

}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    align-items: flex-start;
}

.footer-text {
    text-align: left;
    font-size: 1.5rem;
    width: 20%;
    cursor: default;
}

.footer-text p {
    margin-top: 10px;
    color: var(--fontColor);
    transition: color 0.2s ease;
    font-style: italic;
    font-size: 1.4rem;


}


.footer-text p:nth-child(3) {
    margin-top: 40px;
    font-size: 1rem;
    color: rgb(85, 85, 85);
        font-style: normal;

}

.footer-links {
    text-align: right;
    font-size: 1.5rem;
    width: 20%;
    cursor: default;
}
.footer-link {
    margin-top: 10px;
}

.footer-link a {

    color: var(--fontColor);
    transition: color 0.2s ease;
}



.mobile-social-links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.mobile-social-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}



.mobile-social-links .social-links-link {
    display: flex;
    width: 100%;
}

