/* =====================================================================
   PINK Beheer — site styling (BEM-ish, CSS custom properties for theming)
   Brand look of the old pinkbeheer.com: pink #ff3399, Montserrat 300/700,
   grey #737373. Montserrat is SELF-HOSTED (variable font, wwwroot/fonts) so
   no external font request happens before consent (privacy fix retained).
   ===================================================================== */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --pb-pink: #ff3399;
    --pb-pink-dark: #e01f85;
    --pb-pink-soft: #ffe9f4;
    --pb-ink: #2b2b33;
    --pb-ink-soft: #737373;
    --pb-bg: #ffffff;
    --pb-bg-tint: #f7f7f7;
    --pb-radius: 6px;
    --pb-font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--pb-font);
    color: var(--pb-ink);
    background: var(--pb-bg);
    line-height: 1.65;
}

.pb-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--pb-pink);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 100;
}

.pb-skip-link:focus {
    left: 0;
}

/* ---------- Header / navigation ---------- */
.pb-header {
    background: var(--pb-bg);
    border-bottom: 3px solid var(--pb-pink);
    position: sticky;
    top: 0;
    z-index: 50;
}

.pb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.pb-header__brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.pb-header__logo-img {
    height: 64px;
    width: auto;
    display: block;
}

.pb-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.pb-nav__link {
    display: inline-block;
    padding: 0.7rem 0.85rem; /* ~48px touch target */
    text-decoration: none;
    color: var(--pb-ink);
    font-weight: 600;
    border-radius: 8px;
}

.pb-nav__link:hover,
.pb-nav__link--active {
    color: var(--pb-pink);
    background: var(--pb-pink-soft);
}

.pb-nav__link--lang {
    border: 2px solid var(--pb-pink);
    color: var(--pb-pink);
    padding: 0.35rem 0.7rem;
}

/* Dropdown groups (pure CSS: hover + :focus-within, no JavaScript) */
.pb-nav__item--dropdown {
    position: relative;
}

.pb-nav__link--group {
    cursor: default;
}

.pb-nav__caret {
    font-size: 0.7em;
    margin-left: 0.15rem;
}

.pb-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 3px solid var(--pb-pink);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    z-index: 60;
}

.pb-nav__item--dropdown:hover .pb-nav__submenu,
.pb-nav__item--dropdown:focus-within .pb-nav__submenu {
    display: block;
}

.pb-nav__sublink {
    display: block;
    padding: 0.6rem 1.1rem;
    text-decoration: none;
    color: var(--pb-ink);
    font-weight: 600;
    white-space: nowrap;
}

.pb-nav__sublink:hover,
.pb-nav__sublink--active {
    color: var(--pb-pink);
    background: var(--pb-pink-soft);
}

.pb-nav__toggle,
.pb-nav__toggle-checkbox {
    display: none;
}

@media (max-width: 991px) {
    .pb-nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 12px;
    }

    .pb-nav__toggle span {
        width: 26px;
        height: 3px;
        background: var(--pb-pink);
        border-radius: 2px;
    }

    .pb-nav {
        flex-basis: 100%;
        display: none;
    }

    .pb-nav__toggle-checkbox:checked ~ .pb-nav {
        display: block;
    }

    .pb-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0.75rem;
    }

    /* On mobile the submenu is always expanded inline under its group label. */
    .pb-nav__submenu {
        display: block;
        position: static;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

/* ---------- Hero ---------- */
/* The ORIGINAL old-site frontpage photo: the pink beach with the swing (bg_blok_quote.jpg,
   same 1920x500 crop the old Revolution Slider used). Only a light dark wash for contrast,
   so the beach stays as light and pink as on the old site. */
.pb-hero {
    background:
        linear-gradient(rgba(25, 18, 22, 0.38), rgba(25, 18, 22, 0.30)),
        url("../images/hero-think-pink.jpg") center / cover no-repeat;
    color: #fff;
    padding: 5.5rem 0 5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.pb-hero__kicker {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pb-pink);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

.pb-hero__title {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 800;
    max-width: 46rem;
    margin-bottom: 1rem;
}

.pb-hero__subtitle {
    font-size: 1.15rem;
    max-width: 40rem;
    opacity: 0.95;
}

.pb-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.pb-page-hero {
    background: linear-gradient(135deg, var(--pb-pink-soft) 0%, #fff 100%);
    border-bottom: 1px solid #f2d9e7;
    padding: 2.5rem 0 2rem;
}

.pb-page-hero__title {
    font-size: clamp(1.5rem, 3.4vw, 2.3rem);
    font-weight: 800;
    color: var(--pb-ink);
    max-width: 52rem;
}

.pb-breadcrumb {
    font-size: 0.9rem;
    color: var(--pb-ink-soft);
    margin-bottom: 0.5rem;
}

.pb-breadcrumb a {
    color: var(--pb-pink);
    text-decoration: none;
}

.pb-breadcrumb span {
    margin: 0 0.3rem;
}

/* ---------- Buttons ---------- */
/* Old-site button look: square-ish pink blocks, bold Montserrat, subtle uppercase. */
.pb-btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pb-btn:hover {
    transform: translateY(-1px);
}

.pb-btn--primary {
    background: var(--pb-pink);
    color: #fff !important;
    border-color: var(--pb-pink);
}

.pb-btn--primary:hover {
    background: var(--pb-pink-dark);
}

.pb-btn--ghost {
    background: transparent;
    color: var(--pb-pink) !important;
    border-color: var(--pb-pink);
}

.pb-btn--light {
    background: #fff;
    color: var(--pb-pink) !important;
}

/* ---------- Sections & content ---------- */
.pb-section {
    padding: 3rem 0;
}

.pb-section--tinted {
    background: var(--pb-bg-tint);
}

.pb-section__title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.pb-content {
    max-width: 50rem;
}

.pb-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--pb-ink);
}

.pb-content a {
    color: var(--pb-pink);
    font-weight: 600;
}

.pb-content ul,
.pb-content ol {
    padding-left: 1.3rem;
}

.pb-content li {
    margin-bottom: 0.4rem;
}

.pb-lead {
    font-size: 1.18rem;
    color: var(--pb-ink-soft);
}

.pb-muted {
    color: var(--pb-ink-soft);
}

/* ---------- Cards ---------- */
.pb-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--pb-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.pb-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pb-pink);
    margin-bottom: 0.5rem;
}

