/* ============================= */
/* GLOBAL RESET */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --side-pad: clamp(16px, 3.2vw, 48px);
  --header-top-pad: clamp(18px, 2.8vh, 32px);
  --panel-bottom: clamp(96px, 14vh, 170px);
  --selector-bottom: clamp(110px, 19vh, 220px); 
/* 110px = минимум (мобил)
   14vh  = флуидна вредност
   170px = максимум (твоја идеална desktop позиција) */
}

html, body {
  background: #000;
  color: #fff;
 font-family: "Zalando Sans", system-ui, sans-serif;
  overflow: hidden; /* важно: да не “шири” лево/десно док анимира */
}

/* ============================= */
/* VISUALLY HIDDEN (SEO) */
/* ============================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================= */
/* HEADER */
/* ============================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 7000;
  pointer-events: none;
}

.header-inner {
  width: 100%;
  padding: var(--header-top-pad) var(--side-pad); /* 👈 уклонили смо само "0" bottom */
  display: flex;
  justify-content: space-between;
  align-items: center; /* 👈 ово поравна EN/Contact/Burger са логом */
  pointer-events: auto;
}

.logo img {
  height: 70px; /* веће */
  display: block;
   opacity: 1; 
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;   /* размак између EN, Contact и Burger */
}

/* ✅ ЈЕДИНА header opacity логика (очишћено од дупликата) */
.header-right button {
  background: none;
  border: none;
  color: #fff;
  font-size: 15px; /* мало веће */
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 200ms ease;
}

.header-right button:hover{
  opacity: 1;
}

.header-right button.is-active{
  opacity: 1;
}

/* Burger */
.burger {
  width: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;

  position: relative;
  z-index: auto; /* header контролише layering */

  transform: translateY(-1.5px);

  background: none;
  border: none;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent; /* ✅ уклања mobile tap highlight */
}

/* Burger lines */
.burger span {
  width: 100%;
  height: 2px; /* стабилна пиксел дебљина */

  background: rgba(255,255,255,0.95);
  border-radius: 2px;

  transition:
    transform 0.32s cubic-bezier(.22,.61,.36,1),
    opacity 0.22s ease,
    height 0.2s ease;
}

/* remove focus ring */
.burger:focus,
.burger:focus-visible{
  outline: none;
  box-shadow: none;
}


/* ============================= */
/* BURGER -> X (menu-open)      */
/* ============================= */

body.menu-open .burger span:nth-child(1){
  transform: translateY(6.5px) rotate(45deg);
  height: 2.6px; 
}
body.menu-open .burger span:nth-child(2){
  opacity: 0;
}

body.menu-open .burger span:nth-child(3){
  transform: translateY(-6.5px) rotate(-45deg);
  height: 2.6px; 
}


/* ============================= */
/* MAIN WRAPPER */
/* ============================= */

#main-wrapper{
  position: relative;
  width: 100%;
  height: 100vh;
height: 100dvh;
}

/* ============================= */
/* PANELS */
/* ============================= */

.panel {
  position: absolute;
  inset: 0;
  width: 100%;
    height: 100vh;
height: 100dvh;
  overflow: hidden;
  visibility: hidden;
  opacity: 1;
  transform: translate3d(0,0,0);
}

.panel.is-active{
  visibility: visible;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.panel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}

/* ============================= */
/* PANEL CONTENT */
/* ============================= */

.panel-content {
  position: absolute;
  left: var(--side-pad);
  bottom: var(--panel-bottom);
  z-index: 2;
  max-width: min(720px, calc(100vw - (var(--side-pad) * 2)));
}

.panel-content h2 {
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  font-size: clamp(32px, 3.8vw, 59px);
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.005em;
  text-transform: none;   /* да буде како напишеш у HTML */
  margin-bottom: 16px;
  line-height: 1.05;
}


