/* Kapsalon Zwaans: merkblauw en de schaar-Z uit de oude site, in een frisse, rustige opmaak. */

:root {
    --navy: #0f2b46;
    --blue: #267dc7;
    --blue-deep: #1a62a3;
    --sky: #e8f2fb;
    --paper: #f7f9fb;
    --white: #fff;
    --line: #d8e2ec;
    --muted: #51657a;
    --yellow: #ffd35c;
    --yellow-deep: #f2bd2c;
    --radius: 14px;
    --radius-small: 8px;
    --width: 1120px;
    --font-head: "Century Gothic", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blue-deep);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow-deep);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--yellow);
    color: var(--navy);
    padding: 8px 14px;
    z-index: 20;
}

.skip-link:focus {
    left: 8px;
}

/* Knoppen */

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--yellow);
}

.button:hover {
    background: var(--yellow-deep);
    border-color: var(--yellow-deep);
}

.button--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    max-width: var(--width);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--navy);
    text-decoration: none;
}

.site-header__name {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
}

.site-header__tagline {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.site-header__call {
    margin-left: auto;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__call:hover {
    background: var(--blue-deep);
}

.nav {
    flex: 1 0 100%;
}

.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.nav__link {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.nav__link:hover {
    background: var(--sky);
}

.nav__item--active .nav__link {
    background: var(--navy);
    color: var(--white);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 999px;
    padding: 6px 16px;
    font: inherit;
    font-weight: 700;
}

/* Inhoud */

.main {
    min-height: 50vh;
}

.wrap {
    max-width: var(--width);
    margin: 0 auto;
    padding: 0 20px;
}

.page {
    max-width: var(--width);
    margin: 0 auto;
    padding: 40px 20px 64px;
}

.page__title {
    font-size: clamp(30px, 5vw, 44px);
    margin-bottom: 24px;
}

.page__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    border-radius: 3px;
    background: var(--blue);
    margin-top: 14px;
}

.rich {
    max-width: 68ch;
}

.rich p {
    margin: 0 0 1em;
}

.rich h3 {
    font-size: 20px;
    margin-top: 1.4em;
}

.rich img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
}

.text-right {
    text-align: left;
}

/* Heldenvlak */

.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
    color: var(--white);
}

.hero__inner {
    max-width: var(--width);
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.hero__since {
    display: inline-block;
    margin: 0 0 16px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 15px;
    font-weight: 600;
}

.hero__title {
    font-size: clamp(36px, 6vw, 60px);
    margin-bottom: 16px;
}

.hero__text {
    font-size: 19px;
    color: #d6e6f5;
    margin: 0 0 28px;
    max-width: 34ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.slider {
    position: relative;
    aspect-ratio: 644 / 350;
    border-radius: 22px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.slider__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slider__image--active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .slider__image {
        transition: none;
    }
}

/* Overzichtsrij onder het heldenvlak */

.facts {
    max-width: var(--width);
    margin: -28px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.9fr;
    gap: 16px;
    position: relative;
}

.fact {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(15, 43, 70, 0.08);
}

.fact__title {
    font-size: 18px;
    margin-bottom: 10px;
}

.fact p {
    margin: 0 0 8px;
}

.fact--accent {
    background: var(--sky);
}

.fact .rich {
    max-width: none;
    font-size: 16px;
}

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

.times__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
}

.times__row:last-child {
    border-bottom: 0;
}

.times__value {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.times__row span:first-child {
    min-width: 0;
}

.fact__note {
    font-weight: 700;
}

/* Kaarten op de homepage */

.cards {
    max-width: var(--width);
    margin: 48px auto 0;
    padding: 0 20px 64px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card__body {
    padding: 22px 24px 24px;
    flex: 1;
}

.card__title {
    font-size: 24px;
}

.card .rich {
    max-width: none;
}

.card .rich p:last-child {
    margin-bottom: 0;
}

/* Prijslijst */

.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.split__aside img {
    margin-top: 0;
}

.prices {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.prices__row + .prices__row {
    border-top: 1px solid var(--line);
}

.prices__label,
.prices__amount {
    padding: 14px 20px;
}

.prices__amount {
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--blue-deep);
}

.prices__note {
    margin-top: 16px;
    padding: 12px 18px;
    background: var(--sky);
    border-radius: var(--radius-small);
    font-weight: 600;
}

/* Foto's */

.gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery__image {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: var(--radius);
}

.gallery__caption {
    margin: 8px 0 0;
    font-size: 15px;
    color: var(--muted);
}

/* Contact */

.contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact__block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.contact__title {
    font-size: 19px;
}

.hours {
    border-collapse: collapse;
    width: 100%;
}

.hours__label,
.hours__value {
    padding: 6px 0;
    vertical-align: top;
}

.hours__value {
    text-align: right;
    font-weight: 700;
}

/* Footer */

.site-footer {
    background: var(--navy);
    color: #b9cde0;
}

.site-footer__inner {
    max-width: var(--width);
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    font-size: 15px;
}

.site-footer__logo {
    background: var(--white);
    border-radius: var(--radius-small);
    padding: 5px 8px;
}

.site-footer__text {
    margin: 0 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}

/* Smalle schermen */

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding: 32px 20px 40px;
        gap: 28px;
    }

    .facts,
    .cards,
    .contact,
    .split {
        grid-template-columns: 1fr;
    }

    .facts {
        margin-top: -20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-toggle {
        display: block;
    }

    .site-header__call {
        display: none;
    }

    .js .nav {
        display: none;
    }

    .js .nav--open {
        display: block;
    }

    .nav__list {
        flex-direction: column;
    }

    .site-footer__text {
        margin-left: 0;
    }
}
