/*
Theme Name: Jantje's Salon
Theme URI: https://jantjessalon.nl
Author: Daniel Hulsebosch
Description: Eén-op-één nabouw van de Wix-site "Jantje's Salon" (schoonheidssalon voor nagels en haar). Alle teksten en afbeeldingen van de homepage zijn aanpasbaar via Weergave > Customizer.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: jantje-salon
*/

:root {
  --js-bg: #fdecec;        /* pagina-achtergrond (Wix: rgb 253,236,236) */
  --js-bg-alt: #f5ece9;    /* sectie "De Salon Ervaring" (Wix: rgb 245,236,233) */
  --js-accent: #d8a398;    /* knop / kopjes tarieven (Wix: rgb 216,163,152) */
  --js-accent-dark: #c98f82;
  --js-text: #000000;
  --js-hero-title: #fdfbfb;
  --js-hero-btn-text: #fdecec;
  --js-font-head: 'Outfit', 'Arial', sans-serif;
  --js-font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --js-container: 1204px;
  --js-gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--js-bg);
  color: var(--js-text);
  font-family: var(--js-font-body);
  font-size: 17.8px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--js-font-head); font-weight: 700; margin: 0; line-height: 1.08; }
p { margin: 0; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 1000; }

.js-container { max-width: calc(var(--js-container) + 2 * var(--js-gutter)); margin: 0 auto; padding: 0 var(--js-gutter); }

/* ---------- Header ---------- */
.js-header { background: var(--js-bg); }
.js-header__inner { display: flex; align-items: center; justify-content: space-between; height: 125px; }
.js-logo, .custom-logo-link { display: inline-flex; }
.js-logo img, .custom-logo-link img { width: 101px; height: 98px; object-fit: contain; }
.js-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.js-nav a { text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.js-nav a:hover, .js-nav .current-menu-item > a, .js-nav .current_page_item > a { color: var(--js-accent-dark); }

/* ---------- Hero ---------- */
.js-hero { padding: 47px 0 166px; }
.js-hero__box { position: relative; height: 712px; overflow: hidden; background: #d9c2bd; }
.js-hero__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js-hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 40px 0; }
.js-hero__title { color: var(--js-hero-title); font-size: clamp(38px, 5.56vw, 71.2px); line-height: 1; max-width: 724px; margin: 0 0 67px; }
.js-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--js-accent); color: var(--js-hero-btn-text);
  font-family: var(--js-font-body); font-size: 15.8px; line-height: 1.3;
  padding: 15.8px 31.6px; border-radius: 80px; border: 0; text-decoration: none;
  transition: background .2s ease, transform .2s ease; cursor: pointer;
}
.js-btn:hover { background: var(--js-accent-dark); transform: translateY(-1px); }
.js-hero .js-btn { width: min(100%, 794px); }

/* ---------- Salon Ervaring ---------- */
.js-about { background: var(--js-bg-alt); padding: 79px 0 196px; }
.js-about__grid { display: grid; grid-template-columns: 654px minmax(0, 1fr); gap: 45px; align-items: center; padding-left: 8px; }
.js-about__img { height: 815px; overflow: hidden; }
.js-about__img img { width: 100%; height: 100%; object-fit: cover; }
.js-about__text { max-width: 536px; margin-top: 118px; }
.js-about__title { font-size: 40px; margin-bottom: 24px; }
.js-about__body { max-width: 482px; font-size: 17.8px; line-height: 23.1px; }
.js-about__body p + p { margin-top: 23px; }

/* ---------- Tarieven ---------- */
.js-prices { padding: 80px 0; }
.js-prices__inner { max-width: 1000px; margin: 0 auto 0 129px; display: grid; grid-template-columns: minmax(0, 1fr) 424px; gap: 48px; align-items: start; }
.js-prices__title { font-size: 56px; line-height: 1; margin-bottom: 16px; }
.js-prices__intro { max-width: 528px; font-size: 17.8px; line-height: 23.1px; margin-bottom: 33px; }
.js-prices__cols { display: grid; grid-template-columns: 212px 212px; }
.js-prices__col h3 { color: var(--js-accent); font-size: 18px; margin-bottom: 20px; }
.js-prices__col ul { list-style: none; margin: 0; padding: 0; font-size: 13.8px; line-height: 18px; }
.js-prices__img { height: 529px; overflow: hidden; }
.js-prices__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Diensten ---------- */
.js-services { padding: 79px 0 171px; }
.js-services__title { font-size: 56px; line-height: 1; text-align: center; margin-bottom: 96px; }
.js-services__grid { display: flex; justify-content: space-between; gap: 40px; padding: 0 0 0 31px; }
.js-service { width: 313px; flex: 0 1 313px; text-align: center; }
.js-service__img { height: 389px; overflow: hidden; margin-bottom: 23px; }
.js-service__img img { width: 100%; height: 100%; object-fit: cover; }
.js-service h3 { font-size: 22px; line-height: 1.15; padding: 0 20px; margin-bottom: 38px; }
.js-service p { font-size: 13.8px; line-height: 18px; }

