/* ============================================================
   FUTURE GREENHOUSE · Interactive greenhouse (VERSION 1)
   Overlay / HUD / info panel / start screen for the 3D experience
   ============================================================ */

.hero-3d{
  position:relative;
  padding:96px 0 72px;
  background:linear-gradient(180deg,#0E1B26 0%,#12293A 60%,#0C1B28 100%);
  color:#fff;
  overflow:hidden;
}
/* photo backdrop behind the hero copy + greenhouse widget (hero-aerial,
   the aerial shot that used to be the hero background) */
.hero-3d::before{
  content:"";position:absolute;inset:0;z-index:0;
  background-image:url("../assets/photos/hero-aerial.jpg");
  background-size:cover;background-position:center 32%;
  opacity:.38;
}
.hero-3d::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(14,27,38,.92) 0%,rgba(14,27,38,.52) 42%,rgba(12,27,40,.95) 100%);
}
.hero-3d .hero-bee{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden}
.hero-3d .hero-bee svg{display:block;width:100%;height:100%}

/* ---------- hero layout: copy + greenhouse widget ---------- */
.gh-hero-grid{position:relative;z-index:4;display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.gh-hero-copy .eyebrow{color:var(--yellow)}
.gh-hero-copy h1{
  color:#fff;font-size:clamp(34px,5vw,64px);letter-spacing:3px;
  margin:16px 0 10px;text-transform:uppercase;font-weight:800;line-height:1.04;
}
.gh-hero-copy h1 span{color:var(--yellow)}
.gh-hero-sub{
  font-size:clamp(16px,1.8vw,22px);color:rgba(255,255,255,.92);
  margin:0 0 18px;letter-spacing:.3px;font-weight:600;
}
.gh-hero-desc{color:#AEB9C2;font-size:16px;max-width:470px;margin:0 0 30px;line-height:1.65}
.gh-hero-copy .btn{padding:15px 32px;font-size:15px;letter-spacing:1.2px}
.gh-hero-note{margin-top:20px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.5)}

/* ---------- greenhouse widget card ---------- */
.gh-widget{
  position:relative;z-index:5;
  border-radius:20px;overflow:hidden;
  background:#0E1B26;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 80px rgba(0,0,0,.5),0 0 40px rgba(61,174,43,.12);
  transition:border-radius .3s ease;
}
.gh-widget-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:11px 16px;
  background:rgba(13,26,38,.94);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.gh-widget-head .eyebrow{margin:0;font-size:11px}
.gh-expand-btn{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.22);
  border-radius:999px;padding:8px 14px;font-size:11.5px;font-weight:700;
  letter-spacing:1px;text-transform:uppercase;cursor:pointer;transition:.15s;
}
.gh-expand-btn:hover{background:var(--yellow);color:var(--charcoal);border-color:var(--yellow)}
.gh-widget-stage{position:relative;aspect-ratio:16/10;min-height:330px}
#gh-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  touch-action:none;
  cursor:grab;
}
#gh-canvas:active{cursor:grabbing}
#gh-canvas.part-hover{cursor:pointer}

/* expanded (fullscreen) widget */
body.modal-open{overflow:hidden}
.gh-widget.expanded{
  position:fixed;inset:0;z-index:500;border-radius:0;border:none;
  display:flex;flex-direction:column;
  box-shadow:none;
}
.gh-widget.expanded .gh-widget-stage{
  flex:1;aspect-ratio:auto;min-height:0;
  animation:gh-expand .45s ease;
}
@keyframes gh-expand{
  from{transform:scale(.96);opacity:.55}
  to{transform:scale(1);opacity:1}
}
.gh-widget:not(.expanded) .gh-hud{display:none}

/* ---------- Start screen overlay ---------- */
.gh-start{
  position:absolute;inset:0;z-index:4;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:22px;gap:18px;
  background:linear-gradient(180deg, rgba(10,20,30,.6) 0%, rgba(10,20,30,.32) 55%, rgba(10,20,30,.72) 100%);
  transition:opacity .8s ease, visibility .8s;
}
.gh-start.done{opacity:0;visibility:hidden;pointer-events:none}
.gh-start .eyebrow{margin:0}
.gh-start .btn{padding:15px 34px;font-size:14px;letter-spacing:1.4px;text-transform:uppercase}
.gh-drag-hint{
  font-size:11.5px;letter-spacing:1.5px;text-transform:uppercase;
  color:rgba(255,255,255,.55);display:flex;align-items:center;gap:8px;margin:0;
}
.gh-drag-hint svg{opacity:.8}

