/*
Theme Name: Xiao Xie
Description: Eigen thema voor Xiao Xie Chinese Massage, Hilversum. Abrikoos, rood lijstwerk, lotus.
Version: 1.0.2
Author: RSquare
Text Domain: xiaoxie
Requires PHP: 8.2
*/

@font-face { font-family: "Kaushan Script"; src: url("assets/fonts/kaushan-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
	--abrikoos: #f4c27a;
	--abrikoos-licht: #fbe6c4;
	--creme: #fff8ec;
	--rood: #c8161d;
	--rood-donker: #8e0f13;
	--tekst: #3b2516;
	--tekst-zacht: #6d4c35;
	--schaduw: 0 18px 40px -18px rgba(110, 50, 10, .45);
	--radius: 14px;
	--breed: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--tekst);
	background: radial-gradient(ellipse at 15% 0%, #f9d9a6 0%, transparent 55%), radial-gradient(ellipse at 100% 100%, #f7cd8d 0%, transparent 50%), var(--abrikoos);
	background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rood); text-underline-offset: 3px; }
a:hover { color: var(--rood-donker); }
h1, h2, h3 { font-family: "Kaushan Script", cursive; font-weight: 400; color: var(--rood); line-height: 1.2; margin: 0 0 .5em; text-shadow: 1px 1px 0 rgba(255,255,255,.5); }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-top: 1.4em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 99; }

