/* D-PARK | Delouya - static site styles
   Desktop measurements follow the original 1920px Wix canvas (980px content column). */

/* ---------- fonts ---------- */
@font-face { font-family: "Mikhmoret Rounded"; src: url("../fonts/mikhmoret-rounded-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Mikhmoret Rounded"; src: url("../fonts/mikhmoret-rounded-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mikhmoret Rounded"; src: url("../fonts/mikhmoret-rounded-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Almoni Tzar"; src: url("../fonts/almoni-tzar-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Against"; src: url("../fonts/against-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- tokens & base ---------- */
:root {
  --green: #04302c;
  --accent: #c47f5a; /* the design's #ce8e6e, a little darker in the same hue: text in it reaches 3:1 on white (WCAG AA, large text) */
  --olive: #3a5c2e;
  --ink: #292929;
  --card: #fafafa;
  --font: "Mikhmoret Rounded", "Arial Hebrew", Arial, sans-serif;
  --container: 980px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: calc(20px * var(--a11y-scale, 1)); line-height: 1.4; color: var(--ink); background: #fff; overflow-x: clip; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
picture { display: block; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; inset-inline-start: 12px; z-index: 100; padding: 10px 18px; background: #fff; color: var(--green); font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.gap { height: 1.4em; }

/* accent rule above a heading */
.ruled::before { content: ""; display: block; width: 147px; height: 2px; margin-bottom: 22px; background: var(--accent); }

/* ---------- home hero ---------- */
.hero { position: relative; height: clamp(290px, 75.3vw, 570px); overflow: hidden; background: var(--green); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 100%; }
.hero__bsd { position: absolute; top: 32px; inset-inline-start: clamp(18px, 4.53vw, 87px); color: #fff; }
.hero__logo { position: absolute; top: 24.5%; left: 50%; height: 52.5%; aspect-ratio: 426 / 681; transform: translateX(-50%); }
.hero__logo img { width: 100%; height: 100%; }

/* ---------- dark intro block (home + plot pages) ---------- */
.intro { position: relative; overflow-x: clip; background: var(--green); color: #fff; }
.intro__inner { position: relative; z-index: 2; min-height: 380px; padding-block: 52px 60px; }
.intro__title { font-size: calc(40px * var(--a11y-scale, 1)); line-height: 1.4; font-weight: 700; }
.intro__text { max-width: 697px; }
/* leaf line-art: sizes and offsets measured on the original (it pokes 10px above the section) */
.intro__leaf { position: absolute; z-index: 1; top: -10px; left: max(-40px, calc(50% - 531px)); width: 291px; height: 340px; overflow: hidden; pointer-events: none; }
.intro__leaf img { width: 100%; margin-top: -29px; }

.intro--plot .intro__inner { min-height: 0; padding-block: 60px 68px; text-align: center; }
.intro--plot .intro__title { margin-bottom: 9px; }
.intro--plot .ruled::before { margin-inline: auto; margin-bottom: 29px; }
.intro--plot p { max-width: var(--text-w, 697px); margin-inline: auto; }
.intro--plot .intro__leaf { top: -4px; left: max(-40px, calc(50% - 608px)); width: 283px; height: 360px; }
.intro--plot .intro__leaf img { margin-top: 0; }

/* ---------- "feel the style" band ---------- */
.feel { display: grid; place-items: center; height: 477px; padding-inline: var(--gutter); background: var(--green) url("../img/home/foliage-1600.webp") center / cover no-repeat; }
.feel__title { font-family: "Against", "Times New Roman", serif; font-size: calc(64px * var(--a11y-scale, 1)); line-height: 1.4; font-weight: 400; color: #fff; text-align: center; }

/* ---------- plots strip ---------- */
.plots { padding-top: 37px; background: #fff; }
.plots__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plot-card__link { display: block; color: var(--green); text-decoration: none; }
.plot-card__title { margin-bottom: 15px; font-size: calc(35px * var(--a11y-scale, 1)); line-height: 1.4; font-weight: 700; text-align: center; }
.plot-card__title span { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.plot-card__media { position: relative; display: block; height: 215px; overflow: hidden; background: var(--card); }
.plot-card__media picture, .plot-card__media img { width: 100%; height: 100%; }
.plot-card__media img { object-fit: cover; }
.badge { position: absolute; top: 24px; left: 15px; display: grid; place-items: center; min-width: 115px; height: 40px; padding-inline: 14px; background: var(--accent); color: #fff; font-size: calc(20px * var(--a11y-scale, 1)); font-weight: 700; letter-spacing: .14em; line-height: 1; }

.leaf-strip { height: 98px; background: url("../img/decor/leaf-strip.webp") center / 1837px auto no-repeat; }
.leaf-strip--home { height: 89px; background-image: url("../img/decor/leaf-strip-home.webp"); background-size: 1803px auto; }
.leaf-strip--mobile { display: none; }

.banner { height: 383px; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- plot page: gallery ---------- */
.gallery { position: relative; height: clamp(234px, 60vw, 630px); overflow: hidden; background: var(--card); touch-action: pan-y; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.gallery__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.gallery__slide picture, .gallery__slide img { width: 100%; height: 100%; }
.gallery__slide img { object-fit: cover; }
.gallery.is-ready .gallery__slide { cursor: pointer; }
.gallery__controls { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: none; gap: 8px; direction: ltr; opacity: 0; transition: opacity .25s ease; }
.gallery:hover .gallery__controls, .gallery:focus-within .gallery__controls { opacity: 1; }
.gallery__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(4, 48, 44, .62); color: #fff; cursor: pointer; }
.gallery__btn:hover { background: rgba(4, 48, 44, .9); }
.gallery__btn--prev svg { transform: scaleX(-1); }
.gallery__btn .icon-play, .gallery__btn[aria-pressed="true"] .icon-pause { display: none; }
.gallery__btn[aria-pressed="true"] .icon-play { display: block; }
.gallery.is-ready .gallery__controls { display: flex; }

/* ---------- plot page: enlarged gallery view (layout and colour follow the original "expand mode") ---------- */
.has-lightbox { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #e4f6d4; color: var(--green); }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: #e4f6d4; }
.lightbox__stage { position: absolute; inset: 96px 90px 95px; outline: 0; touch-action: pan-y; }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.lightbox__btn[hidden] { display: none; }
.lightbox__fs { top: 22px; left: 26px; }
.lightbox__close { top: 26px; right: 22px; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -28px; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 17px; }
.lightbox__close .icon-back { display: none; }

/* ---------- plot page: location ---------- */
.location { display: grid; grid-template-columns: 1fr 1fr; direction: ltr; background: #fff; }
.location > * { direction: rtl; }
.location__text { display: flex; align-items: center; justify-content: center; min-height: 513px; padding: 40px var(--gutter); }
.location__inner { width: min(100%, 492px); }
.location__title { font-size: calc(31px * var(--a11y-scale, 1)); line-height: 1.4; font-weight: 700; color: var(--olive); }
.location__sub { margin-top: 2px; font-size: calc(31px * var(--a11y-scale, 1)); line-height: 1.4; color: var(--accent); }
.location__inner p:not(.location__sub) { margin-top: 10px; color: var(--olive); }
.location__icons { width: min(100%, 434px); margin-top: 13px; }
.location__icons img { width: 100%; aspect-ratio: 434 / 87; object-fit: cover; }
.location__media { position: relative; min-height: 513px; background: #757575; }
.location__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- plot page: downloads ---------- */
.downloads { padding-bottom: 22px; background: #fff; }
.downloads__list { display: flex; justify-content: center; gap: 40px; margin-top: 38px; direction: ltr; }
.download { display: flex; flex-direction: column; align-items: center; gap: 21px; direction: rtl; color: var(--accent); font-size: calc(24px * var(--a11y-scale, 1)); /* 22px in the design; 24px counts as large text, so the accent colour is enough contrast */ line-height: 1.4; text-decoration: none; }
.download__icon { display: grid; place-items: center; width: 69px; height: 69px; background: var(--green); color: #fff; transition: background-color .2s ease; }
.download__icon svg { width: 36px; height: 36px; }
.download:hover .download__icon { background: #0a4a44; }
.download:hover .download__label { text-decoration: underline; }

/* ---------- contact form + footer links ---------- */
.contact { padding: 61px var(--gutter) 21px; background: var(--green); color: #fff; }
.lead-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 19px; width: 439px; max-width: 100%; margin-inline: auto; }
.field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.field--name, .field--phone { flex: 0 0 210px; }
.field--email { flex: 0 0 273px; }
.field label { font-size: calc(20px * var(--a11y-scale, 1)); line-height: 1; }
.field input { width: 100%; height: 33px; padding: 0 2px; border: 0; border-bottom: 2px solid #fff; border-radius: 0; background: transparent; color: #fff; font-size: calc(18px * var(--a11y-scale, 1)); }
.field input:focus-visible { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.field input[aria-invalid="true"] { border-bottom-color: #ffb4a8; }
.field--phone input { direction: ltr; text-align: right; }
.lead-form__submit { flex: 0 0 147px; height: 42px; border: 0; border-radius: 0; background: #fff; color: var(--green); font-size: calc(16px * var(--a11y-scale, 1)); font-weight: 700; cursor: pointer; transition: background-color .2s ease; }
.lead-form__submit:hover { background: #e9efe9; }
.lead-form__submit[disabled] { opacity: .6; cursor: progress; }
.lead-form__trap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.lead-form__status { flex: 0 0 100%; font-size: calc(18px * var(--a11y-scale, 1)); text-align: center; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-error { color: #ffb4a8; }
.legal-links { display: flex; justify-content: center; gap: 31px; margin-top: 34px; }
.legal-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--accent); }
.contact--slim { padding-block: 26px; }
.contact--slim .legal-links { margin-top: 0; }

/* ---------- Delouya Group tab (fixed, links home) ---------- */
.brand-tab { position: fixed; left: 98px; bottom: 0; z-index: 20; display: grid; place-items: end center; width: 147px; height: 126px; padding-bottom: 20px; border-radius: 74px 74px 0 0 / 58px 58px 0 0; background: #fff; }
.brand-tab img { width: 127px; }

/* ---------- legal pages ---------- */
.topbar { display: flex; align-items: center; min-height: 54px; padding-inline: max(var(--gutter), calc(50% - var(--container) / 2)); background: var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .28); }
.topbar__home { color: #fff; font-size: calc(18px * var(--a11y-scale, 1)); text-decoration: none; }
.topbar__home::before { content: "\2192\00a0"; }
.topbar__home:hover { text-decoration: underline; }
.legal { background: #fff; }
.legal__inner { padding-block: 41px 90px; }
.legal__title { font-size: calc(40px * var(--a11y-scale, 1)); line-height: 1.2; font-weight: 700; color: #000; }
.legal__body { margin-top: 15px; font-weight: 300; overflow-wrap: anywhere; }
.legal__body h2 { font-size: inherit; line-height: inherit; font-weight: 700; }
.legal__body a { text-decoration: none; }
.legal__body u a, .legal__body a:hover { text-decoration: underline; }
.page-legal--accessibility .legal__inner { padding-top: 56px; }
.page-legal--accessibility .legal__title { font-family: "Almoni Tzar", var(--font); font-size: calc(50px * var(--a11y-scale, 1)); }
.page-legal--accessibility .legal__body { margin-top: 18px; color: #000; }
.page-404 .legal__inner { min-height: 46vh; }

/* ---------- parallax background on capable desktops ---------- */
@media (hover: hover) and (min-width: 1025px) {
  .feel { background-attachment: fixed; }
}
@media (min-width: 1700px), (min-width: 900px) and (min-resolution: 1.5dppx) {
  .feel { background-image: url("../img/home/foliage-2400.webp"); }
}

/* ---------- narrow desktop / tablet landscape ---------- */
@media (max-width: 1180px) and (min-width: 900px) {
  .intro__leaf { width: 250px; left: -30px; }
  .intro--plot .intro__leaf { width: 240px; left: -30px; }
  .intro__text { max-width: min(697px, 100% - 210px); }
  .intro--plot p { max-width: min(var(--text-w, 697px), 100% - 300px); }
  .brand-tab { left: 24px; }
  .plot-card__title { font-size: calc(30px * var(--a11y-scale, 1)); }
}

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  body { font-size: calc(18px * var(--a11y-scale, 1)); }

  .hero__bsd { top: 22px; }
  .hero__logo { height: 62.6%; }

  .intro__inner { min-height: 0; padding-block: 44px 28px; }
  .intro__title { font-size: calc(28px * var(--a11y-scale, 1)); }
  .intro__text { max-width: none; }
  .intro__leaf, .intro--plot .intro__leaf { top: 0; left: 0; width: 31.5vw; max-width: 170px; height: 28.5vw; max-height: 154px; overflow: hidden; }
  .intro__leaf img, .intro--plot .intro__leaf img { height: 100%; margin-top: 0; object-fit: cover; }
  .intro--plot .intro__inner { padding-block: 86px 44px; }
  .intro--plot p { font-size: calc(20px * var(--a11y-scale, 1)); }

  .feel { height: 39vw; min-height: 150px; background-image: url("../img/home/foliage-960.webp"); }
  .feel__title { max-width: 6.5em; font-size: calc(clamp(34px, 9vw, 52px) * var(--a11y-scale, 1)); }

  .plots { padding-top: 12px; }
  .plots__grid { grid-template-columns: 1fr; gap: 0; }
  .plot-card__title { margin: 14px 0 12px; font-size: calc(34px * var(--a11y-scale, 1)); }
  .plot-card__title span { padding-bottom: 4px; }
  .plot-card__media { height: auto; aspect-ratio: 16 / 9; }
  .badge { top: auto; bottom: 8.5%; left: 50%; min-width: 146px; height: 50px; font-size: calc(24px * var(--a11y-scale, 1)); transform: translateX(-50%); }

  .leaf-strip { height: 26.9vw; background-size: 105vw auto; }
  .leaf-strip--home { height: 17.5vw; margin-top: 46px; background-size: 111vw auto; }
  .leaf-strip--mobile { display: block; }
  .leaf-strip--desktop { display: none; }
  .banner { height: 29.7vw; }

  .gallery__controls { right: 10px; bottom: 10px; opacity: .92; }
  .lightbox__stage { inset: 73px 0 0; }
  .lightbox__img { height: auto; max-height: 100%; object-position: top; }
  .lightbox__fs, .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__close { top: 6px; right: auto; left: 6px; }
  .lightbox__close .icon-x { display: none; }
  .lightbox__close .icon-back { display: block; }
  .gallery__btn { width: 36px; height: 36px; }

  .location { display: block; }
  .location__text { min-height: 0; padding: 30px 24px 14px; }
  .location__inner { width: 100%; }
  .location__title, .location__sub { font-size: calc(25px * var(--a11y-scale, 1)); }
  .location__inner p:not(.location__sub) { font-size: calc(20px * var(--a11y-scale, 1)); }
  .location__icons { width: min(100%, 434px); margin-top: 22px; }
  .location__media { min-height: 0; aspect-ratio: 16 / 13; margin-top: 18px; }

  .downloads { padding-bottom: 36px; }
  .downloads__list { flex-direction: column; align-items: center; gap: 22px; margin-top: 52px; }
  .download { gap: 12px; width: 50%; min-width: 190px; max-width: 240px; font-size: calc(24px * var(--a11y-scale, 1)); }
  .download__icon { width: 100%; height: 50px; }
  .download__icon svg { width: 32px; height: 32px; }

  .contact { padding: 58px 36px 34px; }
  .lead-form { flex-direction: column; align-items: stretch; gap: 30px; width: 100%; max-width: 420px; }
  .field--name, .field--phone, .field--email { flex: none; }
  .field { gap: 6px; }
  .field label { font-size: calc(18px * var(--a11y-scale, 1)); }
  .field input { height: 36px; }
  .lead-form__submit { flex: none; align-self: center; width: 108px; height: 40px; margin-top: 44px; font-size: calc(19px * var(--a11y-scale, 1)); }
  .legal-links { flex-direction: column-reverse; align-items: center; gap: 14px; margin-top: 28px; }
  .legal-links a { font-size: calc(22px * var(--a11y-scale, 1)); }
  .contact--slim { padding-block: 30px; }

  .brand-tab { position: absolute; top: 26px; left: 22px; bottom: auto; width: 74px; height: auto; padding: 0; border-radius: 0; background: none; }
  .brand-tab img { width: 100%; }
  .page-plot .brand-tab { top: 10px; left: 8px; }

  .topbar { min-height: 64px; }
  .legal__inner { padding-block: 30px 60px; }
  .legal__title, .page-legal--accessibility .legal__title { font-size: calc(32px * var(--a11y-scale, 1)); }
  .legal__body { font-size: calc(22px * var(--a11y-scale, 1)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .feel { background-attachment: scroll; }
}

@media print {
  .brand-tab, .gallery__controls, .contact, .skip-link { display: none !important; }
}

/* ---------- additions for d-park.co.il (24.11.2026) ---------- */
/* the note under the form: who gets the details, with a link to the privacy policy */
.lead-form__note { flex: 0 0 100%; font-size: calc(15px * var(--a11y-scale, 1)); line-height: 1.5; text-align: center; color: #dfe9e6; }
.lead-form__note a { color: #fff; text-underline-offset: 3px; }
.lead-form__note a:hover { color: var(--accent); }
/* WMG credit, from !static-websites/wmg-credit.css (dark footer colours) */
.site-credit { margin-top: 26px; text-align: center; line-height: 1; }
.contact--slim .site-credit { margin-top: 18px; }
.site-credit .wmg-credit { --wmg-main: #b9cbc6; --wmg-navy: #fff; --wmg-lime: #b8d431; }
.wmg-credit-link { display: inline-block; color: inherit; text-decoration: none; } .wmg-credit { --wmg-credit-size: 13px; --wmg-main: #111111; --wmg-navy: #24345d; --wmg-lime: #b8d431; display: inline-flex; align-items: baseline; white-space: nowrap; color: var(--wmg-main); font-family: Arial, Helvetica, sans-serif; font-size: var(--wmg-credit-size); font-weight: 700; line-height: 1.1; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .wmg-credit__char { display: inline-block; animation: wmgCreditCharIn 70ms ease-out both; } .wmg-credit__char--brand { font-weight: 900; letter-spacing: -0.02em; } .wmg-credit__char--navy { color: var(--wmg-navy); } .wmg-credit__char--lime { color: var(--wmg-lime); } .wmg-credit__char--pipe { margin-inline: 0.05em; } .wmg-credit__cursor { display: inline-block; width: 1px; height: 0.95em; margin-left: 2px; background: var(--wmg-navy); transform: translateY(0.12em); animation: wmgCreditBlink 0.68s steps(1, end) infinite; } .wmg-credit__cursor.is-done { animation: wmgCreditCursorOut 0.45s ease forwards; } @keyframes wmgCreditCharIn { from { opacity: 0; transform: translateY(1px); } to { opacity: 1; transform: translateY(0); } } @keyframes wmgCreditBlink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } } @keyframes wmgCreditCursorOut { from { opacity: 1; } to { opacity: 0; } } @media (max-width: 480px) { .wmg-credit { --wmg-credit-size: 12px; } } @media (prefers-reduced-motion: reduce) { .wmg-credit__char { animation: none; } .wmg-credit__cursor { display: none; } } .wmg-credit-link, .wmg-credit { direction: ltr; unicode-bidi: isolate; } .wmg-credit-link { display: inline-block; min-width: 0; } .wmg-credit-link::after { content: "Made With Passion By WMG | WMG.co.il"; display: block; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; font-family: Arial, Helvetica, sans-serif; font-size: var(--wmg-credit-size, 13px); font-weight: 700; white-space: nowrap; direction: ltr; }
@media print { .site-credit { display: none !important; } }
