/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
/* Fonts */

@font-face {font-family: "Ryker"; src: url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerMedium.woff2) format('woff2'), url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerMedium.woff) format('woff'); font-weight: 500;}
@font-face {font-family: "Ryker Text"; src: url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextRegular.woff2) format('woff2'), url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextRegular.woff) format('woff'); font-weight: 400;}
@font-face {font-family: "Ryker Text"; src: url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextMedium.woff2) format('woff2'), url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextMedium.woff) format('woff'); font-weight: 500;}
@font-face {font-family: "Ryker Text"; src: url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextBold.woff2) format('woff2'), url(/assets/kwirkey.nl/wp-content/themes/Impreza-child/fonts/RykerTextBold.woff) format('woff'); font-weight: 700;}

/* Root */
:root{
	--drive-green: #005E50;
	--traffic-cone: #F48700;
	--fresh-tires: #131613;
	--asphalt: #424C47;
	--concrete: #B0BDB1;
	--stripes: #F4F4F3;
}

/* General styles */
/* --> Buttons */
.w-btn.icon_atright i, .w-btn.icon_atleft i, .us-btn-style_1, .us-btn-style_2, .us-btn-style_3, .us-btn-style_4, .us-btn-style_5, .us-btn-style_6, .frm_button_submit {
	transition: transform 0.5s, background 0.5s;
}

.us-btn-style_1:hover, .us-btn-style_2:hover, .us-btn-style_3:hover, .us-btn-style_4:hover, .us-btn-style_5:hover, .us-btn-style_6:hover, .frm_button_submit:hover{
	transform: scale(1.1);
}

.w-btn.icon_atright:hover i{
	transform: translate(1rem);
}

.w-btn.icon_atleft:hover i{
	transform: translate(-1rem);
}


/* Top Menu */
.l-subheader.at_middle .type_mobile .w-nav-list.level_1 {
	background-color: #fff!important;
	background-image: none!important;
    background-size: cover!important;
    background-position: bottom right!important;
}

/* Home */
/* --> Header */
.mc--home-header .l-section-overlay{
	background: radial-gradient(farthest-corner at 0 100%, rgba(0,0,0,0.35), rgba(0,0,0,0))!important;
}

/* --> Projecten grid */
.mc--project-item-grid{
    max-height: 60vh;
	display: flex;
	min-height: 625px;
}

.mc--portfolio-page .mc--project-item-grid{
    max-height: 75vh;
	display: flex;
	min-height: 625px;
}

.mc--project-grid article:nth-of-type(even) .mc--project-item-grid{
	flex-direction: row;
}

.mc--project-grid article:nth-of-type(odd) .mc--project-item-grid{
	flex-direction: row-reverse;
}

.mc--project-item-text{
	width:40%!important;
	padding: 6rem max(8rem, 8vw) 6rem max(8rem, 8vw);
}

.mc--project-item-img{
    width: 60% !important;
}

.mc--project-item-grid .w-btn{
    width: fit-content;
}

/* Projecten listing: filters */
.mc--project-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Project Gallery Lightbox Modern UI */
.mc--gallery-item:hover {
    transform: translateY(-5px);
}

.mc--search-container {
    position: relative;
    width: 460px;
}

.mc--search-container input {
    width: 100%;
    height: 40px; /* Match height of filter triggers */
    padding: 0 1rem 0 2.5rem !important;
    border-radius: 0.3rem !important;
    border: 1px solid #ddd !important;
    background: white !important;
    font-size: 0.95rem !important;
}

.mc--search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.mc--filter-dropdown {
    position: relative;
}

.l-section.height_medium{
    padding-bottom: 7rem;
}

.mc--filter-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 44px; /* Explicit height to match search */
    padding: 0 1rem;
    min-width: 210px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    user-select: none;
}

.mc--filter-trigger:hover {
    border-color: var(--drive-green);
}

.mc--filter-trigger.active {
    border-color: var(--drive-green);
    background: #e6f0ee;
}

