/* ================================================
   HUB9 — Pixel-accurate IGOODI replica (Resalt)
   Source: build.css from igoodi.eu
   Color accent: eucalyptus (#3a8a6a) instead of #ff7200
   ================================================ */

*{margin:0;padding:0;box-sizing:border-box}

html,body{
  width:100%;height:100%;overflow:hidden;
  background:#181818;color:#fff;
  font-family:'Inter',-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;cursor:default;
}

/* ---- FONT CLASSES (IGOODI pattern) ---- */
.font-reg{font-weight:300}
.font-bold{font-weight:800}

/* ---- PRELOADER ---- */
#preloader{
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:#181818;z-index:9999;
  display:flex;align-items:center;justify-content:center;
}
.preloader-inner{text-align:center}
.preloader-text{font-size:11px;letter-spacing:0.165em;font-weight:300;color:rgba(255,255,255,0.3);margin-bottom:40px;text-transform:uppercase}
.preloader-bar{width:200px;height:2px;background:rgba(255,255,255,0.1);margin:0 auto 20px;overflow:hidden}
.preloader-fill{width:0%;height:100%;background:#3a8a6a;transition:width 0.1s ease}
.preloader-percent{font-size:11px;letter-spacing:0.165em;font-weight:300;color:rgba(255,255,255,0.3)}

/* ---- PAGE TRANSITION ---- */
#page-transition{
  position:fixed;top:0;left:0;width:100%;height:100%;
  z-index:10000;pointer-events:none;display:flex;
}
.pt-panel{
  height:100%;background:#fff;
  transform:translateY(100%);
}
.pt-side{width:25%}
.pt-center{width:25%}
/* ---- CANVAS ---- */
#three-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:0}

/* ---- VERTICAL LINES (IGOODI #lines) ---- */
#lines{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}
#lines .line{position:absolute;top:0;width:1px;height:100%}
#lines .left-line{left:90px;background:rgba(255,255,255,0.04)}
#lines .middle-line{left:50%;background:rgba(255,255,255,0.04)}
#lines .right-line{right:90px;background:rgba(255,255,255,0.04)}
@media(max-width:979px){
  #lines .left-line{left:30px}
  #lines .right-line{right:30px}
}

/* ---- LOGO (top center) ---- */
#gsap-logo{
  position:fixed;top:35px;left:50%;transform:translateX(-50%);
  z-index:100;font-size:11px;letter-spacing:0.3em;font-weight:300;
  color:rgba(255,255,255,0.5);text-transform:uppercase;
}

/* ---- HAMBURGER (right narrow panel) ---- */
#hamb{
  position:fixed;top:50%;right:45px;transform:translate(50%, -50%);
  z-index:200;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
#hamb .icon{width:25px;height:20px;position:relative;display:flex;flex-direction:column;justify-content:space-between}
#hamb .icon .bar{width:100%;height:2px;background:#fff;transition:all 0.4s cubic-bezier(0.645,0.045,0.355,1);transform-origin:center}
#hamb .icon.open .bar:first-child{transform:rotate(45deg) translate(6px,6px)}
#hamb .icon.open .bar:nth-child(2){opacity:0}
#hamb .icon.open .bar:last-child{transform:rotate(-45deg) translate(6px,-6px)}
#hamb .label{
  font-size:11px;letter-spacing:0.165em;text-transform:uppercase;
  color:rgba(255,255,255,0.5);overflow:hidden;height:14px;
}
#hamb .label span{display:block;transition:transform 0.5s cubic-bezier(0.645,0.045,0.355,1)}

/* ---- LANGUAGE TOGGLE ---- */
#lang-toggle {
  position: fixed; top: 45px; right: 45px; transform: translateX(50%);
  z-index: 200;
  font-size: 11px; letter-spacing: 0.165em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
#lang-toggle a {
  color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.3s;
}
#lang-toggle a:hover, #lang-toggle a.active {
  color: #fff;
}

/* ---- PHONE / TELEGRAM TOGGLE (top left) ---- */
#phone-toggle {
  position: fixed;
  top: 45px;
  left: 45px;
  transform: translateX(-50%);
  z-index: 200;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#phone-toggle .phone-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease, stroke 0.3s ease;
}
#phone-toggle:hover {
  color: #fff;
  transform: translateX(-50%) scale(1.15);
}
#phone-toggle:hover .phone-icon {
  stroke: #3a8a6a;
}


