/*
Theme Name: ZNKO
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom theme for the ZNKO project, developed with ACF Local JSON.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: znko
*/

/* Typography */
      h1, h2, h3, h4, h5, h6 {
         font-family: 'Inter', sans-serif;
         font-weight: 700;
         letter-spacing: -0.02em;
      }
      
      body, p, span, li, button, input, textarea {
         font-family: 'Montserrat', sans-serif;
         font-weight: 400;
      }
      
      .hero-title {
         font-family: 'Inter', sans-serif;
         font-weight: 800;
         text-transform: uppercase;
         letter-spacing: 0.05em;
      }
      
      .subtitle {
         font-family: 'Montserrat', sans-serif;
         font-weight: 400;
         font-style: italic;
      }

   :root {
      --tj-theme-primary: #D96C06;
   }

   .cta-wrapper.style-8 .circle-button .circle {background: #D96C06;}

.hero-image-box img {
    border-color: #d96c062b;
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: 0 -185px;
}

.fun-fact-6.wow.fadeInRight {
    display: none;
}

.about-text {
    width: 100%;
}

.desc.wow.fadeInUp {
    max-width: 100%;
}

.resume_menu_5 {
    max-width: fit-content;
}

.price {
    font-size: 32px;
    color: #D96C06;
}

.price s {
    color: #ffffff2e;
}

.accordion-item.active {
    background-color: #d96c0608;
    border-color: #d96c062b!important;
}

.accordion-item {
   border-color: rgb(255 255 255 / 10%)!important;
}

.contact-content-area {
   border-color: #d96c062b !important;
}

.tj-about-9-bg {
   background: none;
}



.testimonial-item.style-8 {
   border: 1px solid rgb(217 108 6 / 25%);
}

.contact-section.style-2 {
   margin-top: 120px;
}

.tj-service-6-title {
   height: 67px;
}

h1.hero-title {
    font-size: 90px;
}

h1.hero-title.hero-title-2 {
    font-size: 44px;
}

.testimonial-feature-item {
    display: none;
}

.tj-testimonial-section.style-8 .swiper-slide {
    /* height: 453px; */
}

.testimonial-item.style-8 {
    height: 453px;
}
   

   .portfolio-tem.style-8 .portfolio-content .number {
    -webkit-text-stroke: 1px rgb(217 108 6);
}

.tj-text-invert > div {
    background-image: linear-gradient(to right, rgb(255, 255, 255) 50%, rgb(255 255 255) 50%);
}

.tj-portfolio-section.style-8 {
    padding-top: 30px;
}

.tj-about-9-thumb img {
    border: 2px solid #d96c0624;
    object-position: 0 -73px;
}

.about-6-images img {
   transform: scale(-1, 1);
}

.portfolio-wrapper-8 .portfolio-tem.style-8:nth-child(2) img {
    transform: scale(-1, 1);
}

section#format {
    display: none;
}

.testimonial-item.style-8 {
    height: 480px;
}

a.btn {
   border-radius: 50px!important;
}

.tj-header-area .header-menu {
   margin-left: auto;
   margin-right: auto;
}
.tj-header-area .header-button {
    position: relative;
    left: -228px;
}

.services-widget .service-item .left-box .service-title {
   font-size: 24px;
}

.service-item.d-flex.flex-wrap.align-items-center.wow.fadeInUp {
    border-color: #d96c067a;
    border-color: rgb(217 108 6 / 25%);
}

.cta-circle.wow.fadeInUp {
    display: none;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

#video img {
    /* margin-top: 40px; */
    border-radius: 20px;
    margin-bottom: 60px;
}

section.tj-project-9-area h2>div {
    color: #fff;
}

.tj-project-7-item-inner:hover {
    background: var(--tj-theme-primary);
}

/* .swiper-slide.tj-project-9-wrapper.swiper-slide-active .tj-project-7-item-inner {
    background: #d96c06;
} */

