/* =========================================================================
   Pedicure by Nancy — publieke site styling
   Aesthetic: refined editorial, warm cream, soft taupe + sage accent
   ========================================================================= */

:root {
    --cream: #F8F4ED;
    --cream-deep: #F1EAD9;
    --paper: #FCFAF5;
    --ink: #2A1F1A;
    --ink-soft: #5C4F46;
    --ink-mute: #8A7B6F;
    --line: #E5DCC9;
    --taupe: #A87E62;
    --taupe-deep: #8B6549;
    --sage: #7C8B6F;
    --sage-deep: #5E6F50;
    --rose: #D4A5A0;
    --highlight: #C7A87C;

    --font-display: "Fraunces", "Playfair Display", "Georgia", serif;
    --font-body: "Manrope", "Helvetica Neue", "Helvetica", sans-serif;

    --measure: 62ch;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3rem, 9vw, 7rem);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 720px) {
    body { font-size: 18px; }
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
    color: var(--taupe-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
a:hover { color: var(--ink); }

/* Skip-link voor toegankelijkheid */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--cream);
    padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Headings — display font */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    /* Variable font axis: SOFT for warmth, OPSZ for size-aware optical sizing */
    font-variation-settings: "SOFT" 100, "opsz" 144;
}

h1 {
    font-size: clamp(2.5rem, 6.5vw, 4.75rem);
    font-style: italic;
    font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1;
}

h2 {
    font-size: clamp(1.75rem, 3.8vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-variation-settings: "SOFT" 100, "opsz" 24;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }

.lead {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--taupe-deep);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.25rem;
}
.eyebrow::before {
    content: "—";
    margin-right: 0.6em;
    color: var(--taupe);
    font-weight: 400;
}

/* ---- Layout ------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.section--paper { background: var(--paper); }
.section--cream-deep { background: var(--cream-deep); }

/* ---- Header ------------------------------------------------------------- */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(248, 244, 237, 0.92);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem var(--gutter);
    max-width: 1180px;
    margin: 0 auto;
}

.brand {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    font-variation-settings: "SOFT" 100, "opsz" 24, "WONK" 1;
    line-height: 1;
}
.brand small {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 0.2rem;
}

.nav { display: none; }
.nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 1.75rem; align-items: center;
}
.nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.2s ease;
}
.nav a:hover, .nav a.active {
    color: var(--ink);
}
.nav a.active::after {
    content: ""; position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--taupe);
}

.nav-toggle {
    display: inline-flex;
    align-items: center; gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}
.nav-toggle:hover { border-color: var(--taupe); }

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--cream);
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
    list-style: none; margin: 0; padding: 1rem var(--gutter) 1.5rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.mobile-nav a {
    display: block; padding: 0.7rem 0;
    color: var(--ink); text-decoration: none;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }

@media (min-width: 880px) {
    .nav { display: block; }
    .nav-toggle { display: none; }
}

/* ---- Maand-actie banner ------------------------------------------------- */

.banner-action {
    background: var(--ink);
    color: var(--cream);
    padding: 0.6rem var(--gutter);
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.banner-action a {
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 0.5rem;
    font-weight: 600;
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 880px) {
    .hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero__title {
    margin-bottom: 1rem;
}
.hero__subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    color: var(--taupe-deep);
    margin: 0 0 1.5rem;
    font-variation-settings: "SOFT" 100, "opsz" 24, "WONK" 1;
}

.hero__photo {
    position: relative;
}
.hero__photo img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 30px 60px -30px rgba(42, 31, 26, 0.35),
                0 8px 24px -8px rgba(42, 31, 26, 0.15);
}
.hero__photo::before {
    content: "";
    position: absolute;
    inset: 1.5rem -1.5rem -1.5rem 1.5rem;
    border: 1px solid var(--taupe);
    border-radius: 4px;
    z-index: -1;
}

.hero__usp {
    list-style: none; padding: 0; margin: 1.75rem 0 2rem;
    display: flex; flex-direction: column; gap: 0.65rem;
}
.hero__usp li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.98rem; color: var(--ink-soft);
}
.hero__usp li::before {
    content: ""; flex: 0 0 auto;
    width: 22px; height: 22px;
    background: var(--sage);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/></svg>") center/16px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/></svg>") center/16px no-repeat;
    margin-top: 0.15rem;
}

/* ---- Buttons / CTAs ----------------------------------------------------- */

