/*
Theme Name: SMSPassword
Theme URI: https://smspassword.com
Description: Custom theme for SMSPassword
Author: olivier@capstone.nl
Version: 2.1
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@100;300;600;700&display=swap');

/* ===== RESET ===== */
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
a, em, hr, img, small, b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	vertical-align: baseline;
}

* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

/* ===== BASE ===== */

html {
	font-size: 18px;
}

body {
	font: 18px/1.75 "Open Sans", sans-serif;
	color: #666;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: "Raleway", sans-serif;
}

p {
	margin-bottom: 1em;
}

a {
	color: mediumpurple;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===== LAYOUT ===== */

section,
.center {
	width: 1100px;
	margin: 0 auto;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ===== HEADINGS ===== */

h2 {
	font-weight: 100;
	font-size: 3.2rem;
	line-height: 1.15;
	margin: 60px 0 2.5rem -5px;
	max-width: 70%;
}

.content h2 {
	max-width: 60%;
	margin-top: 50px;
	margin-bottom: 65px;
}

h3 {
	font-size: 1.3rem;
	margin-bottom: .5em;
}

h4,
.meta {
	padding-bottom: .5em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

h5 {
	font-size: .9rem;
}

/* ===== BUTTONS ===== */

button,
.button,
.wp-block-button__link {
	font: 600 .75rem "Open Sans", sans-serif;
	padding: 16px 20px;
	background: #1abc9c;
	color: #fff;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-radius: 3px;
	transition: background .3s ease;
}

button:hover,
.button:hover,
.wp-block-button__link:hover {
	background: #3a4c56;
}

/* ===== HEADER ===== */

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 99999;
	padding: 0 40px;
	height: 80px;
	background: rgba(133, 162, 178, 0.15);
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.header-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	flex-wrap: nowrap;
	gap: 20px;
}

.header-logo {
	flex-shrink: 0;
}

.header-logo a {
	display: block;
}

.header-sitename {
	font-family: "Raleway", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}

.header-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

/* ===== DESKTOP NAV ===== */

[id^="menu-main"] {
	display: flex;
	flex-direction: row;
	list-style: none;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: 20px;
}

[id^="menu-main"] li {
	display: inline-block;
	font: 600 .75rem "Raleway", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

header a,
[id^="menu-main"] a {
	color: rgba(255, 255, 255, .9);
	transition: color .2s ease;
}

header a:hover,
[id^="menu-main"] a:hover {
	color: #fff;
}

/* ===== HAMBURGER ===== */

#mobile-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 20px;
	cursor: pointer;
	flex-shrink: 0;
}

#mobile-menu span {
	display: block;
	width: 28px;
	height: 3px;
	background: #fff;
	border-radius: 2px;
	transition: all .3s ease;
}

#mobile-menu.active span:nth-child(1) {
	transform: translateY(8.5px) rotate(45deg);
}

#mobile-menu.active span:nth-child(2) {
	opacity: 0;
}

#mobile-menu.active span:nth-child(3) {
	transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== SLIDER ===== */

#slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 380px;
	background: #00703e;
	z-index: 1;
}

#slider #images {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#slider #images img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	transition: opacity 1s ease;
	max-width: none;
}

#slider #images img.active {
	opacity: 1;
}

#slider #overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

#slider.single #overlay,
#slider.article #overlay {
	display: flex;
	align-items: center;
}

#slider #labels {
	padding: 40px 0;
}

#slider #labels h1,
#slider #labels h2 {
	color: #fff;
	margin: 0;
	max-width: 100%;
}

#slider .bullets {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

#slider .bullets a {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	transition: background .3s ease;
}

#slider .bullets a.active {
	background: #fff;
}

/* ===== CONTENT ===== */

.content {
	padding: 120px 0 60px;
}

.content ul,
.content ol {
	margin: 0 0 1em 2em;
}

/* ===== FOOTER ===== */

footer {
	background: #eee;
	color: #777;
	font-size: .9rem;
	margin-top: 50px;
}

footer h4 {
	font-size: 18px;
	font-weight: bold;
	color: #777;
	border-color: #bbb;
}

footer section {
	padding-top: 40px;
}

/* ========================
   FOOTER KOLOMMEN
======================== */

footer section .row {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

footer section .col-sm-4 { flex: 4; min-width: 0; }
footer section .col-sm-3 { flex: 3; min-width: 0; }
footer section .col-sm-5 { flex: 5; min-width: 0; }

/* ========================
   TESTIMONIAL SLIDER
======================== */

#klanten ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#klanten ul li {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}

#klanten ul li.active {
	display: block;
	opacity: 1;
}

#klanten ul li q {
	display: block;
	font-style: italic;
	margin-bottom: 0.75rem;
}

#klanten ul li img {
	max-height: 60px;
	width: auto;
	display: block;
	margin-bottom: 0.5rem;
}

/* Prev/next pijltjes */
.control a[data-dir] {
	cursor: pointer;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	margin: 0 4px;
	vertical-align: middle;
}
.control a[data-dir="next"] { transform: rotate(-45deg); }
.control a[data-dir="prev"] { transform: rotate(135deg); }

/* ===== TABLET (max 1023px) ===== */

@media only screen and (max-width: 1023px) {

	section,
	.center {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}

	.content {
		padding-left: 0;
		padding-right: 0;
		overflow: hidden;
	}

	header {
		height: 60px;
		padding: 0 15px;
		overflow: visible;
	}

	header .header-inner {
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	header .header-logo {
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(100% - 60px);
		overflow: hidden;
	}

	header .header-logo img {
		max-height: 40px;
		width: auto;
		max-width: 100%;
	}

	header .header-sitename {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
		display: block;
	}

	#mobile-menu {
		display: flex;
		flex-shrink: 0;
		width: 28px;
		height: 20px;
		margin-left: 15px;
	}

	[id^="menu-main"] {
		display: none;
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		background: #fff;
		padding: 20px 0;
		flex-direction: column;
		gap: 0;
		z-index: 100000;
		box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	}

	[id^="menu-main"].active {
		display: flex;
	}

	[id^="menu-main"] li {
		text-align: center;
		padding: 10px 0;
		width: 100%;
	}

	[id^="menu-main"] a {
		color: #333;
	}

	h2 {
		max-width: 100%;
		margin-left: 0;
	}

	.wp-block-columns {
		flex-wrap: wrap !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.wp-block-column {
		flex-basis: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* ===== MOBIEL (max 767px) ===== */

@media only screen and (max-width: 767px) {

	h2 {
		font-size: 2rem;
	}

	#slider {
		height: 48vh;
	}

	footer section .col-sm-4,
	footer section .col-sm-3,
	footer section .col-sm-5 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}