/* gamos-virtual-tours — self-contained styles (fonts + brand tokens + engine). */
@font-face{font-family:"Rubik";font-style:normal;font-weight:300 900;font-display:swap;
  src:url("fonts/rubik-hebrew.woff2") format("woff2");
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;}
@font-face{font-family:"Rubik";font-style:normal;font-weight:300 900;font-display:swap;
  src:url("fonts/rubik-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122;}
@font-face{font-family:"Heebo";font-style:normal;font-weight:100 900;font-display:swap;
  src:url("fonts/heebo-400.woff2") format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;}
:root{
  --brass:#CFAE83; --brass-deep:#8B6F46; --brass-glow:#D4B98A; --cocoa:#534133;
  --ivory:#F5EFE6; --ink-deep:#1A1410;
  --font-display-he:"Rubik","Heebo",Arial,sans-serif;
  --font-body:"Heebo",Arial,sans-serif;
}
/**
 * gamos-hall-tour.css — סיור וירטואלי קולנועי באולם האירועים.
 * חוויית קנבס מלאת-מסך: כל גלילה = מעבר אחד (64 פריימים 0→63), עצירה בכל תחנה
 * עם כותרת, גלריית רשת (lightbox) לכל אזור, ומסך סיום שמוביל לריזורט.
 * מנוע ה-JS: assets/js/gamos-hall-tour.js (נרשם דרך GamosRT).
 * הטוקנים והפונטים (Rubik/Heebo, פליז/שנהב/דיו) מגיעים מ-gamos-shared.css.
 */

.gamos-hall-tour-root {
  --ght-bg: #12100c;
  --ght-ink: var(--ivory, #f4efe6);
  --ght-ink-dim: rgba(245, 239, 230, .58);
  --ght-line: rgba(245, 239, 230, .20);
  --ght-accent: var(--brass, #cfae83);
  --ght-pad: clamp(18px, 3.2vw, 44px);
  --ght-frame: clamp(12px, 2vw, 26px);
  --ght-display: var(--font-display-he, "Rubik", "Heebo", Arial, sans-serif);
  --ght-body: var(--font-body, "Heebo", Arial, sans-serif);
  --ght-ease: cubic-bezier(.2, .8, .2, 1);

  position: relative;
  display: block;
  inline-size: 100%;
  block-size: 100vh;
  block-size: 100svh;
  overflow: hidden;
  background: var(--ght-bg);
  color: var(--ght-ink);
  font-family: var(--ght-body);
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  direction: rtl;
  touch-action: none;              /* מובייל: המנוע שולט בסוויפ, הדף לא נגלל תוך כדי */
  overscroll-behavior: none;
}
.gamos-hall-tour-root *,
.gamos-hall-tour-root *::before,
.gamos-hall-tour-root *::after { box-sizing: border-box; }

.gamos-hall-tour-root .ght-canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; background: #000; }
.gamos-hall-tour-root .ght-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    radial-gradient(120% 90% at 50% 44%, transparent 40%, rgba(0,0,0,.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 24%, transparent 66%, rgba(0,0,0,.66) 100%); }
.gamos-hall-tour-root .ght-tint { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: #000; opacity: .32; }

/* מסגרת דקורטיבית */
.gamos-hall-tour-root .ght-frame { position: absolute; inset: var(--ght-frame); pointer-events: none; z-index: 6; }
.gamos-hall-tour-root .ght-corner { position: absolute; width: 32px; height: 32px; border: 1.5px solid var(--ght-line); }
.gamos-hall-tour-root .ght-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.gamos-hall-tour-root .ght-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.gamos-hall-tour-root .ght-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.gamos-hall-tour-root .ght-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* סרגל עליון: לוגו + חזרה לאתר */
.gamos-hall-tour-root .ght-topbar { position: absolute; inset: var(--ght-pad); z-index: 8; pointer-events: none; }
.gamos-hall-tour-root .ght-topbar > * { pointer-events: auto; }
.gamos-hall-tour-root .ght-brand { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; }
.gamos-hall-tour-root .ght-brand img { height: clamp(34px, 4.4vw, 52px); width: auto; display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.85)) drop-shadow(0 0 3px rgba(0,0,0,.7)); }
.gamos-hall-tour-root .ght-home { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer; text-decoration: none; color: var(--ght-ink); font-family: var(--ght-body);
  font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 9px 16px; border: 1px solid var(--ght-line); border-radius: 0;
  background: rgba(18,16,12,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color .3s var(--ght-ease), border-color .3s var(--ght-ease), background .3s var(--ght-ease);
  text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.gamos-hall-tour-root .ght-home:hover { color: var(--ght-accent); border-color: var(--ght-accent); background: rgba(18,16,12,.5); }
.gamos-hall-tour-root .ght-home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* כותרות מרכזיות */
.gamos-hall-tour-root .ght-titles { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.gamos-hall-tour-root .ght-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; opacity: 0; transition: opacity .6s ease; padding: 0 clamp(20px, 6vw, 100px); overflow: hidden; }
.gamos-hall-tour-root .ght-title > * { max-width: 100%; overflow-wrap: anywhere; }
.gamos-hall-tour-root .ght-title.is-in { opacity: 1; }
.gamos-hall-tour-root .ght-kicker { font-family: var(--ght-display); font-size: clamp(10px, 1vw, 13px); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ght-accent); margin-bottom: clamp(14px, 2vw, 26px);
  transform: translateY(14px); transition: transform .9s var(--ght-ease) .05s; opacity: .95; }
.gamos-hall-tour-root .ght-h1 { font-family: var(--ght-display); font-weight: 500; font-size: clamp(28px, 6.4vw, 96px); line-height: 1.04;
  letter-spacing: .005em; transform: translateY(34px); transition: transform 1s var(--ght-ease); text-shadow: 0 12px 60px rgba(0,0,0,.55); margin: 0; }
.gamos-hall-tour-root .ght-title.is-in .ght-kicker,
.gamos-hall-tour-root .ght-title.is-in .ght-h1 { transform: translateY(0); }
.gamos-hall-tour-root .ght-rule { width: 56px; height: 1px; background: var(--ght-accent); margin: clamp(18px, 2.2vw, 28px) 0 0;
  transform: scaleX(0); transition: transform .9s var(--ght-ease) .2s; }
.gamos-hall-tour-root .ght-title.is-in .ght-rule { transform: scaleX(1); }
.gamos-hall-tour-root .ght-sub { max-width: 46ch; margin-top: clamp(16px, 2vw, 22px); font-weight: 350; font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.66; color: rgba(245,239,230,.82); text-shadow: 0 1px 24px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px);
  transition: opacity .9s ease .18s, transform .9s var(--ght-ease) .18s; }
.gamos-hall-tour-root .ght-title.is-in .ght-sub { opacity: 1; transform: translateY(0); }
.gamos-hall-tour-root .ght-hero { font-family: var(--ght-display); font-weight: 600; letter-spacing: .01em; max-width: 100%;
  font-size: clamp(32px, 7.6vw, 148px); line-height: .98; color: var(--ivory, #f4efe6); text-shadow: 0 14px 70px rgba(0,0,0,.6); margin: 0; }

/* כפתור גלריה */
.gamos-hall-tour-root .ght-gbtn { margin-top: clamp(20px, 2.6vw, 30px); pointer-events: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--ght-accent); color: var(--ght-ink); font-family: var(--ght-body); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; padding: 12px 26px; border-radius: 0; opacity: 0; transform: translateY(16px);
  transition: background .3s var(--ght-ease), color .3s var(--ght-ease), transform .3s var(--ght-ease); }
.gamos-hall-tour-root .ght-title.is-in .ght-gbtn { opacity: 1; transform: translateY(0); pointer-events: auto;
  transition: opacity .9s ease .32s, transform .9s var(--ght-ease) .32s, background .3s, color .3s; }
.gamos-hall-tour-root .ght-gbtn:hover { background: var(--ght-accent); color: #1a1408; }
.gamos-hall-tour-root .ght-gbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* פס התקדמות (שמאל) */
.gamos-hall-tour-root .ght-rail { position: absolute; top: 50%; left: var(--ght-pad); transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 8; align-items: flex-start; }
.gamos-hall-tour-root .ght-dot { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 10px; letter-spacing: .1em; color: var(--ght-ink-dim); transition: color .35s; flex-direction: row-reverse; background: none; border: 0; padding: 0; }
.gamos-hall-tour-root .ght-dot .ght-dotbar { position: relative; width: 32px; height: 1.5px; background: var(--ght-line); overflow: hidden; display: block; }
.gamos-hall-tour-root .ght-dot .ght-dotbar i { position: absolute; inset: 0; right: 0; width: 0%; background: var(--ght-accent); }
.gamos-hall-tour-root .ght-dot.is-on { color: var(--ght-ink); }
.gamos-hall-tour-root .ght-dot .ght-num { opacity: 0; transform: translateX(-6px); transition: .35s; font-variant-numeric: tabular-nums; }
.gamos-hall-tour-root .ght-dot.is-on .ght-num,
.gamos-hall-tour-root .ght-dot:hover .ght-num { opacity: 1; transform: translateX(0); }

/* סרגל תחתון */
.gamos-hall-tour-root .ght-bottom { position: absolute; bottom: var(--ght-pad); left: var(--ght-pad); right: var(--ght-pad); display: flex; align-items: flex-end; justify-content: space-between; z-index: 8; gap: 12px; }
.gamos-hall-tour-root .ght-counter { display: flex; align-items: baseline; gap: 6px; font-weight: 600; direction: ltr; }
.gamos-hall-tour-root .ght-cur { font-family: var(--ght-display); font-size: clamp(38px, 5vw, 62px); line-height: .8; letter-spacing: -.03em; color: var(--ivory, #f4efe6); }
.gamos-hall-tour-root .ght-tot { font-size: 14px; color: var(--ght-ink-dim); letter-spacing: .1em; }
.gamos-hall-tour-root .ght-scrollhint { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .16em; color: var(--ght-ink); text-shadow: 0 1px 18px rgba(0,0,0,.5); }
.gamos-hall-tour-root .ght-mouse { width: 20px; height: 32px; border: 1.5px solid rgba(245,239,230,.7); border-radius: 11px; position: relative; }
.gamos-hall-tour-root .ght-mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 2px; height: 6px; background: var(--ivory, #f4efe6); border-radius: 2px; animation: ght-wheel 1.6s ease-in-out infinite; }
@keyframes ght-wheel { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,9px); } }

/* מסך טעינה */
.gamos-hall-tour-root .ght-loader { position: absolute; inset: 0; z-index: 30; background: var(--ink-deep, #1a1410); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity .8s ease; }
.gamos-hall-tour-root .ght-loader.is-hidden { opacity: 0; pointer-events: none; }
.gamos-hall-tour-root .ght-loader img { height: 64px; width: auto; filter: drop-shadow(0 4px 30px rgba(0,0,0,.5)); }
.gamos-hall-tour-root .ght-lbar { width: min(260px, 52vw); height: 1.5px; background: var(--ght-line); overflow: hidden; }
.gamos-hall-tour-root .ght-lbar i { display: block; height: 100%; width: 0%; background: var(--ght-accent); transition: width .25s; }
.gamos-hall-tour-root .ght-lpct { font-size: 11px; letter-spacing: .3em; color: var(--ght-ink-dim); }

/* מעבר "מצמוץ" */
.gamos-hall-tour-root .ght-blink { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.gamos-hall-tour-root .ght-lid { position: absolute; left: 0; right: 0; height: 62%; transition: transform .55s cubic-bezier(.76,0,.24,1); }
.gamos-hall-tour-root .ght-lid.top { top: 0; transform: translateY(-101%); background: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%); }
.gamos-hall-tour-root .ght-lid.bot { bottom: 0; transform: translateY(101%); background: linear-gradient(to top, #000 0%, #000 82%, transparent 100%); }
.gamos-hall-tour-root .ght-blink.is-closed .ght-lid { transform: translateY(0); }

/* גלריית רשת (lightbox) */
.gamos-hall-tour-root .ght-lb { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; background: rgba(12,10,8,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.gamos-hall-tour-root .ght-lb.is-open { opacity: 1; pointer-events: auto; }
.gamos-hall-tour-root .ght-lb-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(18px,3vw,38px) clamp(20px,4vw,54px) clamp(14px,1.6vw,20px); flex: 0 0 auto; }
.gamos-hall-tour-root .ght-lb-title { font-family: var(--ght-display); font-weight: 500; font-size: clamp(22px,2.6vw,34px); color: var(--ivory, #f4efe6); line-height: 1.1; }
.gamos-hall-tour-root .ght-lb-k { display: block; font-family: var(--ght-body); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ght-accent); margin-bottom: 7px; }
.gamos-hall-tour-root .ght-lb-close { cursor: pointer; flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid var(--ght-line); border-radius: 0; display: flex; align-items: center; justify-content: center; color: var(--ght-ink); transition: background .3s, border-color .3s, color .3s; background: transparent; }
.gamos-hall-tour-root .ght-lb-close:hover { background: var(--ght-accent); border-color: var(--ght-accent); color: #1a1408; }
.gamos-hall-tour-root .ght-lb-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.gamos-hall-tour-root .ght-lb-grid { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; align-content: start; padding: 0 clamp(20px,4vw,54px) clamp(24px,4vw,54px); -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; }
.gamos-hall-tour-root .ght-lb-grid::-webkit-scrollbar { width: 8px; }
.gamos-hall-tour-root .ght-lb-grid::-webkit-scrollbar-thumb { background: var(--ght-line); border-radius: 4px; }
.gamos-hall-tour-root .ght-lb-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 3px; cursor: pointer; opacity: 0; transform: translateY(14px); outline: 1px solid transparent;
  transition: opacity .55s var(--ght-ease), transform .55s var(--ght-ease), box-shadow .3s, outline-color .2s; }
.gamos-hall-tour-root .ght-lb-grid img.is-in { opacity: 1; transform: none; }
.gamos-hall-tour-root .ght-lb-grid img:hover { box-shadow: 0 16px 44px rgba(0,0,0,.5); outline-color: var(--ght-accent); z-index: 1; }

/* שכבת הגדלה */
.gamos-hall-tour-root .ght-lb-zoom { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(10,8,6,.94); opacity: 0; pointer-events: none; transition: opacity .35s ease; padding: clamp(40px,7vw,90px); }
.gamos-hall-tour-root .ght-lb-zoom.is-open { opacity: 1; pointer-events: auto; }
.gamos-hall-tour-root .ght-lb-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 90px rgba(0,0,0,.6); opacity: 0; transform: scale(.98); transition: opacity .4s ease, transform .4s var(--ght-ease); }
.gamos-hall-tour-root .ght-lb-zoom img.is-show { opacity: 1; transform: scale(1); }
.gamos-hall-tour-root .ght-znav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--ght-line); border-radius: 0; background: rgba(12,10,8,.5); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ght-ink); transition: background .3s, color .3s, border-color .3s; }
.gamos-hall-tour-root .ght-znav:hover { background: var(--ght-accent); color: #1a1408; border-color: var(--ght-accent); }
.gamos-hall-tour-root .ght-znav svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.gamos-hall-tour-root .ght-zprev { right: clamp(10px,2.5vw,30px); }
.gamos-hall-tour-root .ght-znext { left: clamp(10px,2.5vw,30px); }
.gamos-hall-tour-root .ght-zclose { position: absolute; top: clamp(14px,2.5vw,28px); left: clamp(14px,2.5vw,28px); width: 46px; height: 46px; border: 1px solid var(--ght-line); border-radius: 0; background: rgba(12,10,8,.5); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ght-ink); transition: background .3s, color .3s, border-color .3s; }
.gamos-hall-tour-root .ght-zclose:hover { background: var(--ght-accent); color: #1a1408; border-color: var(--ght-accent); }
.gamos-hall-tour-root .ght-zclose svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.gamos-hall-tour-root .ght-zcounter { position: absolute; bottom: clamp(14px,2.5vw,26px); left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; color: var(--ght-ink-dim); direction: ltr; }

/* מסך סיום → ריזורט */
.gamos-hall-tour-root .ght-outro { position: absolute; inset: 0; z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 8vw; opacity: 0; pointer-events: none; transition: opacity .7s ease; background: radial-gradient(120% 100% at 50% 30%, #1c150d 0%, #0d0b07 70%); }
.gamos-hall-tour-root .ght-outro.is-open { opacity: 1; pointer-events: auto; }
.gamos-hall-tour-root .ght-outro img { height: 56px; width: auto; margin-bottom: clamp(22px,3.4vw,40px); opacity: .95; }
.gamos-hall-tour-root .ght-o-kicker { font-family: var(--ght-body); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ght-accent); margin-bottom: clamp(12px,1.8vw,20px); }
.gamos-hall-tour-root .ght-o-h2 { font-family: var(--ght-display); font-weight: 600; font-size: clamp(34px,5.6vw,72px); line-height: 1.05; color: var(--ivory, #f4efe6); margin: 0; }
.gamos-hall-tour-root .ght-o-sub { max-width: 42ch; margin-top: clamp(14px,1.8vw,20px); font-weight: 350; font-size: clamp(15px,1.5vw,20px); line-height: 1.66; color: rgba(245,239,230,.8); }
.gamos-hall-tour-root .ght-o-actions { margin-top: clamp(28px,3.6vw,44px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gamos-hall-tour-root .ght-cta { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; background: var(--ght-accent); color: #1a1408; font-family: var(--ght-body); font-size: 14px; font-weight: 600; letter-spacing: .1em; padding: 16px 42px; border: 0; border-radius: 0; transition: background .3s var(--ght-ease), transform .3s var(--ght-ease); }
.gamos-hall-tour-root .ght-cta:hover { background: var(--brass-glow, #d4b98a); transform: translateY(-2px); }
.gamos-hall-tour-root .ght-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gamos-hall-tour-root .ght-cta-ghost { cursor: pointer; background: none; border: 0; color: var(--ght-ink-dim); font-family: var(--ght-body); font-size: 12px; letter-spacing: .1em; text-decoration: none; transition: color .3s; }
.gamos-hall-tour-root .ght-cta-ghost:hover { color: var(--ivory, #f4efe6); }

/* מובייל */
@media (max-width: 760px) {
  .gamos-hall-tour-root { --ght-pad: 16px; --ght-frame: 10px; }
  .gamos-hall-tour-root .ght-scrollhint span { display: none; }
  .gamos-hall-tour-root .ght-rail { left: calc(var(--ght-frame) + 6px); gap: 11px; }
  .gamos-hall-tour-root .ght-dot .ght-dotbar { width: 24px; }
  .gamos-hall-tour-root .ght-lb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gamos-hall-tour-root .ght-home { padding: 8px 12px; }
  .gamos-hall-tour-root .ght-home span { display: none; }
  .gamos-hall-tour-root .ght-znav { width: 42px; height: 42px; }
  .gamos-hall-tour-root .ght-hero { font-size: 34px; }
  .gamos-hall-tour-root .ght-h1 { font-size: 30px; }
  .gamos-hall-tour-root .ght-sub { font-size: 15px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gamos-hall-tour-root .ght-title,
  .gamos-hall-tour-root .ght-kicker,
  .gamos-hall-tour-root .ght-h1,
  .gamos-hall-tour-root .ght-rule,
  .gamos-hall-tour-root .ght-sub,
  .gamos-hall-tour-root .ght-gbtn { transition-duration: .01ms; }
}
