/* ================= FONTS ================= */

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ================= RESET ================= */

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

body {
  background: #E9E8EC;
  color: #1D1D1F;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}







/* ===============================
   TOP BAR
=============================== */

.nx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: transparent;
  pointer-events: none;
}

.nx-topbar-inner {
  max-width: 1500px;
  width: calc(100% - 160px);
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  align-items: flex-start;
  pointer-events: auto;
}

.nx-topbar-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-topbar-item--right {
  justify-self: end;
  align-items: flex-start;
}

.nx-topbar-title,
.nx-topbar-sub {
  font-weight: 500;
  font-size: 16px;
  font-family: "Syne";
}

/* LIGHT MODE */

.nx-topbar--light .nx-topbar-title {
  color: #000;
}

.nx-topbar--light .nx-topbar-sub {
  color: rgba(0, 0, 0, 0.5);
}

/* DARK MODE (pokud bys někdy použil) */

.nx-topbar--dark .nx-topbar-title,
.nx-topbar--dark .nx-topbar-sub {
  color: #fff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nx-topbar-inner {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 80px);
    max-width: 720px;
    padding: 18px 0;
  }

  .nx-topbar-item--center,
  .nx-topbar-item--right {
    display: none;
  }

  .nx-topbar-inner {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .nx-topbar-inner {
    padding: 14px 14px;
  }
}










/* ================= CONTAINER ================= */

.container {
  width: 100%;
  padding-left: clamp(20px, 5vw, 160px);
  padding-right: clamp(20px, 5vw, 160px);
  padding-top: 160px;
}

@media (max-width: 768px) {
.container {
  padding-top: 300px;
}
}

/* ================= HERO TOP ================= */
.hero-top{
  text-align:center;
  margin-bottom: clamp(40px,6vw,80px);
}

/* řádek Back + Overline */

.hero-head{

  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;

  margin-bottom:10px;

}

/* Back vlevo */

.hero-back{
  position:absolute;
  left:0;
  display:flex;
  align-items:center;
  gap:10px;

  text-decoration:none;
  color: rgba(29, 29, 31, 0.5);

  font-family:"Syne";
  font-weight:500;
  font-size:16px;

}

.hero-back img{
  width:24px;
  opacity:.5;
  transition:.25s;
}

.hero-back:hover img{
  transform:translateX(-2px);
}

/* overline */

.overline{
  font-size: clamp(14px,1.4vw,22px);
  font-weight:600;
  font-family:"Syne";
}

/* title */

.title{
  font-size: clamp(28px,4.5vw,56px);
  font-weight:700;
  font-family:"Syne";

  margin-bottom: clamp(24px,4vw,40px);
  line-height:1.1;
}




/* CTA BUTTON */

.cta-btn{
  position:relative;

  width:215px;
  height:63px;

  display:flex;
  align-items:center;
  justify-content:flex-start;

  margin:40px auto; 

  padding:5px 5px 5px 25px;

  background:#DCDBDF;
  border-radius:999px;

  overflow:hidden;
  text-decoration:none;
}


/* TEXT */

.cta-text{
  font-size:16px;
  font-weight:500;
  color:#1D1D1F;
  font-family:"Syne";

  white-space:nowrap;

  transition:opacity .25s ease;
}


/* VIEW PILL */

.cta-pill{
  position:absolute;

  right:5px;
  top:5px;

  height:53px; /* přesně 63 - 10 padding */
  width:82px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#fff;
  border-radius:999px;

  font-size:16px;
  font-weight:500;
  color:#000;
  font-family:"Syne";

  transition:width .45s cubic-bezier(.76,0,.24,1);
}


/* HOVER */

.cta-btn:hover .cta-text{
  opacity:0;
}

.cta-btn:hover .cta-pill{
  width:calc(100% - 10px);
}

/* ================= IMAGE ================= */

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #C0BFC3; 
}

/* ================= DESKTOP BOTTOM ================= */

.hero-bottom {
  display: grid;
  grid-template-columns:
    1.35fr
    160px
    1fr
    80px
    1fr;

  padding-top: clamp(120px, 12vw, 180px);
  padding-bottom: clamp(140px, 14vw, 200px);

  align-items: start;
}

.col-left {
  grid-column: 1;
}

.hero-bottom .col:nth-child(2) {
  grid-column: 3;
}

.hero-bottom .col:nth-child(3) {
  grid-column: 5;
}

/* ================= TYPOGRAPHY ================= */

.col-left p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #8B8B90;
  max-width: 640px;
  font-family: "Syne";
}

.col-left p strong {
  color: #1D1D1F;
}

