/* Import CSS */
@import url('global.css');

body{font-family: var(--font-family); font-size: var(--fs); color: hsl(var(--text-color));}
.container{width: 100%; max-width: calc(var(--container-width) + (var(--container-padding) * 2)); padding: 0 var(--container-padding); margin-inline: auto;}
:target {
    scroll-margin-top: 150px;
}

/* Header Start */
header{position: relative; z-index: 9999; min-height: var(--header-height); background-color: hsl(var(--primary));}
header.position-fixed{position: fixed; left: 0; top: 0; width: 100%;}
header.position-fixed + *{margin-top: var(--header-height);}
.header-top{min-height: var(--header-top-height); padding-right: var(--lg); display: flex; align-items: center; justify-content: space-between;}
.logo{display: flex; align-items: center;}
.logo img{max-width: 15.6rem;}
header .logo{padding: 0 2rem;}
.header-content{display: flex; align-items: center; gap:0 4rem;}
.header-content > p{font-size: 1.4rem; text-transform: uppercase; font-family: var(--secondary-font); font-weight: var(--fw-bold); color: hsl(var(--secondary));}
.header-contacts{display: flex; align-items: center; gap:0 2rem;}
.header-contacts a{color: hsl(var(--white)); white-space: nowrap;}
.header-contacts a{display: flex; align-items: center; gap:0 1rem;}
.header-contacts a img{width: 2.4rem;}
header nav{position: absolute; left: 50%; top: 100%; transform:translate(-50%, -50%); width: 100%; max-width: var(--container-width);}
nav{min-height: var(--nav-height); background-color: hsl(var(--secondary)); padding: 0 var(--lg); display: flex; align-items: center; gap: 0 6rem; justify-content: flex-end;} 
nav > a{font-size: 1.4rem; font-weight: var(--fw-bold); font-family: var(--secondary-font); color: hsl(0, 2%, 63%); text-transform: uppercase; transition:var(--transition); transition:var(--transition);}
nav > a:hover, nav > a.active{color: hsl(var(--white));}
@media(max-width:1230px){
    .header-top{padding-right: 0;}
    header nav{max-width: calc(100vw - (var(--container-padding) * 2)); padding: 0 var(--xs); gap:0 4rem;}
    header .logo{padding: 0;}
    .logo img{max-width: 13rem;}
}
@media(min-width:992px){
    header, header .logo img, .header-top, header nav{transition:all 150ms;}
    header.scrolled{--header-top-height:8rem; --nav-height:5.4rem; --header-height:calc(var(--header-top-height) + (var(--nav-height) / 2));}
    header.scrolled .logo img{max-width: 11rem;}
}
@media(max-width:991px){
    header nav{gap:0 3rem;}
    .logo img{max-width: 11rem;}
    .header-content > p{display: none;}
    .header-contacts a p{font-size: 1.6rem;}
}
@media(max-width:767px){
    header{min-height: auto;}
    header.position-fixed + *{margin-top: var(--header-top-height);}
    .header-top{padding-bottom: 0;}
    header nav{transform:none; left: 0; width: 100%; max-width: 100%; padding: 0;}
    nav{display: block; opacity: 0; visibility: hidden; pointer-events: none; transition:var(--transition);}
    nav.active{opacity: 1; visibility: visible; pointer-events: auto;}
    nav > *{display: flex; align-items: center; height: 4.4rem; padding: 0 var(--container-padding);}
    nav > :not(:last-child){border-bottom: .1rem solid hsl(var(--secondary-hover));}
    nav > :hover{background-color: hsl(var(--secondary-hover));}
    nav .social-media{display: none;}
    .header-content, .header-contacts{gap: 0 var(--xs);}
    .header-contacts a p{display: none;}
    .header-contacts a span{display: grid; place-items: center; background-color: hsl(var(--secondary)); width: 3.6rem; height: 3.6rem; border-radius: 100%;}
    .header-contacts a span img{max-width: 50%; max-height: 50%;}
}
/* Header End */

