/* Halali Resort — public website, "Golden Land of Peace" natural theme.
   Load AFTER halali.css. It re-themes every .hr-* page (rooms, dining,
   booking, payment, contact, legal) by overriding the design tokens, then adds
   the new hero / falling-leaves / heritage components.
   Palette + fonts match the redesigned login.php and landing page. */

:root{
  --forest:#2C4C3B;
  --forest-deep:#1a2f24;
  --forest-light:#3e6b53;
  --earth:#5C4033;
  --gold:#D4AF37;
  --sand:#F4F1EA;

  /* legacy token names used throughout halali.css — values are the new palette */
  --teal-950:#14231b;
  --teal-900:#1a2f24;
  --teal-800:#24412f;
  --teal-700:#2C4C3B;
  --leaf:#3e6b53;
  --red:#2C4C3B;
  --red-dark:#1e3629;
  --brass:#D4AF37;
  --paper:#F4F1EA;
  --paper-2:#EAE5D8;
  --line:#D9D2C0;
  --line-strong:#BDB39A;
  --text:#2b2b26;
  --muted:#6b645a;
  --on-dark:#F4F1EA;
  --on-dark-muted:#C3CDBF;
  --radius:8px;
  --font-display:'Playfair Display',Georgia,serif;
  --font-body:'Lato',system-ui,-apple-system,'Segoe UI',sans-serif;
}

body.hr{font-size:1.02rem}
body.hr h1,body.hr h2,body.hr h3,body.hr h4,body.hr h5{font-weight:700;letter-spacing:0}
body.hr a{color:var(--forest)}
body.hr a:hover{color:var(--forest-deep)}
.text-gold{color:var(--gold)}
.text-forest{color:var(--forest)}

/* The old tree-line dividers don't suit the new look: swap for a fine gold rule */
.hr-weave,.hr-weave--thin{height:4px;background:linear-gradient(90deg,transparent,var(--gold),transparent);background-image:linear-gradient(90deg,transparent,var(--gold),transparent)}
.hr-footer .hr-weave{margin-bottom:3rem}
.hr-hero::before,.hr-hero-trees{display:none}

