/*
 * InnoMeer — CloudShop client theme, after www.innomeer.nl:
 * pink→orange gradient header with the white word mark, Raleway, pink buttons with a 2px border and 6px corners,
 * square white cards with a light shadow on a faint pink background, black footer.
 *
 * Loaded after CloudShop's stylesheet (ClientTheme:Directory = this folder). The variables are CloudShop's theming
 * contract (see Styles/app.css in CloudShop); the rules below them only use the stable semantic class names.
 */

@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&display=swap");

:root {
    /* Brand colors of innomeer.nl */
    --im-pink: #ef3a60;
    --im-orange: #f78e3c;
    --im-gradient: linear-gradient(to bottom right, var(--im-pink), var(--im-orange));

    --cs-color-primary: var(--im-pink);
    --cs-color-primary-hover: #d4214b;
    --cs-color-on-primary: #ffffff;
    --cs-color-primary-soft: #fff1f3;
    --cs-color-primary-soft-strong: #fdced6;
    --cs-color-on-primary-soft: #b3173d;
    --cs-color-primary-border: var(--im-pink);
    --cs-color-secondary: var(--im-orange);
    --cs-color-on-secondary: #000000;

    --cs-color-background: #fff8f9;
    --cs-color-surface: #ffffff;
    --cs-color-subtle: #f7f1f2;
    --cs-color-text: #000000;
    --cs-color-text-soft: #3b3438;
    --cs-color-muted: #6e6569;
    --cs-color-disabled: #d6cdd0;
    --cs-color-border: #f0e2e5;
    --cs-color-input-border: #d6cdd0;

    /* Darker than the default rose, so an error doesn't look like the brand pink. */
    --cs-color-error: #b91c1c;
    --cs-color-error-hover: #7f1d1d;
    --cs-color-error-soft: #fef2f2;
    --cs-color-on-error-soft: #7f1d1d;

    --cs-font-body: "Raleway", ui-sans-serif, system-ui, sans-serif;
    --cs-font-heading: var(--cs-font-body);
    --cs-font-size-h1: 1.875rem;
    --cs-font-size-h2: 1.25rem;

    --cs-radius: 0;
    --cs-radius-control: 6px;
    --cs-shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* The page: white fading into the site's light pink, like its sections. */
body {
    background-image: linear-gradient(to bottom right, #ffffff, var(--cs-color-primary-soft));
    background-attachment: fixed;
    /* Raleway has old-style figures by default; dates, times and prices read better with lining ones. */
    font-feature-settings: "lnum";
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--cs-color-primary);
}

/* Header: the site's gradient bar with the white logo and a white line under it. */
.site-header {
    background-color: var(--im-pink);
    background-image: var(--im-gradient);
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
}

.site-logo {
    display: block;
    width: 200px;
    height: 32px;
    background: url("images/logo-white.svg") no-repeat left center / contain;
    /* The site name stays the link's text for screen readers. */
    color: transparent;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
}

@media (width < 40rem) {
    .site-logo {
        width: 150px;
        height: 24px;
    }
}

/* Languages on the gradient: white, the current one as a white outline button (the site's "Contact"). */
.site-header .language-switcher button {
    border: 2px solid transparent;
    border-radius: var(--cs-radius-control);
    color: rgb(255 255 255 / 0.85);
}

.site-header .language-switcher button:hover {
    color: #ffffff;
}

.site-header .language-switcher button[aria-current="true"] {
    border-color: #ffffff;
    background-color: transparent;
    color: #ffffff;
}

/* Footer: black, as on the site. */
.site-footer {
    border-top: 0;
    background-color: #000000;
    color: #ffffff;
}

/* Buttons: bold with a 2px border in their own color. */
.btn {
    font-weight: 700;
}

.btn-primary {
    border: 2px solid var(--cs-color-primary);
}

.btn-primary:enabled:hover {
    border-color: var(--cs-color-primary-hover);
}

.btn-primary:disabled {
    border-color: var(--cs-color-disabled);
}

.btn-outline {
    border-width: 2px;
    color: var(--cs-color-primary);
}

.btn-outline:disabled {
    color: var(--cs-color-muted);
}

/* The − / + buttons join the number field, which has a 1px border. */
.number-stepper .btn-outline {
    border-width: 1px;
}

/* The current step in the brand gradient. */
.booking-step--active {
    background-image: var(--im-gradient);
}

/* Section titles light, like the site's "Hier staan wij voor". */
.card-title,
.offcanvas-title {
    font-weight: 600;
}