/* ---- NAV OVERLAY (50% width from right) ---- */
#app-nav{
  position:fixed;top:0;right:0;left:auto;width:50%;height:100%;z-index:150;
  pointer-events:none;overflow:hidden;
}
@media(max-width:979px){#app-nav{width:100%}}

#nav-bg1{position:absolute;top:0;left:0;right:90px;bottom:0;z-index:1;background:#3a8a6a;transform:translateY(100%)}
#nav-bg2{position:absolute;top:0;left:0;right:90px;bottom:0;z-index:2;background:#181818;transform:translateY(100%)}
@media(max-width:979px){#nav-bg1,#nav-bg2{right:0}}

#nav-wrap{
  position:absolute;top:0;left:0;right:90px;bottom:0;z-index:3;
  display:flex;flex-direction:column;justify-content:center;
  opacity:0;
}
@media(max-width:979px){#nav-wrap{right:30px}}

#nav-wrap ul{list-style:none;padding:0 40px 0 40px;text-align:left;}
#nav-wrap ul .line-decor{position:relative;display:block;width:1px;height:40px;background:rgba(255,255,255,0.3);margin:0}
#nav-wrap ul .line-decor.top{margin-bottom:30px}
#nav-wrap ul .line-decor.bot{margin-top:30px}

#nav-wrap ul li{position:relative;overflow:hidden;margin:0}
#nav-wrap ul li a{
  position:relative;display:block;overflow:hidden;
  letter-spacing:0.165em;font-size:14px;text-decoration:none;
  text-transform:uppercase;color:rgba(255,255,255,0.5);
  padding:15px 0;
  transition:color 0.5s cubic-bezier(0.215,0.61,0.355,1);
}
#nav-wrap ul li a:hover{color:#fff}
#nav-wrap ul li a .font-reg{display:inline-block;transform:translateY(100%)}
#nav-wrap ul li a .row-line{
  position:absolute;bottom:0;left:0;right:auto;width:0;height:1px;background:#fff;
  transition:width 0.4s ease;
}
#nav-wrap ul li a:hover .row-line{width:100%}

/* nav footer */
#nav-footer{
  position:absolute;bottom:30px;left:0;right:90px;z-index:4;
  text-align:center;opacity:0;
}
@media(max-width:979px){#nav-footer{left:30px}}
#nav-footer p{color:rgba(255,255,255,0.3);font-size:11px;letter-spacing:0.0725em;text-transform:uppercase;line-height:2}
#nav-footer a{color:rgba(255,255,255,0.3);text-decoration:none;transition:color 0.3s ease}
#nav-footer a:hover{color:#3a8a6a}

/* ---- FOOTER (bottom of main view) ---- */
#main-footer{
  position:fixed;bottom:35px;left:0;right:0;z-index:5;text-align:center;
}
/* mouse icon / scroll indicator */
.mouse-icon{
  position:relative;display:inline-block;width:14px;height:22px;
  border:2px solid #3a8a6a;border-radius:10px;margin-bottom:8px;
}
.mouse-icon .point{
  position:absolute;top:5px;left:50%;width:4px;height:4px;margin-left:-2px;
  border-radius:50%;background:#3a8a6a;
  animation:mouseScroll 2s ease-in-out infinite;
}
@keyframes mouseScroll{
  0%,100%{transform:translateY(0);opacity:1}
  50%{transform:translateY(8px);opacity:0}
}
.scroll-label{
  font-size:11px;letter-spacing:0.165em;text-transform:uppercase;
  color:rgba(255,255,255,0.3);display:block;
}

/* ---- SECTIONS ---- */
#sections-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}

.section{
  position:absolute;top:0;left:0;width:100%;height:100%;
  display:flex; flex-direction:column; justify-content:flex-end; align-items:center;
  text-align:center;
  opacity:0;visibility:hidden;
}
.section.active{opacity:1;visibility:visible;pointer-events:all}
.section .table-cell{
  width: 100%;
  padding: 0 90px 120px 90px;
  box-sizing: border-box;
  background: transparent; /* No wall behind text, fully transparent */
}
@media(max-width:979px){.section .table-cell{padding:0 30px 100px 30px; background: transparent;}}

/* ---- SLIDE TYPOGRAPHY (exact IGOODI sizes) ---- */
.section h1{
  margin:5px 0 10px;
  letter-spacing:0.0725em;font-size:55px;
  text-transform:uppercase;color:#fff;
  text-shadow: 0 4px 10px rgba(24,24,24,0.8), 0 0 30px rgba(24,24,24,0.9);
}
@media(max-width:979px){.section h1{font-size:38.5px}}
.section h1 .letter{position:relative;display:inline-block;overflow:hidden}
.section h1 .letter span{display:inline-block}
/* horizontal lines beside h1 */
.section h1>span{position:relative;display:inline-block}
.section h1>span:before,.section h1>span:after{
  content:'';position:absolute;width:40px;height:2px;top:50%;
  background:rgba(255,255,255,0.2);
}
.section h1>span:before{margin:-1px 0 0 -40px;left:-40px}
.section h1>span:after{margin:-1px -40px 0 0;right:-40px}
@media(max-width:979px){.section h1>span:before,.section h1>span:after{display:none}}