/* Hero Section Start */
.hero-content{padding: 0 var(--lg);}
.hero-content p:not(:last-child){margin-bottom: 2rem;}
.hero-content h1{text-transform: uppercase; font-weight: var(--fw-black); color: hsl(var(--white));}
.hero-content p{font-size: var(--h6); color: hsl(var(--white));}
.hero-content .btn:not(:first-child){margin-top: var(--xs);}
.hero-section .swiper-slide{min-height: 75rem;}
.hero-slider{position: relative;}
.hero-slider .swiper-slide{width: 100%; display: flex; align-items: center; background-size: cover; background-repeat: no-repeat; background-position: center center; position: relative; isolation:isolate;}
.hero-slider .swiper-slide::before{position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: hsla(222, 100%, 17%, 16%); content: ""; z-index: -1;}
.hero-slider .swiper-pagination{position: absolute; left: 0; bottom: 5rem; width: 100%;}
@media(max-width:1399px){
    .hero-section .swiper-slide{min-height: 60rem;}
}
@media(max-width:1230px){
    .hero-content{padding: 0;}
}
@media(max-width:991px){
    .hero-section .swiper-slide{min-height: 50rem;}
}
@media(max-width:767px){
   .hero-section .swiper-slide{min-height: 40rem;}
   .hero-slider .swiper-pagination{bottom: 3rem;}
}
/* Hero Section End */

/* Footer Start */
.footer-content{padding: var(--lg) 0; position: relative; isolation: isolate;}
.footer-content::before{content: ""; background-color: hsl(var(--medium-grey)); position: absolute; left: 50%; top: 0; width: 100vw; height: 101%; transform:translateX(-50%); z-index: -1;}
.copyright{position: relative; isolation: isolate; padding: 1.5rem 0;}
.copyright::before{content: ""; background-color: hsl(var(--dark-grey)); position: absolute; left: 50%; top: 0; width: 100vw; height: 100%; transform:translateX(-50%); z-index: -1;}
.footer-content{display: grid; grid-template-columns: 30rem auto 38rem; justify-content: space-between; justify-content: space-between; gap:var(--xs);}
.footer-intro p{color: hsl(0, 2%, 63%);}
footer .footer-headding{font-weight: var(--fw-bold); text-transform: uppercase; font-family: var(--secondary-font); color: hsl(var(--white)); line-height: 1;}
footer .footer-headding{margin-bottom: var(--xs);}
.footer-intro .social-media:not(:first-child){margin-top: 2rem;}
.footer-contact-info ul li:not(:last-child){margin-bottom: 1rem;}
.footer-contact-info ul li, .footer-contact-info ul li a{display: flex; gap:1rem;}
.footer-contact-info ul li span{width: 3rem; transform:translateY(.2rem);}
.footer-contact-info ul li span img{margin: 0 auto; width: 2.4rem;}
.footer-contact-info ul li p{color: hsl(var(--white));}
.instagram-photos{display: grid; grid-template-columns: repeat(4, 1fr); gap:var(--xs);}
.instagram-photos img{object-fit: cover; width: 100%; height: 100%;}
.copyright{display: flex; align-items: center; gap: 1rem var(--xs); justify-content: space-between;}
.copyright p, .copyright p a{color: hsl(0, 0%, 50%);}
.copyright p a:hover{text-decoration: underline;}
.footer-menu{display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap:.5rem var(--xs);}
.footer-menu a{color: hsl(0, 2%, 63%); transition:var(--transition); width: max-content;}
.footer-menu a:hover, .footer-menu a.active{color: hsl(var(--white));}
@media(max-width:1199px){
    .footer-content{grid-template-columns: 1fr auto 1fr;}
    .instagram-photos{gap:1.5rem;}
    .footer-contact-info ul li span img{width: 1.8rem;}
    .footer-contact-info ul li span{width: 2.4rem;}
}
@media(max-width:991px){
    .footer-content{grid-template-columns: 1fr 1fr; gap:5rem var(--xs);}
    .copyright{flex-direction: column;}
}
@media(max-width:640px){
    .footer-content{grid-template-columns: 1fr; gap:4rem var(--xs);}
}
/* Footer End */