.pb-card__text {
    flex-grow: 1;
    color: var(--pb-ink-soft);
}

.pb-card__link {
    color: var(--pb-pink);
    font-weight: 700;
    text-decoration: none;
}

.pb-card__photo {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1rem;
    border-radius: var(--pb-radius) var(--pb-radius) 0 0;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    display: block;
}

.pb-card--team .pb-card__photo {
    width: 100%;
    margin: 0 0 0.75rem;
    border-radius: var(--pb-radius);
    aspect-ratio: 4 / 3;
}

/* ---------- Quote strip (old-site bg_blok_quote look) ---------- */
.pb-quote-strip {
    /* Birdhouse banner here, so the beach photo is not repeated twice on the homepage
       (the beach is now the hero, exactly like the old site). */
    background:
        linear-gradient(rgba(20, 14, 18, 0.55), rgba(255, 51, 153, 0.35)),
        url("../images/banner-woningbeheer.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.pb-quote-strip__text {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.pb-quote-strip__sub {
    font-weight: 300;
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0;
}

/* ---------- Wide page banner (photo from the old site) ---------- */
.pb-banner__img {
    width: 100%;
    height: clamp(180px, 26vw, 340px);
    object-fit: cover;
    display: block;
}

/* ---------- Moodboards (old interieur gallery) ---------- */
.pb-moodboards {
    margin-top: 2rem;
}

.pb-moodboard {
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--pb-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.pb-moodboard__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.pb-moodboard__caption {
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    color: var(--pb-pink);
}

/* ---------- Quotes / testimonials ---------- */
.pb-quote {
    background: var(--pb-pink-soft);
    border-left: 4px solid var(--pb-pink);
    border-radius: 0 var(--pb-radius) var(--pb-radius) 0;
    padding: 1.25rem 1.5rem;
    height: 100%;
    margin: 0;
}

.pb-quote footer {
    font-weight: 700;
    color: var(--pb-pink-dark);
    margin-top: 0.5rem;
}

/* ---------- FAQ ---------- */
.pb-faq {
    max-width: 50rem;
    margin-top: 1.5rem;
}

.pb-faq__item {
    border: 1px solid #eee;
    border-radius: var(--pb-radius);
    margin-bottom: 0.75rem;
    background: #fff;
}

.pb-faq__question {
    padding: 1rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--pb-ink);
}

.pb-faq__item[open] .pb-faq__question {
    color: var(--pb-pink);
}

.pb-faq__answer {
    padding: 0 1.25rem 1rem;
    color: var(--pb-ink-soft);
}

/* ---------- CTA strip ---------- */
.pb-cta {
    background: linear-gradient(135deg, var(--pb-pink) 0%, var(--pb-pink-dark) 70%);
    color: #fff;
    text-align: center;
    padding: 3.5rem 0;
}

.pb-cta__title {
    font-size: 1.7rem;
    font-weight: 800;
}

.pb-cta p {
    max-width: 34rem;
    margin: 0.75rem auto 1.5rem;
    opacity: 0.95;
}

/* ---------- Contact ---------- */
.pb-contact-info {
    background: var(--pb-bg-tint);
    border-radius: var(--pb-radius);
    padding: 1.5rem;
}

.pb-contact-info__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pb-contact-info__link {
    display: inline-block;
    padding: 0.5rem 0; /* touch friendly */
    color: var(--pb-ink);
    font-weight: 600;
    text-decoration: none;
}

.pb-contact-info__link:hover {
    color: var(--pb-pink);
}

.pb-contact-info__address {
    font-style: normal;
    margin-bottom: 1rem;
}

.pb-contact-info__icon {
    vertical-align: -6px;
    margin-right: 0.35rem;
}

.pb-form__honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.pb-whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    margin-top: 0.75rem;
}