/* ---------- HUD ---------- */
.gh-hud{
  position:absolute;inset:0;z-index:4;pointer-events:none;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:96px 26px 22px;
  opacity:0;transition:opacity .9s ease;
}
.gh-hud.on{opacity:1}
.gh-hud .btn, .gh-hud button{pointer-events:auto}

/* build / presentation mode toggle: its own button at the top of the
   HUD, apart from the climate controls, so it reads as a mode switch
   (and works well during presentations) */
.gh-build-toggle{
  position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:5;
}
.gh-build-toggle .btn-gh-build{
  display:inline-flex;align-items:center;gap:9px;
  background:rgba(255,205,0,.14);color:var(--yellow);
  border:1.5px solid rgba(255,205,0,.65);
  border-radius:999px;padding:11px 24px;
  font-size:12px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  box-shadow:0 6px 26px rgba(0,0,0,.35);
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
.gh-build-toggle .btn-gh-build svg{flex:none;opacity:.95}
.gh-build-toggle .btn-gh-build:hover,
.gh-build-toggle .btn-gh-build.active{
  background:var(--yellow);color:var(--charcoal);border-color:var(--yellow);transform:none;box-shadow:none;
}

/* info panel (bottom left) */
.gh-info{
  max-width:360px;align-self:flex-start;
  background:rgba(13,26,38,.82);
  border:1px solid rgba(255,255,255,.14);
  border-left:3px solid var(--yellow);
  border-radius:12px;padding:14px 18px;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.gh-info b{
  display:block;color:var(--yellow);font-size:11.5px;letter-spacing:2px;
  text-transform:uppercase;margin-bottom:6px;
}
.gh-info p{margin:0;font-size:13.5px;color:rgba(255,255,255,.88);line-height:1.55}

/* status chips (top right) */
.gh-status{
  align-self:flex-end;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;
  max-width:340px;
}
.gh-chip{
  background:rgba(13,26,38,.8);border:1px solid rgba(255,255,255,.14);
  border-radius:10px;padding:9px 13px;min-width:104px;text-align:center;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.gh-chip b{display:block;font-size:20px;color:#fff;line-height:1.25}
.gh-chip b.temp{color:var(--yellow);font-variant-numeric:tabular-nums}
.gh-chip span{font-size:10.5px;letter-spacing:1.2px;text-transform:uppercase;color:rgba(255,255,255,.6)}
.gh-chip small{display:block;font-size:10px;color:var(--green);font-weight:700;letter-spacing:.8px;text-transform:uppercase;margin-top:2px}
.gh-chip small.off{color:#8B98A3}

/* controls (bottom right) */
.gh-controls{
  align-self:flex-end;display:flex;gap:10px;align-items:center;
  flex-wrap:wrap;justify-content:flex-end;max-width:620px;
}
.gh-controls .btn{padding:11px 18px;font-size:12px;letter-spacing:1px;text-transform:uppercase}
.gh-controls .btn-gh-outline{
  background:rgba(13,26,38,.8);color:#fff;border-color:rgba(255,255,255,.3);
}
.gh-controls .btn-gh-outline:hover{background:rgba(255,255,255,.12);transform:none;box-shadow:none}
.gh-controls .btn-gh-outline.manual{
  background:rgba(255,205,0,.16);border-color:rgba(255,205,0,.55);color:var(--yellow);
}
.gh-controls .btn-gh-outline.pending{
  background:rgba(255,205,0,.08);border-color:rgba(255,205,0,.35);color:rgba(255,255,255,.72);cursor:wait;
}

/* build / presentation mode: the climate controls step aside and a small
   build bar takes their place (prev / step counter / next / autoplay) */
.gh-buildbar{
  display:none !important;
  align-self:flex-end;
  align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;
}
.gh-hud.building .gh-buildbar{display:flex !important}
.gh-buildbar[hidden]{display:none !important}
.gh-hud.building .gh-controls{display:none}
.gh-hud.building .gh-hint{opacity:0;visibility:hidden;animation:none}
.gh-buildbar .btn{padding:11px 18px;font-size:12px;letter-spacing:1px;text-transform:uppercase}
.gh-buildbar .btn:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}
.gh-buildbar .btn.playing{
  background:rgba(255,205,0,.16);border-color:rgba(255,205,0,.55);color:var(--yellow);
}
.gh-build-count{
  font-size:12px;font-weight:800;letter-spacing:1px;color:var(--yellow);
  padding:0 4px;font-variant-numeric:tabular-nums;
}

/* "more info" link inside the info panel */
.gh-info-more{
  display:inline-block;margin-top:10px;
  color:var(--yellow);font-size:11px;font-weight:700;
  letter-spacing:1.2px;text-transform:uppercase;text-decoration:none;
  border-bottom:1px solid rgba(255,205,0,.4);padding-bottom:2px;
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.gh-info-more.on{opacity:1;pointer-events:auto}
.gh-info-more:hover{border-color:var(--yellow)}

/* click hint pill (fades after first interaction) */
.gh-hint{
  align-self:flex-start;margin-top:10px;
  font-size:11.5px;letter-spacing:1.4px;text-transform:uppercase;
  color:rgba(255,255,255,.75);
  background:rgba(13,26,38,.66);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;padding:7px 16px;
  animation:gh-pulse 2.6s ease-in-out infinite;
  transition:opacity .6s ease, visibility .6s;
}
.gh-hint.done{opacity:0;visibility:hidden;pointer-events:none;animation:none}
@keyframes gh-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(255,205,0,.35)}
  50%{box-shadow:0 0 0 8px rgba(255,205,0,0)}
}

/* floating tooltip that follows the cursor over a part */
.gh-tip{
  position:absolute;z-index:6;pointer-events:none;
  background:rgba(13,26,38,.92);color:#fff;
  border:1px solid rgba(255,255,255,.22);
  border-left:3px solid var(--yellow);
  border-radius:8px;padding:7px 12px;
  font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;
  white-space:nowrap;transform:translate(-50%,-130%);
  opacity:0;transition:opacity .15s ease;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.gh-tip.on{opacity:1}
#gh-canvas.part-hover{cursor:pointer}

/* close (×) button in the info panel */
.gh-info-close{
  position:absolute;top:8px;right:10px;width:22px;height:22px;
  border:none;background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);
  border-radius:6px;font-size:13px;line-height:1;cursor:pointer;
  opacity:0;transition:opacity .3s ease;pointer-events:none;
}
.gh-info-close.on{opacity:1;pointer-events:auto}
.gh-info-close:hover{background:rgba(255,255,255,.2);color:#fff}

/* WebGL fallback */
.gh-fallback{
  position:absolute;inset:0;z-index:5;display:none;
  align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(180deg,#0E1B26,#12293A);padding:24px;
}
.gh-fallback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.gh-fallback div{position:relative;max-width:520px}
.gh-fallback h2{color:#fff;margin-bottom:12px}
.gh-fallback p{color:rgba(255,255,255,.85);margin:0 0 24px}

/* ---------- Responsive ---------- */
@media (max-width:1020px){
  .gh-hero-grid{grid-template-columns:1fr;gap:40px}
  .gh-hero-desc{max-width:100%}
}
@media (max-width:760px){
  .hero-3d{padding:84px 0 56px}
  .gh-widget-stage{min-height:280px}
  .gh-hud{padding:88px 14px 16px;gap:8px}
  .gh-status{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:8px}
  .gh-chip{min-width:86px;padding:7px 10px}
  .gh-chip b{font-size:16px}
  .gh-info{max-width:260px;padding:11px 14px}
  .gh-info p{font-size:12.5px}
  .gh-controls .btn{padding:10px 14px;font-size:11px}
  .gh-buildbar .btn{padding:10px 14px;font-size:11px}
}
@media (max-width:440px){
  .gh-status{justify-content:center}
  .gh-controls{justify-content:center;width:100%;flex-wrap:wrap}
  .gh-info{max-width:100%}
}

/* ============================================================
   EXPERIENCE OVERHAUL · clearer layers, calmer controls, same palette
   ============================================================ */
.hero-3d{
  padding:112px 0 84px;
  background:linear-gradient(145deg,#07141d 0%,#102c3d 56%,#0b1d2a 100%);
}
.hero-3d::before{opacity:.3;background-position:center 38%;filter:saturate(.85) contrast(1.05)}
.hero-3d::after{background:radial-gradient(circle at 78% 34%,rgba(61,174,43,.18),transparent 30%),linear-gradient(180deg,rgba(7,20,29,.95) 0%,rgba(9,29,42,.53) 45%,rgba(8,24,35,.97) 100%)}
.gh-hero-grid{grid-template-columns:minmax(340px,1fr) minmax(460px,.95fr);gap:80px}
.gh-hero-copy{padding:18px 0 18px}
.gh-hero-copy .eyebrow{background:rgba(255,205,0,.12);border:1px solid rgba(255,205,0,.55);color:var(--yellow);box-shadow:0 0 0 5px rgba(255,205,0,.04)}
.gh-hero-copy h1{font-size:clamp(38px,5.5vw,72px);letter-spacing:2px;line-height:.98;text-shadow:0 12px 35px rgba(0,0,0,.22)}
.gh-hero-copy h1 span{display:block;color:var(--yellow)}
.gh-hero-sub{font-size:clamp(18px,2vw,25px);margin-top:24px;color:#f5fbf7}
.gh-hero-desc{color:#c0ccd3;font-size:16.5px;line-height:1.75;max-width:510px}
.gh-hero-copy .btn{box-shadow:0 12px 28px rgba(255,205,0,.17)}
.gh-hero-note{display:flex;align-items:center;gap:10px;letter-spacing:1.2px;color:rgba(255,255,255,.62)}
.gh-hero-note::before{content:"";width:26px;height:1px;background:var(--green);box-shadow:0 0 9px rgba(61,174,43,.8)}

.gh-widget{
  border-radius:26px;
  background:linear-gradient(145deg,rgba(11,28,39,.98),rgba(7,18,27,.98));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 38px 90px rgba(0,0,0,.46),0 0 0 8px rgba(255,255,255,.025),0 0 60px rgba(61,174,43,.16);
}
.gh-widget-head{min-height:58px;padding:12px 18px 12px 20px;background:rgba(7,18,27,.9);border-bottom-color:rgba(255,255,255,.11)}
.gh-widget-head::before{content:"360° LIVE";margin-left:4px;color:#a8bac4;font-size:9px;font-weight:800;letter-spacing:1.6px;order:2;opacity:.8}
.gh-widget-head .eyebrow{order:1;font-size:10px;letter-spacing:1.8px;padding:7px 12px;background:rgba(61,174,43,.16);border-color:rgba(61,174,43,.42);color:#b9f3b2}
.gh-expand-btn{order:3;padding:9px 13px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);font-size:10px}
.gh-widget-stage{aspect-ratio:16/10;min-height:360px;background:radial-gradient(circle at 50% 42%,rgba(61,174,43,.1),transparent 46%)}
.gh-widget-stage::after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid rgba(255,255,255,.06);border-top:0;border-radius:0 0 25px 25px}
.gh-start{background:linear-gradient(180deg,rgba(5,15,23,.22),rgba(5,15,23,.52) 65%,rgba(5,15,23,.78));gap:20px}
.gh-start::before{content:"VENLO · 32 × 36 M · 360°";color:rgba(255,255,255,.58);font-size:10px;font-weight:800;letter-spacing:2px;position:absolute;top:25px}
.gh-start .eyebrow{background:rgba(255,205,0,.15);border:1px solid rgba(255,205,0,.45);color:var(--yellow)}
.gh-start .btn{box-shadow:0 15px 30px rgba(255,205,0,.2)}
.gh-drag-hint{color:rgba(255,255,255,.72)}
.gh-drag-hint svg{color:var(--green)}

.gh-hud{padding:76px 30px 26px;gap:14px;background:linear-gradient(180deg,rgba(2,10,16,.22),transparent 35%,rgba(2,10,16,.25));}
.gh-hud::before{content:"VENLO  ·  LIVE";position:absolute;left:30px;top:21px;color:rgba(255,255,255,.55);font-size:9px;font-weight:800;letter-spacing:1.9px}
.gh-build-toggle{top:14px}
.gh-build-toggle .btn-gh-build{padding:10px 18px;font-size:10px;letter-spacing:1.6px;background:rgba(255,205,0,.12);box-shadow:0 8px 22px rgba(0,0,0,.2)}
.gh-status{gap:8px;max-width:520px}
.gh-chip{min-width:108px;padding:10px 13px;background:rgba(7,18,27,.78);border-color:rgba(255,255,255,.16);border-radius:13px;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.gh-chip b{font-size:19px;letter-spacing:-.25px}
.gh-chip span{font-size:9px;letter-spacing:1.4px}
.gh-chip b.temp{color:#f9d94a}
.gh-info{max-width:380px;padding:16px 20px;background:rgba(7,18,27,.86);border-left-width:4px;border-radius:15px;box-shadow:0 14px 35px rgba(0,0,0,.22)}
.gh-info b{font-size:10px;letter-spacing:1.8px}
.gh-info p{font-size:13px;color:#d6e1e5}
.gh-info-more{font-size:10px;letter-spacing:1.3px}
.gh-hint{margin-top:0;padding:8px 14px;background:rgba(7,18,27,.58);border-color:rgba(255,255,255,.13);font-size:10px}
.gh-controls{gap:8px;max-width:760px}  .gh-controls .btn,.gh-buildbar .btn{padding:10px 14px;border-radius:10px;font-size:10px;letter-spacing:1.1px;color:#fff;background:rgba(7,18,27,.82);border-color:rgba(255,255,255,.2);box-shadow:0 7px 17px rgba(0,0,0,.14)}
.gh-controls .btn-gh-outline:hover{background:rgba(61,174,43,.2);border-color:rgba(150,235,160,.6);color:#fff}
.gh-controls .btn-gh-outline.manual{background:rgba(255,205,0,.13);border-color:rgba(255,205,0,.72);color:#ffe36a;box-shadow:0 0 0 3px rgba(255,205,0,.06)}
.gh-buildbar{gap:8px;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(7,18,27,.7)}
.gh-build-count{font-size:11px}
.gh-tip{padding:8px 12px;border-radius:10px;background:rgba(7,18,27,.96);border-color:rgba(255,255,255,.2);font-size:10px;box-shadow:0 10px 25px rgba(0,0,0,.25)}
.gh-fallback{background:linear-gradient(145deg,#07141d,#102c3d)}

@media (max-width:1020px){
  .gh-hero-grid{grid-template-columns:1fr;gap:44px}
  .gh-hero-copy{max-width:700px;margin:0 auto;text-align:center}
  .gh-hero-copy .eyebrow,.gh-hero-copy .btn{margin-left:auto;margin-right:auto}
  .gh-hero-desc{margin-left:auto;margin-right:auto}
  .gh-hero-note{justify-content:center}
}
@media (max-width:760px){
  .hero-3d{padding:68px 0 48px}
  .gh-widget{border-radius:20px}
  .gh-widget-head{min-height:52px;padding:10px 12px}
  .gh-widget-head::before{display:none}
  .gh-widget-stage{min-height:280px}

  /* --- HUD: fullscreen controls on phone --- */
  .gh-hud{
    padding:52px 10px 8px;
    justify-content:flex-end;
    gap:5px;
  }
  .gh-hud::before{left:10px;top:14px;font-size:8px}

  /* hide status chips, info panel, and hint on phone - just the buttons */
  .gh-status{display:none}
  .gh-info{display:none}
  .gh-hint{display:none}

  /* --- CONTROL ROW: 3-column grid of tappable buttons --- */
  .gh-controls{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:5px;
    width:100%;
    max-width:100%;
  }
  .gh-controls .btn,
  .gh-buildbar .btn{
    padding:9px 6px;
    font-size:10px;
    letter-spacing:.5px;
    border-radius:8px;
    min-height:38px;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
  }
  /* override JS lockWidths inline min-width on mobile */
  .gh-controls .btn{min-width:0 !important}

  /* build bar: inline row with big buttons */
  .gh-buildbar{
    display:none !important;
    flex-wrap:wrap;
    gap:6px;
    padding:8px;
    border-radius:12px;
  }
  .gh-buildbar .btn{flex:1 1 auto;min-width:60px}
  .gh-build-count{font-size:14px;align-self:center}

  .gh-build-toggle{top:10px}
  .gh-build-toggle .btn-gh-build{padding:10px 16px;font-size:11px}
}
@media (max-width:440px){
  .gh-hero-copy h1{font-size:35px}
  .gh-hero-sub{font-size:15px}
  .gh-hero-desc{font-size:14px}

  .gh-widget-head .eyebrow{font-size:8px;padding:6px 9px}
  .gh-expand-btn{padding:8px 9px}
  .gh-widget-stage{min-height:250px}

  /* HUD: even tighter on very small screens */
  .gh-hud{padding:48px 6px 6px}

  /* controls: 3 columns, compact on tiny screens */
  .gh-controls{grid-template-columns:repeat(3,1fr);gap:4px}
  .gh-controls .btn,
  .gh-buildbar .btn{
    padding:7px 4px;
    font-size:9px;
    min-height:34px;
    min-width:0;
  }

  .gh-buildbar{display:none !important;gap:5px;padding:6px}
  .gh-buildbar .btn{padding:10px 6px;font-size:10px}
}
