@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&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');
@import url('https://fonts.googleapis.com/css2?family=Bilbo+Swash+Caps&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

p { margin: 0; }

body {
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	letter-spacing: 0.7px;
	font-weight: 300;
	color: #000;
	overflow-x: hidden;
}
.wrapper {
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header { background-color: #fafafa; position: fixed; z-index: 999; width:100%; font-size: 20px; font-weight: 400; letter-spacing: -0.4px; }



/* Intro grijze balk altijd onderin */
.hero-section .bg-gray.intro {
    width: 100%;
    margin: 0;
}
.hero-section .bg-gray.intro, .hero-section h1 { line-height: 26px; }

.hero-section > .row {
    width: 100%;
    flex: 0 0 100%;
}

.hero-section .inner-text { background-color: rgba(127, 127, 127, 0.90); }



/* Desktop layout: exact center via CSS Grid */
.header-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	column-gap: 125px;
}
.logo-square {
	width: 164px; 
	aspect-ratio: 1 / 1; 
	display: grid;
	place-items: center;
}
.logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
.nav-link {
	color: inherit;
	text-transform: uppercase;
	display: inline-block;
	white-space: nowrap;
}
.nav-link:hover, .nav-link:focus {
	text-decoration: underline;
}

.left-part, .right-part { gap: 210px; margin-top: 70px; }



/* Red underline in menu */

.main-header .nav-link { color: #000; text-decoration: none; }
.main-header .nav-link:hover,
.main-header .nav-link:focus,
.main-header .nav-link.active {
	text-decoration-color: #e31d1a;  
	text-decoration-thickness: 2px;  
	text-underline-offset: 4px;      
}

#mobileNav .nav-link:hover,
#mobileNav .nav-link:focus,
#mobileNav .nav-link.active { text-decoration: none; }



/* Headings */

h1 {
	font-size: 16px;
	color: #ffffff;
	font-weight: 500;
	margin: 0px;
	padding: 0;	
	letter-spacing: 1px;
	line-height: 20px;
}

h2 {
	font-size: 17px;
	color: #ffffff;
	font-weight: 500;
	margin: 0 0 20px 0;
	padding: 0;	
}

h3 {
	color: #333333;
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 8px;
}


/* Main menu ProScope */

.header-divider {
	border-bottom: 3px solid #f5f5f5;
	padding: 10px 20px;
	margin-top: 52px;
}

.navbar-nav {
	gap: 22px;
	color: #333333;
	font-weight: 500;
	letter-spacing: -0.4px;
}
.desktop-menu {
	color: rgb(109, 109, 109);
}

.navbar-brand img {
	display: block;
	height: auto;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link { font-size: 21px; }

.desktop-menu .navbar-nav .nav-link {
	position: relative;
	display: inline-block;
	font-size: 20px;
	color: #333333;
	text-decoration: none;
	padding-bottom: 0px;
	transition: color 0.3s ease;
}

/* Lijn onder link, maar reikt verder naar beneden */
.desktop-menu .navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 4px;
	background-color: #b6b6b6;
	bottom: -19px; /* schuif de lijn naar onder */
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.desktop-menu .navbar-nav .nav-link:hover::after,
.desktop-menu .navbar-nav .nav-link.active::after {
	transform: scaleX(1);
	cursor: pointer;
}





/* Content elements */

main {    
	flex: 1; 
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
}

main { margin-top: 164px; }
main a { color: #fff; text-decoration: underline; font-weight: 500; transition: background-color 0.4s ease; }
main a:hover { background-color: #e31d1a; color: #fff; text-decoration: none; font-weight: 500; }
main {
  position: relative;
  background: none !important; /* we zetten de bg op ::before */
}

main::before {
	content: "";
	position: fixed;
	inset: 0;                 
	z-index: -1;            
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}
main.home::before { background-image: url('../images/bg-home.jpg'); margin-left: -20px; background-position: center 60px; }
main.diensten::before { background-image: url('../images/bg-diensten.jpg'); }
main.overons::before { background-image: url('../images/bg-overons.jpg');  }
main.werk::before { background-image: url('../images/bg-werk.jpg');  }
main.contact::before { background-image: url('../images/bg-contact.jpg'); }


.inner-text.diensten { padding-left: 20px; padding-top: 15px; }
.inner-text.overons { padding-left: 20px; padding-right: 20px; padding-top: 15px; color: #707070; text-shadow: none; }
.inner-text.overons h1 { color: #707070; text-shadow: none; }
.bg-trans.diensten { padding: 10px 20px; font-size: 14px; font-weight: 500; }
.bg-trans.werk { padding: 10px 10px; font-size: 16px; line-height: 20px; font-weight: 500; color: #707070; text-shadow: none; }
.less-padding { padding: 30px !important; }

.bg-gray, .bg-trans { margin-top: 10px; margin-bottom: 10px; line-height: 30px; }
.hero-section .bg-gray,
.hero-section .bg-trans {
    margin-top: 0;
    margin-bottom: 0;
}
.bg-gray { opacity: 0.90; padding: 20px 20px; background-color: #7f7f7f; color: #fff; border-radius: 30px; }
.bg-gray.intro { background-color: transparent; padding: 20px 0px 0 0px; }
.bg-gray.intro .inner-text { 
	display: flex;
	align-items: center;   /* verticaal centreren */
	justify-content: flex-start; /* horizontaal: links uitlijnen */
	height: 100%;          /* nodig om de hoogte van de ouder te vullen */
	padding: 20px 20px;
}

.bg-trans { background-color: transparent; color: #fff; }
.content:first-child .bg-gray { margin-top: 20px; }
main.werk .content:first-child .bg-gray { margin-top: 0; margin-bottom: 0; }
.content:last-child .bg-gray { margin-bottom: 20px; }
.slogan { font-size: 30px; font-family: "Pinyon Script", cursive; color: #000; margin-bottom: 15px; }

.img-responsive { max-width: 100%; height: auto !important; }
.img-round { z-index: 11; margin-top: -15px; display: flex; align-items: center; justify-content: center; background-color: transparent; padding: 0px 20px 25px 0; text-align: center; }
.img-round .img-responsive { height: 110px; width: 110px; border-radius: 75px; }

.photos { margin-bottom: 50px; }
.red-text { color: #e31d1a !important; }
.normal-text { padding: 40px 0px; margin: 0;  }
.normal-text h1, .normal-text h2 { color: #000; }

.caption { font-weight: 600; }

ul { margin: 0; }

.letter-red { 
	/*font-family: "Bilbo Swash Caps", cursive;*/
	font-family: "Imperial Script", cursive;
	font-size: 150px;
	position: absolute;
	color: #a2a2a2;
	margin-left: -15px !important;
	z-index: 1;
	margin-top: -200px;
	font-weight: 300;
	text-shadow: none;
}
.letter-red.lg-margin { margin-top: -60px; }
.txt { z-index: 10; position: relative; }

/* Form */

.form-fields input { display: block; border-radius: 5px; border: none; padding: 5px 20px; margin-bottom: 10px; max-width: 100%; width: 500px; }
.form-fields input::placeholder { color: #a5a5a5; }

.button { 
	display: inline-block;
	border-radius: 10px;
	background-color: #e31d1a;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
	padding: 9px 17px 8px 17px;
	letter-spacing: 0.5px;
	margin-top: 18px;
	transition: all 0.3s ease;
	border: none;
}
.button:hover { background-color: #000; }

.strategy-box {
	position: relative;
	z-index: 0;
	opacity: 0.85;
	padding: 44px 36px;
	background-color: #545454;
	border: 7px solid #4c4c4c;
	border-radius: 20px;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
}
.single-text { letter-spacing: 1px; font-size: 19px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); font-weight: 500 !important; padding-bottom: 10px; padding-top: 20px; }
.no-over, .no-over:hover { text-decoration: none; font-weight: inherit; background-color: transparent; }



/* Footer */

footer { position: relative; line-height: 35px; font-size: 15px; letter-spacing: 0.5px; background-color: #484644; color: #e3e3e3; margin-top: auto; }
footer a {
	position: relative;
	color: #e3e3e3;
	text-decoration: none;
}

footer a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px; /* afstand tot tekst */
	height: 1px;
	background-color: currentColor;

	opacity: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

footer a:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

footer h5 { color: #fff; font-weight: 600; font-size: 19px; letter-spacing: 0.7px; }
footer .subfooter { padding: 15px 0; background-color: #fafafa; line-height: 30px; color: #333333; font-size:14px; position: relative; bottom: 0px; width: 100%; }
footer .subfooter a { color: #333333; text-decoration: none; }
footer .subfooter a:hover { color: #333333; text-decoration: none; }
footer .credits { padding: 5px 0; background-color: #eaeaea; height: 40px; line-height: 30px; color: #949494; font-size: 12px; position: relative; bottom: 0; width: 100%; }
footer .credits a { color: #949494; }

footer label { text-align: center; padding: 0px 5px 0px 0; font-weight: 700; min-width: 20px; }

.linkedin-icon i { color: #ccc; transition: color 0.3s ease; }

.linkedin-icon:hover i { color: #fff; }




/* Scroll function at the bottom */

.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 15px;
    cursor: pointer;
	padding: 3px 13px;
    transition: all 0.3s ease-in-out;
	background-color: #2c2c2c;
	opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
	z-index: 999;
}

.scroll-to-top:hover {
    background: #e31d1a;
	color: #ffffff;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top.mobile-display {
	background: #e31d1a;
	color: #ffffff;
    bottom: 105px;
    right: 15px;	
}	


/* Slider */

.slider-arrow { background-repeat: no-repeat !important; background-size: contain !important; width:30px; height:30px; opacity: 0.8; transition: all 0.3s ease; }
.slider-arrow.slider-prev { background-image: url('../images/proscope-arrow-left.png'); }
.slider-arrow.slider-next { background-image: url('../images/proscope-arrow-right.png'); }
.slider-arrow:hover { opacity: 1; }

.slider-wrapper {
	/* flex staat al op de div via Bootstrap classes, maar voor de zekerheid: */
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.slider-image-wrapper {
	max-width: 100%;
}

.slider-image {
	max-width: 100%;
	height: auto;
}

.slider-arrow{
	border: 0;
	padding: 0;
	cursor: pointer;
	background-color: transparent;
}

.slider-arrow:focus { outline: none; }

.slider-nav-footer{
	position: relative;
	width: 100%;
	background: transparent;
}

.slider-nav-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	margin-bottom: 20px; 
	pointer-events: none;
}

.slider-nav-inner .slider-arrow { pointer-events: auto; }


.werk-band{
	height: 300px;
	max-height: 300px;
	overflow: visible;
	position: relative;
}

.werk-band .werk-left{
	height: 100%;
	min-height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;   
	padding: 30px 80px;        
	gap: 12px;                
}

.werk-left-inner{
	padding-left: 140px;      
	padding-right: 40px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.werk-right{
	position: relative;
	height: 300px;             
	overflow: visible;        
}

.werk-photo-frame{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);  
	z-index: 20;                       
	background: #fff;
	padding: 10px;                      
	box-shadow: 0 10px 26px rgba(0,0,0,0.18);
	border-radius: 6px;              
	max-width: calc(100% - 40px); 
	overflow: hidden;
}

.werk-photo{
	display: block;
	max-height: 580px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;           
}

.werk-band .werk-left{ padding: 30px 40px; }
.werk-band.bg-gray{ padding: 0 !important; border-radius: 0 !important; }

.werk-band > [class^="col-"],
.werk-band > [class*=" col-"]{
	height: 100%;
}

.werk-right{
	position: relative;
	height: 100%;
	overflow: visible;
}

.werk-photo-frame{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 20;
	background: #fff;
	padding: 10px;
	box-shadow: 0 10px 26px rgba(0,0,0,0.18);
	border-radius: 6px;
	max-width: calc(100% - 40px);
	overflow: hidden;
}

.werk-photo{
	display: block;
	max-width: 100%;
	height: auto;
	width: auto;
	object-fit: contain;
	max-height: 580px;
}

.werk-photo-frame{
	width: fit-content;   
	height: fit-content;      
	max-width: none !important; 
}

.werk-photo{
	display: block;
	width: auto;            
	height: auto;               
	max-width: 100%;
	object-fit: contain;
}

.werk-intro{ display:none; }





