/* Main Styles for ROXODY Website */

/* Скрыть текст до загрузки шрифтов */
.critical-text {
    visibility: hidden;
}
.fonts-loaded .critical-text {
    visibility: visible;
}

/* Header/Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-left, .header-right {
    flex: 1;
}

.header-right {
    text-align: right;
}

.header-center {
    display: flex;
    justify-content: center;
}

.header-logo {
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Улучшенная анимация для nav-link при скролле */
.nav-link {
    font-family: var(--font-headlines); /* Manrope */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.nav-link.hidden {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

/* Hero Section with Video */
.hero-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #111;
    border-radius: 0px;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
    transform: translateZ(0);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0,0,0,0) 70%);
}

.hero-content {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 0 40px;
}

.brand-name {
    font-family: var(--font-headlines); /* Cremona Sans */
    font-size: 64px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.loud-headline {
    font-family: var(--font-headlines); /* Cremona Sans */
    font-size: clamp(32px, 7vw, 58px);
    line-height: 1.1;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Обновленные стили для текстовых блоков */
.hero-tagline, 

.slider-subtitle,
.results-description,
.star,
.partnership-description,
.product-description {
    font-family: var(--font-body); /* Manrope */
}

.slider-title, 
.results-title, 
.results-subtitle,
.partnership-title {
    font-family: var(--font-headlines); /* Cremona Sans */
    text-transform: uppercase;
}

/* Стили для обычных заголовков в Lora */
.heading-lora {
    font-family: var(--font-headings); /* Lora */
    font-weight: 600;
}

/* Стили для контента в Manrope */
.text-manrope {
    font-family: var(--font-body); /* Manrope */
}

/* Обновленные стили для слайдов */
.slide-text h3 {
    font-family: var(--font-headings); /* Lora */
    font-weight: 600;
}

.slide-text p {
    font-family: var(--font-body); /* Manrope */
    font-weight: 300;
}

/* Обновленные стили для информационных блоков */
.info-block h3 {
    font-family: var(--font-headings); /* Lora */
    font-weight: 600;
}

.info-block p {
    font-family: var(--font-body); /* Manrope */
    font-weight: 300;
}

/* Обновление стилей для футера */
.footer-marketplaces h3 {
    font-weight: 500;
    text-transform: uppercase;
}

.marketplace-link,
.footer-links a,
.footer-copyright p {
    font-family: var(--font-body); /* Manrope */
}

/* Обновление стилей для боковой навигации */
.side-menu-link {
    font-family: var(--font-headlines); /* CREMONA SANS */
}

.side-menu-contact h4 {
    font-family: var(--font-headings); /* Lora */
}

.side-menu-contact p {
    font-family: var(--font-body); /* Manrope */
}

/* Дополнительные классы для усиления типографики */
.text-uppercase {
    text-transform: uppercase;
}

.text-bold {
    font-weight: 600;
}

.text-light {
    font-weight: 300;
}

/* Медиа-запросы для адаптивности типографики */
@media screen and (max-width: 768px) {
    .loud-headline {
        font-size: clamp(28px, 6vw, 42px);
    }
    
    .heading-lora {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .loud-headline {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    .heading-lora {
        font-size: 18px;
    }
}

.hero-tagline {
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 300;
}

/* About Section with Scroll Animation */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 0;
    position: relative;
}

.about-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.text-animation-container {
    max-width: 600px;
    text-align: left;
}

.scroll-text {
    font-family: var(--font-headings); /* Lora */
    font-size: 40px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.125);
}

.char {
    display: inline-block;
    transition: color 0.3s ease;
}

.word {
    display: inline-block;
    margin-right: 8px;
}

/* Products Video Section - Обновленные стили для видео-анимации */
.products-video-section {
    position: relative;
    height: 200vh; /* Увеличенная высота секции для скролла */
    background-color: transparent; /* Прозрачный фон для видимости sticky */
}

/* Обертка для sticky контейнера 
.animation-section {
    position: relative;
    height: 100%;
    width: 100%;
}*/

/* Контейнер для видео-анимации - привязан к секции */
.video-animation-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    z-index: 1;
    will-change: transform;
}
/* Внутренний контейнер для центрирования */
.video-inner-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}   