.btn-row {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
    text-decoration: none;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover {
    background: var(--taupe-deep);
    border-color: var(--taupe-deep);
    color: var(--cream);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn--whatsapp {
    background: #25D366; border-color: #25D366; color: white;
}
.btn--whatsapp:hover { background: #1EB855; border-color: #1EB855; color: white; }

.btn-icon {
    width: 18px; height: 18px;
    fill: currentColor;
}

/* ---- Treatments table -------------------------------------------------- */

.treatments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.treatment-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

@media (min-width: 720px) {
    .treatment-row {
        grid-template-columns: 1.5fr auto auto;
    }
}

.treatment-row__naam {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--ink);
    font-weight: 400;
    font-variation-settings: "SOFT" 100, "opsz" 24;
}
.treatment-row__beschrijving {
    grid-column: 1 / -1;
    font-size: 0.92rem;
    color: var(--ink-mute);
    margin-top: 0.3rem;
}
.treatment-row__duur {
    color: var(--ink-mute);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}
.treatment-row__prijs {
    color: var(--ink);
    font-weight: 500;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- Promo / actie callout --------------------------------------------- */

.callout {
    background: var(--cream-deep);
    border-left: 3px solid var(--taupe);
    padding: 1.5rem 1.75rem;
    border-radius: 2px;
    max-width: var(--measure);
}
.callout--sage { border-left-color: var(--sage); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---- Cards (preview behandelingen op home) ----------------------------- */

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    margin-top: 2rem;
}
.preview-card {
    padding: 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.preview-card:nth-child(odd) { background: rgba(255,255,255,0.4); }
.preview-card h3 {
    font-size: 1.15rem; margin-bottom: 0.4rem;
}
.preview-card .meta {
    font-size: 0.85rem; color: var(--ink-mute);
    display: flex; justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

/* ---- About / Over Nancy ------------------------------------------------- */

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 880px) {
    .about__grid { grid-template-columns: 0.9fr 1.1fr; }
}
.about__photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 50px -20px rgba(42,31,26,0.25);
}
.about__text p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ---- Decorations ------------------------------------------------------- */

.divider-mark {
    text-align: center;
    color: var(--taupe);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    margin: 2.5rem 0;
    font-variation-settings: "SOFT" 100, "opsz" 24, "WONK" 1;
}
.divider-mark::before, .divider-mark::after {
    content: ""; display: inline-block;
    width: 60px; height: 1px;
    background: var(--line);
    vertical-align: middle;
    margin: 0 1rem;
}

/* ---- Contact / openingstijden ------------------------------------------ */

.info-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .info-grid { grid-template-columns: 1fr 1fr; }
}

.opening-hours {
    list-style: none; padding: 0; margin: 0;
}
.opening-hours li {
    display: flex; justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px dotted var(--line);
    font-size: 0.97rem;
}
.opening-hours li:last-child { border-bottom: none; }
.opening-hours strong {
    color: var(--ink); font-weight: 500;
}

.contact-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.85rem;
}
.contact-list li {
    display: flex; gap: 0.8rem; align-items: flex-start;
}
.contact-list .label {
    color: var(--ink-mute); font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    width: 80px; flex-shrink: 0;
    padding-top: 0.2rem;
}

/* ---- Booking iframe ---------------------------------------------------- */

.booking-frame {
    width: 100%;
    min-height: 720px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    margin: 1.5rem 0;
}

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    margin-top: var(--section-y);
}
.site-footer h4 {
    color: var(--cream);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    font-variation-settings: "SOFT" 100, "opsz" 24, "WONK" 1;
    margin-bottom: 0.8rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 720px) {
    .site-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}
.site-footer p, .site-footer li {
    color: rgba(248, 244, 237, 0.8);
    font-size: 0.92rem;
}
.site-footer a {
    color: var(--cream);
    text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.site-footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(248, 244, 237, 0.15);
    font-size: 0.8rem;
    color: rgba(248, 244, 237, 0.5);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

/* ---- Flash messages ---------------------------------------------------- */
.flashes {
    padding: 1rem var(--gutter);
}
.flash {
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--taupe);
    background: var(--paper);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.flash.success { border-left-color: var(--sage); }
.flash.error   { border-left-color: #B8503D; }
.flash.warning { border-left-color: var(--highlight); }

/* ---- Tekst-pagina (algemene voorwaarden / privacy) --------------------- */
.tekst-pagina {
    max-width: var(--measure);
    margin: 0 auto;
}
.tekst-pagina p { color: var(--ink-soft); }

/* ---- Animations -------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(12px);
        animation: reveal 0.8s ease 0.1s forwards;
    }
    .reveal:nth-child(2) { animation-delay: 0.2s; }
    .reveal:nth-child(3) { animation-delay: 0.3s; }
    .reveal:nth-child(4) { animation-delay: 0.4s; }
}
@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Print -------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
    body { background: white; color: black; }
}
