@charset "UTF-8";

/* =========================================
   FONTS
========================================= */
@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/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: #C62828;
}

.page-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    margin-top: 4px;
}

/* =========================================
   TOPNAV
========================================= */
.menu-toggle {
    display: none;
}

.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: #14546d;
    padding: 12px 4px;
    display: block;
    font-size: 16px;
}

.topnav ul li a:hover {
    color: #0d3c50;
}

/* =========================================
   DESKTOP SUBMENU (1e niveau)
========================================= */
.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 #E0E0E0;
    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: #14546d;
}

.submenu li a:hover {
    background: #F5F7F8;
    color: #0d3c50;
}

.dropdown:hover > .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   DESKTOP SUBMENU (2e niveau rechts)
========================================= */
.submenu .dropdown .submenu {
    top: 0;
    left: 100%;
    background: #ffffff;
    padding: 6px 0;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.22s ease;
}

.submenu li.dropdown:hover > .submenu {
    display: block;
    opacity: 1;
}

/* =========================================
   MOBIEL MENU
========================================= */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
        width: 32px;
        cursor: pointer;
        margin: 10px 0;
    }

    .topnav {
        display: block;
        height: auto;
        padding-top: 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 #E0E0E0;
    }

    .submenu {
        position: static;
        display: none !important;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 10px;
    }

    .dropdown.open > .submenu {
        display: block !important;
    }

    .submenu li.dropdown.open > .submenu {
        display: block !important;
    }

    .submenu li a {
        padding: 10px 18px;
        border-bottom: 1px solid #E0E0E0;
    }

    .dropdown > a.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* =========================================
   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.5;
}

.sidebar img {
    width: 40%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* =========================================
   TYPOGRAFIE
========================================= */
h1, h2, h3, h4 {
    text-align: left;
    font-weight: normal;
}

h1 {
    font-size: 3rem;
    color: #C62828;
    margin: 2rem 0 1rem 0;
}

h2 {
    font-size: 1.8rem;
    color: #C62828;
    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: #C62828;
    font-style: italic;
}

a {
    text-decoration: none;
    color: #14546d;
}

a:hover {
    text-decoration: underline;
}

li {
    color: #000000;
    line-height: 1.6;
}

p {
    margin: 1rem 0 1.5rem 0;
    line-height: 1.6;
    color: #000000;
}

legend {
    text-align: left;
    color: #C62828;
    font-style: italic;
    font-size: 16px;
}

fieldset {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    padding: 5px 8px 3px 3px;
    border-width: 1px;
    border-color: #C62828;
    border-radius: 3px;
}

.toelichting {
    font-size: 0.8rem;
    font-style: italic;
    color: #C62828;
}

/* =========================================
   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: #C62828;*/
	color: #000000;
}

.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: #C62828;
}

/* =========================================
   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 #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 60px;
}

.footer-logos img {
    height: 60px;
    width: auto;
}

.footer-text {
    font-size: 0.8rem;
    color: #C62828;
    line-height: 1.5;
}

.footer-text a {
    color: #C62828;
}

.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: #C62828;
    font-size: 14px;
    text-align: right;
    margin-right: 5px;
}

textarea {
    width: 100%;
    resize: none;
    font-size: 15px;
}

/* =========================================
   INDEX.PHP OPMAAK
========================================= */
.text-with-image-index {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-index img {
    width: 150px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-index p {
    margin: 0;
    line-height: 1.6;
}
/* =========================================
   SHOTOKAN-KARATE-NIJMEGEN.PHP OPMAAK
========================================= */
.text-with-image-shotokan {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-shotokan img {
    width: 150px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-shotokan p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   KARATE-TRAINING.PHP OPMAAK
========================================= */
.text-with-image-karatetraining {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-karatetraining img {
    width: 175px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-karatetraining p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   DE-LERAAR.PHP OPMAAK
========================================= */
.text-with-image-leraar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-leraar img {
    width: 175px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-leraar p {
    margin: 0;
    line-height: 1.6;
}


/* =========================================
   LOCATIE-EN-LESTIJDEN.PHP OPMAAK
========================================= */
.text-with-image-locatie-lestijden {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-locatie-lestijden img {
    width: 175px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-locatie-lestijden p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   KOSTEN.PHP OPMAAK
========================================= */
.text-with-image-kosten {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.text-with-image-kosten img {
    width: 175px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-right: 10px;
}

.text-with-image-kosten p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   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%;
    }

    .text-with-image-index {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-index img {
        width: 150px;
        height: auto;
    }

 .text-with-image-shotokan {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-shotokan img {
        width: 150px;
        height: auto;
    }

.text-with-image-karatetraining {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-karatetraining img {
        width: 150px;
        height: auto;
    }

.text-with-image-leraar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-leraar img {
        width: 150px;
        height: auto;
    }

    .text-with-image-locatie-lestijden {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-locatie-lestijden img {
        width: 150px;
        height: auto;
    }

.text-with-image-kosten {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-with-image-kosten img {
        width: 150px;
        height: auto;
    }

}