/* ---------- Footer ---------- */
.pb-footer {
    background: var(--pb-ink);
    color: #e9e4e7;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.pb-footer__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.pb-footer__address {
    font-style: normal;
}

.pb-footer a {
    color: #f9c7e2;
    text-decoration: none;
}

.pb-footer a:hover {
    color: #fff;
}

.pb-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pb-footer__links li {
    margin-bottom: 0.35rem;
}

.pb-footer__registration,
.pb-footer__bottom {
    color: #b9b2b6;
    font-size: 0.9rem;
}

.pb-footer__bottom {
    border-top: 1px solid #45414a;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.pb-footer__slogan {
    font-style: italic;
    color: #f9c7e2;
}

/* ---------- Consent banner ---------- */
.pb-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 34rem;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--pb-pink);
    border-radius: var(--pb-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    padding: 1.1rem 1.3rem;
    z-index: 200;
}

.pb-consent__text {
    margin-bottom: 0.75rem;
}

.pb-consent__buttons {
    display: flex;
    gap: 0.6rem;
}

/* ---------- Beheer (admin) ---------- */
.pb-admin {
    display: flex;
    min-height: 100vh;
    background: #f4f2f4;
}

.pb-admin__sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--pb-ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
}

.pb-admin__brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pb-pink);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.pb-admin__brand span {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.pb-admin__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-grow: 1;
}

.pb-admin__link {
    color: #ded8dd;
    text-decoration: none;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    font-weight: 600;
}

.pb-admin__link:hover {
    background: rgba(229, 0, 125, 0.25);
    color: #fff;
}

.pb-admin__footer {
    margin-top: 1rem;
}

.pb-admin__logout {
    background: none;
    border: none;
    color: #f9c7e2;
    font-weight: 600;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
}

.pb-admin__main {
    flex-grow: 1;
    padding: 1.75rem 2rem;
    min-width: 0;
}

.pb-admin__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.pb-admin__subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pb-admin-panel {
    background: #fff;
    border-radius: var(--pb-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pb-admin-stat {
    background: #fff;
    border-radius: var(--pb-radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pb-admin-stat__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--pb-pink);
}

.pb-admin-stat__label {
    color: var(--pb-ink-soft);
    font-weight: 600;
}

.pb-admin-fieldhint {
    font-size: 0.85rem;
    line-height: 1.35;
}

.pb-admin-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.pb-admin__rowlink {
    color: var(--pb-pink);
    font-weight: 700;
    text-decoration: none;
}

.pb-admin-message {
    white-space: pre-wrap;
    background: var(--pb-bg-tint);
    border-radius: 8px;
    padding: 1rem;
}

@media (max-width: 767px) {
    .pb-admin {
        flex-direction: column;
    }

    .pb-admin__sidebar {
        width: 100%;
        flex-direction: column;
    }
}

/* ---------- Login ---------- */
.pb-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pb-pink) 0%, var(--pb-pink-dark) 70%);
    padding: 1rem;
}

.pb-login__card {
    background: #fff;
    border-radius: var(--pb-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 2.25rem;
    width: 100%;
    max-width: 26rem;
}

.pb-login__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pb-pink);
    text-align: center;
}

.pb-login__title span {
    color: var(--pb-ink);
    font-weight: 500;
    font-size: 1.2rem;
}

.pb-login__subtitle {
    text-align: center;
    color: var(--pb-ink-soft);
    margin-bottom: 1.25rem;
}

/* Password field with a show/hide eye button inside it. */
.pb-password {
    position: relative;
}

.pb-password__input {
    padding-right: 2.75rem;
}

.pb-password__toggle {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem 0.45rem;
    line-height: 1;
    opacity: 0.55;
    border-radius: 6px;
}

.pb-password__toggle:hover,
.pb-password__toggle--on {
    opacity: 1;
    color: var(--pb-pink);
}

.pb-password__icon {
    font-size: 1.15rem;
}

.pb-login__back {
    text-align: center;
    margin-top: 1.25rem;
}

.pb-login__back a {
    color: var(--pb-ink-soft);
    text-decoration: none;
}

/* ---------- Blazor error UI (template default, restyled) ---------- */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
