/*
Theme Name:   Hello Child — Jack Frost Lighting
Description:  Child theme for Hello Elementor — Jack Frost Lighting design
Author:       Jack Frost Lighting
Template:     hello-elementor
Version:      1.0.0
*/

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --bg:      #F0F5FB;
  --bg2:     #E2EAF4;
  --card:    #FFFFFF;
  --ink:     #0C1B2E;
  --ink2:    #4A5E78;
  --line:    #CDD8E6;
  --frost:   #3478D0;
  --frost2:  #6AA0E6;
  --frost-d: #1B4A8A;
  --silver:  #95A8C0;
  --gold:    #D4962A;
  --gold2:   #F0C45A;
  --gold-d:  #A87318;
  --maxw:    1200px;
}

/* ── GLOBAL RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: #6AA0E6; color: #fff; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: #B4C6DA; border-radius: 20px; border: 3px solid #F0F5FB; }

/* ── UTILITY CLASSES ───────────────────────────────────── */
.jf-d  { display: flex !important; }
.jf-m  { display: none !important; }

@media (max-width: 980px) {
  .jf-d    { display: none !important; }
  .jf-m    { display: flex !important; }
  .jf-split{ grid-template-columns: 1fr !important; }
  .jf-2    { grid-template-columns: 1fr !important; }
  .jf-3    { grid-template-columns: 1fr !important; }
  .jf-4    { grid-template-columns: 1fr 1fr !important; }
  .jf-rev  { flex-direction: column !important; }
}
@media (max-width: 600px) {
  .jf-4 { grid-template-columns: 1fr !important; }
}

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes jfTwinkle   { 0%,100%{opacity:.2;transform:scale(.7);}50%{opacity:1;transform:scale(1.2);} }
@keyframes jfFloat     { 0%,100%{transform:translateY(0);}50%{transform:translateY(-22px);} }
@keyframes jfDrift     { 0%{transform:translate(0,0);}33%{transform:translate(16px,-20px);}66%{transform:translate(-12px,-8px);}100%{transform:translate(0,0);} }
@keyframes jfMarquee   { from{transform:translateX(0);}to{transform:translateX(-50%);} }
@keyframes jfReveal    { from{opacity:0;transform:translateY(44px);}to{opacity:1;transform:translateY(0);} }
@keyframes jfRevealScale{ from{opacity:0;transform:translateY(28px) scale(.96);}to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes jfGlow      { 0%,100%{opacity:.8;filter:brightness(1);}50%{opacity:1;filter:brightness(1.4);} }
@keyframes jfShimmer   { from{transform:translateX(-130%) skewX(-18deg);}to{transform:translateX(260%) skewX(-18deg);} }
@keyframes jfBob       { 0%,100%{transform:translateY(0);opacity:.5;}50%{transform:translateY(9px);opacity:1;} }

.jf-rv   { animation: jfReveal .85s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
.jf-rv-s { animation: jfRevealScale .9s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
@supports not (animation-timeline:view()) { .jf-rv,.jf-rv-s { animation: none !important; opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } .jf-rv,.jf-rv-s { opacity:1!important;transform:none!important; } }

/* ── HEADER ────────────────────────────────────────────── */
#jfl-announce {
  background: var(--frost-d);
  color: #CFE0F4;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-align: center;
  padding: 9px 16px;
  font-weight: 500;
}
#jfl-header {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(240,245,251,.86);
  border-bottom: 1px solid var(--line);
}
#jfl-header .jfl-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px clamp(16px,4vw,40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.jfl-sticky { position: sticky; top: 0; z-index: 200; }
.jfl-logo   { display: flex; align-items: center; background: none; border: none; cursor: pointer; padding: 0; text-decoration: none; }
.jfl-logo img { height: 52px; width: auto; }

/* nav links */
.jfl-nav-link {
  background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 9px 14px; border-radius: 10px;
  text-decoration: none; display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, opacity .2s;
}
.jfl-nav-link.active { border-bottom-color: var(--frost); }
.jfl-nav-link:not(.active) { opacity: .62; }

/* book now btn */
.jfl-book-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #3a2710; font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(212,150,42,.7);
}
.jfl-book-btn .jfl-shimmer {
  position: absolute; top:0; left:0; width:40%; height:100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  animation: jfShimmer 4.5s ease-in-out infinite;
}
.jfl-book-btn-lg {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 17px 32px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #3a2710; font-weight: 700; font-size: 16.5px;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(212,150,42,.8);
  position: relative; overflow: hidden;
}
.jfl-phone-link {
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: 7px;
}