/* General Start */
.section{padding: var(--md) 0;}
.page-section{padding: var(--lg) 0;}
.section-header:not(:last-child), .section-content:not(:last-child){margin-bottom: var(--md);}
.section-header h3{font-weight: var(--fw-black); color: hsl(var(--headding-color));}
.section-header p{max-width: 85%; margin-inline: auto;}
.section-header > :not(:last-child){margin-bottom: 2rem;}
.headding-border{padding-bottom: 2rem; background: url('/images/heading-border.svg') center bottom no-repeat; background-size: 7.2rem .7rem;}
.page-hero-section{min-height: calc(100dvh - var(--header-height)); display: flex; align-items: center; background-size: cover; background-repeat: no-repeat; background-position: center center; position: relative; isolation:isolate;}
.page-hero-section::before{position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: hsla(222, 100%, 17%, 16%); content: ""; z-index: -1;}
@media(max-width:991px){
    .section-header p{max-width: 100%;}
}
@media(max-width:767px){
    .page-hero-section{min-height: calc(100dvh - var(--header-top-height));}
}
/* General End */

/* Image Gallery Start */
.image-gallery-1, .image-gallery-2{display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((640px - 3rem) / 2 ); gap:3rem;}
.gallery-image{position: relative;}
.gallery-image::after{position: absolute; left: 50%; top: 50%; transform:translate(-50%, -50%) scale(0); width: calc(100% - 2rem); height: calc(100% - 2rem); background:url('https://assets.thomaserkens.be/magnifier.svg') center center no-repeat hsla(var(--primary), 50%); background-size: 4rem 4rem; content: ""; pointer-events: none; transition:var(--transition); pointer-events:none;}
.gallery-image:hover::after{transform:translate(-50%, -50%) scale(1);}
.gallery-image img{object-fit: cover; width: 100%; height: 100%;}
.mfp-bg, .mfp-wrap{z-index: 99999;}
@media(max-width:991px){
    .image-gallery-1, .image-gallery-2{grid-auto-rows: calc((440px - 2rem) / 2 ); gap:2rem;}
}
@media(max-width:767px){
    .image-gallery-1, .image-gallery-2{grid-auto-rows: calc((330px - 1rem) / 2 ); gap:1rem;}
}
@media(min-width:578px){
    .image-gallery-1 > :first-child{grid-row:1/3;}
    .image-gallery-1 > :last-child{grid-column:2/4;}
    .image-gallery-2 > :first-child{grid-column:1/3;}
    .image-gallery-2 > :nth-child(2){grid-column:3/4; grid-row:1/3;}
    .image-gallery-2 > :nth-child(5){grid-column:1/2; grid-row:3/5;}
    .image-gallery-2 > :nth-child(6){grid-column:2/4; grid-row:3/4;}
}
@media(max-width:575px){
    .image-gallery-1, .image-gallery-2{grid-template-columns: 1fr;}
}
/* Image Gallery End */

/* Page Banner Start */
.page-banner-section{position: relative; isolation: isolate; background-size: cover; background-repeat: no-repeat; background-position: center center; text-align: center;}
.page-banner-section::before{position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: hsla(222, 100%, 15%, 50%); content: ""; z-index: -1;}
.page-banner-section h2{color: hsla(var(--white)); font-weight: var(--fw-bold);}
.page-banner-section h2:not(:last-child){margin-bottom: var(--xs);}
.page-banner-1{background-image: url('https://assets.thomaserkens.be/page-banner-1.jpg');}
.page-banner-2{background-image: url('https://assets.thomaserkens.be/page-banner-2.jpg');}
.page-banner-3{background-image: url('https://assets.thomaserkens.be/page-banner-3.jpg');}
.page-banner-4{background-image: url('https://assets.thomaserkens.be/page-banner-4.jpg');}
.page-banner-5{background-image: url('https://assets.thomaserkens.be/page-banner-5.jpg');}
@media(max-width:1230px){
    .page-banner-section h2 br{display: none;}
}
/* Page Banner End */