.panel-content p {
  font-size: 18px;
   font-weight: 200;
  line-height: 1.6;
  opacity: 0.60;
  max-width: 60ch;
  margin-bottom: 30px;
}

/* ============================= */
/* CTA BUTTON */
/* ============================= */

.panel-btn{

  --line-height: 1px;         /* основна дебљина */
  --line-hover-height: 2px;   /* дебљина кад се попуни */
  --line-opacity: 0.6;
  --line-color: 255,255,255;

  position: relative;
  display: inline-block;

  text-decoration: none;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.7);
  transition: color 280ms ease;   /* ❗ уклонили смо transform */
}

.btn-label{
  position: relative;
  display:inline-block;
}

/* основна танка линија */
.btn-label::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:100%;
  height:var(--line-height);
  background:rgba(var(--line-color), var(--line-opacity));
}

/* линија која се пуни */
.btn-label::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:100%;
  height:var(--line-hover-height);
  background:rgba(var(--line-color),1);

  transform:scaleX(0);
  transform-origin:left;
  transition:transform 380ms cubic-bezier(.22,.61,.36,1);
}

/* hover */
.panel-btn:hover{
  color:#fff;   /* само текст постаје бео */
}

.panel-btn:hover .btn-label::before{
  transform:scaleX(1);   /* линија се пуни слева на десно */
}

/* ============================= */
/* SELECTOR (right aligned, line at far right) */
/* ============================= */

.section-selector{
  position: fixed;
  right: var(--side-pad);
  bottom: var(--selector-bottom);
  z-index: 1001;
  width: 220px;
}

.selector-track{
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}

.selector-indicator{
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 18px;
  background: #fff;
  border-radius: 2px;
  transform: translateY(0);
}

.selector-items{
  position: relative;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.sel-item{
  background: none;
  border: none;
  font-size: 19px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: right;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s linear;
}

.sel-item:hover{
  color: rgba(255,255,255,0.75) !important;
}

/* ============================= */
/* SCROLL HINT – MODERN FLOW    */
/* ============================= */

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  z-index: 2000;
  pointer-events: none;
}

.scroll-worm {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: rgba(255,255,255,0.90);
  animation: flowLine 2.2s cubic-bezier(0.6,0,0.4,1) infinite;
}

@keyframes flowLine {
  0% {
    top: 0;
    height: 0;
    opacity: 1;
  }

  45% {
    top: 0;
    height: 100%;
    opacity: 1;
  }

  55% {
    top: 0;
    height: 100%;
    opacity: 1;
  }

  100% {
    top: 100%;
    height: 0;
    opacity: 1;
  }
}

/* text below line */

.scroll-hint-text {
  position: absolute;
  top: 100%;
  margin-top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}


/* ✅ Language: hover мора да иде на 1 (и кад је затворен и кад је отворен) */
.lang-toggle:hover{
  opacity: 1;
}
.lang-toggle.is-open:hover{
  opacity: 1;
}

/* ============================= */
/* LANGUAGE SELECTOR (UPDATED) */
/* ============================= */

/* ===================================== */
/* LANGUAGE ARROWS – FINAL CENTERED */
/* ===================================== */

.lang-arrow{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 0.9em;
  height: 0.9em;

  margin-left: 0.20em;

  /* KEY: optical baseline correction */
  transform: translateY(0.09em);
}

.lang-arrow .arrow{
  position: absolute;
  width: 100%;
  height: 100%;

  color: rgba(255,255,255,0.95);

  transition: opacity 320ms cubic-bezier(.22,.61,.36,1),
              transform 320ms cubic-bezier(.22,.61,.36,1);
}

/* Default (closed) */
.arrow-down{
  opacity: 1;
  transform: rotate(0deg);
}

/* Hidden until open */
.arrow-up{
  opacity: 0;
  transform: rotate(180deg);
}

/* Toggle state */
.lang-toggle.is-open .arrow-down{
  opacity: 0;
}

