/*   
Theme Name: SYNTH
Author: Roronoad
Theme URI: https://trial.hiova.ru/
Version: 1.0
*/


/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    color: #DCDCDC;
    background: #000;
    line-height: 1.6;
    overflow: hidden;
    scrollbar-width: thin; /* Для Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Для Webkit-браузеров (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

.text-section .container{
    height: calc(100vh - 203px);
}

#hero{
    padding-top: 203px;
}
#formul{
    padding-top: 197px;
}

#friction,
#protect,
#termo{
    padding-top: 157px;
}

#order .container{
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100vh;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 34px 0 33px;
    max-height: 24px;
}

header .container {
    display: flex;
    align-items: center;
    gap: 180px;
}

header .btn{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;

    color: #7B818C;

    display: flex;
    gap: 14px;
}
header .btn svg{
    margin-top: 7px;
}

/* Sticky секция */
.sticky-section {
    position: relative;
    height: 500vh; /* Высота в 5 экранов */
}

/* Sticky контейнер с горизонтальной компоновкой */
.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px; /* Учитываем высоту header */
}

.sticky-container::after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    width: 75%;
    background: url('assets/image/Ellipse.webp') center center no-repeat;
    background-size: cover;
}

/* Левая колонка - текст */
.text-column {
    flex: 1;
    padding-right: 50px;
    max-width: 600px;
}

.text-section {
    position: absolute;
    z-index: 11;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.text-section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.text-section .content {
    max-width: 500px;
}

/* Heading */

#formul h2{
    max-width: 408px;
}
#order h2{
    font-size: 43px;
}

h2{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 100%;
    text-transform: uppercase;
    color: #FF5B00;
}

#hero .subTitle{
    max-width: 300px;
    padding: 28px 0 7px;
}

#formul .subTitle{
    max-width: 357px;
    padding: 24px 0 12px;
}

#order .subTitle{
    max-width: 367px;
    padding: 24px 0 54px;

    margin: 0 auto;
}

.subTitle{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
}

#hero .description{
    padding-bottom: 75px;
}

#formul .description{
    max-width: 353px;
    padding-bottom: 47px;
}

#termo .description{
    max-width: 350px;
    padding: 24px 0 47px;
}

#protect .description{
    max-width: 350px;
    padding: 24px 0 73px;
}
#friction .description{
    max-width: 350px;
    padding: 24px 0 71px;
}

.description{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    color: #7B818C;
}
.description span{
    color: #DCDCDC;
    font-weight: 800;
}

.btn{
    text-decoration: none;
}

.buyBtn{
    display: inline-block;

    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 126%;
    text-align: center;
    text-transform: uppercase;
    color: #FF5B00; 

    border-radius: 15px;
    border: 2px solid #FF5B00;
    backdrop-filter: blur(16.896px);
    padding: 16px 16px 22px;

    max-width: 256px;
    margin: 0 auto;

    position: relative;

    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #FF5B00;
    overflow: hidden;
    transition: .3s ease;
}
.buyBtn::after{
    content: '';
    cursor: pointer;
    position: absolute;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 18px;
    background: #FF5B00;
    border-radius: 100%;
    filter: blur(16.896px);
    transition: .3s ease;
}
.buyBtn:hover{
    color: #fff;
}
.buyBtn:hover::after{
    filter: blur(0);
    height: 100%;
    border-radius: 0;
}

/* #order .buyBtn{
    background: url('image/buyBtnBGOrder.png') center center no-repeat;
} */

#order .scrollDownBtn{
    display: flex;
    gap: 14px;
}

.gifContainer{
    position: relative;
    left: -37px;
}
#frame-background{
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    height: 100vh;
    opacity: 0.5;
}

.scrollDownBtn{
    position: absolute;
    left: 2px;
    bottom: 24px;
}

footer{
    background: #FF5B00;
    padding: 128px 0 30px;
    color: #020204;
}

