@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --black: #222222;
    --gray: #e6e9ed;
    --darkgray: #212529BF;
    --white90: rgba(255, 255, 255, 0.9);
}

/* General */

body {
    font: 200 16px 'Poppins', sans-serif;
    color: var(--black);
}

section {
    overflow: hidden;
}


h1 {font-weight: 200; font-size: 2rem}
h2 {font-weight: 300; font-size: 1.8rem}
h2 {font-size: 1.4rem; }
h3 {font-size: 1.2rem; font-weight: 400;}
h4 {font-size: 1.2rem;}
h5 {font-size: 1.1rem; font-weight: 400;}

a {
    color: inherit;
    text-decoration: none;
    display: inline-block; /* Ensures the pseudo-element aligns properly */
    cursor: pointer;
}

a::after {
    content: "";
    display: block;
    height: 1px; /* Thickness of the underline */
    width: 0;
    background-color: var(--black);
    transition: width 0.3s ease-in-out;
}

.realisaties-section a::after {
    background-color: white !important;
}

a:hover:not(:has(img))::after {
    width: 100%;
}
.startside {
    padding: 75px 0 0;
}

.endside {
    padding: 0 0 75px;
}

.twoside {
    padding: 75px 0;
}

.bg-gray {
    background-color: #a39a8a;
}
.w-90 {
    width: 90%;
}

.img-slide-up  {
    display: block; 
    transition: transform 0.3s ease-in-out;
}

.img-slide-up:hover  {
    transform: translateY(-10px);
}
/* NAVBAR */
body:not(.homepage) .navbar-brand img{
	width: 7rem;
}
.navbar-brand img {
    width: 10rem;
}

nav .navbar-nav > li > a {
    color: var(--black);
    font-size: 1.4rem;
}

nav .navbar-nav > li > a:link {
    text-decoration: none;
}

nav .navbar-nav > li > a:hover {
    color: var(--black);
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(34 34 34)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

body:not(.homepage) .navbar {
    border-bottom: 1px solid var(--gray);;
}

/* HOME */

.carousel {
	height: 35vh;
	max-width: 100%;
	overflow: hidden;
}
.carousel-inner {
	height: 100%;
}

.carousel-item {
	height: 100%;
}
.carousel-item img {
	height: 100%;
	object-fit: cover; 
	object-position: center center; 
}

/* REFERENTIES */

.grid-sizer,
.masonry-item {
    width: calc(100% - 15px);
}

.card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.referentie-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem; 
}

.referentie-categories li {
    display: inline;
}

.referentie-categories a {
    text-decoration: none;
    color: var(--darkgray) !important;
    border: 2px solid transparent;
    transition: all 0.3s;
}


.referentie-categories a.active {
    font-weight: 300;
}

.mobile-filter{
    color: var(--darkgray);;
    border: 1px solid var(--darkgray);
}

.mobile-filter:focus{
    border-color: var(--darkgray);
}

/* single realisaties */
.thumbnail-container img {
    width: 50px;
    height: 50px;
    object-fit: cover; 
    cursor: pointer;
}
.thumbnail-container{
    transition: transform 0.5s ease;
}


.realisaties-masonry__grid {
    position: relative; /* Important for Masonry */
}

.realisaties-masonry__item {
    width: calc(25% - 12px);
    margin-bottom: 16px;
    float: left;
}

@media (max-width: 768px) {
    .realisaties-masonry__item {
        width: 100%;
    }
}

.realisaties-masonry__item img {
    width: 100%;
    height: auto;
    display: block;
}


  
  

/* DETAILMEESTER*/
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px; 
    width: 2px;
    background: var(--gray);
    margin-left: -1px;
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 20px;
    text-align: left;
}
.timeline-marker {
    position: absolute;
    top: 7px;
    left: 10px;
    width: 5px;
    height: 5px;
    background: black;
    border-radius: 50%;
    transform: translateX(-50%);
}
.timeline-item:nth-child(2) .timeline-marker {
    width: 10px; 
    height: 10px;
}
.timeline-content {
    padding: 0 15px 15px 15px;
    position: relative;

}

.realisaties-text {
    font-size: 1.2rem;
}

.small-image img {
    width: 80px;
    height: auto;
    object-fit: cover;
}

.large-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.realisaties-title {
    font-size: 1rem;
}

.realisaties-category {
    font-size: 0.9rem;
}

/* CONTACT */
.contact-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

/* FOOTER */
footer a {
    font-size: 0.8rem;
    color: var(--black);
    text-decoration: none;
    display: inline-block;
}

footer p {
    font-size: 0.8rem;
}
.realisaties-text a{
    font-size: inherit;
}

footer strong {
    font-weight: 400;
}



/* RESPONSIVE
=====================================*/

@media (min-width: 576px) { 

}

@media (min-width: 768px) {
    .grid-sizer,
    .masonry-item {
        width: calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    
    h1 {font-size: 2.2rem;}
    h2 {font-size: 1.6rem;}
    
    .startside {
        padding: 100px 0 0;
    }
    
    .endside {
        padding: 0 0 100px;
    }
    
    .twoside {
        padding: 100px 0;
    }
    
    .header {
        margin-top: 135px;
    }
    
    nav .navbar-nav > li > a {
        font-size: inherit;
    }
    
    .navbar-nav > li.active a {
        font-weight: 300;
    }
    
    .carousel {
		height: 60vh;
    }

    .timeline-marker {
        width: 8px;
        height: 8px;
    }
    .timeline-item:nth-child(2) .timeline-marker {
        width: 15px; 
        height: 15px;
    }

    .timeline:before {
        left: 50%; 
    }
    .timeline-item {
        padding-left: calc(50% + 20px);
        padding-right: 20px;
        text-align: left;
    }
    .timeline-item:nth-child(1) {
        padding-left: 20px;
        padding-right: calc(50% + 20px);
        text-align: left;
    }

    .timeline-item:nth-child(2) {
        padding-left: calc(50% + 20px) !important;
        padding-right: 20px !important;
        text-align: left !important;
        
    }
    .timeline-item:nth-child(even) {
        padding-left: 20px;
        padding-right: calc(50% + 20px);
        text-align: left;
        
    }
    
    .timeline-marker {
        left: 50%;
    }
    .timeline-content:not(:first-child) {
        width: 70%;
    }
    .timeline-item:not(:first-child):not(:nth-child(2)):nth-child(even) .timeline-content {
        transform: translateX(40%);
    }
    .thumbnail-container img {
        width: 65px;
        height: 65px;
    }
}

@media (min-width: 1200px) {

    .grid-sizer,
    .masonry-item {
        width: calc(33.33% - 15px);
    }
    .thumbnail-container img {
        width: 80px;
        height: 80px;
    }
}


@media (min-width: 1400px) {


}

