/*
Theme Name:     Kadence Child
Theme URI:      n/a
Template:       kadence
Author:         Siteart
Author URI:     https://siteart.pl/
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

.kb-splide .splide__pagination__page.is-active{
background: var(--global-palette1)!important;
	opacity: 1!important;

}
.kb-advanced-slider-53_3d1e98-f8 .splide .splide__arrow:hover, .kb-advanced-slider-53_3d1e98-f8 .kb-slider-pause-button:hover{
color: var(--global-palette2)!important;
	
}
.entry-title{
		font-size: 44px;
}
@media (min-width:1200px){
	.alternate-heading{
	position: relative;
}
	.entry-title{
		font-size: 48px;
		position:relative;
	}

.alternate-heading::before, .entry-title::before{
	content: '';
        display: block;
        height: 32px;
        width: 30px;
        position: absolute;
        top: -14px;
        left: -60px;
        border: solid 2px #fcca03;
        border-width: 2px 0 0 2px;
}

.alternate-heading::after, .entry-title::after{
        content: '';
        display: block;
        height: 32px;
        width: 30px;
        position: absolute;
        right: -60px;
        bottom: -32px;
        border: solid 2px #fcca03;
        border-width: 0 2px 2px 0;
}
	.entry-title::before{
		 border: solid 2px #1e1e1e;
        border-width: 2px 0 0 2px;
	}
	
	.entry-title::after{
		border: solid 2px #1e1e1e;
		border-width: 0 2px 2px 0;
	}
}

/* opinie mainpage */
.opinie-grid {
    column-count: 1;
    column-gap: 30px;
    width: 100%;
}

.opinia-card {
    background-color: #f5f5f5;
    border-bottom: 2px solid #fcca03;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.opinia-card:hover {
    transform: translateY(-7px);
    background-color: #ffffff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.06);
    border-bottom-color: #ffd000;
}