footer .contactWrapper{
    display: flex;
    gap: 298px;
}
footer .contactWrapper .card .title{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 92.52%;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    padding-bottom: 18px;
}
footer .contactWrapper .card .cardDescription{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
footer .contactWrapper .card a{
    padding-top: 10px;
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 92.52%;
    text-align: right;
    letter-spacing: -0.04em;
    text-decoration-line: underline;
    text-transform: uppercase;

    color: #020204;
}
footer .contactWrapper .contactInfo{
    display: flex;
    gap: 155px;
}
footer .contactWrapper .contactInfo .contact{
    display: flex;
    flex-direction: column;
    gap: 53px;
}
.footerCloser{
    padding-top: 150px;
    display: flex;
    align-items: end;
    gap: 185px;
}
.footerCloser p{
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    color: #000000;
}
.footerCloser .info{
    display: flex;
    align-items: end;
    gap: 96px;
}
.footerCloser .info svg{
    margin-left: 12px;
}
.footerCloser .meta{
    max-width: 310px;
}

/* Правая колонка - анимация */
.animation-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.animation-container {
    position: relative;
}

.frame-display {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#frame-img {
    position: relative;
    width: 1440px;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 9;
}

.frame-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 1365.99px) {
    .sticky-container::after{
        width: 100%;
    }
}
@media (max-width: 1279.99px) {
    .container {
        width: 95%;
        max-width: unset;
    }
}
@media (max-width: 1184.99px){
    #scroll-controls,
    .debug-info{
        display: none !important;
    }
    #animation-canvas{
        width: 1124px !important;
    }
}

@media (max-width: 954.99px) {
    #animation-canvas{
        width: 1024px !important;
    }
    #hero, #formul, #friction, #protect, #termo {
        padding-top: 210px;
    }
    .text-section .container {
        height: calc(100vh - 210px);
    }
    .gifContainer img{
        width: 372px;
    }
    #termo .description,
    #protect .description,
    #friction .description{
        padding: 24px 0 0px;
    }
    footer .contactWrapper{
        gap: 243px;
    }
    header{
        background: #000;
        padding: 34px 0 48px;
    }
    .footerCloser{
        gap: 130px;
    }
    footer .contactWrapper .contactInfo{
        gap: 25px;
    }
}

@media (max-height: 599.99px) {
    .scrollDownBtn{
        display: none;
    }
}

@media (max-width: 769.99px) {
    #animation-canvas{
        width: 640px !important;
    }
    .animation-column{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -195px;
        z-index: 9;
    }
    .text-section .container{
        height: auto;
    }
    h2,
    .description,
    .subTitle{
        text-align: center;
        margin: 0 auto;
    }
    .text-section .container{
        text-align: center;
    }
    .gifContainer{
        left: unset;
    }
    footer .contactWrapper .contactInfo{
        flex-direction: column;
    }
    .footerCloser {
        gap: 50px;
        flex-direction: column;
        align-items: start;
    }
    #hero, #formul, #friction, #protect, #termo {
        padding-top: 370px;
    }
    header .container{
        gap: 0;
        justify-content: space-between;
    }
    footer .contactWrapper{
        gap: 50px;
        flex-direction: column;
    }
    footer .contactWrapper .contactInfo{
        flex-direction: row;
    }
    .footerCloser{
        padding-top: 50px;
    }
}
@media (max-width: 539.99px) {
    .text-section .secTitleSvg{
        width: 320px;
    }
    .animation-column {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -130px;
        z-index: 9;
    }
    #hero .subTitle{
        padding: 7px 0;
    }
    #hero .description{
        padding-bottom: 35px;
    }
    #formul h2{
        font-size: 28px;
    }
    #formul .subTitle {
        padding: 12px 0 6px;
    }
    .description{
        font-size: 12px;
    }
    #formul .description{
        padding-bottom: 23px;
    }
    #hero, #formul, #friction, #protect, #termo {
        padding-top: 300px;
    }
    #formul img{
        height: 58px;
    }
    #animation-canvas {
        width: 520px !important;
    }
    .scrollDownBtn {
        bottom: -24px;
    }
    .gifContainer img {
        width: 150px;
    }
    #order .scrollDownBtn {
        bottom: 24px;
    }
}
@media (max-width: 419.99px) {
    footer .contactWrapper .contactInfo{
        flex-direction: column;
    }
    .footerCloser .info{
        gap: 25px;
    }
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}