/* Контейнер для ключевых кадров */
.keyframes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Стиль для видео */
.scroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    will-change: transform; /* Оптимизация для GPU ускорения */
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ключевые кадры */
.keyframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: opacity;
    transform: translateZ(0);
}

.keyframe.active {
    opacity: 1;
}

/* Контейнер для видео сегментов */
.segments-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Видео сегменты */
.segment-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Индикатор прогресса скролла для видео секции */
.scroll-progress {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 3px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

/* Заполнение прогресса */
.progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: white;
    transition: height 0.3s ease;
}

/* Ensure video playback is smooth */
.video-container video,
.product-video video {
    will-change: transform;
    transform: translateZ(0);
}

/* Slides Section 
.slides-section {
    position: relative;
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
    --light-position-x: 50%;
    --light-position-y: 50%;
    --bg-opacity: 0.05;
}
    */

.slider-background {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: url('assets/roxody-bg.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

/*
.slides-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--light-position-x) var(--light-position-y),
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 25%
    );
    pointer-events: none;
    z-index: 1;
}
    */

.slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: visible;
}

/* Убираем скрытие контента при переполнении */
.slides-section {
    overflow: visible;
}

/* Адаптивные стили для слайдера при масштабировании */

/* Основной контейнер слайдера */
.roxody-scroll-slides {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Обертка слайдов */
.slides-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Слайд */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

/* Активный слайд */
.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Контент слайда при различных уровнях масштабирования */
@media (max-width: 1440px) {
    .slider-title {
        font-size: 38px;
    }
    
    .slider-subtitle {
        font-size: 13px;
    }
    
    .slide-text h3 {
        font-size: 26px;
    }
    
    .slide-text p {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    .slides-wrapper {
        max-width: 1000px;
    }
    
    .slider-title {
        font-size: 36px;
    }
    
    .slide-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .slides-wrapper {
        max-width: 800px;
    }
    
    .slider-title {
        font-size: 32px;
    }
    
    .slide {
        padding: 15px;
    }
    
    .slide-image {
        width: 160px;
        height: 160px;
    }
    
    .slide-text {
        max-width: 550px;
    }
    
    .slide-text h3 {
        font-size: 22px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .slides-wrapper {
        height: auto;
        min-height: 400px;
    }
    
    .slide {
        padding: 10px;
    }
    
    .slider-title {
        font-size: 28px;
    }
    
    .slider-subtitle {
        font-size: 12px;
    }
    
    .slide-image {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }
    
    .slide-text {
        max-width: 100%;
        text-align: center;
    }
    
    .slide-text h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .slide-text p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .slider-title {
        font-size: 24px;
    }
    
    .slide-image {
        width: 120px;
        height: 120px;
    }
    
    .slide-text h3 {
        font-size: 18px;
    }
    
    .slide-text p {
        font-size: 13px;
    }
}

/* Для очень маленьких экранов или большого масштаба */
@media (max-width: 480px) {
    .slider-content {
        padding: 60px 15px;
    }
    
    .slider-header {
        margin-bottom: 40px;
    }
    
    .slider-title {
        font-size: 22px;
    }
    
    .slider-subtitle {
        font-size: 11px;
    }
    
    .slide {
        padding: 10px 5px;
    }
    
    .slide-image {
        width: 100px;
        height: 100px;
    }
    
    .slide-text h3 {
        font-size: 16px;
    }
    
    .slide-text p {
        font-size: 12px;
    }
}

/* Фиксы для правильного позиционирования при масштабировании */
.slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: visible;
}

/* Убираем скрытие контента при переполнении */
.slides-section {
    overflow: visible;
}

/* Адаптация индикатора прогресса */
@media (max-width: 768px) {
    .progress-line-container {
        position: fixed;
        bottom: 20px;
        left: 10%;
        right: 10%;
        width: 80%;
        height: 2px;
        margin: 0;
    }
}

/* Улучшенное центрирование слайдов */
.slides-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

@media (max-width: 768px) {
    .slides-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .slides-wrapper {
        min-height: 350px;
    }
}


.slider-header {
    text-align: center;
    margin-bottom: -60px;
}


.slider-title {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slider-subtitle {
    
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 300;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Улучшение для слайдера - правильное расположение элементов */
.roxody-scroll-slides {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.slide-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.slide-text {
    max-width: 600px;
}

.slide-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}



/* Индикатор прогресса для слайдера */
.progress-line-container {
    position: relative;
    width: 2px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Индикатор прогресса появляется при скролле */
.progress-visible {
    opacity: 1;
}

.progress-line {
    position: absolute;
    width: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    height: 0;
    transition: height 0.3s ease;
}

/* Results Block */
.results-block {
    padding: 100px 0;
    background-color: #fff;
    color: #000;
}

.results-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.results-title {
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: #000;
}

.results-subtitle {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #000;
}

.results-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.results-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}

.before-after-container {
    flex: 1;
    min-width: 350px;
}

.before-after-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #fff;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 20px;
}

.labels {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.before-label, .after-label {
    /* background-color: rgba(0, 0, 0, 0.7); */
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.testimonials-container {
    flex: 1;
    min-width: 350px;
}

.faces-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.face {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face.active {
    opacity: 1;
    border-color: #000;
    transform: scale(1.1);
}

.testimonial-heading {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #000;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    color: rgba(0, 0, 0, 0.8);
}

/* Info Blocks Section - Адаптивная версия */
.info-blocks-section {
    padding: 100px 0;
    background-color: #000;
}

.info-blocks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* Все блоки */
.info-block,
.info-block-image {
    border-radius: 25px;
    overflow: hidden;
    width: 100%;
}

/* Текстовые блоки */
.info-block {
    background-color: #111;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 513px;
}

/* Второй текстовый блок с другим градиентом */
.info-block:nth-child(4) {
    min-height: 378px;
}

/* Изображения */
.info-block-image {
    position: relative;
    min-height: 513px;
}

.info-block-image:nth-child(3) {
    min-height: 378px;
}

.info-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Типографика */
.info-block h3 {

    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.info-block:nth-child(1) h3 {
    font-size: 48px;
    line-height: 59px;
}

.info-block:nth-child(4) h3 {
    font-size: 40px;
    line-height: 49px;
}

.info-block p {

    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}

/* Адаптивность для больших экранов */
@media (min-width: 1400px) {
    .info-blocks-container {
        max-width: 1300px;
    }
}

/* Планшеты (горизонтальная ориентация) */
@media (max-width: 1024px) {
    .info-blocks-container {
        gap: 16px;
    }
    
    .info-block {
        padding: 50px;
        min-height: 450px;
    }
    
    .info-block:nth-child(4) {
        min-height: 350px;
    }
    
    .info-block-image {
        min-height: 450px;
    }
    
    .info-block-image:nth-child(3) {
        min-height: 350px;
    }
    
    .info-block:nth-child(1) h3 {
        font-size: 40px;
        line-height: 50px;
    }
    
    .info-block:nth-child(4) h3 {
        font-size: 34px;
        line-height: 42px;
    }
    
    .info-block p {
        font-size: 18px;
        line-height: 22px;
    }
}

/* Планшеты (вертикальная ориентация) */
@media (max-width: 768px) {
    .info-blocks-section {
        padding: 60px 0;
    }
    
    .info-blocks-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-block {
        padding: 40px;
        min-height: 350px;
    }
    
    .info-block:nth-child(4) {
        min-height: 350px;
    }
    
    .info-block-image {
        min-height: 300px;
    }
    
    .info-block-image:nth-child(3) {
        min-height: 300px;
    }
    
    .info-block h3 {
        font-size: 32px !important;
        line-height: 40px !important;
        margin-bottom: 20px;
    }
    
    .info-block p {
        font-size: 16px;
        line-height: 20px;
    }
    
    /* Порядок блоков на мобильных */
    .info-block:nth-child(1) { order: 1; }
    .info-block-image:nth-child(2) { order: 2; }
    .info-block-image:nth-child(3) { order: 3; }
    .info-block:nth-child(4) { order: 4; }
}

/* Мобильные устройства */
@media (max-width: 480px) {
    .info-blocks-section {
        padding: 50px 0;
    }
    
    .info-blocks-container {
        padding: 0 15px;
        gap: 15px;
    }
    
    .info-block,
    .info-block-image {
        border-radius: 15px;
    }
    
    .info-block {
        padding: 30px 25px;
        min-height: 300px;
    }
    
    .info-block:nth-child(4) {
        min-height: 300px;
    }
    
    .info-block-image {
        min-height: 250px;
    }
    
    .info-block-image:nth-child(3) {
        min-height: 250px;
    }
    
    .info-block h3 {
        font-size: 26px !important;
        line-height: 34px !important;
        margin-bottom: 16px;
    }
    
    .info-block p {
        font-size: 15px;
        line-height: 19px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 375px) {
    .info-block {
        padding: 25px 20px;
        min-height: 280px;
    }
    
    .info-block h3 {
        font-size: 24px !important;
        line-height: 30px !important;
    }
    
    .info-block p {
        font-size: 14px;
        line-height: 18px;
    }
    
    .info-block-image {
        min-height: 220px;
    }
}

/* Products Showcase Section */
.products-showcase-section {
    padding: 100px 0;
    background-color: #000;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.product-item {
    text-align: center;
}

.product-full {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-caption {
    font-weight: 500;
    padding: 0 15px;
}

.product-caption p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-description {
    opacity: 0.7;
    line-height: 1.5;
}

.product-description p {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 100;
    line-height: 1.5;
}




/* Partnership Section Styles */
.partnership-section {
    padding: 100px 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('assets/partnership-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.partnership-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.partnership-title {
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.partnership-description {

    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 50px;
}

.partnership-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.partnership-btn:hover {
    background-color: #ffffff;
    color: #000;
}

/* Footer Section */
.footer-section {
    padding: 80px 0 30px;
    background-color: #fff;
    color: #000;
}

.footer-content {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    max-width: 50%;
}

.footer-tagline {
    font-size: 20px;
    font-weight: 300;
    color: #666;
    font-family: var(--font-headlines);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-marketplaces {
    max-width: 100%;
    margin-bottom: 40px;
}

.footer-marketplaces h3 {
    font-family: 'Cremona Sans';
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.marketplace-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marketplace-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.marketplace-row > span.marketplace-name,
.marketplace-row > a.marketplace-icon {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.marketplace-row > span.marketplace-name {

    cursor: pointer;
}

.marketplace-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.marketplace-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.marketplace-name {
    font-family: var(--font-body);
    font-size: 35px;
    font-weight: 500;
    margin-right: 5px;
    opacity: 0.5;
    text-transform: uppercase;
    transition: opacity 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

/* Эффекты при наведении */
.marketplace-row > span.marketplace-name:hover,
.marketplace-row > a.marketplace-icon:hover {
    transform: translateY(-2px);
}

.marketplace-row > span.marketplace-name:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.marketplace-row > a.marketplace-icon:hover img {
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Дополнительно: подсветка соседних элементов при наведении на один из них */
.marketplace-row > span.marketplace-name:hover + a.marketplace-icon img {
    opacity: 1;
}

.marketplace-row > a.marketplace-icon:hover + span.marketplace-name {
    opacity: 1;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .footer-marketplaces h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .marketplace-name {
        font-size: 20px;
    }
    
    .marketplace-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .marketplace-row {
        gap: 15px;
    }
}

.footer-right {
    max-width: 45%;
}

.product-locator {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.locator-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
}

.locator-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #25A96C;
}

.locator-map {
    position: relative;
    height: 400px;
    background-color: #f5f5f5;
    overflow: hidden;
}

#map-container {
    width: 100%;
    height: 100%;
}

.footer-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
    border-top: 1px solid #00000020;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgb(0, 0, 0);
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.5;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background-color: #fff;
    color: #000;
    z-index: 1001;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.side-menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.side-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.side-menu-close {
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.side-menu-close:hover {
    transform: rotate(90deg);
}

.side-menu-list {
    list-style: none;
}

.side-menu-list li {
    margin-bottom: 15px;
}

.side-menu-link {
    display: inline-block;

    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

.side-menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.side-menu-link:hover::after {
    width: 100%;
}

.side-menu-contact {
    
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.side-menu-contact h4 {
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.side-menu-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.side-menu-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #000;
    font-size: 14px;
    opacity: 0.7;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

/* Blur overlay для фона при открытом меню */
#blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#blur-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .info-blocks-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .info-block:nth-child(1),
    .info-block:nth-child(4) {
        grid-column: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .partnership-title {
        font-size: 32px;
    }
    
    .partnership-description {
        font-size: 14px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-left, .footer-right {
        max-width: 100%;
    }
    
    .side-menu {
        width: 65%;
        right: -70%;
    }
    
    .side-menu-container {
        padding: 30px 20px;
    }
    
    .marketplace-link {
        padding: 6px 10px;
        font-size: 12px;
        flex: 1 0 calc(50% - 10px);
    }
    
    

    
    .hero-section {
        margin: 0px;
        margin-top: 0px;
    }
    
    .brand-name {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 14px;
    }
    
    .scroll-text {
        font-size: 28px;
    }
    
    .slider-title {
        font-size: 32px;
    }
    
    .slide-text h3 {
        font-size: 22px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .results-content {
        flex-direction: column;
    }
    
    .info-blocks-container {
        grid-template-columns: 1fr;
    }
    
    .info-block, 
    .info-block-image {
        aspect-ratio: auto;
        height: auto;
    }
    
    .info-block-image img {
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .products-grid::-webkit-scrollbar {
        display: none;
    }
    
    .product-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        background-color: #111;
        padding: 20px;
    }
    
    /* Адаптация для индикатора прогресса слайдера на мобильных */
    .roxody-scroll-slides {
        flex-direction: column;
    }
    
    .slides-wrapper {
        width: 100%;
    }
    
    .progress-line-container {
        width: 80%;
        height: 2px;
        margin: 20px auto 0;
    }
    
    .progress-line {
        height: 100%;
        width: 0;
        transition: width 0.3s ease;
    }
    
    /* Мобильные стили для видео секции */
    .products-video-section {
        height: 400vh; /* Уменьшаем высоту для мобильных */
    }
    
    .scroll-progress {
        right: 15px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    .marketplace-link {
        flex: 1 1 100%;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .brand-name {
        font-size: 55px;
    }
}

/* Стили для секции видео в стиле Kylie Cosmetics */
.cosmic-feed {
    background-color: #f8f1f4;
    text-align: center;
    padding: 4rem 0;
}



.cosmic-feed__content {
    margin-left: auto;
    margin-right: auto;
    max-width: 108rem;
    padding: 0 1rem;
    position: relative;
}

.cosmic-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track-wrapper {
    overflow: hidden;
    margin: 0 -10px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 10px;
}

.video-item {
    flex: 0 0 280px;
    height: 410px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.video-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.video-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.video-content:hover video {
    opacity: 1;
}

/* Градиентный оверлей */
.video-overlay {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.8));
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
    margin: 0;
    min-height: 50%;
    position: absolute;
    width: 100%;
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 19.6px;
    padding: 19.6px;
    z-index: 2;
}

.blogger-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* Стрелки карусели */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow--prev {
    left: 15px;
}

.carousel-arrow--next {
    right: 15px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: #333;
}

/* Отключаем стрелки когда достигнут конец */
.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    transform: translateY(-50%);
}

/* Медиа запросы */
@media (min-width: 45em) {
    .cosmic-feed__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 75em) {
    .cosmic-feed {
        padding: 5rem 0;
    }
    
    .cosmic-feed__content {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 108em) {
    .cosmic-feed__content {
        padding-left: 7.75rem;
        padding-right: 7.75rem;
    }
}

/* Мобильная адаптация */
@media (max-width: 29.99em) {
    .cosmic-feed h2 {
        font-size: 1.75rem;
        margin-bottom: 2.125rem;
    }
    
    .video-item {
        flex: 0 0 160px;
        height: 220px;
    }
    
    .carousel-arrow {
        display: flex;
    }
    
    .carousel-track-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .carousel-track-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .video-overlay {
        padding: 12px;
        gap: 12px;
    }
    
    .blogger-name {
        font-size: 12px;
    }
}

.star {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Professional scroll indicator styles with unique class names */
.frame-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    z-index: 100; /* High z-index to ensure visibility */
    animation: frameScrollFadeInOut 2s infinite;
    pointer-events: none; /* Allows clicks to pass through */
    font-family: var(--font-body);
    opacity: 1;
    transition: opacity 0.3s ease; /* Add transition for smooth fading */
}

.frame-scroll-icon {
    width: 34px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 17px;
    margin-bottom: 10px;
    position: relative;
}

.frame-scroll-icon:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: frameScrollAnimate 2s infinite;
}

.frame-scroll-text {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Animations with unique names */
@keyframes frameScrollAnimate {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0.2;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes frameScrollFadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