.opinia-tresc {
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.opinia-separator {
    width: 40px;
    height: 2px;
    background-color: #fcca03;
    border: none;
    margin: 0 0 15px 0;
    transition: width 0.3s ease;
}

.opinia-card:hover .opinia-separator {
    width: 70px;
}

.opinia-autor-box {
    margin-top: 10px;
}

.opinia-imie {
    font-size: 16px;
    color: #1e1e1e;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.opinia-miasto {
    font-size: 14px;
    color: #1e1e1e;
    margin: 0;
}

@media (min-width: 600px) {
    .opinie-grid {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .opinie-grid {
        column-count: 3;
    }
}



/* formularz kontatowy */
form.wpcf7-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	align-items: flex-start;
	width: 100%;
	background-color: transparent; 
	position: relative;
	z-index: 100;
	max-width: 630px;
}

.form-control-group {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 24px;
}

.form-control-group.form-control-group--half {
	display: flex;
	flex-direction: row;
	gap: 24px;
	width: 100%;
}

.form-control-group__group {
	position: relative;
	width: 100%; 
}

.form-control-group__label {
	color: #000;
	font-size: 16px;
	margin-bottom: 8px; 
	display: block;
	font-weight: 600;
}

body form input[type='text'],
body form input[type='number'],
body form input[type='email'],
body form input[type='tel'],
body form textarea {
	display: flex;
	width: 100%;
	padding: 16px;
	border: 1px solid #d9d9d9;
	background: #fff; 
	color: #000;
	font-weight: 400;
	border-radius: 8px;
	box-sizing: border-box; 
   font-size: 16px; 
}

body form textarea {
	height: 120px;
	resize: none;
}

form.wpcf7-form .wpcf7-acceptance {
	margin-bottom: 20px;
	margin-top: 4px;
	display: block;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #333;
}

form.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

form.wpcf7-form .wpcf7-acceptance input {
    margin-right: 8px; 
}

body form.wpcf7-form .wpcf7-submit {
	display: inline-block;
	margin-top: 10px;
	padding: 15px 40px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s ease;
    
    background-color: #fcca03;
    color: #333;
}

body form.wpcf7-form .wpcf7-submit:hover {
    color: var(--global-palette2);
    color: #fff;
}

@media (max-width: 576px) {
	.form-control-group.form-control-group--half {
		flex-direction: column;
		gap: 20px;
	}
}

::placeholder {
	color: #000 !important;
	opacity: 0.5;
}

.wpcf7-not-valid-tip {
	font-size: 12px;
	color: #dc3232;
	margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0px;
}
.wp-block-kadence-off-canvas-trigger:hover{
	color: #FCCA03;
}
.wp-block-kadence-off-canvas-trigger:focus {
	color: #FFFFFF;
}

@media(max-width:1145px){
		.wp-block-kadence-navigation .menu{
		font-size: 14px !important;
	}
}

@media(max-width:1024px){
		.wp-block-kadence-navigation .menu{
		font-size: 16px !important;
	}
}


.entry-hero-container-inner .entry-header{
	flex-direction: row;
	justify-content: space-between;
}

@media(max-width:1080px){
	.entry-hero-container-inner .entry-header{
	flex-direction: column;
    justify-content: center;
    align-items: start;
	text-align: left;
	padding: 20px 0px;
}

}


/* akordeon */
.custom-acordeon  .kt-accordion-header-wrap {
	box-shadow: 0 4px 16px 0 rgb(0 0 0 / .1);
}

/* o nas */
.partners-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo-box {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-box:hover {
    border-color: #FCCA03;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.partner-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 600px) {
    .partners-grid-container {
        gap: 10px;
    }
    .partner-logo-box {
        width: 45%;
        height: 80px;
    }
}

/* co robimy */
.serivces-custom-box{
	box-shadow: 0 4px 16px 0 rgb(0 0 0 / .1);
}

@media (min-width:1200px){
	.services-custom-border{
		position: relative;
}
	.services-custom-border::before{
		content: '';
        display: block;
        height: 32px;
        width: 30px;
        position: absolute;
        top: 15px;
        left: 15px;
        border: solid 2px #fcca03;
        border-width: 2px 0 0 2px;
        z-index: 50;
    }
	
		.services-custom-border::after{
		content: '';
        display: block;
        height: 32px;
        width: 30px;
        position: absolute;
        right: 15px;
        bottom: 15px;
        border: solid 2px #fcca03;
        border-width: 0 2px 2px 0;
        z-index: 50;
	}
	
	.services-custom-border::hover, .services-custom-border::hover{
		border: solid 2px #333;
	}
}

/* slider  */  
.slider-innner-section{
		height: calc(100vh - 40px) ;
		justify-content: center;
	}
@media(max-width:1024px){
	.slider-innner-section{
		height: calc(100vh - 36px) ;
	}

}
@media(max-width:768px){
	.slider-innner-section{
		height: 100vh;
		height: calc(100vh - 20px) ;
	}

}
/* @media(min-width:1920px){
	.slider-innner-section{
		height: 1000px;
	}
}

@media(max-width:768px){
	.slider-innner-section{
		height: 650px;
	}
} */
/* @media(max-width:350px){
	.slider-innner-section{
		justify-content: flex-start;
        margin-top: 20px;
	}
}
 */

.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor{
	background-color: #1E1E1E;
}
.kb-splide[data-slider-dots=true]{
	margin-bottom: 0px !important;
}
.kb-splide .splide__pagination, .kb-splide ul.splide__pagination.splide__pagination {
	bottom: 25px !important;
}


@media (min-width: 1025px) {

  body:not(.home) 
  .wp-block-kadence-header.header-desktop-sticky .kb-header-container {
    background-color: #333333;
  }

  body:not(.home)
  .page-hero-section .entry-hero-container-inner {
    background: var(--global-palette8);
    margin-top: 140px;
  }

}

@media (min-width: 1024px) {

    .custom-section-container {
        position: relative;
        overflow: visible !important;
        z-index: 10;
    }

    .custom-section-photo {
        position: absolute !important;
        max-width: none !important;
        bottom: -310px;
		transform: scale(1.3);
        right: 0;
        z-index: 2;
    }

    .custom-section-photo img {
        width: 100%;
        height: auto;
    }
}

.custom-frontpage-offerbox svg{
transition: .3s ease transform, .3s ease color;
}

.custom-frontpage-offerbox:hover svg {
	transform: scale(1.05);
	color: #fff;
}

.custom-frontpage-offerbox .custom-frontpage-offerbox__header {
	transition: .3s ease color;

}
.custom-frontpage-offerbox p {
transition: .3s ease color;

}

.custom-frontpage-offerbox:hover .custom-frontpage-offerbox__header {
	color:#fff;
}
.custom-frontpage-offerbox:hover p {
		color:#fff!important;

}

 .successo-logo-footer {
    min-height: 12px;
    width: auto;
	  max-height: 30px;
} 

/* galeria  */
.custom-gallery .kb-gallery-image-contain {
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

.custom-gallery .kadence-blocks-gallery-item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease !important;
    transform-origin: center center;
    width: 100%;
    display: block;
}

.custom-gallery .kadence-blocks-gallery-item:hover img {
    transform: scale(1.12) !important;
	opacity: 0.8 !important;
    filter: brightness(0.85) !important;
}



@media(min-width:1025px){
	.page-id-1842 .entry-title {
    font-size: 44px;
    max-width: 640px;
}
.page-id-1842 .page-hero-section .entry-hero-container-inner {
	height: 225px !important;
}
}