/* ---------- header ---------- */
.kop { position: sticky; top: 0; z-index: 20; background: rgba(251, 230, 196, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--rood); }
.kop-in { max-width: var(--breed); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; }
.kop .logo img { height: 62px; width: auto; }
.menu-knop { display: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; justify-content: flex-end; }
.nav a { display: block; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--tekst); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.nav a:hover { background: rgba(200, 22, 29, .1); color: var(--rood); }
.nav .actief a { background: var(--rood); color: #fff; }
.nav .taal a { border: 2px solid var(--rood); color: var(--rood); padding: 4px 11px; }
.nav .taal a:hover { background: var(--rood); color: #fff; }

@media (max-width: 1080px) {
	.kop-in { flex-wrap: wrap; }
	.menu-knop { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; background: var(--rood); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: 700 .95rem "Nunito Sans", sans-serif; cursor: pointer; }
	.nav { display: none; width: 100%; margin: 0; }
	.kop.open .nav { display: block; }
	.nav ul { flex-direction: column; gap: 2px; padding: 6px 0 10px; }
	.nav a { font-size: 1rem; padding: 10px 14px; border-radius: 10px; }
	.kop .logo img { height: 50px; }
}

/* ---------- ornament-lijst ---------- */
.lijst { position: relative; }
.lijst > .h1 { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.lijst::before, .lijst::after, .lijst > .h1::before, .lijst > .h1::after { content: ""; position: absolute; width: 64px; height: 64px; background: url("assets/img/hoek.svg") no-repeat center / contain; pointer-events: none; }
.lijst::before { top: 10px; left: 10px; }
.lijst::after { top: 10px; right: 10px; transform: scaleX(-1); }
.lijst > .h1::before { bottom: 10px; left: 10px; transform: scaleY(-1); }
.lijst > .h1::after { bottom: 10px; right: 10px; transform: scale(-1, -1); }

/* ---------- hero (home) ---------- */
.hero { max-width: var(--breed); margin: 34px auto 0; padding: 0 20px; }
.hero-kaart { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--creme); border-radius: 22px; overflow: hidden; box-shadow: var(--schaduw); min-height: 460px; }
.hero-tekst { padding: 64px 40px 50px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-tekst .merk { width: min(320px, 80%); margin-bottom: 18px; }
.hero-tekst h1 { margin-bottom: .3em; }
.hero-tekst .lead { font-size: 1.15rem; color: var(--tekst-zacht); max-width: 30em; }
.hero-beeld { position: relative; background: url("assets/img/bloesem.jpg") center / cover; }
.hero-beeld img { position: absolute; bottom: 0; right: 10%; width: 62%; max-width: 300px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.knop { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--rood); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(200, 22, 29, .7); transition: transform .15s; }
.knop:hover { color: #fff; background: var(--rood-donker); transform: translateY(-1px); }
.knop.licht { background: #fff; color: var(--rood); box-shadow: inset 0 0 0 2px var(--rood); }
.knop.licht:hover { background: var(--rood); color: #fff; }

@media (max-width: 860px) {
	.hero-kaart { grid-template-columns: 1fr; }
	.hero-tekst { padding: 54px 28px 34px; }
	.hero-beeld { min-height: 300px; }
	.hero-beeld img { width: 46%; right: 50%; transform: translateX(50%); }
}

/* ---------- infobalk + teasers ---------- */
.info { max-width: var(--breed); margin: 22px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info > div { background: var(--rood); color: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--schaduw); }
.info strong { display: block; font-family: "Kaushan Script", cursive; font-weight: 400; font-size: 1.35rem; margin-bottom: 4px; }
.info a { color: #fff; }
.teasers { max-width: var(--breed); margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teaser { background: var(--creme); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); text-decoration: none; color: var(--tekst); display: flex; flex-direction: column; transition: transform .2s; }
.teaser:hover { transform: translateY(-3px); color: var(--tekst); }
.teaser img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.teaser div { padding: 18px 22px 22px; }
.teaser h3 { margin-bottom: .2em; }
.teaser p { margin: 0; color: var(--tekst-zacht); font-size: .98rem; }
@media (max-width: 860px) { .info, .teasers { grid-template-columns: 1fr; } }

/* ---------- gewone pagina ---------- */
.pagina { max-width: 940px; margin: 34px auto 0; padding: 0 20px; }
.blad { background: var(--creme); border-radius: 22px; box-shadow: var(--schaduw); padding: 70px 72px 80px; position: relative; overflow: hidden; }
.blad .lotus { position: absolute; left: 0; bottom: 0; width: 170px; opacity: .9; pointer-events: none; }
.blad .inhoud { position: relative; z-index: 1; }
.blad .inhoud > :last-child { margin-bottom: 0; }
.blad.met-lotus { padding-bottom: 150px; }
@media (max-width: 700px) {
	body { font-size: 17px; }
	.blad { padding: 58px 24px 64px; }
	.blad.met-lotus { padding-bottom: 130px; }
	.lijst::before, .lijst::after, .lijst > .h1::before, .lijst > .h1::after { width: 42px; height: 42px; }
	.blad .lotus { width: 120px; }
}

/* inhoudsblokken */
.portret-rechts { float: right; width: 200px; margin: 0 0 18px 28px; border-radius: 16px; box-shadow: var(--schaduw); }
@media (max-width: 600px) { .portret-rechts { float: none; margin: 0 auto 20px; } }
.prijzen { display: grid; gap: 14px; margin: 10px 0 26px; }
.prijs { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 22px; align-items: baseline; background: #fff; border-radius: 12px; padding: 16px 22px; border-left: 5px solid var(--rood); }
.prijs b { font-size: 1.08rem; }
.prijs small { grid-column: 1 / -1; color: var(--tekst-zacht); margin-top: -6px; }
.prijs .duur { color: var(--tekst-zacht); white-space: nowrap; }
.prijs .bedrag { font-family: "Kaushan Script", cursive; color: var(--rood); font-size: 1.5rem; white-space: nowrap; }
@media (max-width: 520px) { .prijs { grid-template-columns: 1fr auto; } .prijs b { grid-column: 1 / -1; } }
.fotorij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.fotorij img { border-radius: 12px; aspect-ratio: 26 / 30; object-fit: cover; width: 100%; box-shadow: var(--schaduw); }
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 18px 0 30px; }
.galerij a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--schaduw); background: #fff; }
.galerij img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.galerij a:hover img { transform: scale(1.05); }
.salon { display: grid; gap: 22px; margin: 18px 0 10px; }
.salon figure { margin: 0; }
.salon img { border-radius: 14px; box-shadow: var(--schaduw); width: 100%; }
.salon figcaption { margin-top: 8px; color: var(--tekst-zacht); font-style: italic; }
.tijden { border-collapse: collapse; margin: 0 0 22px; }
.tijden td { padding: 6px 26px 6px 0; vertical-align: top; }
.tijden td:last-child { font-weight: 700; }
.kaart-blok { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--schaduw); margin: 10px 0 18px; }
.contactlijst { list-style: none; padding: 0; margin: 0 0 22px; }
.contactlijst li { padding: 4px 0; }
.contactlijst span { display: inline-block; min-width: 7.5em; color: var(--tekst-zacht); }
.opmerking { background: var(--abrikoos-licht); border-radius: 12px; padding: 14px 20px; }
.fgff-logo { width: 230px; float: right; margin: 0 0 16px 24px; }
.fgff-lijst { columns: 2; padding-left: 1.2em; }
@media (max-width: 600px) { .fgff-logo { float: none; margin: 0 auto 16px; } .fgff-lijst { columns: 1; } }
.terug { margin-top: 28px; }

/* ---------- footer ---------- */
.voet { margin-top: 60px; background: var(--rood-donker); color: #f8e3c8; }
.voet-in { max-width: var(--breed); margin: 0 auto; padding: 38px 20px 26px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.voet h3 { color: #fff; text-shadow: none; font-size: 1.35rem; }
.voet a { color: #fff; }
.voet p { margin: 0 0 .4em; }
.voet .klein { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; font-size: .88rem; opacity: .8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .voet-in { grid-template-columns: 1fr; } }