.mc--filter-badge {
    background: var(--drive-green);
    color: white;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.mc--filter-clear {
    margin-left: 0.5rem;
    color: #888;
    cursor: pointer;
}

.mc--filter-clear:hover {
    color: #f44336;
}

.mc--dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    min-width: 250px;
    margin-top: 0.5rem;
    display: none;
    padding: 1rem;
}

.mc--dropdown-content.show {
    display: block;
}

.mc--dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.mc--dropdown-header span {
    font-weight: bold;
    color: var(--fresh-tires);
}

.mc--dropdown-reset {
    color: var(--drive-green);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.mc--filter-options {
    max-height: 300px;
    overflow-y: auto;
}

.mc--filter-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    cursor: pointer;
}

.mc--filter-option input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}

.mc--filter-option label {
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
}

@media (max-width: 600px) {
    .mc--project-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .mc--search-container {
        width: 100% !important;
    }
}

/* Diensten */
.mc--service-text-block .l-section-img {
	z-index: 9;
    background-size: 24vh;
    background-repeat: no-repeat;
	bottom: -200px;
    right: 10vw;
	opacity: 0.05;
}

/* --> menu */
.mc--service-menu li a:after {
	font-family: "Fontawesome"; 
	font-weight: 500;
	content: "\f061";
	margin-left: 1rem;
	transition: margin 0.5s;
}

.mc--service-menu li a:hover:after{
	margin-left:2rem;
}

/* Project (portfolio) */
/* --> Header */
.mc--project-info .l-section-img, .mc--news-info .l-section-img {
	transform-origin: top left;
	transform:scale(1.3) translateY(4rem) translateX(-6rem);
	opacity: 0.1;
}

.mc--news-info .l-section-img {
    opacity: 0.05; /* Slightly lighter for news */
}

/* --> Other grid */

.mc--other-projects-title{
	position: absolute;
	bottom: -1rem;
	margin-top: 0 !important;

}
.mc--other-projects-wrapper {
	position: relative;
	width: 100%;
}
.mc--other-projects-grid-image {
	transform-origin: center left;
	transform: scale(0.95) translateX(1.5rem);
}

.mc--other-projects-grid article:last-child .mc--other-projects-wrapper .mc--other-projects-title{
	right: 0;
	text-align:left;
}

.mc--other-projects-grid article:last-child .mc--other-projects-wrapper .mc--other-projects-grid-image {
	transform: scale(0.95) translateX(0);
}

/* Contact */
.mc--contact-header .l-section-img {
    right: -10vw;
    background-size: 50vh;
    top: 50px;
	opacity: 0.05;
	z-index: 9;
}

/* Footer */
.w-socials-item-link-hover {
	background: var(--color-content-primary-grad)!important;
}

#page-footer .us_custom_588d9cf3 .w-image-h img {
    max-width: 300px;
    height: auto !important;
}

/* Large devices */
@media screen and (max-width: 1200px){
	.mc--project-item-text{
		width:50%!important;
		padding: 4rem max(6rem, 6vw) 4rem max(6rem, 6vw);
	}

	.mc--project-item-grid{
		min-height: 525px;
	}
	
	.mc--portfolio-page .mc--project-item-grid{
		min-height: 525px;
	}
	
	.mc--project-item-img{
		width: 50% !important;
	}
}

/* Only large devices and up */
@media screen and (min-width: 1024px) {
	/* Project (portfolio) */
	/* --> Other grid */
	.mc--other-projects-grid article .mc--other-projects-wrapper .mc--other-projects-title{
		transition: padding 0.5s;
	}
	
	.mc--other-projects-grid article:first-child:hover .mc--other-projects-wrapper .mc--other-projects-title{
		padding-left: 2.5em!important;
	}
	
	.mc--other-projects-grid article:last-child:hover .mc--other-projects-wrapper .mc--other-projects-title{
		padding-right: 2.5em!important;
	}
}

