/* Lighthouse Golf & Spa — Коледа 2026, v4 „Светлината на фара“ + украса по страниците. Всичко е под html.lhx (gate в <head>, до 08.01.2027 вкл.). */

/* хиро на заглавната: платното е върху снимката, под текста и бутоните (.t е z-index 15) */
html.lhx .lhx-dusk{position:absolute;inset:0;z-index:3;pointer-events:none;display:block;background:linear-gradient(180deg,rgba(10,22,48,.46),rgba(10,22,48,.2) 45%,rgba(10,22,48,.06) 75%,rgba(10,22,48,.18))}
html.lhx .lhx-hc{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;display:block}

/* сиянието на фенера в логото — силата му се движи от лъча (JS: opacity, --f) */
html.lhx .lhx-logo{position:relative}
.lhx-lantern{position:absolute;left:50%;top:10%;width:70%;aspect-ratio:1;translate:-50% -50%;pointer-events:none;z-index:2;opacity:.6;mix-blend-mode:screen}
.lhx-lantern>i{position:absolute;inset:0;border-radius:50%;scale:var(--f,1);background:radial-gradient(closest-side,rgba(255,250,232,.95),rgba(255,228,170,.5) 28%,rgba(255,214,150,.12) 60%,rgba(255,214,150,0))}
.lhx-lantern>b{position:absolute;left:50%;top:50%;width:46%;height:46%;translate:-50% -50%;scale:var(--f,1);
  background:conic-gradient(from 0deg,transparent 0 40deg,rgba(255,252,240,.95) 45deg,transparent 50deg 130deg,rgba(255,252,240,.95) 135deg,transparent 140deg 220deg,rgba(255,252,240,.95) 225deg,transparent 230deg 310deg,rgba(255,252,240,.95) 315deg,transparent 320deg);
  -webkit-mask:radial-gradient(closest-side,#000 10%,transparent 100%);mask:radial-gradient(closest-side,#000 10%,transparent 100%);border-radius:50%}

/* златното пожелание */
.lhx-hg{position:absolute;z-index:4;pointer-events:none;display:flex;flex-direction:column;align-items:center;text-align:center;white-space:nowrap;line-height:1;
  filter:drop-shadow(0 1px 1px rgba(30,18,0,.75)) drop-shadow(0 0 12px rgba(255,206,120,.45));opacity:0;translate:0 .35em;transition:opacity 1.6s ease .5s,translate 1.6s cubic-bezier(.2,.7,.2,1) .5s}
.lhx-hg.lhx-in{opacity:1;translate:0 0}
.lhx-hg:before{content:"";position:absolute;inset:-45% -18%;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(12,24,44,.24),rgba(12,24,44,.1) 50%,rgba(12,24,44,0))}
.lhx-hg b,.lhx-hg small span{background:linear-gradient(100deg,#a8761f 0%,#e9c46a 16%,#fff3c4 24%,#f0cf7a 32%,#b8862b 46%,#e2b85a 60%,#fff6d0 68%,#d9ad4f 76%,#a8761f 100%);background-size:260% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:lhxShine 7s linear infinite}
.lhx-hg b{font-family:var(--font-family2),Georgia,serif;font-style:italic;font-weight:400;font-size:1em;letter-spacing:.01em;padding:.06em .12em .14em}
.lhx-hg small{display:flex;align-items:center;gap:.7em;margin-top:.12em;font-family:var(--font-family),Arial,sans-serif;font-size:max(.3em,10px);font-weight:600;letter-spacing:.28em;text-transform:uppercase}
.lhx-hg small span{animation-delay:-1.2s;margin-right:-.28em}
.lhx-hg small i{display:block;width:2.6em;height:1px;background:linear-gradient(90deg,rgba(240,207,122,0),#f0cf7a)}
.lhx-hg small i:last-child{background:linear-gradient(90deg,#f0cf7a,rgba(240,207,122,0))}
@keyframes lhxShine{from{background-position:130% 0}to{background-position:-130% 0}}

/* гирлянд + рядък сняг — фиксирано платно над страницата, не хваща кликове */
html.lhx .lhx-ov{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:1000;pointer-events:none;display:block}
html.lhx .lhx-gar{position:fixed;left:0;top:0;width:100vw;height:48px;z-index:1000;pointer-events:none;display:block}

html.lhx .lhx-rel{position:relative}
html.lhx .lhx-fg{position:absolute;left:0;top:0;width:100%;height:70px;z-index:5;pointer-events:none;display:block}

/* малкото лого в лентата (всички страници): светлинка във фенера */
.lhx-hlamp{position:absolute;left:50%;top:10.5%;width:30px;height:30px;translate:-50% -50%;pointer-events:none}
.lhx-hlamp>i{position:absolute;inset:0;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,140,.85),rgba(255,206,120,.35) 40%,rgba(255,206,120,0));animation:lhxGlow 4s ease-in-out infinite alternate}
@keyframes lhxGlow{from{opacity:.5;scale:.8}to{opacity:1;scale:1.1}}

@media (prefers-reduced-motion:reduce){
  html.lhx .lhx-dusk{background:linear-gradient(180deg,rgba(10,22,48,.3),rgba(10,22,48,0) 60%)}
  .lhx-hg b,.lhx-hg small span,.lhx-hlamp>i{animation:none!important}
  .lhx-hg{transition:none}
}
.lhx-dusk{} @media print{.lhx-fg,.lhx-dusk,.lhx-gar,.lhx-hc,.lhx-ov,.lhx-lantern,.lhx-hg,.lhx-hlamp{display:none!important}}

/* v4: украса по снимките (гирлянд + висящи играчки + отблясък) — платно върху видимата част на снимката, не хваща кликове */
html.lhx .lhx-ig{position:absolute;z-index:6;pointer-events:none;display:block;transition:opacity .45s}
@media print{.lhx-ig{display:none!important}}
/* v4: висящи играчки в празните места */
html.lhx .lhx-orn{position:absolute;z-index:50;pointer-events:none;display:block;animation:lhxDrop 1.4s cubic-bezier(.2,.7,.2,1) both}
@keyframes lhxDrop{from{opacity:0;translate:0 -18px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){html.lhx .lhx-orn{animation:none}}
@media print{.lhx-orn{display:none!important}}

/* v4.2: гирлянд по горния ръб на секция без снимка/празно място */
html.lhx .lhx-st{position:absolute;z-index:50;pointer-events:none;display:block;animation:lhxFade 1s ease both}
@keyframes lhxFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){html.lhx .lhx-st{animation:none}}
@media print{.lhx-st{display:none!important}}
html:not(.lhx) .lhx-st{display:none}

/* v5 (Боби 03.12 14:56): без лампички/играчки; неподвижна украса */
html.lhx .lhx-gar,html.lhx .lhx-fg,html.lhx .lhx-ig,html.lhx .lhx-orn,html.lhx .lhx-st{display:none!important}
html.lhx .lhx-cap{position:absolute;z-index:4;pointer-events:none;display:block;line-height:0;filter:drop-shadow(0 2px 2px rgba(30,52,72,.22));animation:lhxFade .9s ease both}
html.lhx .lhx-cap svg{display:block;overflow:visible}
html.lhx .lhx-sf{position:absolute;z-index:4;pointer-events:none;display:block;animation:lhxFade 1.2s ease both;transition:opacity .6s}
html.lhx .lhx-sf.lhx-out{opacity:0}
html.lhx .lhx-sf>b{position:absolute;display:block;line-height:0;filter:drop-shadow(0 1px 1.5px rgba(90,64,20,.28));animation:lhxSf 7s ease-in-out infinite alternate}
html.lhx .lhx-sf svg{display:block}
@keyframes lhxSf{0%{opacity:.78;transform:rotate(-8deg) scale(.96)}100%{opacity:1;transform:rotate(8deg) scale(1.04)}}
@media (prefers-reduced-motion:reduce){html.lhx .lhx-sf>b,html.lhx .lhx-cap,html.lhx .lhx-sf{animation:none}}
@media print{.lhx-cap,.lhx-sf{display:none!important}}
html:not(.lhx) .lhx-cap,html:not(.lhx) .lhx-sf{display:none}

/* v6 (Боби 04.12): Luxury Festive — векторни клонки, играчки, венци, гирлянди, разделители (xmas-lux.js) */
html.lhx .lhx-lux{position:absolute;z-index:4;pointer-events:none;display:block;background:no-repeat 0 0/100% 100%;filter:drop-shadow(0 2px 3px rgba(40,30,12,.16));animation:lhxFade 1.1s ease both;transition:opacity .6s}
html.lhx .lhx-lux.k-corner{transform-origin:50% 50%}
html.lhx .lhx-lux.lhx-out{opacity:0!important}
@media (prefers-reduced-motion:reduce){html.lhx .lhx-lux{animation:none}}
@media print{.lhx-lux{display:none!important}}
html:not(.lhx) .lhx-lux{display:none}
