/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@media only screen and (min-width: 1000px) {
    #header-outer #logo, #header-outer .logo-clone, #header-outer .logo-spacing {
        margin-top: 30px;
    }
}

body.material .nectar-button.large {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 16px;
    padding-left: 30px;
    padding-right: 30px;
}

body[data-button-style="slightly_rounded_shadow"] .nectar-button:hover {
    box-shadow: 0 20px 38px rgb(217 59 34 / 25%) !important;
}

a.nectar-button.large span:before {
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #fff;
    vertical-align: middle;
    position: relative;
    margin-right: 25px;
    top: -1px;
}

.big {
    font-size: clamp(30px, 4.4vw, 65px);
    line-height: 1.1;
}

span.r {
    color: #d93b22 !important;
}

span.s {
    color: #5f6b79;
}

.cut-row > .row-bg-wrap:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 90px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 90px solid transparent;
    border-right: 90px solid #14181c;
    position: absolute;
    bottom: -1px;
    right: -1px;
    z-index: 3;
}


.services .vc_col-sm-4 > .vc_column-inner {
    background: #ccd3d9;
    margin-bottom: 30px;
    clip-path: polygon(
        0 0,
        calc(100% - 30px) 0,
        100% 30px,
        100% 100%,
        0 100%
    );
}

.perex p {
    font-size: 1.15rem;
    font-family: Bricolage Grotesque;
    font-weight: 500;
}

.services .col-bgr .vc_column-inner {
    position: relative;
}

.services .col-bgr .vc_column-inner:before{
    content:"";
    position:absolute;
    bottom:-1px;
    left:0;
    width:100%;
    height:30px;
    background:#ccd3d9;
    clip-path:polygon(
        0 0,
        45% 0,
        50% 100%,
        100% 100%,
        0 100%
    );
    z-index: 10;
}

.vc_col-sm-6.cut-col > .vc_column-inner {
    clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 90px),
    calc(100% - 90px) 100%,
    0 100%);
}

.cut-material .vc_column-inner {
    clip-path: polygon(
        0 0,
        calc(100% - 30px) 0,
        100% 30px,
        100% 100%,
        0 100%
    );
    margin-bottom: -25px;
}

.cut-material .vc_column-inner:before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    background: #14181c;
    clip-path: polygon(0 0, 45% 0, 50% 100%, 100% 100%, 0 100%);
    z-index: 10;
}

.portfolio-items .col .work-item.style-3 {
    clip-path: polygon(
        20px 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%,
        0 calc(100% - 20px),
        0 20px
    );
}



.cut-row-2 > .row-bg-wrap {
clip-path: polygon(
    90px 0,
    100% 0,
    100% 100%,
    0 100%,
    0 90px
);
}

.col-about .vc_column-inner {
    clip-path: polygon(
        0 0,
        calc(100% - 90px) 0,
        100% 90px,
        100% 100%,
        90px 100%,
        0 calc(100% - 90px)
    );
}

.width-100 {
    width: 100%;
}

form label {
    font-family: Geist Mono;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 7px;
    display: inline-block;
}

.container-wrap input[type=text],
.container-wrap input[type=email],
.container-wrap textarea {
    height: 60px;
    border-radius: 0;
}

.container-wrap textarea {
    height: 140px;
}

body[data-form-submit=regular] .container-wrap button[type=submit], 
body[data-form-submit=regular] .container-wrap input[type=submit] {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    font-size: 16px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;  
}

.wpcf7-form p button span {
    color: #fff !important;
}

.wpcf7-form p button span:before {
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #fff;
    vertical-align: middle;
    position: relative;
    margin-right: 25px;
    top: -2px;
}

.material .wpcf7-form .nectar-wpcf7-inline-form {
    padding: 0;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
    padding-right: 20px;
    padding-bottom: 25px;
}


/*realizacie*/

.services.realizacie .col-bgr .vc_column-inner:before {
    background: #14181c;
}

.services.realizacie .col h3 {
    margin: 0;
}

.services.realizacie > .vc_column-inner > .wpb_wrapper {
    position: relative;
}

.services.realizacie .vc_col-sm-4 .vc_column-inner h3 {
    transition: all 0.3s ease;
}

.services.realizacie .vc_col-sm-4 .vc_column-inner:hover h3 {
    color: #d93b22 !important;
}

.services.realizacie .service-text > .vc_column-inner > .wpb_wrapper:before {
    content: '';
    display: block;
    position: absolute;
    right: 25px;
    bottom: 32px;
    width: 20px;
    height: 16px;
    background: url(/wp-content/uploads/2026/08/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    transform: scale(0.7);
}

.services.realizacie .vc_col-sm-4 .vc_column-inner:hover .service-text > .vc_column-inner > .wpb_wrapper:before {
    transform: scale(1);
    right: 20px;
}

.realizacie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    row-gap: 55px;
}

.realizacia-card {
    background: #14181c;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s ease;
}

.realizacia-card__image {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.realizacia-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    filter: grayscale(0.1) contrast(1.1) brightness(0.80);
    transition: all 0.35s ease;
}