/* Medium devices */
@media screen and (max-width: 1024px){
	/* Home */
	/* --> Projecten Grid */
	
	.mc--project-grid article:nth-last-of-type(odd) .mc--project-item-grid, .mc--project-grid article:nth-last-of-type(even) .mc--project-item-grid{
		flex-direction: column-reverse;
	}
	
	.mc--project-item-text, .mc--project-item-img {
		width: 100%!important;
	}
	
	.mc--project-item-grid{
		max-height: none!important;
	}

	.mc--project-item-img{
		height: 45vh;
	}
}

/* Extra small devices */
@media screen and (max-width: 576px){
	/* Top Menu */
	.l-header.shadow_thin .l-subheader.at_middle, .l-header.shadow_thin .l-subheader.at_bottom{
		box-shadow: none!important;
	}

	.l-subheader.at_middle .type_mobile .w-nav-list.level_1 {
		background-size: 200%!important;
		background-repeat: no-repeat!important;
	}
	
	/* Project (portfolio) */
	.mc--project-info .l-section-img{
		opacity: 0.05;
	}

	.mc--project-item-text{
		padding: 2rem 4rem 2rem 4rem !important;
	}

	/* --> Other items */

	.mc--other-projects-grid-image {
		transform-origin: center left;
		transform: scale(1) translateX(0);
	}
	
	.mc--other-projects-grid article:last-child .mc--other-projects-wrapper .mc--other-projects-title, .mc--other-projects-grid article:first-child .mc--other-projects-wrapper .mc--other-projects-title{
		left: 0;
		right:0;
		text-align: center;
		transform: scale(0.9);
	}
	
	.mc--other-projects-grid article:last-child .mc--other-projects-wrapper .mc--other-projects-grid-image {
		transform: scale(1) translateX(0);
	}

	/* Diensten */
	.mc--service-text-block .l-section-img{
		opacity: 0.04;
		background-size: 30vh;
	}
}
/* Menu fix for local copy */
.w-nav.menu-open .w-nav-list.level_1 {
    display: block !important;
    position: fixed;
    inset: 0;
    overflow-y: auto;
    z-index: 2000;
    padding: 120px 6vw 80px;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #131613;
}

.w-nav.menu-open .w-nav-close {
    display: block !important;
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 2100;
    color: #131613;
    font-size: 2rem;
    cursor: pointer;
}

body.menu-open {
    overflow: hidden;
}

/* New Project Item Styles to match original site */
.mc--project-item-new {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    cursor: pointer;
}

.mc--project-image-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Match original height if possible */
    min-height: 500px;
    overflow: hidden;
}

.mc--project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.mc--project-item-new:hover .mc--project-image {
    transform: scale(1.1);
}

.mc--project-badge {
    position: absolute;
    top: 3rem;
    left: 3rem;
    z-index: 5;
}

.mc--project-badge span {
    background-color: var(--drive-green);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
}

.mc--project-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--drive-green);
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mc--project-item-new:hover .mc--project-title-box {
    background-color: var(--traffic-cone);
}

.mc--project-title {
    color: white !important;
    margin: 0;
    font-size: max(2.5rem, 2.5vw);
    font-weight: 500;
    line-height: 1.2;
    flex: 1;
}

.mc--project-btn {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    color: white;
    font-size: 1.5rem;
}

.mc--project-item-new:hover .mc--project-btn {
    opacity: 1;
    transform: translateX(0);
}

.w-grid-item-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

@media screen and (max-width: 1024px) {
    .mc--project-image-container {
        height: 45vh;
        min-height: 400px;
    }
    .mc--project-badge {
        top: 2rem;
        left: 2rem;
    }
    .mc--project-title-box {
        padding: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .mc--project-image-container {
        height: 40vh;
        min-height: 300px;
    }
    .mc--project-badge {
        top: 1.5rem;
        left: 1.5rem;
    }
    .mc--project-badge span {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    .mc--project-title-box {
        padding: 1.5rem;
    }
    .mc--project-title {
        font-size: 1.8rem;
    }
}

/* Back to Top button fix */
.w-toplink {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    cursor: pointer;
}

.w-toplink.active {
    opacity: 1;
    visibility: visible;
}

.w-toplink:hover {
    transform: scale(1.1);
}

.w-toplink span {
    display: block;
    width: 100%;
    height: 100%;
}
