/* הסקשנים של העמוד, לפי הסדר: הגעה, דלתון, הסוויטות, ארוחת בוקר, החצר, שעת זהב, לילה.
   --sc-p הוא ההתקדמות של כל סקשן (0 עד 1), והמנוע מעדכן אותו בזמן הגלילה. */

/* ================================================== צבע לכל סקשן
   כל סקשן מקבל גוון רגוע משלו מתוך החומרים של הסוויטות, כך שבכל גלילה מגיע צבע חדש:
   קרם (הגעה) → ורוד-יין עדין (דלתון) → טרוורטין (הסוויטות) → מרווה בהירה (ארוחת בוקר)
   → חול (החצר) → שקיעה (שעת זהב) → כחול לילה.
   כל הגוונים באותה בהירות, כך שהמעבר ביניהם רך ולא חד. */
.dalton, .suites, .breakfast, .grounds {
  position: relative; background: var(--surface); color: var(--on);
}
.dalton    { --prev: var(--cream);  --surface: #f0e2dd; --on: #4d3a3d; --heading: #5c2433; --accent-text: #8a4656; }
.suites    { --prev: #f0e2dd;       --surface: var(--stone); --on: var(--ink); --heading: var(--ink); --accent-text: var(--gold-text); }
.breakfast { --prev: var(--stone);  --surface: #e2e8df; --on: #3b4743; --heading: #2f5245; --accent-text: #2f5245; }
.grounds   { --prev: #e2e8df;       --surface: #e6d8bf; --on: var(--ink); --heading: var(--ink); --accent-text: #6b4e22; }
.dalton .display, .breakfast .display { color: var(--heading); }

/* מעבר הדרגתי ארוך בראש כל סקשן, מהגוון הקודם אל הנוכחי */
.dalton::before, .suites::before, .breakfast::before, .grounds::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: clamp(6rem, 18vw, 12rem); pointer-events: none;
  background: linear-gradient(to bottom, var(--prev), var(--surface));
}
.dalton > *, .suites > *, .breakfast > *, .grounds > * { position: relative; }

/* ================================================== 1 · הגעה */
/* רקע קרם כמו באתר הקודם. שלושה מישורים: הטקסט והלוגו, הקשתות עם התמונות,
   וקו זהב דק מאחורי כל קשת. כל אחד זז בקצב אחר בזמן הגלילה. */
.hero__stage {
  height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, #fdfaf4 0%, rgb(253 250 244 / 0) 70%),
    var(--cream);
}

.hero__copy {
  position: absolute; z-index: 2;
  top: calc(var(--bar-h) + clamp(1rem, 3.5svh, 2.5rem));
  inset-inline: clamp(1.25rem, 5vw, 4rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transform: translateY(calc(var(--sc-p, 0) * -9svh));
  opacity: calc(1 - var(--sc-p, 0) * 0.4);
}
.hero__logo { width: min(48vw, 25svh, 19rem); height: auto; margin-bottom: clamp(0.75rem, 2svh, 1.5rem); }
.hero__title { font-size: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem); line-height: 1; letter-spacing: 0.01em; color: var(--night); }
.hero__place { margin-top: 0.5rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gold-text); }
.hero__lead { margin-top: 0.9rem; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); max-width: 28ch; }
.hero__copy .actions { justify-content: center; margin-top: clamp(1.25rem, 3svh, 2rem); }

.hero__arch {
  position: absolute; z-index: 1; bottom: 0;
  width: 38vw; height: 34svh;
}
.hero__arch img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 2px 4px rgb(60 40 20 / 0.08), 0 22px 50px -18px rgb(60 40 20 / 0.4);
}
/* קו הזהב: מישור שלישי, מוסט מעט מהקשת וזז לאט יותר */
.hero__arch::before {
  content: ""; position: absolute; z-index: -1;
  inset: -0.7rem -0.7rem 0 -0.7rem;
  border: 1px solid var(--gold); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateY(calc(var(--sc-p, 0) * 5svh));
}
.hero__arch--start { inset-inline-start: 6vw; transform: translateY(calc((1 - var(--sc-p, 0)) * 14svh)); }
.hero__arch--start img { object-position: 64% 60%; }
.hero__arch--end { inset-inline-end: 6vw; transform: translateY(calc((1 - var(--sc-p, 0)) * 17svh)); }
.hero__arch--end img { object-position: 8% 60%; }