.lang-toggle.is-open .arrow-up{
  opacity: 1;
}

/* Dropdown container */
.ui-lang{
  position:fixed;
  z-index:7100;
  display:flex;
  flex-direction:column;
  gap:10px;
  opacity:0;
  pointer-events:none;
}

.ui-lang.is-open{
  pointer-events:auto;
}

.ui-lang-item{
  text-decoration:none;
  color:rgba(255,255,255,0.75);
  font-size:15px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  position:relative;
  transition:color 200ms ease;
}

.ui-lang-item::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:100%;
  height:1px;
  background:#fff;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 280ms cubic-bezier(.22,.61,.36,1);
}

.ui-lang-item:hover{
  color:#fff;
}
.ui-lang-item:hover::after{
  transform:scaleX(1);
}



/* ============================= */
/* CONTACT PANEL */
/* ============================= */

/* BACKDROP */
.ui-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5500;
}

/* PANEL */
.ui-contact-panel{
  width:410px;
  position:fixed;
  top:0;
  right:0;
  height: 100vh;
height: 100dvh;
  background:linear-gradient(
    180deg,
    rgba(12,12,12,0.72) 0%,
    rgba(8,8,8,0.82) 100%
  );
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:-24px 0 60px rgba(0,0,0,0.45);
  transform:translateX(100%);
  transition:transform 0.9s cubic-bezier(.22,.61,.36,1);
  z-index:8000;

  display:flex;
  flex-direction:column;
}

/* OPEN */
.ui-contact-panel.is-open{
  transform:translateX(0);
}

/* ================= TOP BAR ================= */
/* ВИСИНА ОСТАЈЕ 90px */

.ui-contact-top{
  display:flex;
  align-items:center;     /* вертикално центрирање */
  justify-content:space-between;
  height:70px;            /* НЕ МЕЊАТИ */
  padding:0 var(--side-pad);
}

/* CONTACT текст */
.ui-contact-title-anchor{
  font-size:17px;
  font-weight: 300;
  letter-spacing:0.08em;
  text-transform:uppercase;
  opacity:0.75;
}

/* CLOSE BUTTON */
.ui-close{
  background:none;
  border:none;
  color:#fff;
  font-size:17px;
  cursor:pointer;
  opacity:0.8;
  transition:opacity 200ms ease, transform 200ms ease;
}
.ui-close:hover{
  opacity:1;
  transform:scale(1.05);
}

/* FULL WIDTH DIVIDER */
.ui-divider-full{
  width:100%;
  height:1px;
  background:rgba(255,255,255,0.12);
}

/* ================= BODY ================= */
/* Не одузимамо више висину ручно */
/* Панел је flex column, footer се гура доле */

.ui-contact-body{
  flex:1;
  overflow-y:auto;              /* спречава улазак у taskbar */
  padding:25px var(--side-pad) 30px var(--side-pad);
  display:flex;
  flex-direction:column;
}

/* ================= LOGO ================= */

.ui-logo-block{
  margin-bottom:25px;          /* умерен размак */
  margin-top: 0px; 

  opacity: 0.85;
}

.ui-logo{
  height:67px;                 /* 5% већи */
}

/* ================= INFO ROWS ================= */
/* Размак између Email / Phone / Location остаје исти */

.ui-row{
  margin-bottom:15px;  
          /* ОВАЈ контролише размак између секција */
}
.ui-row:last-of-type{
  margin-bottom:0;
}

/* LABEL (EMAIL, PHONE...) */
.ui-label{
  font-size:14px;
  opacity:0.50;
  margin-bottom:2px;           /* МАЊИ размак између label и value */
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-weight: 200;
}

/* VALUE (адреса, број...) */
.ui-value,
.ui-link{
  font-size:16px;
  opacity:0.9;
  line-height:1.5;
  letter-spacing:0.05em;
  font-weight: 300;
}