/* Recent Projects Start */
.recent-projects{display: grid; grid-template-columns: repeat(4, 1fr); gap:var(--xs);}
.recent-project > *{display: block;}
.recent-project > :not(:last-child){margin-bottom: 2rem;}
.recent-projects p{font-style: italic; text-align: center;}
@media(max-width:767px){
    .recent-projects{grid-template-columns: repeat(2, 1fr);}
}
@media(max-width:575px){
    .recent-projects{grid-template-columns: 1fr;}
}
/* Recent Projects End */

/* Quote Start */
.quote-box{width: 100%; max-width: 58rem; min-height: 32rem; background-color: hsl(var(--white)); border-radius: .5rem; margin-inline:auto; box-shadow:0 0 1.8rem hsla(var(--dark-grey), 15%); padding: var(--xs); display: flex; align-items: center; position: relative;}
.quote-box:after {left: 100%; top: 20%; border: solid transparent; content: ""; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(255, 255, 255, 0);border-left-color: #ffffff; border-width: 10px; margin-top: -10px;}
.quote-box > *{flex: 1 0 0%; min-width: 0;}
.quote-slide, .quote-slide-fake{text-align: center;}
.quote-slide > :not(:last-child), .quote-slide-fake > :not(:last-child){margin-bottom: var(--xs);}
.quote-slide p, .quote-slide-fake p{font-size: var(--fs-lg); font-weight: var(--fw-light);}
.quote-slide p:last-child, .quote-slide-fake p:last-child{font-family: var(--secondary-font); font-weight: var(--fw-medium); min-height: 5rem; position: relative; isolation: isolate;}
.quote-slide p:last-child::before, .quote-slide-fake p:last-child::before {position: absolute; left: 50%; top: 0; transform:translateX(-50%); content: "“"; font-size: 12rem; font-weight: var(--fw-black); color: hsl(0, 0%, 95%); font-family: var(--font-family); line-height: 1; z-index: -1;}
.quote-slider .swiper-slide{opacity: 0 !important;}
.quote-slider .swiper-slide.swiper-slide-visible{opacity: 1 !important;}
.quote-slider-wrap{position: relative;}
.quote-slider .swiper-pagination{position: static; margin-top: var(--sm); gap:1rem;}
.quote-slider .swiper-pagination > .swiper-pagination-bullet{background-color: hsl(0, 0%, 81%); border:0; width: .8rem; height: .8rem;}
.quote-slider .swiper-pagination > .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color: hsl(222, 100%, 17%);}
/* Quote End */

