/* ===================================
   Ebem CSS Variables & Global Styles
   Colors provided by MudBlazor via --mud-palette-* (see EbemTheme.cs)
   Font family provided by MudBlazor via --mud-typography-default-family
   =================================== */

:root {
    /* ---- Colors (XD design — not in MudBlazor palette) ---- */
    --color-border: #eaecf0;                     /* XD design */
    --color-gradient-blue-start: #0084be;        /* XD design — decorative gradient */
    --color-gradient-blue-end: #005f87;          /* XD design — decorative gradient */
    --color-card-green: #94c11f;                 /* XD design — card accent */
    --color-card-blue: #204788;                  /* XD design — card accent */
    --color-card-lime: #dcef62;                  /* XD design — card accent */

    /* ---- Tint colors (derived (10% mixin with white) of MudBlazor palette base colors) ---- */
    --color-primary-tint: rgb(231, 233, 235); /* Derived from --mud-palette-primary */
    --color-secondary-tint: rgb(234, 243, 210); /* Derived from --mud-palette-secondary */
    --color-tertiary-tint: rgb(229, 244, 251); /* Derived from --mud-palette-tertiary */

    /* ---- Colors (supplementary — not in MudBlazor palette) ---- */
    --color-bg-light: #f8f9fa;          /* Light background for alt sections */
    --color-primary-light: #e8f5e9;     /* Light primary for highlight sections */

    /* ---- Spacing ---- */
    --section-spacing: 5rem;            /* XD design — Homepage V3 */
    --ebem-section-spacing: 3rem;       /* Legacy ebem.css */

    /* ---- Radii ---- */
    --radius-md: 8px;                   /* EbemTheme.cs → LayoutProperties.DefaultBorderRadius + XD design */
    --radius-lg: 12px;                  /* XD design — Homepage V3 */
    --radius-xl: 16px;                  /* XD design — Homepage V3 */

    /* ---- Shadows ---- */
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);    /* XD design — Homepage V3 */
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);    /* XD design — Homepage V3 */

    /* ---- Scroll ---- */
    --scroll-offset: 130px;                          /* Sticky header height offset */

    /* ---- Legacy variables (still referenced) ---- */
    --ebem-card-background-color: #f5fbfc;  /* Legacy ebem.css */
    --ebem-card-swoosh-color: #e9f6fa;      /* Legacy ebem.css */
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
h1:focus-visible, h2:focus-visible, h3:focus-visible,
h4:focus-visible, h5:focus-visible, h6:focus-visible {
    outline: none;
}

/* ===================================
   Site Structure
   =================================== */

.ebem-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.ebem-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===================================
   Word ook klant CTA
   =================================== */

.ebem-word-ook-klant {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

/* ===================================
   Shared CTA Button
   white bg, cornerRadius 8, padding 12px LR / 8px TB
   Text: 16px Semi Bold, color #152c45
   =================================== */

.ebem-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--mud-typography-default-family);
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.ebem-cta-button--dark {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-surface);
}

.ebem-cta-button:hover {
    opacity: 0.9;
}

/* ===================================
   Shared Button-Link Styles
   =================================== */

.ebem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}

.ebem-btn--filled {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-primary);
}

.ebem-btn--filled:hover {
    background-color: var(--mud-palette-primary-darken);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ebem-btn--outlined {
    background-color: transparent;
    color: var(--mud-palette-primary);
    border: 1px solid var(--mud-palette-primary);
}

.ebem-btn--outlined:hover {
    background-color: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
}

/* ===================================
   Shared Content Section Styles
   =================================== */

.ebem-intro-section,
.ebem-audience-switch,
.ebem-enterprise-contact {
    padding: var(--section-spacing) 0;
}

.ebem-audience-switch {
    background: #f8f9fb;
}

.ebem-section-title {
    font-family: var(--mud-typography-default-family);
    font-size: 36px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    line-height: 1.3;
    margin: 0;
}

.ebem-section-text {
    font-family: var(--mud-typography-default-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* ===================================
   SHARED CONTENT PAGES
   =================================== */

.ebem-content-hero {
    background: var(--mud-palette-primary);
    color: #fff;
    padding: 64px 0 48px;
}

.ebem-content-hero__title {
    font-family: var(--mud-typography-default-family);
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #fff;
}

.ebem-content-hero__intro {
    font-family: var(--mud-typography-default-family);
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px;
    max-width: 800px;
}

.ebem-content-section {
    padding: 64px 0;
}

.ebem-content-section--alt {
    background: var(--color-bg-light, #f8f9fa);
}

.ebem-content-section--highlight {
    background: var(--color-primary-light);
}

.ebem-content-section__title {
    font-family: var(--mud-typography-default-family);
    font-size: 32px;
    font-weight: 700;
    color: var(--mud-palette-primary);
    margin: 0 0 24px;
}

.ebem-content-section__text {
    font-family: var(--mud-typography-default-family);
    font-size: 16px;
    line-height: 1.8;
    color: var(--mud-palette-text-secondary);
    margin: 0 0 16px;
    max-width: 800px;
}

.ebem-content-list {
    font-family: var(--mud-typography-default-family);
    font-size: 16px;
    line-height: 1.8;
    color: var(--mud-palette-text-secondary);
    padding-left: 24px;
    margin: 8px 0 16px;
}

.ebem-content-list--ordered {
    list-style: decimal;
}

.ebem-content-address {
    font-style: normal;
    line-height: 1.8;
    margin: 8px 0;
}

.ebem-content-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.ebem-content-link {
    color: var(--mud-palette-primary);
    font-weight: 600;
    text-decoration: none;
}

.ebem-content-link:hover {
    text-decoration: underline;
}

.validation-message {
    color: var(--mud-palette-error, #d32f2f);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* ===================================
   Shared Responsive
   =================================== */

@media (max-width: 768px) {
    .ebem-content-hero {
        padding: 48px 0 32px;
    }

    .ebem-content-hero__title {
        font-size: 28px;
    }

    .ebem-content-hero__intro {
        font-size: 16px;
    }

    .ebem-content-section__title {
        font-size: 24px;
    }
}

@media (max-width: 375px) {
    .ebem-section-title {
        font-size: 24px;
    }

    .ebem-section-text {
        font-size: 16px;
    }
}