.realizacia-card:hover .realizacia-card__image img {
    transform: scale(1.05);
}

.realizacia-card__content {
    padding: 0px 15px;
    position: relative;
}

.realizacia-card__content:before {
    content: "";
    position: absolute;
    top: -29px;
    left: -1px;
    width: 100%;
    height: 30px;
    background: #14181c;
    clip-path: polygon(0 0, 45% 0, 50% 100%, 100% 100%, 0 100%);
    z-index: 100;
}

.col h3.realizacia-card__title {
    margin: 0 0 8px;
    padding-bottom: 8px;
    font-size: 22px;
    border-bottom: 1px solid rgb(204 211 217 / 30%);
}

.realizacia-card__title a {
    color: inherit;
    text-decoration: none;
}

.realizacia-card__year {
    color: #CCD3D980;
    font-family: Geist Mono;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 13px;
    line-height: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.realizacia-card__description {
    color: rgb(204 211 217 / 90%);
    font-size: 15px;
    line-height: 1.3;
}

.category-block {
    margin-bottom: 50px !important;
}

.category-block ul {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-block ul li {
    list-style: none;
}

.category-block ul li a {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #fff;
    background: rgb(168 41 15 / 50%);
    padding: 8px 12px;
    display: block;
    transition: all 0.3s ease;;
}

.category-block ul li.active a {
    pointer-events: none;
    background: rgb(217 59 34);
}

.category-block ul li a:hover {
    background: rgb(217 59 34);
}

.category-block ul li.active a:before {
    content: '';
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #fff;
    vertical-align: middle;
    position: relative;
    margin-right: 10px;
    top: -1px;
}



/********** RESPONSIVE **********/

@media (max-width: 1000px) {
#header-outer .container {
    padding: 0 10px;
}

#header-outer #top .slide-out-widget-area-toggle[data-custom-color="true"] a:before {
    height: 44px;
    width: 44px !important;
    padding-bottom: 0 !important;
}

#header-outer #top .slide-out-widget-area-toggle[data-custom-color=true] a {
    padding: 0 11px;
}

body #top #logo img,
#header-outer[data-permanent-transparent="false"] #logo .dark-version{
    transition: all 0.3s ease !important;
}

body #top .scrolled-down #logo img, 
#header-outer[data-permanent-transparent="false"].scrolled-down #logo .dark-version,
#header-outer .scrolled-down #logo .starting-logo {
    height: 50px !important;
}

li.btn-ponuka.menu-item a {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 14px !important;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
    background: #d93b22;
    line-height: 1 !important;
    margin-top: 40px;
}


.perex p {
    font-size: 0.95rem;
}

body.material .nectar-button.large {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
}

a.nectar-button.large span:before {
    margin-right: 15px;
}

.cut-row > .row-bg-wrap:after {
    border-top: 60px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 60px solid transparent;
    border-right: 60px solid #14181c;
}

.services .vc_col-sm-4 > .vc_column-inner {
    margin-bottom: 0px;
}

.col-about .vc_column-inner {
    clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 60px 100%, 0 calc(100% - 60px));
}

.vc_col-sm-6.cut-col > .vc_column-inner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
}

#specializacia > .row-bg-wrap > .inner-wrap.row-bg-layer.using-image {
    height: 420px;
}

#specializacia > .row-bg-wrap > .row-bg-overlay.row-bg-layer {
    background: linear-gradient(to bottom, rgb(20 24 28 / 20%) 200px, #14181c 410px, #14181c) !important;
    opacity: 1 !important;
    background-color: transparent !important;
}

#kontakt > .row-bg-wrap > .inner-wrap.row-bg-layer.using-image {
    height: 500px;
}

#kontakt > .row-bg-wrap > .row-bg-overlay.row-bg-layer {
    background: linear-gradient(to bottom, rgb(20 24 28 / 20%) 50px, #14181c 495px, #14181c) !important;
    opacity: 1 !important;
    background-color: transparent !important;
}

.portfolio-items:not(.carousel) .col.span_3 {
    width: 49.9% !important;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
    padding-right: 0px;
    padding-bottom: 20px;
}

.material .wpcf7-form .nectar-wpcf7-inline-form {
    flex-direction: column;
}

#home > .row-bg-wrap > .inner-wrap.row-bg-layer.using-image {
    height: 500px;
}

#home > .row-bg-wrap > .row-bg-overlay.row-bg-layer {
    background: linear-gradient(to bottom, 
        rgba(217, 59, 34, 0.3) 0, 
        rgba(168, 41, 15, 0.2) 30px, 
        rgba(26, 6, 4, 0.7) 200px, 
        rgba(0, 0, 0, 0.8) 490px) !important;
}

.category-block ul {
    gap: 6px;
}

.category-block ul li a {
    font-size: 11px;
    padding: 6px 10px;
}

.realizacie-grid {
    grid-template-columns: repeat(2, 1fr);
}

.col h3.realizacia-card__title {
    font-size: 18px;
}
}

@media (max-width: 640px) {
    .realizacie-grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 45px;
}
}