/* Bloemenshop 't Haasje, Den Haag - demo door Reflow Automations */
:root {
  --dark: #2a1a1d;         /* diep bordeaux-zwart (hero-donker, reviews, footer) */
  --wine: #7a2a3a;         /* bordeaux primair (knoppen) */
  --wine-soft: #9c4256;
  --marigold: #d98e2b;     /* marigold-accent */
  --marigold-deep: #b8721c;
  --cream: #faf3e7;
  --cream-deep: #efe1cb;
  --ink: #2b211d;
  --muted: #6b5c52;
  --blush: #f2cf9b;
  --maxw: 1160px;
  --radius: 18px;
  --shadow: 0 18px 44px rgba(42,26,29,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { font-family: "Karla", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.08; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .5em; letter-spacing: -.01em; }
h2 em { font-style: italic; color: var(--marigold-deep); }
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
img { max-width: 100%; display: block; }
a { color: var(--wine); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 700; color: var(--marigold-deep); margin-bottom: .9rem; }
.center { text-align: center; }
.center.eyebrow, .center h2 { margin-left: auto; margin-right: auto; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem; }
.lede { font-size: 1.12rem; max-width: 60ch; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--wine); color: #fff; padding: .9rem 1.7rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; cursor: pointer; border: none; transition: transform .18s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--wine-soft); box-shadow: 0 10px 24px rgba(122,42,58,.25); }
.btn--accent { background: var(--marigold); color: var(--dark); }
.btn--accent:hover { background: var(--marigold-deep); color: #fff; }
.btn--ghost { background: transparent; border: 1.6px solid rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--small { padding: .55rem 1.2rem; font-size: .85rem; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.5rem; background: rgba(250,243,231,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(42,26,29,.08); }
.nav__brand { font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.01em; display: flex; align-items: center; gap: .55rem; }
.nav__brand svg { color: var(--marigold-deep); flex: none; }
.nav__links { display: flex; gap: 1.7rem; align-items: center; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; transition: color .2s ease; }
.nav__links a:hover, .nav__links a.active { color: var(--marigold-deep); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: .3rem; }

/* HERO (robuuste split: tekst-kolom + foto-kolom met absolute <img>) */
.hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 82vh; background: var(--dark); color: #fff; overflow: hidden; }
.hero__content { display: flex; align-items: center; align-self: stretch; padding: 3.5rem clamp(1.75rem, 4.6vw, 4.75rem); }
.hero__inner { max-width: 41rem; width: 100%; }
.hero__photo { position: relative; align-self: stretch; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--dark) 0%, rgba(42,26,29,0) 26%); }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .24em; font-weight: 700; font-size: .8rem; color: var(--blush); margin-bottom: 1.1rem; }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; margin-bottom: .32em; font-weight: 600; }
.hero__title em { font-style: italic; color: var(--blush); }
.hero__tagline { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 44ch; margin-bottom: 2rem; color: #f1e6d8; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__rating { display: flex; align-items: center; gap: .6rem; margin-top: 1.9rem; font-size: .92rem; color: #f1e6d8; font-weight: 500; }
.hero__stars { color: var(--marigold); letter-spacing: .1em; }

/* OVER */
.over { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.over__media { position: relative; }
.over__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.over__badge { position: absolute; bottom: -22px; right: -10px; background: var(--marigold); color: var(--dark); border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow); text-align: center; line-height: 1.1; }
.over__badge strong { font-family: "Playfair Display", serif; font-size: 1.9rem; display: block; }
.over__badge span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.usps { list-style: none; margin-top: 1.6rem; display: grid; gap: .85rem; }
.usps li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.usps svg { flex: none; color: var(--marigold-deep); margin-top: 3px; }

/* SECTION HEADINGS */
.sec-head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.sec-head p { margin-top: .4rem; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: 0 10px 30px rgba(42,26,29,.06); border: 1px solid rgba(42,26,29,.05); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; color: var(--wine); margin-bottom: 1rem; }
.card h3 { color: var(--wine); margin-bottom: .35rem; }
.card p { font-size: .95rem; }

/* GALLERY (gebalanceerd, gelijk raster) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1.4rem 1.2rem .9rem; color: #fff; font-family: "Playfair Display", serif; font-size: 1.1rem; background: linear-gradient(transparent, rgba(24,15,17,.78)); }

/* SPLIT (gelegenheden detail) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.split:last-child { margin-bottom: 0; }
.split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.split--rev .split__media { order: 2; }

/* REVIEWS */
.reviews { background: var(--dark); color: #f3efe5; border-radius: 28px; max-width: var(--maxw); margin: 0 auto; }
.reviews .eyebrow { color: var(--blush); }
.reviews h2 { color: #fff; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.7rem; }
.review__stars { color: var(--marigold); letter-spacing: .12em; margin-bottom: .7rem; font-size: .95rem; }
.review p { color: #ece6da; font-style: italic; margin-bottom: 1rem; }
.review cite { font-weight: 700; font-style: normal; color: #fff; }

/* CTA BAND */
.cta-band { background: var(--marigold); color: var(--dark); }
.cta-band__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 4.5rem) 1.5rem; text-align: center; }
.cta-band h2 { color: var(--dark); }
.cta-band p { color: #4a3520; max-width: 50ch; margin: 0 auto 1.8rem; }
.cta-band .btn { background: var(--dark); color: #fff; }
.cta-band .btn:hover { background: var(--wine); color: #fff; }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__line { font-size: 1.05rem; margin-bottom: .55rem; display: flex; gap: .65rem; align-items: center; color: var(--ink); }
.contact__line svg { flex: none; color: var(--marigold-deep); }
.contact__line a { color: var(--ink); text-decoration: none; }
.contact__line a:hover { color: var(--wine); }
.hours { list-style: none; margin: 1rem 0 1.6rem; }
.hours li { display: flex; justify-content: space-between; padding: .58rem .2rem; border-bottom: 1px solid rgba(42,26,29,.1); font-size: .98rem; }
.hours span:first-child { font-weight: 600; }
.hours li.today { background: rgba(217,142,43,.15); margin: 0 -.6rem; padding: .58rem .6rem; border-radius: 9px; border-bottom-color: transparent; }
.hours li.today span { color: var(--marigold-deep); font-weight: 700; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 10px 30px rgba(42,26,29,.06); }

/* FORMS (demo) */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: .9rem; display: grid; gap: .35rem; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid rgba(42,26,29,.16); border-radius: 11px; background: var(--cream); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--marigold-deep); box-shadow: 0 0 0 3px rgba(217,142,43,.18); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; background: #f3e9d8; border: 1px solid var(--marigold); color: var(--marigold-deep); padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }
.form-success.show { display: block; }
.form-note { font-size: .82rem; color: var(--muted); }

/* PAGE HEADER (subpagina's) */
.pagehead { position: relative; min-height: 46vh; display: flex; align-items: center; color: #fff; padding: 6rem 1.5rem 4rem; background-size: cover; background-position: center; }
.pagehead__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,15,17,.86) 0%, rgba(24,15,17,.58) 62%, rgba(24,15,17,.42) 100%); }
.pagehead__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.pagehead .eyebrow { color: var(--blush); }
.pagehead h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: .4rem; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.pagehead__sub { max-width: 52ch; color: #f2e8db; font-size: 1.08rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

/* FOOTER */
.footer { background: var(--ink); color: #ded6ce; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 3.5rem 1.5rem 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand { font-family: "Playfair Display", serif; font-size: 1.6rem; color: #fff; margin-bottom: .6rem; }
.footer p { color: #bfb6ac; font-size: .95rem; }
.footer h4 { color: #fff; font-family: "Karla", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .9rem; font-weight: 700; }
.footer__nav { list-style: none; display: grid; gap: .5rem; }
.footer__nav a { color: #d3cac0; text-decoration: none; font-size: .95rem; }
.footer__nav a:hover { color: var(--blush); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { font-size: .82rem; color: #9c948b; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* CHATBOT */
#reflow-chat { position: fixed; bottom: 22px; right: 22px; z-index: 100; font-family: "Karla", sans-serif; }
#reflow-chat-toggle { width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--wine); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; transition: transform .18s ease, background .2s ease; }
#reflow-chat-toggle:hover { transform: translateY(-2px); background: var(--wine-soft); }
#reflow-chat-panel { position: absolute; bottom: 74px; right: 0; width: 340px; max-width: 80vw; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; border: 1px solid rgba(42,26,29,.08); }
#reflow-chat-panel[hidden] { display: none; }
#reflow-chat-head { background: var(--wine); color: #fff; padding: 1rem 1.2rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
#reflow-chat-log { height: 280px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; background: var(--cream); }
.rc-msg { padding: .6rem .85rem; border-radius: 13px; max-width: 86%; line-height: 1.5; }
.rc-bot { background: #fff; align-self: flex-start; border: 1px solid rgba(42,26,29,.08); color: var(--ink); }
.rc-user { background: var(--wine); color: #fff; align-self: flex-end; }
#reflow-chat-form { display: flex; border-top: 1px solid #eee; background: #fff; }
#reflow-chat-input { flex: 1; border: none; padding: .85rem 1rem; font: inherit; outline: none; background: #fff; color: var(--ink); }
#reflow-chat-form button { border: none; background: var(--wine); color: #fff; width: 48px; font-size: 1.3rem; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .over { grid-template-columns: 1fr; }
  .over__media { max-width: 460px; margin: 0 auto 1.5rem; }
  .over__badge { right: 10px; }
  .reviews__grid, .contact { grid-template-columns: 1fr; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { max-width: 460px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
/* HERO mobiel/tablet: foto fullscreen + donkere scrim + tekst in frosted donker vlak (leesbaar, 1 scherm) */
@media (max-width: 860px) {
  .nav__links { position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(250,243,231,.98); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(42,26,29,.08); padding: .5rem 1.2rem 1rem; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .7rem .2rem; border-bottom: 1px solid rgba(42,26,29,.06); }
  .nav__links a.btn { margin-top: .7rem; justify-content: center; border-bottom: none; }
  .nav__toggle { display: inline-flex; }

  .hero { display: block; position: relative; min-height: 92vh; }
  .hero__photo { position: absolute; inset: 0; }
  .hero__photo::after { background: linear-gradient(to top, rgba(24,15,17,.92) 0%, rgba(24,15,17,.66) 40%, rgba(24,15,17,.5) 66%, rgba(24,15,17,.64) 100%); }
  .hero__content { position: relative; z-index: 2; min-height: 92vh; align-items: center; padding: 2.2rem 1.1rem; text-align: center; }
  .hero__inner { margin: 0 auto; max-width: 33rem; background: rgba(24,15,17,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 1.7rem 1.4rem 1.9rem; }
  .hero__title { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
  .hero__tagline { margin: 0 auto 1.6rem; color: #f3ece2; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
  .hero__cta { justify-content: center; }
  .hero__rating { justify-content: center; margin-top: 1.5rem; }
  /* chatbot bijna full-width op mobiel */
  #reflow-chat-panel { width: calc(100vw - 24px); right: 0; left: auto; max-width: none; }
  #reflow-chat-log { height: 58vh; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
