/* ============================================
   УНИКАЛЬНЫЙ ДИЗАЙН - NEW STANDARD CONSTRUCTION
   Кастомные стили для уникализации сайта
   ============================================ */

/* Новые CSS переменные */
:root {
    /* Новая цветовая палитра */
    --new-primary: #0f5f3d;
    --new-primary-dark: #073b26;
    --new-primary-light: #1f7f4f;
    --new-secondary: #ff861c;
    --new-accent: #ff861c;
    --new-accent-light: #ffb366;
    
    --new-dark: #0f5f3d;
    --new-dark-secondary: #1f7f4f;
    --new-light: #f8fafc;
    --new-light-secondary: #e2e8f0;
    
    /* Увеличенные радиусы скругления */
    --new-radius-sm: 16px;
    --new-radius-md: 24px;
    --new-radius-lg: 36px;
    --new-radius-xl: 50px;
    --new-radius-full: 9999px;
    
    /* Мягкие тени */
    --new-shadow-sm: 0 4px 20px rgba(15, 95, 61, 0.1);
    --new-shadow-md: 0 8px 40px rgba(15, 95, 61, 0.15);
    --new-shadow-lg: 0 16px 60px rgba(15, 95, 61, 0.2);
    --new-shadow-glow: 0 0 40px rgba(255, 134, 28, 0.3);
    
    /* Анимации */
    --new-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --new-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   ГЛОБАЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ
   ============================================ */

/* Все кнопки - сильное скругление */
.btn,
.btn--primary,
.btn--secondary,
.btn-site,
.btn-app,
.wpcf7 input[type="submit"],
.btn--gradient-1,
.btn--gradient-2,
input[type="submit"],
button[type="submit"],
.vc_btn3-container a,
a.btn {
    border-radius: var(--new-radius-full) !important;
    transition: all 0.4s var(--new-bounce) !important;
    position: relative;
    overflow: hidden;
}

.btn:hover,
.btn--primary:hover,
.wpcf7 input[type="submit"]:hover,
.vc_btn3-container a:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: var(--new-shadow-lg) !important;
}

/* Кнопки - эффект свечения */
.btn::before,
.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s var(--new-ease);
}

.btn:hover::before,
.btn--primary:hover::before {
    left: 100%;
}

/* ============================================
   КАРТОЧКИ И БЛОКИ
   ============================================ */

/* Сервисные карточки */
.service__box,
.service__box-2 {
    border-radius: var(--new-radius-lg) !important;
    transition: all 0.5s var(--new-ease) !important;
    overflow: hidden !important;
}

.service__box:hover,
.service__box-2:hover {
    transform: translateY(-15px) rotate(1deg) !important;
    box-shadow: var(--new-shadow-lg) !important;
}

.service__box .service__image,
.service__box-2 .service__image {
    border-radius: var(--new-radius-md) var(--new-radius-md) 0 0 !important;
}

.service__arrow {
    border-radius: var(--new-radius-full) !important;
    transition: all 0.4s var(--new-bounce) !important;
}

.service__box:hover .service__arrow {
    transform: scale(1.2) rotate(45deg) !important;
}

/* Блоки с формами */
.boxes,
.box-3,
.box-rounded {
    border-radius: var(--new-radius-xl) !important;
    overflow: hidden !important;
    transition: all 0.4s var(--new-ease) !important;
}

/* Testimonials */
.testimonial__01,
.test-item {
    border-radius: var(--new-radius-lg) !important;
    transition: all 0.4s var(--new-ease) !important;
}

.testimonial__01:hover,
.test-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--new-shadow-md) !important;
}

.testimonial__01 .avatar img,
.user-avatar {
    border-radius: var(--new-radius-full) !important;
    border: 4px solid var(--new-primary-light) !important;
    transition: all 0.3s var(--new-bounce) !important;
}

.testimonial__01:hover .avatar img {
    transform: scale(1.1) !important;
    border-color: var(--new-primary) !important;
}

/* ============================================
   ИКОНКИ
   ============================================ */

.main__icon,
.icon__container i,
.service__icon {
    border-radius: var(--new-radius-md) !important;
    transition: all 0.4s var(--new-bounce) !important;
}

.main__icon:hover,
.icon__container:hover i {
    transform: rotate(10deg) scale(1.15) !important;
}

/* ============================================
   ФОРМЫ
   ============================================ */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select,