.ui-link{
  text-decoration:none;
  color:#fff;
}
.ui-link:hover{
  opacity:1;
}

/* REMOVE COPY ICON */
.ui-copy{
  display:none;
}

/* ================= SECTION DIVIDERS ================= */
/* ВРАЋЕНИ divider-и */

.ui-divider-inset{
  height:1px;
  background:rgba(255,255,255,0.1);
  margin:20px 0;        /* контролише размак око divider-а */
}

/* ================= HEADINGS ================= */

.ui-heading{
  font-size:15px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  margin-bottom:10px;
  opacity:0.55;
}

/* ================= NAV LINKS ================= */

.ui-solutions{
  display:flex;
  flex-direction:column;
  gap:10px;
}


.ui-nav-link{
  display:inline-block;
  width:fit-content;
  position:relative;

  font-size:16px;
  line-height:1.2em;
  text-decoration:none;
  color:rgba(255,255,255,0.85);

  font-weight:300;
  letter-spacing:0.05em;
}

.ui-nav-link:hover{
  color:#fff;
}

.ui-nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;              /* 👈 померамо са -2 на -1 */

  width:100%;
  height:1px;
  background:#fff;

  transform:scaleX(0);
  transform-origin:left center;   /* 👈 центрирамо origin */
  will-change:transform;          /* 👈 стабилизује рендер */
  backface-visibility:hidden;     /* 👈 уклања flicker */

  transition:transform 280ms cubic-bezier(.22,.61,.36,1);
}

.ui-nav-link:hover::after{
  transform:scaleX(1);
}

/* ================= SOCIAL ================= */

.ui-social{
  width:28px;
  height:28px;
  opacity:0.75;
  transition:opacity 200ms ease;
}
.ui-social:hover{
  opacity:0.55;
}
.ui-social svg{
  width:28px;
  height:28px;
  fill:#fff;
}

.ui-social-row{
  display:flex;
  gap:17px;   /* 👈 мењаш овај број */
}

/* ================= FOOTER ================= */
/* НЕ УЛАЗИ ВИШЕ У TASKBAR */

.ui-footer{
  margin-top:auto;
  padding-top:30px;
}

.ui-copyline{
  font-size:12px;
  opacity:0.5;
  text-transform:uppercase;
  letter-spacing:0.1em;
}

/* ============================= */
/* FULLSCREEN BURGER MENU (FIXED) */
/* ============================= */

.ui-menu{
  position: fixed;
  inset: 0;
  z-index: 6000;

  background:
    linear-gradient(
      to bottom,
      rgba(14,14,14,0.93) 0%,
      rgba(6,6,6,0.89) 40%,
      rgba(0,0,0,0.97) 100%
    );

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.65s cubic-bezier(.16,1,.3,1);
}

.ui-menu.is-open{
  opacity: 1;
  pointer-events: auto;
  
}

.ui-menu-nav{
  display: flex;
  flex-direction: column;
  gap: 39px;              /* ✅ мало компактније */
  text-align: center;
  align-items: center;
}


/* ✅ важно: underline да прати само ширину текста */
.ui-menu-link{
  display: inline-block;  /* ✅ ОВО решава underline width проблем */
  font-size: clamp(25px, 3.08vw, 42px); /* ✅ мање и елегантније */
  letter-spacing: 0.23em;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color 0.22s ease;
}

.ui-menu-link:hover{
  color: #fff;
  opacity: 1;
}

.ui-menu-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;              /* мало више ваздуха */

  width:100%;
  height:1.5px;                /* тања линија */

  background: rgba(255,255,255,0.75); /* мекше */

  transform:scaleX(0);
  transform-origin:left;

  transition:transform 0.45s cubic-bezier(.16,1,.3,1);
}



/* ============================= */
/* BURGER MENU - NEVIDLJIVI ELEMENTI HEADERA i VIDLJIV/NEVIDLJIV LOGO */
/* ============================= */