.col {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-block span,
.info-block strong {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: "Syne";
}

.info-block span {
  color: #8B8B90;
}

.info-block strong {
  color: #1D1D1F;
}

/* ================= TABLET ================= */

@media (max-width: 1100px) {

  .hero-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .col-left {
    grid-column: 1 / -1;
  }

  .hero-bottom .col:nth-child(2),
  .hero-bottom .col:nth-child(3) {
    grid-column: auto;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 60px;
    justify-items: center;
    text-align: center;
  }

  .col {
    align-items: center;
  }

  .col-left p {
    max-width: 100%;
  }
}





/* SECTION WRAPPER */
.image-section {
  width: 100%;
}

/* BOTH IMAGES */
.number-one{
  width: 100%;
  margin-bottom: 150px;
}

.full-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* OVERLAY VERSION */
.overlay-img {
  position: relative;
}














.wwyw-section {
  width: 100%;
  padding: 0 80px;
  background-color: #fff ;
  padding-top: 80px;
}

.wwyw-title {
  font-size: 56px;
  font-weight: 700;
  font-family: "Syne", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.wwyw-word {
  display: inline-block;
  margin-right: 0.35em;
}

/* =================================
   SECTION
================================= */

.wb-section {
  width: 100%;
  padding: 120px 0 160px;
  background: #ffffff;
}

/* =================================
   SLIDER
================================= */

.wb-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 80px;
  scroll-padding-right: 80px;
  scroll-behavior: smooth;
}

.wb-slider::-webkit-scrollbar {
  display: none;
}

.wb-track {
  display: flex;
  gap: 24px;
  padding-left: 80px;
}

.wb-track::after {
  content: "";
  flex: 0 0 80px;
}

/* =================================
   CARD
================================= */

.wb-card {
  flex: 0 0 1100px;
  height: 600px;

  scroll-snap-align: start;
  border-radius: 40px;
  overflow: hidden;

  position: relative;

  display: flex;
  align-items: center;
}

/* Background image */

.wb-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =================================
   TEXT BLOCK
================================= */

.wb-text-block {
  position: relative;
  z-index: 2;

  max-width: 352px;
  padding-left: 40px;
}

.wb-text-block h2 {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0;

  color: rgba(255, 255, 255, 0.5);
}

.card-3 .wb-text-block h2 {
  color: #6E6E74; 
}

.primary {
  font-weight: 700;
}


/* =================================
   PRIMARY COLORS (každý slide jiný)
================================= */

.color-1 {
  color: #FFFFFF; /* red */
}

.color-2 {
  color: #FFFFFF; /* blue */
}

.color-3 {
  color: #1D1D1F;
}

.color-4 {
  color: #FFFFFF; /* purple */
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1200px) {
  .wb-card {
    flex: 0 0 90%;
  }

  .wb-text-block {
    padding: 80px;
  }

  .wb-text-block h2 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {

  .wb-track {
    padding-left: 20px;
    gap: 16px;
  }

  .wb-track::after {
    flex: 0 0 20px;
  }

  .wb-card {
    flex: 0 0 calc(100% - 40px);
    height: 420px;
    border-radius: 28px;
  }

  .wb-text-block {
    padding: 60px 30px;
  }

  .wb-text-block h2 {
    font-size: 26px;
  }
}

/* =================================
   ARROWS
================================= */

.wb-nav {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-left: 80px;
}

.wb-arrow {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: #EBEBEE;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.25s ease;
}

.wb-arrow img {
  width: 18px;
  height: 18px;
}

.wb-arrow:hover {
  background: #E0E0E5;
}

.wb-arrow.disabled {
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 600px) {
  .wb-text-block {
    display: none;
  }
}






/* ===== HEADER ===== */

.product-header {
  text-align: center;
  margin-bottom: 80px;
  margin-top: 80px;
}

.product-header h2 {
  font-family: "Syne";
  font-size: 96px;
  font-weight: 700;
  color: #1D1D1F;
}

/* ===============================
   IMAGE
================================= */

.formats-image {
  max-width: 1310px;
  margin: 0 auto;
  background-color: transparent;
  margin-bottom: 160px;
}

.formats-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 480px) {

.formats-image {
  margin-bottom: 80px;
  margin-top: 0px;
}

.product-header h2 {
  font-size: 28px;
}

.wwyw-title {
  font-size: 28px;
}

.wwyw-section {
  padding: 20px 40px;
}

.wb-section {
  padding: 20px 0 80px;
}
}







/* =================================
   SECTION
================================= */

.rt-section {
  background: #fff;
  padding-top: 120px;
}

/* =================================
   CONTAINER (TEXT)
================================= */

.rt-container {
  margin: 0 auto;
  text-align: center;
  padding: 0 20px 80px;
}

/* small label */

.rt-label {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1D1D1F;
  display: block;
  margin-bottom: 20px;
}

/* big headline */

.rt-title {
  font-family: "Syne", sans-serif;
  font-size: 96px;
  font-weight: 700;
  margin: 0 0 24px;
  color: #1D1D1F;
}

/* paragraph */

.rt-text {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  color: #6E6E74;
  max-width: 720px;
  margin: 0 auto;
}

/* =================================
   IMAGE FULL WIDTH
================================= */

.rt-image {
  width: 100%;
}

.rt-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
  .rt-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .rt-title {
    font-size: 10px;
  }

  .rt-text {
    font-size: 8px;
  }

  .rt-section {
    padding-top: 80px;
  }
}