input[type="text"],
input[type="email"],
textarea,
select {
    border-radius: var(--new-radius-md) !important;
    transition: all 0.3s var(--new-ease) !important;
    border: 2px solid transparent !important;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--new-primary) !important;
    box-shadow: 0 0 0 4px rgba(31, 127, 79, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* ============================================
   НАВИГАЦИЯ
   ============================================ */

.header__nav,
.navbar {
    transition: all 0.4s var(--new-ease) !important;
}

.header__nav.sticky,
.navbar.scrolled {
    border-radius: 0 0 var(--new-radius-lg) var(--new-radius-lg) !important;
    box-shadow: var(--new-shadow-md) !important;
}

/* Выпадающее меню */
.submenu__dropdown,
.nav__list .submenu__dropdown {
    border-radius: var(--new-radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--new-shadow-lg) !important;
}

.submenu__dropdown .dropdown__item,
.nav__list .submenu__dropdown .dropdown__item {
    transition: all 0.3s var(--new-ease) !important;
}

.submenu__dropdown .dropdown__item:hover {
    border-radius: var(--new-radius-sm) !important;
    transform: translateX(5px) !important;
}

/* Мобильное меню */
.nav__mobile {
    border-radius: 0 var(--new-radius-xl) var(--new-radius-xl) 0 !important;
}

/* ============================================
   FOOTER
   ============================================ */

.footer__cont,
footer {
    border-radius: var(--new-radius-2xl, 64px) var(--new-radius-2xl, 64px) 0 0 !important;
    margin-top: -30px !important;
    position: relative !important;
}

.footer__social li a {
    border-radius: var(--new-radius-md) !important;
    transition: all 0.3s var(--new-bounce) !important;
}

.footer__social li a:hover {
    transform: translateY(-5px) scale(1.1) !important;
}

/* ============================================
   ИЗОБРАЖЕНИЯ
   ============================================ */

.wpb_single_image img,
.vc_single_image-img,
.project-image img {
    border-radius: var(--new-radius-lg) !important;
    transition: all 0.5s var(--new-ease) !important;
}

.wpb_single_image:hover img,
.project-card:hover img {
    transform: scale(1.05) !important;
}

/* ============================================
   СЕКЦИИ И РАЗДЕЛИТЕЛИ
   ============================================ */

/* Волнистые разделители */
.row__shape,
.slcr_row_curve {
    overflow: hidden !important;
}

/* Статистика */
.stat-item,
.counter__01 {
    border-radius: var(--new-radius-lg) !important;
    transition: all 0.4s var(--new-ease) !important;
}

.stat-item:hover,
.counter__01:hover {
    transform: translateY(-10px) scale(1.02) !important;
}

/* Feature boxes */
.feature-icons .vc_column_container {
    border-radius: var(--new-radius-lg) !important;
    transition: all 0.4s var(--new-ease) !important;
}

.feature-icons .vc_column_container:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--new-shadow-md) !important;
}

/* ============================================
   АНИМАЦИИ ПРИ СКРОЛЛЕ
   ============================================ */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--new-ease);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s var(--new-ease);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s var(--new-ease);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s var(--new-ease);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }

/* ============================================
   GLASSMORPHISM ЭФФЕКТЫ
   ============================================ */

.glass-effect {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--new-radius-lg) !important;
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--new-radius-lg) !important;
}

/* ============================================
   ГРАДИЕНТНЫЙ ТЕКСТ
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, var(--new-primary) 0%, var(--new-secondary) 50%, var(--new-accent) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ============================================
   HOVER ЭФФЕКТЫ ДЛЯ КАРТОЧЕК
   ============================================ */

/* 3D Tilt эффект */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s var(--new-ease);
}

/* Magnetic button effect applied via JS */
.magnetic-btn {
    transition: transform 0.2s var(--new-ease);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--new-primary), var(--new-secondary), var(--new-accent));
    z-index: 10000;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back__top,
.back-to-top {
    border-radius: var(--new-radius-full) !important;
    background: linear-gradient(135deg, var(--new-primary), var(--new-primary-dark)) !important;
    box-shadow: var(--new-shadow-md) !important;
    transition: all 0.3s var(--new-bounce) !important;
}

.back__top:hover,
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: var(--new-shadow-lg), var(--new-shadow-glow) !important;
}

/* ============================================
   CURSOR GLOW (добавляется через JS)
   ============================================ */

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 127, 79, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ============================================
   CAROUSEL / SLIDER
   ============================================ */