/* hamburger */
#jfl-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--frost); border: none; cursor: pointer;
}
@media (max-width: 980px) { #jfl-menu-btn { display: flex; } }

/* mobile menu */
#jfl-mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,27,46,.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
}
#jfl-mobile-menu.open { display: block; }
#jfl-mobile-menu .jfl-panel {
  position: absolute; top:0; right:0; height:100%;
  width: min(86vw,360px); background: var(--bg);
  padding: 24px; display: flex; flex-direction: column; gap:6px;
  box-shadow: -20px 0 60px rgba(0,0,0,.3);
}
.jfl-mobile-link {
  text-align: left; background: none; border: none;
  border-bottom: 1px solid var(--line);
  padding: 16px 6px; font-size: 19px; font-weight: 600;
  color: var(--ink); cursor: pointer;
  font-family: 'Bricolage Grotesque', sans-serif;
  text-decoration: none; display: block;
}

/* ── FOOTER ─────────────────────────────────────────────── */
#jfl-footer {
  background: var(--ink);
  color: #C2D4E8;
  padding: clamp(56px,7vw,90px) clamp(20px,5vw,48px) 36px;
}
#jfl-footer .jfl-inner { max-width: var(--maxw); margin: 0 auto; }
.jfl-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 980px) { .jfl-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .jfl-footer-grid { grid-template-columns: 1fr; } }
.jfl-footer-link {
  background: none; border: none; color: rgba(194,212,232,.85);
  font-size: 15px; cursor: pointer; padding: 0;
  text-decoration: none; display: block;
}
.jfl-social {
  width:42px; height:42px; border-radius:11px;
  background: rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  color:#C2D4E8; text-decoration:none;
}

/* ── FAQ ACCORDION ──────────────────────────────────────── */
.jfl-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.jfl-faq-btn {
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  text-align:left; background:none; border:none; cursor:pointer;
  padding:24px 26px; font-family:'Bricolage Grotesque',sans-serif;
  font-weight:700; font-size:18px; color:var(--ink);
}
.jfl-faq-btn svg { flex:none; transition:transform .3s; }
.jfl-faq-panel { display:none; padding:0 26px 24px; font-size:16px; line-height:1.6; color:var(--ink2); }
.jfl-faq-panel.open { display:block; }

/* ── GALLERY ────────────────────────────────────────────── */
.jfl-chip {
  padding:11px 22px; border-radius:999px; border:1.5px solid var(--line);
  background:transparent; color:var(--ink); font-weight:700; font-size:14.5px; cursor:pointer; transition:all .2s;
}
.jfl-chip.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.jfl-work-item {
  position:relative; border:none; padding:0; cursor:pointer;
  border-radius:20px; overflow:hidden; aspect-ratio:4/5;
  background:linear-gradient(150deg,var(--frost-d),var(--frost));
  box-shadow:0 14px 34px -24px rgba(12,27,46,.4); display:block; width:100%;
}
.jfl-work-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.jfl-work-item:hover img { transform:scale(1.07); }
.jfl-work-item .jfl-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(12,27,46,.82)); }

/* ── LIGHTBOX ───────────────────────────────────────────── */
#jfl-lightbox {
  position:fixed; inset:0; z-index:400;
  background:rgba(12,27,46,.92);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  display:none; align-items:center; justify-content:center; padding:24px;
}
#jfl-lightbox.open { display:flex; }
#jfl-lightbox img { max-width:min(1000px,92vw); max-height:86vh; border-radius:18px; object-fit:contain; box-shadow:0 30px 80px rgba(0,0,0,.6); }
#jfl-lb-close {
  position:absolute; top:20px; right:20px; width:48px; height:48px;
  border-radius:50%; background:rgba(255,255,255,.12); border:none;
  cursor:pointer; color:#fff; font-size:24px; line-height:1;
}

/* ── HERO SLIDER ────────────────────────────────────────── */
.jfl-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.6s ease; }
.jfl-slide.active { opacity:1; }
.jfl-dot { width:10px; height:10px; border-radius:50%; background:#fff; opacity:.35; transition:opacity .4s; }
.jfl-dot.active { opacity:1; }