/* ✅ важно: OVO UVEK MORA DA BUDE NA KRAJU CSS FAILA */
.ui-menu-link:hover::after{
  transform: scaleX(1);
}

/* ============================= */
/* LOGO ANIMATION CONTROL */
/* ============================= */

/* Default (close state) – бржи повратак */
.logo{
  transition: 
    transform 0.1s ease,
    opacity 0.1s ease;
}

/* Open state – спорији, луксузни zoom-out */
body.menu-open .logo{
  transform: scale(0.88);
  opacity: 0.85;

  transition: 
    transform 0.6s cubic-bezier(.22,.61,.36,1),
    opacity 0.6s ease;
}


/* Hide other header elements when menu open */
body.menu-open .header-right > :not(.burger){
  opacity: 0;
  pointer-events: none;
}


/* ===================================================== */
/* ================= RESPONSIVE SYSTEM ================= */
/* ===================================================== */

/* ✅ GLOBAL (важи за све, НЕ у media) */
/* Селектор увек fixed десно. JS ће по потреби подесити TOP. */
.section-selector{
  position: fixed;
  right: var(--side-pad);
  z-index: 1001;
}

/* Track/indicator базно – висину track-а свакако подешава JS (updateTrackHeight) */
.selector-track{
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}

.selector-indicator{
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 18px; /* JS ће ово мењати */
  background: #fff;
  border-radius: 2px;
  transform: translateY(0);
}