/* ---------- Footer ---------- */
.js-footer { background: var(--js-bg); min-height: 89px; display: flex; align-items: center; }
.js-footer__inner { font-size: 13px; text-align: center; width: 100%; color: #6b5a57; }

/* ---------- Blog / pagina's ---------- */
.js-page { padding: 40px 0 120px; }
.js-page__title { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin-bottom: 40px; }
.js-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.js-post-card { background: #fff7f7; }
.js-post-card__img { display: block; overflow: hidden; background: #efdcd8; }
.js-post-card__img img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; transition: transform .4s ease; }
.js-post-card:hover .js-post-card__img img { transform: scale(1.03); }
.js-post-card__body { padding: 24px; }
.js-post-card__meta { font-size: 13px; color: #6b5a57; margin-bottom: 10px; }
.js-post-card__title { font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
.js-post-card__title a { text-decoration: none; }
.js-post-card__title a:hover { color: var(--js-accent-dark); }
.js-post-card__excerpt { font-size: 15px; line-height: 1.4; }
.js-post-card__more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--js-accent-dark); text-decoration: none; font-weight: 600; }

.js-article { max-width: 760px; margin: 0 auto; }
.js-article__cover { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 40px; }
.js-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.js-article__meta { font-size: 14px; color: #6b5a57; margin-bottom: 16px; }
.js-article__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 32px; }
.js-content { font-size: 17.8px; line-height: 1.5; }
.js-content h2 { font-size: 28px; line-height: 1.1; margin: 40px 0 14px; }
.js-content h3 { font-size: 20px; line-height: 1.2; margin: 28px 0 10px; }
.js-content p { margin: 0 0 18px; }
.js-content ul, .js-content ol { margin: 0 0 18px; padding-left: 24px; }
.js-content li { margin-bottom: 8px; }
.js-content a { color: var(--js-accent-dark); }
.js-content img { margin: 24px 0; }
.js-content blockquote { border-left: 3px solid var(--js-accent); margin: 24px 0; padding: 4px 0 4px 20px; font-style: italic; }
.js-article__back { display: inline-block; margin-top: 48px; text-decoration: none; color: var(--js-accent-dark); font-weight: 600; }
.js-pagination { margin-top: 48px; display: flex; gap: 12px; justify-content: center; }
.js-pagination a, .js-pagination span { padding: 8px 14px; border-radius: 40px; text-decoration: none; background: #fff7f7; }
.js-pagination .current { background: var(--js-accent); color: #fff; }

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
  .js-about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .js-about__img { height: 600px; }
  .js-prices__inner { grid-template-columns: minmax(0, 1fr) 360px; margin: 0 auto; }
  .js-about__text { margin-top: 0; }
  .js-prices__img { height: 450px; }
  .js-services__grid { flex-wrap: wrap; justify-content: center; padding: 0; }
  .js-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --js-gutter: 16px; }
  .js-header__inner { height: 96px; }
  .js-logo img, .custom-logo-link img { width: 78px; height: 76px; }
  .js-nav ul { gap: 18px; }
  .js-hero { padding: 16px 0 72px; }
  .js-hero__box { height: 520px; }
  .js-hero__content { padding: 40px 20px 0; }
  .js-hero__title { margin-bottom: 40px; }
  .js-about { padding: 56px 0 80px; }
  .js-about__grid { grid-template-columns: 1fr; gap: 32px; padding-left: 0; }
  .js-about__img { height: auto; aspect-ratio: 4 / 5; }
  .js-about__title { font-size: 32px; }
  .js-prices { padding: 56px 0; }
  .js-prices__inner { grid-template-columns: 1fr; gap: 32px; }
  .js-prices__title, .js-services__title { font-size: 40px; }
  .js-prices__cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .js-prices__img { height: auto; aspect-ratio: 4 / 5; max-width: 424px; }
  .js-services { padding: 56px 0 80px; }
  .js-services__title { margin-bottom: 48px; }
  .js-service { flex-basis: 100%; max-width: 360px; }
  .js-posts { grid-template-columns: 1fr; }
}

/* =====================================================================
   Uitbreiding v1.1: menu met Instagram-icoon, mobiel menu, Instagram-raster,
   voet, contact- en inhoudspagina's (Gutenberg-blokken)
   ===================================================================== */

/* ---------- Menu ---------- */
.js-nav ul { align-items: center; gap: 28px; }
.js-nav__insta a { display: inline-flex; align-items: center; gap: 8px; color: var(--js-accent-dark); }
.js-nav__insta .js-nav__insta-label { display: none; }
.js-nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.js-nav-toggle__bar { display: block; width: 26px; height: 2px; background: #000; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }
.js-nav-toggle[aria-expanded="true"] .js-nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.js-nav-toggle[aria-expanded="true"] .js-nav-toggle__bar:nth-child(2) { opacity: 0; }
.js-nav-toggle[aria-expanded="true"] .js-nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.js-btn--outline { background: transparent; color: #000; box-shadow: inset 0 0 0 2px var(--js-accent); }
.js-btn--outline:hover { background: var(--js-accent); color: var(--js-hero-btn-text); }
.js-btn--whatsapp { background: #25d366; color: #fff; }
.js-btn--whatsapp:hover { background: #1fb457; }
.js-btn .js-icon { margin-right: 8px; }
.js-prices__more { margin-top: 36px; }

/* ---------- Instagram-strook / raster ---------- */
.js-insta { padding: 0 0 140px; }
.js-insta__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.js-insta__title { font-size: 40px; line-height: 1.1; margin-bottom: 16px; }
.js-insta__text { font-size: 17.8px; line-height: 23.1px; }
.js-insta-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.js-insta-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.js-insta-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.js-insta-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #efdcd8; text-decoration: none; color: #fff; }
.js-insta-item > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.js-insta-item:hover > img { transform: scale(1.04); }
.js-insta-item__caption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; font-size: 13.5px; line-height: 1.3; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); opacity: 0; transition: opacity .25s ease; }
.js-insta-item:hover .js-insta-item__caption, .js-insta-item:focus-visible .js-insta-item__caption { opacity: 1; }
.js-insta__more { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }
.js-content .js-insta-grid { margin: 24px 0 32px; }
.js-content .js-insta-item img { margin: 0; }

/* ---------- Voet ---------- */
.js-footer { padding: 36px 0; border-top: 1px solid rgba(216,163,152,.35); }
.js-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; font-size: 14px; color: #000; }
.js-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.js-footer__brand strong { font-family: var(--js-font-head); font-size: 18px; }
.js-footer__brand span { color: #6b5a57; }
.js-footer__social { display: flex; gap: 20px; }
.js-footer__social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--js-accent-dark); font-weight: 600; }
.js-footer__social a:hover { color: #000; }
.js-footer__copy { color: #6b5a57; font-size: 13px; }

/* ---------- Pagina's ---------- */
.js-article--page { max-width: 1000px; }
.js-article--wide { max-width: none; margin-bottom: 40px; }
.js-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.js-contact__tagline { font-size: 18px; color: var(--js-accent-dark); font-weight: 600; margin: -16px 0 24px; }
.js-contact__intro { font-size: 17.8px; line-height: 1.5; margin: 8px 0 28px; }
.js-contact__address { display: flex; gap: 14px; align-items: flex-start; background: #fff7f7; padding: 18px 20px; margin: 8px 0 24px; font-size: 16px; line-height: 1.5; }
.js-contact__address .js-icon { color: var(--js-accent-dark); flex: 0 0 auto; margin-top: 3px; }
.js-contact__address a { color: var(--js-accent-dark); font-weight: 600; text-decoration: none; }
.js-contact__address a:hover { text-decoration: underline; }
.js-footer__address { display: inline-flex; align-items: center; gap: 6px; color: #6b5a57; text-decoration: none; margin-top: 4px; }
.js-footer__address:hover { color: #000; }
.js-contact__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.js-contact__img { overflow: hidden; }
.js-contact__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Gutenberg-blokken in de inhoud ---------- */
.js-content .wp-block-columns { gap: 40px; margin: 24px 0 40px; }
.js-content .wp-block-column > :first-child { margin-top: 0; }
.js-content .wp-block-image { margin: 0 0 18px; }
.js-content .wp-block-image img { width: 100%; }
.js-content .wp-block-image figcaption { font-size: 13px; color: #6b5a57; text-align: center; margin-top: 8px; }
.js-content .wp-block-media-text { margin: 0 0 40px; gap: 40px; }
.js-content .wp-block-media-text__content { padding: 0; }
.js-content .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.js-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.js-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; background: var(--js-accent); color: var(--js-hero-btn-text); font-family: var(--js-font-body); font-size: 15.8px; padding: 15.8px 31.6px; border-radius: 80px; text-decoration: none; transition: background .2s ease; }
.js-content .wp-block-button__link:hover { background: var(--js-accent-dark); }
.js-content .is-style-outline .wp-block-button__link { background: transparent; color: #000; box-shadow: inset 0 0 0 2px var(--js-accent); }
.js-content .wp-block-table { margin: 0 0 32px; }
.js-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.js-content th, .js-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(216,163,152,.4); }
.js-content th { font-family: var(--js-font-head); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--js-accent-dark); }
.js-content td:last-child, .js-content th:last-child { text-align: right; white-space: nowrap; }
.js-content .js-pricetable td:first-child { width: 70%; }
.js-content .js-sub td:first-child { padding-left: 32px; }
.js-content .js-note { font-size: 14px; color: #6b5a57; }
.js-content .wp-block-separator { border: 0; border-top: 1px solid rgba(216,163,152,.5); margin: 40px 0; }
.js-content .js-lead { font-size: 20px; line-height: 1.45; }
/* ---------- Jouw afspraken (formulier) ---------- */
.js-afspraken { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.js-afspraken__form { background: #fff7f7; padding: 32px; border: 1px solid rgba(216,163,152,.35); position: sticky; top: 24px; }
.js-form__label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.js-form__input { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border: 2px solid rgba(216,163,152,.6); border-radius: 12px; background: #fff; margin-bottom: 16px; }
.js-form__input:focus { outline: none; border-color: var(--js-accent-dark); box-shadow: 0 0 0 3px rgba(216,163,152,.25); }
.js-form .js-btn { width: 100%; }
.js-form__note { font-size: 13.5px; color: #6b5a57; margin-top: 14px; line-height: 1.4; }
.js-form__note a { color: var(--js-accent-dark); font-weight: 600; text-decoration: none; }
.js-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.js-notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 15.5px; line-height: 1.45; }
.js-notice--ok { background: #e8f5ea; color: #1e5b2a; border: 1px solid #b9dfc0; }
.js-notice--fout { background: #fdeaea; color: #8a2b2b; border: 1px solid #f0c2c2; }
@media (max-width: 900px) { .js-afspraken { grid-template-columns: 1fr; gap: 32px; } .js-afspraken__form { position: static; } }

.js-handle { color: var(--js-accent-dark); font-weight: 600; text-decoration: none; }
.js-handle:hover { text-decoration: underline; }
.js-content [data-inagenda]:not([data-mode="popup"]) { min-height: 480px; margin: 24px 0 32px; }
.js-content [data-inagenda][data-mode="popup"] { margin: 8px 0 32px; }
.js-content [data-inagenda] iframe { width: 100%; border: 0; }

@media (max-width: 1100px) {
  .js-insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .js-contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .js-nav-toggle { display: block; position: relative; z-index: 30; }
  .js-nav { display: none; position: absolute; left: 0; right: 0; top: 96px; background: var(--js-bg); padding: 12px 16px 24px; border-bottom: 1px solid rgba(216,163,152,.4); z-index: 20; }
  .js-nav.is-open { display: block; }
  .js-header { position: relative; }
  .js-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js-nav li a { display: block; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid rgba(216,163,152,.25); }
  .js-nav__insta .js-nav__insta-label { display: inline; }
  .js-insta { padding-bottom: 72px; }
  .js-insta-grid, .js-insta-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .js-insta__title { font-size: 32px; }
  .js-footer__inner { flex-direction: column; align-items: flex-start; }
  .js-content .wp-block-columns { flex-direction: column; gap: 24px; }
  .js-content .wp-block-media-text { display: flex; flex-direction: column; gap: 20px; }
  .js-content .wp-block-media-text .wp-block-media-text__content { padding: 0; }
}