.resume_item.style-5 .resume_date .date {
    font-size: 16px;
}

.accordion-item .faq-text {
    color: var(--tj-white);
    letter-spacing: 0.32px;
}

/* Styles for Video with Preview Overlay */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9; /* Зберігаємо пропорції */
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Overlay for preview image and play button */
.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заповнить контейнер без спотворень */
    position: absolute;
    top: 0;
    left: 0;
}

.video-play-button {
    position: relative; /* Щоб бути над картинкою */
    z-index: 2;
    width: 90px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-preview-overlay:hover .video-play-button {
    transform: scale(1.1);
}

.video-play-button svg {
    width: 40px; /* Розмір іконки */
    height: 40px;
}

/* When video is playing, hide the overlay */
.video-wrapper.is-playing .video-preview-overlay {
    opacity: 0;
    visibility: hidden;
}

.tj-project-9-prev::before, .tj-project-9-next::before{
    background: linear-gradient(90deg, #d96c06 0%, #2a1454 100%);
}

.vbox-grab .vbox-child img {
    height: calc(100vh - 80px);
    object-fit: contain;
}

.vbox-num {
    display: none;
}

@media(min-width:992px) and (max-width:1399px){
    .container {
        max-width: calc(100% - 40px);
    }
    h1.hero-title {
        font-size: 68px;
    }

    h1.hero-title.hero-title-2 {
        font-size: 32px;
    }
    .hero-content-box {min-width: 478px;}
    .hero-image-box img {
        object-position: 0 -73px;
    }
}

@media(max-width:991px) {
    .container {
        max-width: calc(100% - 40px);
    }
    h1.hero-title {
        font-size: 68px;
    }

    h1.hero-title.hero-title-2 {
        font-size: 32px;
    }
    .hero-content-box {min-width: 478px;}
    section#intro .row.align-items-center {
    flex-direction: column;
}

section#intro .col-md-6 {
    width: 100%;
    margin-bottom: 64px;
}

.hero-content-box {
    max-width: 600px;
    margin: 0 auto;
}

.tj-header-area .header-button {
    left: auto;
}

.tj-header-area .mobile-menu.opened, .mean-container .mean-bar {
    background-color: var(--tj-theme-h4-primary-1);
}
}

@media(max-width:650px) {
    .container {
        max-width: calc(100% - 0px);
    }
    .hero-image-box img {
    width: 100%;
    height: auto;
    object-position: unset;
}

h1.hero-title {
    font-size: 50px;
}

h1.hero-title.hero-title-2 {
    font-size: 24px;
}

.hero-content-box {
    min-width: fit-content;
    text-align: center;
}

.hero-content-box .lead {
    font-size: 18px;
}

section#intro {
    padding-top: 80px;
}

.hero-content-box .button-box {
    justify-content: center;
}

section#intro .col-md-6 {
    margin-bottom: 0;
}
h2#anim {
    max-width: 208px;
    margin-left: auto;
    margin-right: auto;
    font-size: 35px!important;
}
.about-6-images {
    max-width: 100%;
}

.portfolio-tem.style-8 .portfolio-content .title {
    font-size: 26px;
}

.services-widget .service-item .left-box .service-title {
    font-size: 18px;
}

.services-widget .service-item .left-box {
    padding-right: 0;
}

.resume_menu_5 .resume-tab {
    font-size: 13px;
}

.tj-about-9-thumb img {
    object-position: 0 -40px;
}

.tj-about-9-thumb {
    height: 400px;
}

.tj-about-9-counter-title {
    font-size: 42px;
}

}

.vbox-child {
    background: #161616!important;
}


.accordion-body.faq-text a {
    color: #d96c06;
}


.footer-logo-box {
    max-width: 100%;
}

.footer-logo-box>ul {
    justify-content: center;
	flex-wrap: wrap;
}

@media(max-width:575px) {
    
}