/* ============================================================
   Globaal
   ============================================================ */

html {
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #f2e0d0, #e8d0bc) no-repeat fixed;
    background-size: 100% 100%;
    min-height: 100vh;
    color: #3a2a20;
}

/* ============================================================
   Header & logo
   ============================================================ */

header {
    text-align: center;
    padding: 30px 20px 10px;
}

header img {
    width: 160px;
}

.header-logo-wrapper {
    border: 3px solid #5c1a1a;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Alleen op de homepagina: subtiele radiale glans achter het logo */
.header-logo-wrapper--home {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 75%);
}

/* ============================================================
   Navigatie
   ============================================================ */

nav {
    background: #e8c9b0;
    border-bottom: 3px solid #5c1a1a;
    padding: 12px 0;
    text-align: center;
}

nav a {
    color: #1a2f6e;
    text-decoration: none;
    margin: 0 18px;
    font-size: 17px;
    font-weight: bold;
}

nav a:hover {
    color: #5c1a1a;
    text-decoration: underline;
}

nav a.active {
    color: #5c1a1a;
    background: rgba(92, 26, 26, 0.10);
    border-radius: 6px;
    text-decoration: underline;
}

/* ============================================================
   Hoofd-container & subcontainers
   ============================================================ */

h1, h2, h3 {
    color: #5c1a1a;
    margin-top: 10px;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fffaf6;
    padding: 30px 40px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(90, 40, 20, 0.10);
}

.subcontainer {
    max-width: 900px;
    margin: 30px auto;
    background: linear-gradient(180deg, #f7ece3, #f0ddd0);
    padding: 10px 40px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(90, 40, 20, 0.08);
}

.subcontainer_pricing {
    max-width: 900px;
    margin: 20px auto;
    background: linear-gradient(180deg, #f7ece3, #f0ddd0);
    padding: 10px 40px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(90, 40, 20, 0.08);
}

/* ============================================================
   Behandelingen – tagline
   ============================================================ */

.behandeling-tagline {
    font-weight: bold;
    color: #6b4c3b;
}

/* ============================================================
   iframe (index.php)
   ============================================================ */

.iframe-container {
    padding: 0;
    overflow: hidden;
}

.content-frame {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    background: transparent;
}

/* ============================================================
   Welkom-pagina
   ============================================================ */

.welkom-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.welkom-tekst {
    flex: 1;
}

.welkom-tekst p {
    text-align: center;
    font-size: 18px;
}

.welkom-cta {
    color: #1a2f6e;
    font-weight: bold;
}

.welkom-foto {
    width: 220px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(90, 40, 20, 0.18);
    flex-shrink: 0;
}

/* ============================================================
   Contact-pagina
   ============================================================ */

.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info a {
    color: #1a2f6e;
}

.contact-map {
    width: 75%;
    height: 250px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(90, 40, 20, 0.18);
}

.contact-photo {
    width: 300px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(90, 40, 20, 0.18);
    flex-shrink: 0;
}

/* ============================================================
   Galerij & lightbox
   ============================================================ */

.gallery {
    columns: 3 220px;
    column-gap: 16px;
}

.gallery img {
    width: 100%;
    display: block;
    margin-bottom: 16px;
    cursor: zoom-in;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(90, 40, 20, 0.18);
    break-inside: avoid;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(90, 40, 20, 0.28);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(30, 15, 10, 0.85);
    z-index: 9999;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(95vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

/* ============================================================
   Embedded-modus (subpagina's geladen in iframe)
   ============================================================ */

body.embedded {
    background: transparent;
}

body.embedded header,
body.embedded nav,
body.embedded footer {
    display: none;
}

body.embedded .container {
    margin: 0;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
}

/* ============================================================
   Reviews
   ============================================================ */

.review-flash {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.review-flash-ok  { background: #d4edda; color: #155724; }
.review-flash-err { background: #f8d7da; color: #721c24; }

.review-form-wrapper {
    background: linear-gradient(180deg, #f7ece3, #f0ddd0);
    border-radius: 14px;
    padding: 24px 32px 28px;
    box-shadow: 0 4px 20px rgba(90, 40, 20, 0.08);
    flex: 1;
    min-width: 280px;
}

.review-form-wrapper h3 {
    margin-top: 0;
}

.review-form label {
    display: block;
    font-weight: bold;
    color: #5c1a1a;
    font-size: 14px;
    margin-bottom: 6px;
}

.review-form input[type="text"],
.review-form textarea,
.review-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #d4b8a8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #fdf6f0;
    color: #3a2a20;
    margin-bottom: 16px;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus,
.review-form select:focus {
    outline: none;
    border-color: #5c1a1a;
}

.review-form textarea {
    resize: vertical;
    min-height: 90px;
}

/* Sterrenkiezer: radio's in omgekeerde volgorde + row-reverse, klassieke CSS-truc */
.sterren-kiezer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 18px;
}

.sterren-kiezer input[type="radio"] {
    display: none;
}

.sterren-kiezer label {
    font-size: 32px;
    line-height: 1;
    color: #d4b8a8;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    transition: color 0.15s;
}

.sterren-kiezer input[type="radio"]:checked ~ label,
.sterren-kiezer label:hover,
.sterren-kiezer label:hover ~ label {
    color: #5c1a1a;
}

.btn-review {
    display: inline-block;
    padding: 10px 26px;
    border: 0;
    border-radius: 8px;
    background: #5c1a1a;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-review:hover {
    opacity: 0.87;
}

.review-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.review-lijst {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 6px;
}

@media (max-width: 720px) {
    .review-wrapper {
        flex-direction: column;
    }
    .review-lijst {
        max-height: none;
        overflow-y: visible;
    }
}

.review-item {
    background: #fffaf6;
    border: 1px solid #ead5c4;
    border-radius: 12px;
    padding: 16px 22px;
}

.review-sterren {
    color: #5c1a1a;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-behandeling {
    display: inline-block;
    background: #f0ddd0;
    color: #6b4c3b;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    padding: 2px 12px;
    margin: 6px 0 0;
}

.review-tekst {
    font-style: italic;
    color: #3a2a20;
    margin: 8px 0;
}

.review-naam {
    color: #9a7060;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

/* Review-highlights op de welkompagina */
.review-teaser {
    margin-top: 36px;
}

.review-teaser h3 {
    text-align: center;
    margin-bottom: 16px;
}

.review-teaser-lijst {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.review-teaser-lijst .review-item {
    flex: 1;
    min-width: 220px;
}

.review-teaser-meer {
    text-align: center;
    margin-top: 16px;
}

.review-teaser-meer a {
    color: #1a2f6e;
    font-weight: bold;
}

/* ============================================================
   Footer
   ============================================================ */

footer {
    text-align: center;
    padding: 25px;
    font-size: 14px;
    color: #8a6a58;
    margin-top: 40px;
}