.owl-theme .owl-dots .owl-dot span {
    border-radius: var(--new-radius-full) !important;
    transition: all 0.3s var(--new-ease) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    transform: scale(1.3) !important;
}

.owl-theme .owl-nav button {
    border-radius: var(--new-radius-full) !important;
    transition: all 0.3s var(--new-bounce) !important;
}

.owl-theme .owl-nav button:hover {
    transform: scale(1.1) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 992px) {
    .footer__cont,
    footer {
        border-radius: var(--new-radius-xl) var(--new-radius-xl) 0 0 !important;
    }
    
    .boxes,
    .box-3 {
        border-radius: var(--new-radius-lg) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --new-radius-lg: 24px;
        --new-radius-xl: 32px;
    }
    
    .service__box:hover,
    .testimonial__01:hover {
        transform: translateY(-8px) !important;
    }
    
    .cursor-glow {
        display: none !important;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* ============================================
   ПУЛЬСИРУЮЩИЕ ЭЛЕМЕНТЫ
   ============================================ */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(31, 127, 79, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(31, 127, 79, 0);
    }
}

.pulse-effect {
    animation: pulse-glow 2s infinite;
}

/* ============================================
   FLOATING ANIMATION
   ============================================ */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   TYPING CURSOR
   ============================================ */

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ============================================
   ПРЯМЫЕ ЦВЕТА ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   Основной: #0f5f3d / Акцент: #ff861c
   ============================================ */

/* Кнопки - основной цвет */
.btn--primary,
.btn--secondary,
.btn-site,
.btn-app,
.wpcf7 input[type="submit"],
input[type="submit"],
.vc_btn3-container a.btn--primary,
a.btn--primary {
    background: #ff861c !important;
    background-color: #ff861c !important;
    border-color: #ff861c !important;
    color: #ffffff !important;
}

.btn--primary:hover,
.btn--secondary:hover,
.wpcf7 input[type="submit"]:hover {
    background: #0f5f3d !important;
    background-color: #0f5f3d !important;
    border-color: #0f5f3d !important;
}

/* Тёмные секции */
[data-bg-color-6968a7f3b6123]:before,
.data-bg-color-6968a7f3b6123,
.vc_custom_1642352822235,
.footer__main,
.footer__bottom,
.slcr_row_curve {
    background-color: #0f5f3d !important;
    background: #0f5f3d !important;
}

/* Секция Residential and Commercial Work */
.data-bg-color-6968a7f3b6123.vc_custom_1642352822235 {
    background-color: #0f5f3d !important;
    background: #0f5f3d !important;
}

/* Feature карточки (Why Choose Us / Quality construction) */
.vc_custom_1642352967406,
.vc_custom_1642353315446,
.vc_custom_1642353323422,
.vc_custom_1642353331958,
.feature-icons .vc_column-inner,
.feature-icons [class*="vc_col-"] .vc_column-inner[class*="vc_custom"] {
    background-color: #0f5f3d !important;
    background: #0f5f3d !important;
}

/* Иконки и акценты */
.main__icon,
.icon__container .main__icon,
[data-hover-target="icon"] .main__icon {
    background: #ff861c !important;
    background-color: #ff861c !important;
    border-color: #ff861c !important;
    color: #ffffff !important;
}

/* Сервисные карточки - стрелка */
.service__box:hover .service__arrow,
.service__arrow {
    background: #ff861c !important;
    background-color: #ff861c !important;
}

/* Заголовки подразделов */
.sub-heading,
h6.sub-heading {
    color: #ff861c !important;
}

/* Ссылки */
a:hover,
.text_link:hover,
.color-theme-main {
    color: #ff861c !important;
}

/* Формы */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #ff861c !important;
}

/* Форма в hero секции - Schedule a Free Estimate */
.boxes.box-3 .wpcf7,
.box-rounded .wpcf7 {
    background: #ffffff !important;
}

.boxes.box-3,
.box-rounded.bg-default {
    background: #ffffff !important;
    border: 3px solid #ff861c !important;
    box-shadow: 0 20px 60px rgba(15, 95, 61, 0.2) !important;
}

/* Заголовок формы */
.boxes h4,
.box-3 h4,
#slcr_custom_heading_6968a7f3b4b24 {
    color: #0f5f3d !important;
}

/* Разделители */
.vc_sep_line {
    border-color: #ff861c !important;
}

