/*
Theme Name: carismo
Author: epicbrand
Author URI: https://epicbrand.pl/
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: carismo
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}



.no-underline a{
	text-decoration: none;
}




.wp-block-button.is-style-outline a:hover {
    background-color: var(--wp--preset--color--primary);
    color: white; /* Zmiana koloru tekstu na biały */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	border-color: black; /* Upewniamy się, że border pozostaje widoczny */
}



.wp-block-button a {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.wp-block-button a:hover {
    background-color: var(--wp--preset--color--primary);
    
}


.customflexshrink {
	 flex-shrink: 0 !important;
}

.custom-hero-width {
	max-width: 50%;
}

@media (max-width: 1024px) {
    .custom-hero-width {
        max-width: 100% !important;
	}
	
	.custom-1024-1col {
		flex-direction: column;
	}
}




@media (max-width: 1024px) {
    .wp-block-navigation__responsive-container-open {
	display: flex !important;
}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}	
}


.menu-overlay-logo img{
width: 150px; /* Ustalona szerokość logo */

}








@media (max-width: 768px) {
    .custom-gap-1 {
        gap: 8px;
	}
	
	.custom-padding-1 {
		padding-bottom: 24px;
	}
	
	.padding-24-mobile {
		padding: 24px !important;
	}
	
	.custom-font-mobile-1 a{
		font-size: 20px !important; 
	}
	
	.padding-mobile-left-right-0 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}









/* Podstawowe style dla formularza */
.wpcf7-form {
    width: 100%;
}

/* Style dla wierszy z dwoma elementami */
.wpcf7-form .row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

/* Style dla paragrafów w wierszu */
.wpcf7-form .row p {
    flex: 1;
    width: 50%;
    margin: 0;
    padding: 0;
}

/* Style dla labeli */
.wpcf7-form label {
    display: block;
    width: 100%;    
    color: #474957;
    font-size: 13px;
}

/* Style dla inputów i textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #ffffff;
    box-sizing: border-box;
    font-family: Inter;
}

/* Style dla wiersza z akceptacją i przyciskiem */
.wpcf7-form .submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* Style dla paragrafu w wierszu submit */
.wpcf7-form .submit-row p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Style dla akceptacji */
.wpcf7-form .submit-row .wpcf7-acceptance {
    flex: 1;
    margin-right: 20px;
}

/* Style dla labela akceptacji */
.wpcf7-form .submit-row .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* Style dla checkboxa akceptacji */
.wpcf7-form .submit-row .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #171C26;
    border-radius: 4px;
    background: transparent;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

/* Style dla zaznaczonego checkboxa */
.wpcf7-form .submit-row .wpcf7-acceptance input[type="checkbox"]:checked {
    background: #171C26;
}

/* Style dla haczyka w zaznaczonym checkboxie */
.wpcf7-form .submit-row .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Style dla przycisku submit */
.wpcf7-form .submit-row .wpcf7-submit {
    width: auto;
    min-width: 150px;
    margin-left: auto;
}

/* Style dla spinnera */
.wpcf7-spinner {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Style dla przycisku z aktywnym spinnerem */
.wpcf7-submit.has-spinner {
    padding-left: 48px;
}

/* Responsywność */
@media screen and (max-width: 768px) {
    .wpcf7-form .row {
        flex-direction: column;
        gap: 20px;
    }
    
    .wpcf7-form .row p {
        width: 100%;
    }

    .wpcf7-form .submit-row p {
        flex-direction: column;
        gap: 20px;
    }

    .wpcf7-form .submit-row .wpcf7-acceptance {
        margin-right: 0;
    }

    .wpcf7-form .submit-row .wpcf7-submit {
        width: 100%;
        margin-left: 0;
    }
} 

.wpcf7-list-item {
    margin-left: 0px;
}

.wpcf7-submit {
    background-color: #171C26;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.wpcf7-submit:hover {
    background-color: #1f2532;
} 


.site-footer {
	margin-top: 0;
}


@media screen and (max-width: 768px) {
	.left-col {
		padding: 24px !important;
	}
	.left-col-gr {
		padding: 24px !important;	
    }
	.mail-mobile a {
		font-size: 18px;
	}
	.hero-h1-mobile {
		font-size: 40px;
	}
	
	.right-col {
		padding: 24px !important;
	}
}