/* ===============================
   GSAP REVEAL OPTIMIZATION
=============================== */

.hero-top *,
.hero-bottom .col,
.rt-container *,
.product-header,
.wb-card,
.wwyw-title {
  will-change: transform, opacity;
}

.hero-image img,
.number-one img,
.rt-image img,
.formats-image img,
.wb-card img {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* smoother rendering */

img {
  image-rendering: auto;
}

/* premium hover */

.wb-card img {
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.wb-card:hover img {
  transform: scale(1.04);
}














/* =====================================================
BOTTOM BAR WRAP
===================================================== */

.ns-hero-bottom-wrap{
  position:fixed;
  left:0;
  right:0;

  bottom:40px;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:9999;

  pointer-events:none;
}

.ns-hero-bottom{
  position:relative;
  display:flex;
  align-items:center;
  pointer-events:auto;
}


/* =====================================================
MAIN PILL
===================================================== */

.ns-pill{
  width:297px;
  height:68px;

  background:#000;
  border-radius:20px;
  padding:4px;
  display:flex;
  gap:4px;
  transition:border-radius .25s ease;

}


/* =====================================================
BUTTON BASE
===================================================== */

.ns-pill-btn{

  height:60px;

  border-radius:16px;

  border:0;

  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0;

  text-decoration:none;

  font-family:"Syne";

}


/* =====================================================
LOGO
===================================================== */

.ns-pill-btn--logo{

  width:60px;

  background:#fff;

}

.ns-pill-icon{

  width:26px;
  height:26px;

}


/* =====================================================
MENU BUTTON
===================================================== */

.ns-pill-btn--menu{
  width:60px;
  border:1px solid #313131;
  background:#0b0b0b;
}

.ns-menu-img{
  width:22px;
  height:22px;
}


/* =====================================================
NEXT PROJECT
===================================================== */

.ns-pill-btn--next{
  flex:1;
  background:#0b0b0b;
  border:1px solid #313131;
  color:#fff;

  font-size:16px;
  font-weight:400;
  font-family: "Syne", sans-serif;


  gap:10px;
  transition:.01s;
}

.ns-next-arrow{
  width:22px;
  transition:.01s;
}

.ns-pill-btn--next:hover{

  background:#111;

}

.ns-pill-btn--next:hover .ns-next-arrow{
  transform:translateX(1px);
}


/* =====================================================
DROPDOWN MENU
===================================================== */

.ns-pill-menu{
  position:absolute;
  bottom:68px; 
  left:0;
  width:297px;
  background:#000;
  border-radius:20px 20px 0 0;
  overflow:hidden;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:translateY(8px);
  transition:

  opacity .22s ease,
  transform .26s cubic-bezier(.16,1,.3,1);
}


/* OPEN */

.ns-hero-bottom.is-menu-open .ns-pill-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:translateY(0);
}


/* spojení menu + pill */

.ns-hero-bottom.is-menu-open .ns-pill{

  border-top-left-radius:0;
  border-top-right-radius:0;

}


/* =====================================================
MENU ITEMS
===================================================== */

.ns-pill-menu-item{
  width:100%;
  height:64px;

  background:transparent;
  border:0;

  color:#fff;

  font-size:16px;
  font-weight:400;
  font-family:"Syne";

  cursor:pointer;


  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration: none;

}


/* divider */

.ns-pill-menu-item + .ns-pill-menu-item{
  border-top:1px solid rgba(255,255,255,0.15);
}


/* =====================================================
MOBILE
===================================================== */

@media (max-width:900px){
  .ns-hero-bottom-wrap{
    bottom:80px;
  }

}

@media (max-width:480px){
  .ns-pill{
    transform:scale(.9);
  }

}