/* Contact Start */
.contact-box{background-color: hsl(var(--white)); box-shadow:0 0 1.8rem hsla(var(--dark-grey), 15%); display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 1rem; overflow: hidden;}
.contact-box figure img{object-fit: cover; width: 100%; height: 100%;}
.contact-form{padding: var(--sm);}
.contact-form{display: grid; grid-template-columns: repeat(2, 1fr); gap:3rem;}
.contact-form .form-control:focus{outline: none;}
.contact-form .form-control{height: 4.4rem; width: 100%; border: 0; border-bottom: .1rem solid hsl(0, 0%, 87%); padding: 0; font-family: var(--font-family); font-size: 1.6rem; font-weight: var(--fw-light); color: hsl(var(--dark-grey));}
.contact-form select.form-control{background: url(https://assets.thomaserkens.be/caret-down.png) right center no-repeat; appearance: none;}
.contact-form .form-control::placeholder{opacity:1; color: hsl(var(--medium-grey));}
.contact-form .form-control:focus::placeholder{opacity:0; color: transparent;}
.contact-form textarea.form-control{height: 10rem; resize: none;}
.contact-form button{cursor: pointer;}
.contact-form-column{display: flex; align-items: center;}
.contact-form-column > *{flex:1 0 0%;}
.contact-form .status-message {
    color: #609021;
    background-color: #f0ffde;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 10px;
    display: none;
}
.contact-form .status-message.fail {
    color: #902121;
    background-color: #ffdede;
}
@media(min-width:1200px){
    .contact-form > .w-100{grid-column: 1/3;}
}
@media(max-width:1199px){
    .contact-form{grid-template-columns: 1fr;}  
    .contact-box{grid-template-columns: 1fr;}  
    .contact-box figure{height: 50rem;}  
}
@media(max-width:991px){
    .contact-box figure{height: 40rem;}  
}
@media(max-width:575px){
    .contact-box figure{height: 30rem;}  
}
/* Contact End */

/* About Start */
.aboutus-section{display: grid; grid-template-columns: repeat(4, 1fr);}
.aboutus-section > *{min-height: 32rem; padding: var(--xs); display: flex; align-items: center; justify-content: center;}
.about-column{flex: 1 0 0%; text-align: center;}
.about-column figure:not(:last-child){margin-bottom: 1rem;}
.about-column figure img{height: 8.8rem; margin-inline: auto;}
.about-column h6{font-weight: var(--fw-bold); white-space: nowrap; line-height: 1; padding-bottom: 2rem; position: relative;}
.about-column h6::after{width: 4rem; height: .4rem; background-color: hsl(var(--secondary)); position: absolute; left: 50%; bottom: 0; transform:translateX(-50%); content: ""; border-radius: 1rem;} 
.about-column h6:not(:last-child){margin-bottom: 2rem;}
.about-column p{max-width: 32rem; margin-inline: auto;}
.aboutus-section > :hover{background-color: hsl(0, 0%, 91%); position: relative;}
.aboutus-section > :hover::after{position: absolute; left: 0; bottom: 0; width: 100%; height: .4rem; background-color: hsl(var(--primary)); content: "";}
.aboutus-section .details {display:none;}
.aboutus-section > :hover .short{display:none;}
.aboutus-section > :hover .details{display:block;}
.aboutus-section > :last-child p{text-align: left;}
@media(max-width:1399px){
    .about-column figure img{height: 7rem;}
}
@media(max-width:1299px){
    .aboutus-section{grid-template-columns: repeat(3, 1fr);}
}
@media(max-width:991px){
    .aboutus-section{grid-template-columns: repeat(2, 1fr);}
}
@media(max-width:767px){
    .aboutus-section{grid-template-columns: 1fr;}
    .aboutus-section > *{min-height: 28rem;}
}
/* About End */

/* Team Start */
.team-list{display: grid; grid-template-columns: repeat(4, 1fr); gap:var(--xs);}
.team{text-align:center;}
.team-image{width: 19rem; height: 19rem; border-radius: 100%; overflow: hidden; margin-inline: auto;}
.team-image img{border-radius: 100%; object-fit: cover; width: 100%; height: 100%;}
.team > :not(:last-child){margin-bottom: 2rem;}
.team-image:not(:last-child){margin-bottom: 3rem;}
.team h6{font-weight: var(--fw-bold); text-transform: uppercase; color: hsl(var(--dark-grey)); font-family: var(--font-family); line-height: 1;}
.team p{font-weight: var(--fw-light);}
@media(max-width:1199px){
    .team-image{width: 14rem; height: 14rem;}
}
@media(max-width:991px){
    .team-list{grid-template-columns: repeat(2, 1fr);}
}
@media(max-width:575px){
    .team-image{width: 10rem; height: 10rem;}
    .team-list{grid-template-columns: 1fr; gap:var(--md) var(--xs);}
}
/* Team End */

.page-hero-section{min-height: 75rem;}
@media(max-width:1399px){
    .page-hero-section{min-height: 60rem;}
}
@media(max-width:991px){
    .page-hero-section{min-height: 50rem;}
}
@media(max-width:767px){
    .page-hero-section{min-height: 40rem;}
}

.recent-project picture {
    aspect-ratio: 1/1;
    display: inline-block;
    object-fit: cover;
}

.section.title-and-text {
    padding-bottom: 0;
}

.portfolio-load-more {
    display: none;
    margin-top: calc(-1 * var(--md));
    padding-top: 3rem;
}

@media(max-width:991px) {
    .portfolio-load-more {
        padding-top: 2rem;
    }
}

@media(max-width:767px) {
    .portfolio-load-more {
        padding-top: 1rem;
    }
}

.portfolio-load-more.loaded {
    display: block;
}