@charset "UTF-8";

/* =========================================
   FONTS
========================================= */
@font-face {
    font-family: "Roboto";
    src: url("/psychotherapiewilbertderks/fonts/roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/psychotherapiewilbertderks/fonts/roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/psychotherapiewilbertderks/fonts/roboto/Roboto-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/* =========================================
   GENERIC CONTAINERS
========================================= */
.container,
.site-header,
.footer-layout {
    width: 60%;
    margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */
.site-header img {
    width: 100%;
    height: auto;
    display: block;
}

.page-title {
    font-size: 3rem;
    font-weight: 600;
    margin-top: 40px;
    color: #237da3;
}

.page-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    margin-top: 4px;
}

/* =========================================
   TOPNAV – BASIS STRUCTUUR
========================================= */
.menu-toggle {
    display: none; /* desktop */
}

.topnav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    padding-top: 10px;
    margin-top: 20px;
    gap: 18px;
    position: relative;
}

.topnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.topnav ul li {
    position: relative;
}

.topnav ul li a {
    text-decoration: none;
    color: #237da3;
    padding: 12px 4px;
    display: block;
    font-size: 16px;
}

.topnav ul li a:hover {
    color: #14546d;
}

/* =========================================
   DESKTOP SUBMENU
========================================= */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.submenu li a {
    padding: 12px 20px;
    white-space: nowrap;
    color: #237da3;
}

.submenu li a:hover {
    background: #e8f3f7;
    color: #14546d;
}

.dropdown:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MOBIEL MENU
========================================= */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
        width: 32px;
        cursor: pointer;
        margin: 10px 0;
    }

    .topnav ul {
        display: none;
        flex-direction: column;
        gap: 0;
    }

    .topnav.open ul {
        display: flex;
    }

    .topnav ul li a {
        padding: 14px 18px;
        border-bottom: 1px solid #eee;
    }

    .submenu {
        position: static;
        display: none;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 10px;
    }

    .dropdown.open .submenu {
        display: block;
    }

    .submenu li a {
        padding: 10px 18px;
        border-bottom: 1px solid #f2f2f2;
    }

    .dropdown > a.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown:hover .submenu {
        display: none;
    }
}

/* =========================================
   CONTENT + SIDEBAR
========================================= */
.layout {
    display: flex;
    width: 60%;
    margin: 40px auto 0 auto;
    gap: 150px;
}

.content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sidebar img {
    width: 65%;
    height: auto;
    display: block;
}

/* =========================================
   TYPOGRAFIE
========================================= */
h1, h2, h3, h4 {
    text-align: left;
    font-weight: normal;
}

h1 {
    font-size: 3rem;
    color: #237da3;
    margin: 2rem 0 1rem 0;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
}

h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem 0;
    color: #237da3;
    font-style: italic;
}

a {
    text-decoration: none;
    /*color: #237da3;*/
    color: #14546d;
}

a:hover {
    text-decoration: underline;
}

li {
    color: #237da3;
    line-height: 1.6;
}

p {
    margin: 1rem 0 1.5rem 0;
    line-height: 1.6;
    color: #237da3;
}

legend {
	text-align: left;
	color: #237da3;
	font-style: italic;
	font-size: 16px;	
}


fieldset { 	
	display: block;
	width: 100%;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 5px;
	padding-bottom: 3px;
	padding-left: 3px;
	padding-right: 8px;
	border-width: 1px;
	border-color: #237da3;
	border-radius: 3px 3px;
}


.toelichting {
    font-size: 0.8rem;
    font-style: italic;
    color: #237da3;
}
/* =========================================
   taal switch
========================================= */
.language {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.language img {
    height: 25px;
    width: 38px;
    cursor: pointer;
}

/* =========================================
   GRID (TARIEVEN)
========================================= */
.custom-grid { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em 2em;
  padding: 1em;
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  color: #237da3;
}

.single-column {
    grid-column: 1 / span 2;
}

.left {
  grid-column: 1;
}

.right {
  grid-column: 2;
}

.divider {
  grid-column: 1 / span 2;
  height: 1em;
  background-color: white;
}

.footnotes {
    color: #237da3;
}

/* =========================================
   FOOTER
========================================= */
.footer-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 0;
}

.footer-logos {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 60px;
}

.footer-logos img {
    height: 60px;
    width: auto;
}

.footer-text {
    font-size: 0.8rem;
    color: #237da3;
    line-height: 1.5;
}

.footer-text a {
    color: #237da3;
}

.footer-text a:hover {
    text-decoration: underline;
}
.footer-arrow-up {
    position: fixed;
    bottom: 20px;    
    right: 20px;  
    cursor: pointer;
    z-index: 9999;   
}

.footer-arrow-up img {
    width: 40px;   
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-arrow-up img:hover {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}
/* =========================================
   FORMS
========================================= */
textarea, input, select, button {
    font-family: "Roboto", sans-serif;
}

label {
    color: #237da3;
    font-size: 14px;
    text-align: right;
    margin-right: 5px;
}

textarea {
    width: 100%;
    resize: none;
    font-size: 15px;
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */
@media (max-width: 900px), (max-device-width: 900px) {

    .layout {
        flex-direction: column;
        width: 90%;
    }

    .sidebar {
        width: 100%;
    }

    .container,
    .site-header,
    .footer-layout {
        width: 90%;
    }
/* Topnav moet op mobiel NIET meer horizontaal zijn */
.topnav {
    display: block;
    height: auto;
    padding-top: 0;
}

/* Hover uitschakelen volledig */
.dropdown:hover .submenu {
    display: none !important;
    opacity: 1;
    transform: none;
}
/* Submenu standaard dicht op mobiel */
.submenu {
    display: none !important;
}
.dropdown.open .submenu {
    display: block !important;
}


}
