/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.portfolio-parallax .portfolio-info {
    opacity: 1 !important;
}
.stroke-counter .woodmart-counter {
    display: flex;
    gap: 40px;
    align-items: center;
}
.text-reveal .text-line {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}
.colored-text {
    color: #D9C29D;
}
.portfolio-parallax .portfolio-info {
    justify-content: flex-end !important;
    align-items: flex-start;
}
.portfolio-info h3 {
    font-size: 46px;
    font-family: var(--wd-title-font);
    font-weight: 400;
}
.wd-nav-portfolio>li>a {
    font-family: var(--wd-entities-title-font);
}
.achievements .woodmart-counter .counter-label,
a.white__a{
    color: #fff;
}
.wd-nav-main>li>a, .wd-nav-secondary>li>a {
    font-weight: 500 !important;
}

.multiwidget-contact {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 9999;
    
}

.multiwidget-button {
    width: 60px;
    height: 60px;
    background: rgb(119,104,79);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.multiwidget-button:hover {
    transform: scale(1.1);
}



.multiwidget-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.multiwidget-contact.active .multiwidget-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.multiwidget-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: rgb(217,194,157);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.multiwidget-item:last-child {
    border-bottom: none;
}

.multiwidget-item:hover {
    background: #f9f9f9;
    
}
.multiwidget-item:first-child:hover {
    border-radius: 12px 12px 0 0;
}
.multiwidget-item:last-child:hover {
    border-radius: 0 0 12px 12px;
}

.multiwidget-service-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    font-size: 18px;
}

.whatsapp { color: rgb(0,43,69); }
.telegram { color: rgb(0,43,69); }
.email { color: rgb(0,43,69); }
.phone { color: rgb(0,43,69); }


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.multiwidget-button {
    animation: pulse 2s infinite;
}
.multiwidget-icon,
.multiwidget-icon svg {
    width: 40px;
    height: 40px;
}
.phone .multiwidget-service-icon svg {
    width: 20px;
    height: 20px;
}

.btn-style-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.wd-btn-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-style-link:hover .wd-btn-icon {
    transform: translateX(6px);
}

/* Для плавности всей кнопки */
.btn-style-link {
    transition: all 0.2s ease;
}

.wd-portfolio-btns {
    display: none;
}

.wd-projects .wd-el-title {
    margin-top: 30px;
    font-size: 36px !important;
    color: #fff;
}
.wd-project .entry-thumbnail,
.wd-project .entry-header {
    border-radius: 0px !important;
}
/* POPUP */
/* Оверлей */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный */
    z-index: 999; /* На слой ниже попапа */
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Плавное появление */
    pointer-events: none; /* Отключаем клики в скрытом состоянии */
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: all; /* Включаем клики, когда оверлей активен */
}

/* Попап */
.popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 520px;
    height: 100%;
    background: rgb(23,23,25);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Плавный переход */
    z-index: 1000; /* На слой выше оверлея */
}
@media (max-width:768px) {
    .popup {
        width: 90%;
    }
}
.popup.show {
    transform: translateX(0);
}

.popup.hidden {
    transform: translateX(100%);
}
.popup-content {
    padding: 20vh 36px;
}
.popup-close {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 31px;
    background-color: #333;
    color: #fff;
}
.form-headline {
    margin-bottom: 36px;
    font-family: var(--wd-title-font);
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    width: 360px;
    margin: auto;
}

/* CONTACT FORM */
.wpcf7-form-control{
    padding: 1rem;
}
div#wpcf7-f8-o1 {
    width: 360px;
    margin: auto;
}
.wpcf7-form-control::placeholder {
    color: #fff; /* this change the color of native placeholder */
    transition: all 0.2s;
    font-size: 15px;
    font-weight: 500;
}
.form-style-underlined label {
    color: #fff;
}
.wpcf7-form-control:focus::placeholder {
    color: #ffffff9e;
    transform: translateY(-20px);
    font-size: 13px;
}

.wpcf7-form-control:focus + label,
.wpcf7-form-control:not(:placeholder-shown) + label {
    transform: translateY(-20px);
    font-size: 12px;
}
input.wpcf7-form-control:focus {
    border-color: var(--wd-form-brd-width) solid #333;
}
input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea, select {
    height: 52px;
    margin-bottom: 12px;
}
.policy-warning {
    font-size: 12px;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: var(--wd-primary-color);
}
input.wpcf7-submit {
    width: 100%;
    border-radius: 30px;
    background-color: var(--wd-primary-color);
    color: #fff;
    font-size: 14px !important;
    letter-spacing: 0.1em !important;
}
.grecaptcha-badge {
    visibility: hidden !important;
}

.page-portfolio .wd-nav[class*="wd-style-"]>li>a {
    color: #fff;
    text-transform: none;
    font-size: 18px;
    
}
.star-rating span:before {
    color: #D9C29D;
}




.presentation-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: var(--wd-primary-color);
    color: white;
    border-radius: 50px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, 0, 0.265, 1.55);
    z-index: 10000;
    overflow: hidden;
    max-width: 60px;
    height: 60px;
}

.presentation-widget:hover {
    max-width: 250px;
    padding: 15px 25px;
}

.widget-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.presentation-widget:hover .widget-icon {
    transform: scale(1.1) rotate(5deg);
}

.widget-text {
    white-space: nowrap;
    opacity: 0;
    margin-left: 15px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.presentation-widget:hover .widget-text {
    opacity: 1;
    transform: translateX(0);
}

/* Анимация пульсации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.presentation-widget {
    animation: pulse 2s infinite;
}

.presentation-widget:hover {
    animation: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .presentation-widget {
        bottom: 20px;
        right: 20px;
        max-width: 55px;
        height: 55px;
        padding: 12px;
    }
    
    .widget-icon {
        font-size: 20px;
        min-width: 25px;
    }
    
    .presentation-widget:hover {
        max-width: 220px;
        padding: 12px 20px;
    }
    
    .widget-text {
        font-size: 13px;
        margin-left: 12px;
    }
    .multiwidget-contact {
        bottom: 100px;
        right: 20px;
    }
}

.presentation-widget .multiwidget-icon, 
.presentation-widget .multiwidget-icon svg {
    width: 30px;
}

/* BLOG */
.post-img-wrapp {
    border-radius: 0 !important;
}
.wd-post-date,
div.entry-meta,
.post-single-page header.entry-header {
    display: none !important;
}
.blog-design-masonry .post-title,
.post-single-page .post-title {
    font-family: var(--wd-title-font);
    color: #fff;
    font-weight: 400;
}
.wd-dropdown-menu.wd-design-default {
    width: 83px;
}