/*
 * Updated base styling to give the site a more modern and professional feel.
 * According to web‑design best practices, typography should be easy to read
 * and skim, accessible across devices and reflect the brand【438291578053100†L266-L281】.
 * We import Montserrat from Google Fonts (with local fallbacks) and lighten
 * the body background to a very pale green for a calm impression.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* Nieuwe lettertypes geïnspireerd door praktijkbloei.com */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Dancing+Script&display=swap');
body {
    /* Basislettertype – Poppins is vriendelijk en modern */
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    /* Pastelcrème achtergrond geïnspireerd op praktijkbloei.com */
    background: #FDF9F2;
    color: #2F3E3B;
    line-height: 1.6;
}

.over-mij-container {
    display: flex;
    flex-direction: row;
}

.effect-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.portret {
    max-width: 25%;
    min-width: 100px;
}


/* Hero section styles for the home page */

.hero {
    position: relative;
    /* gebruik de pastelachtergrondafbeelding met lichte overlay voor helderheid */
    /* background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('hero_background_pastel.png'); */
    background-image: url("praktijk.jpg");
    background-size: cover;
    background-position: center;
    color: #2A5D52;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2.8em;
    margin-bottom: 0.5em;
    font-weight: 600;
    text-transform: uppercase;
    color: black
}

.hero p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6em;
    margin-bottom: 1.5em;
    color: white;
}


/*
 * Constrain the width of content and place it on a white card with subtle
 * shadow and rounded corners. White space helps break up text and gives
 * breathing room【438291578053100†L389-L409】.
 */

.container {
    max-width: 900px;
    margin: 40px auto;
    /* Lichte achtergrond voor contentsecties – iets off‑white */
    background: #FFFFFF;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/*
 * Header uses a darker green to provide strong contrast with the white text.
 * Good contrast is essential for accessibility【634589842391720†L97-L112】.
 */

header {
    /* Pastelgroene header in de stijl van praktijkbloei.com */
    background-color: #66BB6A;
    color: #FFFFFF;
    padding: 1.5em 0;
    text-align: center;
    position: sticky;
    z-index: 1000;
    top: 0;
}

.logo {
    height: 80px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1em 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li.dropdown>a {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}


/* Highlight the active navigation item */

nav ul li a.active {
    /* iets donkerder pastelgroen voor de actieve navigatie */
    background-color: #7DBCA7;
}

nav ul li a:hover {
    background-color: #7DBCA7;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    color: #2F3E3B;
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    list-style: none;
    padding: 0;
}

nav .dropdown-content li {
    padding: 10px;
}

nav .dropdown-content li a {
    color: #2F3E3B;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 8px 12px;
}

nav .dropdown-content li a:hover {
    background-color: #F5FAF7;
}

nav .dropdown-content.show {
    display: block !important;
}

main {
    padding: 2em;
}

footer {
    text-align: center;
    padding: 1em;
    background-color: #a9e7ac;
    color: #FFFFFF;
    margin-top: 3em;
}


/* opvallende knopkleur met oranje tint voor energie */

.cta-button {
    display: inline-block;
    /* pastel roze kleur voor de call‑to‑action knop */
    background-color: #F9C5D1;
    color: #2A5D52;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #F4AFC0;
}


/* Service cards for the home page */

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-top: 2em;
}

.service {
    flex: 1 1 calc(33% - 1.5em);
    /* variërende pastelachtergronden – we overschrijven deze via nth-child regels hieronder */
    background-color: #F8F8F8;
    padding: 1.5em;
    border-radius: 12px;
    border: 2px dashed #BEDDD0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.service h3 {
    margin-top: 0;
    color: #2A5D52;
    margin-bottom: 0.5em;
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Poppins', Arial, sans-serif;
}

.service p {
    margin-bottom: 0;
    font-size: 0.95em;
    color: #3a534f;
}


/* Gebruik verschillende pastelkleuren voor de dienstenkaarten om diversiteit te creëren zoals op praktijkbloei.com */

.service:nth-child(1) {
    background-color: #FDECE2;
}

.service:nth-child(2) {
    background-color: #FDEBF3;
}

.service:nth-child(3) {
    background-color: #E8F5E9;
}


/* Stack service cards on narrow screens */

@media (max-width: 768px) {
    .service {
        flex: 1 1 100%;
    }
}


/* Table styling for het tarievenoverzicht
 * Maak gebruik van zachte pastelkleuren voor de kop en afwisselende rijen.
 */

table.tarieven {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    overflow: hidden;
    border-radius: 6px;
}


/* Algemeen lettertype voor koppen */

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    color: #2A5D52;
}