/* ---------- Navigation ---------- */
.hr-nav.is-solid{background:rgba(44,76,59,.97);box-shadow:0 4px 18px rgba(0,0,0,.18)}
.hr-nav.is-solid,.hr-nav{border-bottom:0}
.hr-nav.is-solid{border-bottom:2px solid transparent}
.hr-brand-sign{background:transparent;box-shadow:none;padding:.35rem 0;border-radius:0;align-self:center}
.hr-brand-sign img{height:58px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.35))}
.hr-brand-word{font-family:var(--font-display);font-weight:700;font-size:1.5rem;letter-spacing:.14em;color:#fff;margin-left:.7rem}
.hr-links a{font-weight:400;letter-spacing:.02em;color:#fff!important}
.hr-links a:hover,.hr-links a.active{color:var(--gold)!important;border-bottom-color:transparent}
.hr-links a.hr-btn{background:var(--gold);border-color:var(--gold);color:var(--forest-deep)!important;font-weight:700}
.hr-links a.hr-btn:hover{background:#c29f2c;border-color:#c29f2c;color:var(--forest-deep)!important}
.hr-links a.hr-btn--ghost{background:transparent;border:1px solid var(--gold);color:var(--gold)!important;font-weight:400}
.hr-links a.hr-btn--ghost:hover{background:var(--gold);color:#fff!important}
@media (max-width:860px){
  .hr-links{background:var(--forest)}
  .hr-nav.is-open{background:var(--forest)}
  .hr-brand-word{font-size:1.2rem}
  .hr-brand-sign img{height:48px}
}

/* ---------- Buttons ---------- */
.hr-btn{border-color:var(--forest);color:var(--forest)!important}
.hr-btn:hover{background:var(--forest);color:#fff!important}
.hr-btn--solid{background:var(--forest);border-color:var(--forest);color:#fff!important}
.hr-btn--solid:hover{background:var(--forest-deep);border-color:var(--forest-deep)}
.hr-btn--light{border-color:rgba(255,255,255,.85);color:#fff!important}
.hr-btn--light:hover{background:#fff;color:var(--forest)!important}
.hr-btn--gold{background:var(--gold);border-color:var(--gold);color:var(--forest-deep)!important;font-weight:700}
.hr-btn--gold:hover{background:#c29f2c;border-color:#c29f2c}

/* ---------- Hero ---------- */
.hr-hero{
  /* plain forest green behind the video (no photo) */
  background:var(--forest-deep);
  align-items:center;padding:7rem 0 4rem;
  /* height follows the 16:9 video frame, so the whole 1080p picture shows (no zoom/crop) */
  min-height:clamp(620px,56.25vw,100vh);min-height:clamp(620px,56.25vw,100svh);
}
/* dark-green wash over the resort video so the text stays readable */
.hr-hero::after{content:'';display:block;position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(26,47,36,.55) 0%,rgba(26,47,36,.32) 45%,rgba(26,47,36,.68) 100%)}
.hr-yt{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.2s ease}
.hr-yt.is-ready{opacity:1}
.hr-yt iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;width:177.78vh;min-width:100%;height:56.25vw;min-height:100%;pointer-events:none}
.hr-hero .hr-wrap{align-items:center}
.hr-hero-eyebrow{color:var(--gold);letter-spacing:.22em;text-transform:uppercase;font-size:.85rem;margin-bottom:1rem;font-weight:700}
.hr-hero h1{font-weight:700;font-size:clamp(2.6rem,5.6vw,4.8rem);line-height:1.1;letter-spacing:0;margin-bottom:1.3rem}
.hr-hero p.hr-lead{color:#e9eee5;font-weight:300;font-size:1.15rem}
.hr-leaves{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.hr-leaf{position:absolute;top:-10%;width:25px;height:25px;opacity:0;pointer-events:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'><path d='M17.5,3C13.5,3 9.5,5 6.5,8C3,11.5 2,16 2,16C2,16 6.5,15 10,11.5C13,8.5 16,6.5 19,6.5L21,5.5L17.5,3Z'/></svg>") center/contain no-repeat;
  animation:hr-fall linear infinite}
@keyframes hr-fall{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(100px,100vh) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.hr-leaf{animation:none;display:none}}
.hr-panel--shadow{border-top:4px solid var(--gold)}

/* ---------- Heritage / "The Story" ---------- */
.hr-story{padding:6rem 0}
.hr-story .hr-wrap{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hr-story-media img{width:100%;display:block;border-radius:999px 999px 0 0;border-bottom:8px solid var(--gold);box-shadow:0 25px 50px -12px rgba(0,0,0,.28);aspect-ratio:4/5;object-fit:cover}
.hr-eyebrow{color:var(--gold);letter-spacing:.22em;text-transform:uppercase;font-size:.82rem;font-weight:700;margin-bottom:.6rem;display:block}
.hr-story h2{font-size:clamp(1.9rem,3.6vw,2.7rem);color:var(--forest);margin-bottom:1.3rem}
.hr-story p{color:#5b564d;line-height:1.8}
@media (max-width:860px){.hr-story .hr-wrap{grid-template-columns:1fr;gap:2.2rem}.hr-story-media{max-width:420px;margin:0 auto}}

/* ---------- Sections, cards, footer ---------- */
.hr-sechead h2,.hr-section h2{color:var(--forest)}
.hr-section--dark h2,.hr-section--dark h3{color:#fff}
.hr-section--dark{background:var(--forest)}
.hr-section--tint{background:var(--paper-2)}
.hr-roomrow,.hr-fact,.hr-quote,.hr-panel{border-color:var(--line)}
.hr-price{color:var(--forest);font-family:var(--font-display);font-weight:700}
.hr-fact i{color:var(--gold)}
.hr-quote .stars{color:var(--gold)}
.hr-cta{background:var(--forest-deep);border-top:3px solid var(--gold)}
.hr-footer{background:var(--forest-deep)}
.hr-footer h4{color:var(--gold);font-family:var(--font-display)}
.hr-footer a{color:var(--on-dark-muted)}
.hr-footer a:hover{color:var(--gold)}
.hr-footer .hr-brand-sign{background:transparent!important;box-shadow:none;padding:0!important}
.hr-footer .hr-brand-sign img{height:80px!important;filter:none}
.hr-flash{margin-top:72px}
:focus-visible{outline-color:var(--gold)}

/* ---------- Story page long-form text ---------- */
.hr-prose{max-width:760px;margin:0 auto}
.hr-prose h2{font-size:clamp(1.4rem,2.6vw,1.9rem);color:var(--forest);margin:2.4rem 0 .8rem;padding-bottom:.5rem;border-bottom:2px solid var(--gold);display:inline-block}
.hr-prose h2:first-child{margin-top:0}
.hr-prose p{color:#4d493f;line-height:1.85;font-size:1.05rem}
.hr-prose-sign{text-align:center;font-family:var(--font-display);font-style:italic;color:var(--forest)!important;margin-top:2.2rem}

/* Phones / narrow screens: show the full 16:9 video as a band at the top (no zoom),
   with the headline and booking card on the forest-green below it. */
@media (max-width:860px){
  .hr-hero{min-height:0;align-items:flex-start;padding:calc(56.25vw + 1.6rem) 0 3rem;background:var(--forest-deep)}
  .hr-yt{bottom:auto;height:56.25vw}
  .hr-yt iframe{top:0;left:0;transform:none;width:100%;min-width:0;height:56.25vw;min-height:0}
  .hr-hero::after{background:linear-gradient(180deg,rgba(26,47,36,.45) 0,rgba(26,47,36,.15) 30%,rgba(26,47,36,0) calc(56.25vw - 40px),var(--forest-deep) calc(56.25vw + 1px))}
}