.section h3{
  margin:15px auto 0;color:#fff;
  text-transform:uppercase;text-align:center;
  letter-spacing:0.165em;font-size:14px;font-weight:300;
  text-shadow: 0 2px 10px rgba(24,24,24,0.8), 0 0 20px rgba(24,24,24,0.9);
}

.section h4{
  max-width:580px;margin:0 auto 10px;
  line-height:1.75em;letter-spacing:0.10875em;
  text-transform:uppercase;text-align:center;
  font-size:14px;font-weight:300;
  color:#fff;
  text-shadow: 0 2px 10px rgba(24,24,24,0.8), 0 0 20px rgba(24,24,24,1);
}
@media(max-width:979px){.section h4{font-size:11px;max-width:320px}}

.section h4 span.row{
  position:relative;display:inline-block;overflow:hidden;
}

/* ---- COUNTER (IGOODI style) ---- */
.count{position:absolute;right:90px;bottom:120px;text-align:right;z-index:5}
@media(max-width:979px){.count{right:30px;bottom:80px}}
.count .label{
  font-size:11px;letter-spacing:0.165em;text-transform:uppercase;
  color:rgba(255,255,255,0.3);margin-bottom:10px;
}
.count .num .value{font-size:72px;font-weight:800;letter-spacing:-2px;color:#fff}
@media(max-width:979px){.count .num .value{font-size:36px}}
.count .num .type{
  font-size:14px;letter-spacing:0.165em;text-transform:uppercase;
  color:rgba(255,255,255,0.3);margin-left:8px;
}

/* ---- SLIDER NAV (left narrow panel dots) ---- */
#slider-nav{
  position:fixed;top:50%;left:45px;transform:translate(-50%, -50%);
  z-index:20;display:flex;flex-direction:column;gap:15px;
}
@media(max-width:979px){#slider-nav{left:15px}}
.nav-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,0.2);cursor:pointer;
  transition:all 0.5s cubic-bezier(0.215,0.61,0.355,1);
}
.nav-dot.active{background:#3a8a6a;box-shadow:0 0 8px rgba(58,138,106,0.4)}
.nav-dot:hover{background:rgba(255,255,255,0.4)}

/* ---- CTA BUTTON (IGOODI main-btn style) ---- */
.main-btn{
  position:relative;display:inline-block;margin:30px auto 0;
  padding:20px 50px;overflow:hidden;cursor:pointer;
  letter-spacing:0.20625em;font-size:14px;text-transform:uppercase;
  color:#fff;text-decoration:none;background:none;border:none;
}
.main-btn .wrap{position:relative;display:block}
.main-btn .btn-line{
  position:absolute;bottom:0;left:0;right:0;height:1px;
  background:rgba(255,255,255,0.2);
  transition:background 0.4s ease;
}
.main-btn:hover .btn-line{background:#3a8a6a}
.main-btn .btn-bg{
  position:absolute;bottom:0;left:0;width:0;height:100%;
  background:rgba(58,138,106,0.1);transition:width 0.6s cubic-bezier(0.215,0.61,0.355,1);
}
.main-btn:hover .btn-bg{width:100%}

/* ---- RESPONSIVE ---- */
@media(max-width:979px){
  #gsap-logo{top:20px;font-size:10px}
  #hamb{right:15px;transform:translate(50%, -50%);}
  #lang-toggle{right:15px;transform:translateX(50%);}
  #phone-toggle{left:15px;transform:translateX(-50%);}
  #main-footer{bottom:20px}
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #F9F8F3;
  color: #2C2E31;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  transform: translateX(-100%);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

#cookie-banner.show {
  transform: translateX(0);
}

#cookie-banner p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  max-width: 400px;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  font-weight: 300;
}

#cookie-banner p a {
  color: #2C2E31;
  text-decoration: underline;
  font-weight: 600;
}

#cookie-banner button {
  background: transparent;
  color: #2C2E31;
  border: 1px solid rgba(44,46,49,0.3);
  padding: 15px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cookie-banner button:hover {
  background: #2C2E31;
  color: #F9F8F3;
}

@media(max-width:979px){
  #cookie-banner {
    width: 100%;
  }
}