h1,
h2 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table.tarieven th,
table.tarieven td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: left;
}


/* Pastel mint achtergrond voor de koptekst */

table.tarieven th {
    /* licht mintgroene kopkleur voor betere harmonie met de rest van de site */
    background-color: #EAF5F3;
    color: #2F3E3B;
}


/* Licht afwisselende achtergrond voor even rijen */

table.tarieven tr:nth-child(even) td {
    /* zachte mintgroene achtergrond voor even rijen */
    background-color: #F3FBF9;
}


/* Witte achtergrond voor oneven rijen */

table.tarieven tr:nth-child(odd) td {
    /* zeer licht mintgroene achtergrond voor oneven rijen */
    background-color: #F8FCFB;
}


/* === CTA buttons (centralized) === */

a.cta-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color .3s ease;
    margin-bottom: 10px;
}

a.cta-button:hover,
a.cta-button:focus {
    background-color: #45a049;
}


/* Focus styles */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 0, 0, .6);
    outline-offset: 2px;
}


/* FAQ */

#faq {
    margin-top: 2rem;
}

#faq details {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: #fff;
}

#faq summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

#faq summary::-webkit-details-marker {
    display: none;
}

#faq details[open] {
    background: #F7FAF9;
}


/* Accessible skip link: hidden by default, visible on focus */


/* === FAQ (refined) === */

#faq,
#faq-all {
    margin-top: 2rem;
}

#faq details,
#faq-all details {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

#faq summary,
#faq-all summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}

#faq summary::-webkit-details-marker,
#faq-all summary::-webkit-details-marker {
    display: none;
}

#faq summary::after,
#faq-all summary::after {
    content: "▸";
    margin-left: auto;
    transition: transform .2s ease;
    font-size: 1.1rem;
    line-height: 1;
}

#faq details[open] summary,
#faq-all details[open] summary {
    background: #F7FAF9;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

#faq details[open] summary::after,
#faq-all details[open] summary::after {
    transform: rotate(90deg);
}

#faq .faq-panel,
#faq-all .faq-panel {
    padding: 0 1.25rem 1rem 1.25rem;
}

#faq .faq-panel p:last-child,
#faq-all .faq-panel p:last-child {
    margin-bottom: 0;
}


/* Focus visibility */

#faq summary:focus-visible,
#faq-all summary:focus-visible {
    outline: 3px solid rgba(0, 0, 0, .6);
    outline-offset: 2px;
    border-radius: 10px;
}


/* Logo sizing (tasteful, responsive) */

header .logo,
.logo {
    height: auto;
    max-height: 68px;
    /* previously smaller; now slightly larger */
}

@media (min-width: 1024px) {
    header .logo,
    .logo {
        max-height: 78px;
        /* a bit larger on desktop */
    }
}


/* Keep nav layout tidy when sticky */

nav ul {
    margin: 0;
    padding: 0.5rem 0;
}


/* Accessible skip link: visually hidden, visible on focus */

header nav a,
header nav a:visited {
    color: #FFFFFF;
}

header nav a:hover,
header nav a:focus {
    opacity: .9;
    text-decoration: none;
}


/* Dropdowns en menu-items die mogelijk eigen kleuren hadden */

nav ul li a {
    color: #FFFFFF;
}

nav ul li a:hover,
nav ul li a:focus {
    opacity: .9;
}


/* === Dropdown contrast fix === */


/* Top-level remains white (set earlier) */

nav ul>li>a {
    color: #FFFFFF;
}


/* Submenu container */

nav ul li ul {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    z-index: 1200;
    /* above sticky header */
}


/* Submenu links: dark readable text */

nav ul li ul li a {
    color: #2F3E3B !important;
    padding: 8px 14px;
    display: block;
    white-space: nowrap;
}


/* Hover state: subtle green tint */

nav ul li ul li a:hover,
nav ul li ul li a:focus {
    background: #EAF6EC;
    /* very light green */
    color: #1F2A28 !important;
    text-decoration: none;
}


/* === Skip link (robust hidden, visible on focus) === */

.skip-link {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.skip-link:focus {
    left: 0 !important;
    top: 0 !important;
    width: auto !important;
    height: auto !important;
    background: #000 !important;
    color: #fff !important;
    padding: 8px 12px !important;
    z-index: 2000 !important;
    border-radius: 6px !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
}


/* === Smooth dropdown animation === */

nav ul li {
    position: relative;
}

nav ul li ul {
    position: absolute;
    left: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

nav ul li:hover>ul,
nav ul li:focus-within>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}