.selector-items{
  position: relative;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

/* ===================================================== */
/* 1️⃣ XS PHONES (≤360px) —   */
/* Циљ: све мање, да header не пуца и да hero не буде “прегласан” */
/* ===================================================== */

@media (max-width: 360px){

  :root{
    --side-pad: 12px;
    --header-top-pad: 12px;
  }

  /* HEADER */
  .logo img { height: 42px; }              /* ⬅️ мање (било 38) */
  .header-right { gap: 11px; }              /* ⬅️ мање */
  .header-right button {
    font-size: 12px;                       /* ⬅️ мање */
    letter-spacing: 0.06em;
  }
 /* ================= BURGER ================= */

  .burger{
    width: 23px;
    height: 20px;
    gap: 3px;
    transform: none;
  }

  .burger span{
    height: 2px;
  }

  body.menu-open .burger{
    justify-content: center;
  }


    body.menu-open .burger span:nth-child(1){
    transform: translateY(5.3px) rotate(45deg);
    height: 2.6px; /* или без height */
  }

body.menu-open .burger span:nth-child(2){
    opacity: 0;
  }

  body.menu-open .burger span:nth-child(3){
    transform: translateY(-5.3px) rotate(-45deg);
    height: 2.6px;
  }



  /* ================= FULLSCREEN MENU FONT ================= */

  .ui-menu-link{
    font-size: 23px;
    letter-spacing: 0.18em;
  }


  /* LANGUAGE */
  .ui-lang{
    gap: 8px;
  }

  .ui-lang-item{
    font-size: 11px;
  }




  /* SELECTOR */
  .section-selector{
    width: 132px;                          /* ⬅️ уже */
    bottom: auto;
    top: 0;                                /* JS ће overwrite */
    transform: none;
  }

  .selector-items{ gap: 10px; }
  .sel-item{
    font-size: 13px;                     /* ⬅️ мање (било 14) */
    letter-spacing: 0.12em;
  }

  /* PANEL CONTENT */
  .panel-content{
    bottom: clamp(112px, 14vh, 170px);     /* ⬅️ мало ниже да не гура */
  }

  .panel-content h2{
    font-size: clamp(26px, 8.6vw, 36px);   /* ⬅️ мање да не пуца */
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .panel-content p{
    font-size: 13px;                       /* ⬅️ мање */
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .panel-btn{
    font-size: 13px;                       /* ⬅️ мање */
    letter-spacing: 0.04em;
  }

  .btn-label::after,
  .btn-label::before{
    bottom: -5px;
  }

  /* SCROLL HINT */
  .scroll-hint{
    height: 46px;
    bottom: calc(clamp(16px, 4.5vh, 26px) + 12px);
  }

  .scroll-hint-text{
    margin-top: 15px;
    font-size: 10px;                       /* ⬅️ мање */
    letter-spacing: 0.24em;
  }

.ui-contact-panel{
    width: 100vw;
    height: 100dvh;
  }


 /* ========================================= */
/* ===== CONTACT PANEL – RESPONSIVE KIT ==== */
/* ========================================= */

/* ===== TOP BAR ===== */

 :root{
    --side-pad: 20px;   /* било 12 → па 20 → сада 24 за више ваздуха */
  }

.ui-contact-top{
  height: 58px;
}

.ui-contact-title-anchor{
  font-size: 15px;
  letter-spacing: 0.06em;
}

.ui-close{
  font-size: 17px;
}

/* ===== BODY PADDING ===== */

.ui-contact-body{
  padding: 18px var(--side-pad) 22px var(--side-pad);
}

/* ===== LOGO ===== */

.ui-logo{
  height: 70px;
}

.ui-logo-block{
  margin-bottom: 18px;
  opacity: 0.9;
}

/* ===== INFO ROWS ===== */

.ui-row{
  margin-bottom: 13px;
}

.ui-label{
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 1px;
  opacity: 0.55;
}

.ui-value,
.ui-link{
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* ===== DIVIDERS ===== */

.ui-divider-inset{
  margin: 18px 0;
  opacity: 0.5;
}

/* ===== SECTION HEADINGS ===== */

.ui-heading{
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  opacity: 0.6;
}

/* ===== NAV LINKS ===== */

.ui-nav-link{
  font-size: 14px;
  letter-spacing: 0.04em;
}


/* ===== SOCIAL ===== */

.ui-social-row{
  gap: 7px;
}

.ui-social{
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

.ui-social svg{
  width: 24px;
  height: 24px;
}

/* ===== FOOTER ===== */

.ui-footer{
  padding-top: 20px;
}

.ui-copyline{
  font-size: 10px;
  letter-spacing: 0.08em;
}

}

/* ===================================================== */
/* 2️⃣ MOBILE (361px – 767px)                             */
/* Циљ: “Galaxy S8+ / iPhone 12 Pro” пропорција           */
/* ===================================================== */

@media (min-width: 361px) and (max-width: 767px){

  :root{
    --side-pad: 18px;
  }

  /* HEADER */
  .logo img { height: 49px; }              /* ⬅️ благо веће (да буде “израженије”) */
  .header-right { gap: 12px; }
  .header-right button{
    font-size: 12px;
    letter-spacing: 0.07em;
  }


  /* ================= BURGER ================= */

  .burger{
    width: 25px;
    height: 18px;
    gap: 3px;
    transform: none;
  }

  .burger span{
    height: 2px;
  }

  body.menu-open .burger{
    justify-content: center;
  }

  body.menu-open .burger span:nth-child(1){
    transform: translateY(5.3px) rotate(45deg);
  }

  body.menu-open .burger span:nth-child(2){
    opacity: 0;
  }

  body.menu-open .burger span:nth-child(3){
    transform: translateY(-5.3px) rotate(-45deg);
  }


  /* ================= FULLSCREEN MENU FONT ================= */


  .ui-menu-link{
    font-size: 28px;
    letter-spacing: 0.18em;
  }



   /* LANGUAGE */
  .ui-lang{
    gap: 8px;
  }

  .ui-lang-item{
    font-size: 11px;
  }



  /* SELECTOR */
  .section-selector{
    width: 170px;
    bottom: auto;
    top: 0;                                /* JS ће overwrite */
    transform: none;
  }

  .selector-items{ gap: 14px; }
  .sel-item{
    font-size: 16px;
    letter-spacing: 0.13em;
  }

  /* PANEL CONTENT */
  .panel-content{
    bottom: clamp(125px, 16vh, 190px);
  }

  .panel-content h2{
    font-size: clamp(34px, 7.4vw, 52px);   /* ⬅️ да буде као на S8+ */
    line-height: 1.06;
    margin-bottom: 12px;
  }

  .panel-content p{
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .panel-btn{
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .btn-label::after,
  .btn-label::before{
    bottom: -6px;
  }

  /* SCROLL HINT */
  .scroll-hint{
    height: 55px;
    bottom: calc(clamp(22px, 6vh, 35px) + 18px);
  }

  .scroll-hint-text{
    margin-top: 18px;
    font-size: 11.5px;
    letter-spacing: 0.26em;
  }

.ui-contact-panel{
    width: 100vw;
    height: 100dvh;
  }


 /* ========================================= */
/* ===== CONTACT PANEL – RESPONSIVE KIT ==== */
/* ========================================= */

/* ===== TOP BAR ===== */

.ui-contact-top{
  height: 58px;
}

.ui-contact-title-anchor{
  font-size: 15px;
  letter-spacing: 0.06em;
}

.ui-close{
  font-size: 17px;
}

/* ===== BODY PADDING ===== */

.ui-contact-body{
  padding: 20px var(--side-pad) 22px var(--side-pad);
}

/* ===== LOGO ===== */

.ui-logo{
  height: 70px;
}

.ui-logo-block{
  margin-bottom: 20px;
  opacity: 0.9;
}

/* ===== INFO ROWS ===== */

.ui-row{
  margin-bottom: 13px;
}

.ui-label{
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 1px;
  opacity: 0.55;
}

.ui-value,
.ui-link{
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* ===== DIVIDERS ===== */

.ui-divider-inset{
  margin: 25px 0;
  opacity: 0.5;
}

/* ===== SECTION HEADINGS ===== */

.ui-heading{
  font-size: 14px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  opacity: 0.6;
}

/* ===== NAV LINKS ===== */

.ui-nav-link{
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* ===== SOCIAL ===== */

.ui-social-row{
  gap: 7px;
}

.ui-social{
  width: 27px;
  height: 27px;
  opacity: 0.75;
}

.ui-social svg{
  width: 27px;
  height: 27px;
}

/* ===== FOOTER ===== */

.ui-footer{
  padding-top: 22px;
}

.ui-copyline{
  font-size: 12px;
  letter-spacing: 0.08em;
}

}

/* ===================================================== */
/* 3️⃣ TABLET (768px – 1024px) */
/* Флуидно скалирање око 820px (iPad Air baseline) */
/* ===================================================== */

@media (min-width: 768px) and (max-width: 1024px){

 :root{
    --side-pad: 25px;
  }

  /* ================= HEADER ================= */

  .logo img{
    height: clamp(68px, 9.1vw, 82px);
  }

  .header-right{
    gap: clamp(20px, 3vw, 30px);
  }

  .header-right button{
    font-size: clamp(17px, 2.4vw, 22px);
    letter-spacing: 0.08em;
  }



/* ================= BURGER ================= */

  .burger{
    width: 35px;
    height: 25px;
    gap: 5px;
    transform: none;
  }

  .burger span{
    height: 2px;
  }

  body.menu-open .burger{
    justify-content: center;
  }


    body.menu-open .burger span:nth-child(1){
    transform: translateY(7.3px) rotate(45deg);
    height: 2.6px; /* или без height */
  }

body.menu-open .burger span:nth-child(2){
    opacity: 0;
  }

  body.menu-open .burger span:nth-child(3){
    transform: translateY(-7.3px) rotate(-45deg);
    height: 2.6px;
  }

/* ================= FULLSCREEN MENU FONT ================= */


.ui-menu-link{
    font-size: 45px;
    letter-spacing: 0.18em;
  }

  .ui-menu-nav{
  gap: 65px;
}


  /* LANGUAGE */
  .ui-lang{
    gap: 12px;
  }

  .ui-lang-item{
    font-size: clamp(16px, 2.2vw, 20px);
  }




  /* ================= SELECTOR ================= */

  .section-selector{
    width: clamp(210px, 28vw, 260px);
    bottom: auto;
    top: 0;
    transform: none;
  }

  .selector-items{
    gap: clamp(16px, 2.4vw, 24px);
  }

  .sel-item{
    font-size: clamp(20px, 2.8vw, 26px);
    letter-spacing: 0.14em;
  }

  /* ================= PANEL CONTENT ================= */

  .panel-content{
    bottom: clamp(140px, 13vh, 240px);
  }

  .panel-content h2{
    font-size: clamp(48px, 6.9vw, 72px);
    line-height: 1.05;
    margin-bottom: clamp(12px, 1.6vw, 18px);
  }

  .panel-content p{
    font-size: clamp(20px, 2.8vw, 26px);
    line-height: 1.55;
    margin-bottom: clamp(22px, 3vw, 30px);
    max-width: 52ch;
  }

  .panel-btn{
    font-size: clamp(20px, 2.8vw, 26px);
    letter-spacing: 0.05em;
  }

  /* ================= SCROLL ================= */

  .scroll-hint{
  height: clamp(70px, 9vw, 90px);
   bottom: 45px;
}

  .scroll-hint-text{
    font-size: clamp(14px, 2vw, 19px);
    letter-spacing: 0.28em;
  }


/* ========================================= */
/* ===== CONTACT PANEL – RESPONSIVE KIT ==== */
/* ========================================= */

/* ===== TOP BAR ===== */

.ui-contact-top{
  height: 58px;
}

.ui-contact-title-anchor{
  font-size: 17px;
  letter-spacing: 0.06em;
}

.ui-close{
  font-size: 19px;
}

/* ===== BODY PADDING ===== */

.ui-contact-body{
  padding: 20px var(--side-pad) 22px var(--side-pad);
}

/* ===== LOGO ===== */

.ui-logo{
  height: 75px;
}

.ui-logo-block{
  margin-bottom: 20px;
  opacity: 0.9;
}

/* ===== INFO ROWS ===== */

.ui-row{
  margin-bottom: 13px;
}

.ui-label{
  font-size: 17px;
  letter-spacing: 0.12em;
  margin-bottom: 1px;
  opacity: 0.55;
}

.ui-value,
.ui-link{
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* ===== DIVIDERS ===== */

.ui-divider-inset{
  margin: 25px 0;
  opacity: 0.5;
}

/* ===== SECTION HEADINGS ===== */

.ui-heading{
  font-size: 17px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  opacity: 0.6;
}

/* ===== NAV LINKS ===== */

.ui-nav-link{
  font-size: 18px;
  letter-spacing: 0.04em;
}

/* ===== SOCIAL ===== */

.ui-social-row{
  gap: 7px;
}

.ui-social{
  width: 30px;
  height: 30px;
  opacity: 0.75;
}

.ui-social svg{
  width: 30px;
  height: 30px;
}

/* ===== FOOTER ===== */

.ui-footer{
  padding-top: 22px;
}

.ui-copyline{
  font-size: 13px;
  letter-spacing: 0.08em;
}





}

/* ===================================================== */
/* 4️⃣ DESKTOP (1025px+)                                  */
/* ===================================================== */
/* Ништа не мењаш овде – desktop остаје на глобалним вредностима
   и користи bottom: var(--selector-bottom) из основног CSS-а. */





.lang-toggle:focus,
.lang-toggle:focus-visible,
.contact-toggle:focus,
.contact-toggle:focus-visible{
  outline: none;
  box-shadow: none;
}