/* Рейтинг звёзд */
.icon_star,
.rating ul li i {
    color: #ff861c !important;
}

/* Overlay секции */
[data-bg-color-6968a7f3babb3]:before,
.data-bg-color-6968a7f3babb3 {
    background-color: #0f5f3d !important;
    background: #0f5f3d !important;
}

/* Секция Quality construction (Why Choose Us) - фон */
.vc_custom_1642359383676,
[data-bg-color-6968a7f3babb3].vc_custom_1642359383676 {
    background-color: #0f5f3d !important;
    background: #0f5f3d !important;
}

/* Hero секция overlay */
[data-bg-color-6968a7f3b271c]:before {
    background: linear-gradient(146deg, rgba(7, 59, 38, 0.95) 35%, rgba(15, 95, 61, 0.22) 100%) !important;
}

/* CTA секция */
[data-bg-color-6968a7f3c529a]:before {
    background: linear-gradient(270deg, rgba(15, 95, 61, 1) 50%, rgba(15, 95, 61, 0.3) 100%) !important;
}

/* Навигация - активный элемент */
.nav__list .submenu__dropdown .dropdown__item:hover,
.nav__list .submenu__dropdown .dropdown__item .active__dropdown-item {
    background: #ff861c !important;
}

/* Кнопки навигации */
.nav__list .button__nav_1 {
    background: #ff861c !important;
}

.nav__list .button__nav_2:hover {
    border-color: #ff861c !important;
}

/* Scroll Progress Bar */
.scroll-progress {
    background: linear-gradient(90deg, #0f5f3d, #ff861c) !important;
}

/* Градиенты */
.btn--gradient-1,
.bg--gradient-1 {
    background: linear-gradient(to right, #0f5f3d 0%, #ff861c 100%) !important;
}

/* Текст с акцентом */
.color-secondary,
h5.color-secondary {
    color: #ff861c !important;
}

/* Box shadow для карточек */
.service__box:hover,
.testimonial__01:hover,
.boxes:hover {
    box-shadow: 0 20px 60px rgba(15, 95, 61, 0.3) !important;
}

/* Back to top button */
.back__top {
    background: #0f5f3d !important;
    color: #ffffff !important;
}

.back__top:hover {
    background: #ff861c !important;
}

/* Icon box */
.icons__text .main__icon {
    background: #ff861c !important;
    border-color: #ff861c !important;
}

/* Carousel dots */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ff861c !important;
}

/* ============================================
   НОВЫЕ ФОРМЫ ВОЛН / DIVIDERS
   ============================================ */

/* Скрываем оригинальные SVG волны */
.row__shape .shape__svg {
    display: none !important;
}

/* Новая форма для секции "Residential and Commercial Work" - угловой срез */
#slcr_row_height_6968a7f3b6178 {
    height: 80px !important;
    background: transparent !important;
    overflow: visible !important;
}

#slcr_row_height_6968a7f3b6178::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    background: #f7f7f7 !important;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%) !important;
}

/* Новая форма для секции "Quality construction" - диагональ */
#slcr_row_height_6968a7f3babfb {
    height: 100px !important;
    background: transparent !important;
    overflow: visible !important;
}

#slcr_row_height_6968a7f3babfb::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100px !important;
    background: #ffffff !important;
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 70%) !important;
}

/* Дополнительный декоративный элемент - акцентная линия */
#slcr_row_height_6968a7f3babfb::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 4px !important;
    background: #ff861c !important;
    border-radius: 2px !important;
}

/* Форма для блока с формой (Request a Consultation) */
.slcr_box_image_css_6968a7f3bddf5,
.boxes.box-3.box-rounded.bg-default.vc_custom_1584604758095 {
    border-radius: 30px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 25px 80px rgba(15, 95, 61, 0.15) !important;
}

/* Левая часть формы - изображение с закругленным углом */
.vc_custom_1642359802707 {
    border-radius: 25px !important;
    overflow: hidden !important;
}

/* Альтернативные формы разделителей - можно активировать */
.slcr_row_curve {
    position: relative !important;
}

/* Простой угловой срез вместо волн */
.slcr_row_curve::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    background: inherit !important;
}

/* Патентна палітра: зелений overlay замість синього на першому екрані */
.data-bg-color-6968a7f3b271c::before {
    background: linear-gradient(146deg, rgba(7, 59, 38, 0.95) 35%, rgba(15, 95, 61, 0.22) 100%) !important;
}

