* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #000;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: 2%;
    margin-top: 2.5vh;
    padding: 2vh 5vw;
}

.header-background {
    background: rgba(0, 0, 0, 0.15);
    padding: 2vh 5vw;
    width: 50%;
}

.logo {
    font-family: "Great Vibes", cursive;
    font-weight: 200;
    font-size: 4.5vw;
}

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4vw;
    margin-left: 60%;
}

.bebas-neue-regulard {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4vw;
    margin-top: 10vh;
    text-align: center;
}

nav ul {
    justify-content: space-between;
    list-style: none;
    display: flex;
    font-family: "Raleway", sans-serif;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5vw;
}

nav ul li a:hover {
    color: rgba(88, 217, 187);
}

.active {
    color: rgba(88, 217, 187);
}

/* Background Images for Pages */
.achtergrondhomepagina::before,
.achtergronddienstenpagina::before,
.achtergrondoveronspagina::before,
.achtergrondtarievenpagina::before,
.achtergrondcontactpagina::before,
.achtergrondnekklachtenpagina::before,
.achtergrondrugklachtenpagina::before,
.achtergrondrevalidatieherstelpagina::before,
.achtergrondhoudingsklachtenpagina::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Page-specific backgrounds */
.achtergrondhomepagina::before {
    background-image: url('../images/homepagina.jpg');
    opacity: 0.8;
}

.achtergronddienstenpagina::before {
    background-image: url('../images/dienstenpagina.jpg');
    opacity: 0.5;
}

.achtergrondoveronspagina::before {
    background-image: url('../images/overonspagina.jpg');
    opacity: 0.5;
}

.achtergrondtarievenpagina::before {
    background-image: url('../images/tarievenpagina.jpg');
    opacity: 0.5;
}

.achtergrondcontactpagina::before {
    background-image: url('../images/contactpagina.jpg');
    opacity: 0.7;
}

.achtergrondnekklachtenpagina::before {
    background-image: url('../images/nekklachtenpagina.jpg');
    opacity: 0.5;
}

.achtergrondrugklachtenpagina::before {
    background-image: url('../images/rugklachtenpagina.jpg');
    opacity: 0.6;
}

.achtergrondrevalidatieherstelpagina::before {
    background-image: url('../images/revalidatie&herstelpagina.jpg');
    opacity: 0.6;
}

.achtergrondhoudingsklachtenpagina::before {
    background-image: url('../images/houdingsklachtenpagina.jpg');
    opacity: 0.55;
}

/* Logo link */
.logolink {
    text-decoration: none;
    color: white;
}

/* Social media icons */
.social-icons {
    position: absolute;
    bottom: 1%;
    display: flex;
    gap: 0.5vw;
    right: 1vw;
}

.social-icons a img {
    width: 3vw;
    height: 3vw;
}

/* Page navigation arrows */
.pagedown {
    position: absolute;
    left: 50%;
    bottom: 0%;
    justify-content: center;
}
.pageup {
    position: absolute;
    left: 50%;
    justify-content: center;
    top: 100%;
}

.pagedown img, .pageup img {
    width: 4vw;
    height: 4vw;
}

/* Service Overview */
.services-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10vh;
}

.service-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4vw;
    margin: 5vh;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 75%;
    margin-top: 5vh;
    gap: 3vw;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 2vw;
    border-radius: 2vw;
    font-size: 1.8vw;
    text-align: center;
    text-decoration: none;
    color: #fff;
    flex-basis: 30%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.bovenstesectie {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.onderstesectie {
    background-color: #383838;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 5vw;
}

/* Text in the bottom section */
.bebas-neue-onderstesectie {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4vw;
    max-width: 45%;
    text-align: left;
}

.paragraaf-tekst {
    font-family: "Raleway", sans-serif;
    font-size: 1.2vw;
    max-width: 45%;
    line-height: 1.6;
    text-align: left;
}

.paragraaf-tekst span {
    display: block;
}

/* Layout rows */
.row-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5vw;
}

.bebas-neue-regulardd {
    font-family: "Bebas Neue", sans-serif;
    font-size: 5vw;
    display: flex;
    align-items: center;
}

/* Subpage grid */
.subpaginas {
    margin-top: 20vh;
    margin-left: 5vw;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Contact and opening hours text */
.contactgegevens, .openingstijden {
    font-size: 1.5vw;
}

/* Responsive images */
.houdingsklachtenimg, .revalidatieherstelimg {
    max-width: 40%;
    max-height: 40%;
}

.otc {
    margin-top: 30vh;
    margin-left: 5vw;
    font-weight: bold;
    display: flex;
    justify-content: space-around;
    gap: 1vw;
    flex-direction: column;
    list-style: none;
}

.otc-tekst {
    font-family: "Raleway", sans-serif;
    font-size: 1.2vw;
    max-width: 55%;
    line-height: 1.6;
    text-align: left;
}