@media (max-height: 720px) and (max-width: 860px) {
  .hero__logo { width: min(40vw, 19svh); }
  .hero__arch--start { transform: translateY(calc((1 - var(--sc-p, 0)) * 23svh)); }
  .hero__arch--end { transform: translateY(calc((1 - var(--sc-p, 0)) * 26svh)); }
}

@media (min-width: 861px) {
  .hero__copy { top: 50%; translate: 0 -50%; inset-inline: 0; margin-inline: auto; max-width: min(36rem, 50vw); }
  .hero__logo { width: min(17rem, 30svh); }
  .hero__arch { width: min(20vw, 20rem); height: min(62svh, 34rem); bottom: 9svh; }
  .hero__arch--start { inset-inline-start: 5vw; transform: translateY(calc(var(--sc-p, 0) * -8svh)); }
  .hero__arch--end { inset-inline-end: 5vw; bottom: 15svh; transform: translateY(calc(var(--sc-p, 0) * -15svh)); }
  .hero__arch img { border-radius: 999px; }
  .hero__arch::before { inset: -0.8rem; border-bottom: 1px solid var(--gold); border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy, .hero__arch--start, .hero__arch--end, .hero__arch::before { transform: none; opacity: 1; }
  .hero__arch--start, .hero__arch--end { translate: 0 15svh; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 861px) {
  .hero__arch--start, .hero__arch--end { translate: none; }
}

/* ================================================== 2 · דלתון */
.dalton { padding-block: clamp(4rem, 10vw, 8rem); }
.dalton__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.dalton__text { display: grid; gap: 1.1rem; }
.dalton__text .lead { max-width: 40ch; }
.dalton__view img { width: 100%; height: auto; aspect-ratio: 1000 / 650; object-fit: cover; border-radius: var(--radius); box-shadow: 0 4px 8px rgb(60 40 20 / 0.08), 0 22px 48px -18px rgb(60 40 20 / 0.38); }

.breeze { display: flex; flex-wrap: wrap; gap: 0.3em 0.6em; margin-top: 0.8rem; font-family: var(--sc-font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--accent-text); line-height: 1.1; }
.breeze span { display: inline-block; transform-origin: 50% 100%; will-change: transform; }

@media (min-width: 861px) {
  .dalton__grid { grid-template-columns: 5fr 6fr; }
}

/* ================================================== 3 · הסוויטות */
.suites { padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 9vw, 7rem); }
.suites__title { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.suite + .suite { margin-top: clamp(4rem, 10vw, 8rem); }
.suite__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.suite__lead-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.suite__lead img { width: 100%; height: auto; aspect-ratio: 1000 / 650; object-fit: cover; border-radius: var(--radius); box-shadow: 0 4px 8px rgb(60 40 20 / 0.08), 0 22px 48px -18px rgb(60 40 20 / 0.4); }
.suite__text { display: grid; gap: 1.1rem; justify-items: start; }
.suite__name { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.suite__text p { max-width: 38ch; font-size: 1.15rem; }

@media (min-width: 861px) {
  .suite__grid { grid-template-columns: 7fr 5fr; }
  .suite--flip .suite__grid { grid-template-columns: 5fr 7fr; }
  .suite--flip .suite__lead { order: 2; }
}

/* ================================================== 4 · ארוחת בוקר */
.breakfast { padding-block: clamp(4rem, 9vw, 7.5rem); }
.breakfast__grid { display: grid; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.breakfast__photo img { width: 100%; height: auto; aspect-ratio: 958 / 638; object-fit: cover; border-radius: var(--radius); box-shadow: 0 4px 8px rgb(60 40 20 / 0.08), 0 22px 48px -18px rgb(60 40 20 / 0.38); }
.breakfast__text { display: grid; gap: 1rem; }

@media (min-width: 861px) {
  .breakfast__grid { grid-template-columns: 5fr 6fr; }
  .breakfast__photo { order: 2; }
}

/* ================================================== 5 · החצר */
.grounds { padding-block: clamp(4rem, 10vw, 8rem); overflow: clip; }
.grounds__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.grounds__text { display: grid; gap: 1rem; }
.grounds__collage { position: relative; aspect-ratio: 1 / 1.02; }
.grounds__collage figure { position: absolute; }
.grounds__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 4px 8px rgb(60 40 20 / 0.1), 0 22px 46px -16px rgb(60 40 20 / 0.45); }
.grounds__a { inset-inline-start: 0; top: 14%; width: 80%; aspect-ratio: 1000 / 650; z-index: 1; }
.grounds__b { inset-inline-end: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; z-index: 2; }
.grounds__c { inset-inline-end: 4%; top: 0; width: 40%; aspect-ratio: 1 / 1; z-index: 0; }

@media (min-width: 861px) {
  .grounds__grid { grid-template-columns: 4fr 7fr; }
  .grounds__collage { aspect-ratio: 1.25 / 1; }
}

/* ================================================== 6 · שעת זהב (השיא) */
.golden__stage { height: 100vh; height: 100svh; overflow: hidden; background: #2a2018; isolation: isolate; }
.golden__frame { position: absolute; inset: 0; z-index: -2; transform: scale(calc(1.08 - var(--sc-p, 0) * 0.08)); }
.golden__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.golden__img--dusk { opacity: clamp(0, calc((var(--sc-p, 0) - 0.1) * 3.2), 1); }
.golden__img--bath { opacity: clamp(0, calc((var(--sc-p, 0) - 0.6) * 7), 1); object-position: 50% 50%; }
.golden__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgb(20 14 10 / 0.86) 0%, rgb(20 14 10 / 0.6) 30%, rgb(20 14 10 / 0) 58%);
}
.golden__copy {
  position: absolute; inset-inline: clamp(1.25rem, 5vw, 4rem); bottom: clamp(2rem, 8svh, 5rem);
  display: grid; color: #fbf3e6;
}
.golden__beat { grid-area: 1 / 1; align-self: end; display: grid; gap: 0.9rem; }
.golden__beat .display { color: #fff8ec; }
.golden__beat .lead { max-width: 34ch; }
.golden__say { font-family: var(--sc-font-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.12; max-width: 18ch; color: #fff8ec; }

@media (min-width: 861px) {
  .golden__scrim { background: linear-gradient(to left, rgb(20 14 10 / 0.9) 0%, rgb(20 14 10 / 0.72) 36%, rgb(20 14 10 / 0) 66%); }
  .golden__copy { inset-inline-end: auto; max-width: 34rem; bottom: auto; top: 50%; translate: 0 -50%; }
  .golden__beat { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .golden__frame { transform: none; } }

/* ================================================== 7 · לילה ויצירת קשר */
.night { background: var(--night); color: var(--cream); padding-top: clamp(4rem, 10vw, 8rem); }
.night__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.night__photo img { width: 100%; height: auto; aspect-ratio: 1000 / 650; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.6); }
.night__text { display: grid; gap: 1.1rem; justify-items: start; }
.night__line { font-family: var(--sc-font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); color: #d9c49a; max-width: 30ch; line-height: 1.4; }
.night .display { color: #fff8ec; }
.night .lead { color: #e9e1d2; }

@media (min-width: 861px) {
  .night__grid { grid-template-columns: 6fr 5fr; }
}

.site-footer { margin-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid rgb(246 240 230 / 0.16); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom)); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; align-items: center; gap: 0.9rem; color: #e9e1d2; }
.site-footer__brand img { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer nav a { color: var(--cream); text-underline-offset: 0.25em; padding-block: 0.5rem; }

/* התמונה הגדולה של כל סוויטה מגיבה לעכבר כמו התמונות בפס */
.suite__lead-btn { overflow: hidden; }
.suite__lead img { transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) { .suite__lead-btn:hover img { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .suite__lead img { transition: none; } }
.suite__lead-btn { box-shadow: 0 4px 8px rgb(60 40 20 / 0.08), 0 22px 48px -18px rgb(60 40 20 / 0.4); }
.suite__lead img { box-shadow: none; }
