/* ================= 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: #000;
  color: #fff;
  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: #fff;
}

.nx-topbar--light .nx-topbar-sub {
  color: rgba(255, 255, 255, 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(255, 255, 255, 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:220px;
  height:63px;

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

  margin:40px auto; 

  padding:5px 5px 5px 25px;

  background:#0B0B0B;
  border-radius:999px;

  overflow:hidden;
  text-decoration:none;
}


/* TEXT */

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

  white-space:nowrap;

  transition:opacity .25s ease;
}


/* VIEW PILL */

.cta-pill{
  position:absolute;

  right:5px;
  top:5px;

  height:53px;
  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;
}





/* ================= 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";
  text-align: left;
}

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

.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: #fff;
}

/* ================= 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%;
  margin-top: 80px;
}

/* BOTH IMAGES */
.number-one{
  width: 100%;
  background-color: #1D1D25;
}

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

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







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

.campaigns-section {
  background: #1D1D25;
  padding: 140px 80px;
}

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

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

.campaigns-header h2 {
  font-family: "Syne", sans-serif;
  font-size: 72px;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

/* ===============================
   TOP GRID (2 columns)
================================= */

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

/* ===============================
   BOTTOM GRID (4 columns)
================================= */

.campaigns-grid-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* ===============================
   IMAGES
================================= */

.campaigns-grid img,
.campaigns-grid-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {

  .campaigns-section {
    padding: 100px 20px;
  }

  .campaigns-header h2 {
    font-size: 42px;
  }

  .campaigns-grid {
    grid-template-columns: 1fr;
  }

  .campaigns-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

}







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

.formats-section {
  background: #000;
  padding: 80px 80px 140px;
  text-align: center;
}

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

.formats-header {
  max-width: 1100px;
  margin: 0 auto;
}

.formats-header h2 {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 160px;
}

.formats-header .primary {
  color: #ffffff;
}

.formats-header .secondary {
  color: #6E6E74;
}
/* ===============================
   IMAGE
================================= */

.formats-image {
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 900px) {

  .formats-section {
    padding: 60px 20px 100px;
  }

  .formats-header h2 {
    font-size: 10px;
    margin-bottom: 80px;
  }

}









/* =================================
   ULTRA SMOOTH REVEAL
================================= */

/* TEXT ELEMENTS */

.hero-top > *,
.hero-bottom .col,
.campaigns-header,
.formats-header {
  will-change: transform, opacity, filter;
}

/* IMAGES */

.hero-image img,
.campaigns-grid img,
.campaigns-grid-bottom img,
.formats-image img {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* smoother render */

img {
  image-rendering: auto;
}

/* micro hover polish */

.campaigns-grid img,
.campaigns-grid-bottom img {
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

.campaigns-grid img:hover,
.campaigns-grid-bottom img:hover {
  transform: scale(1.03);
}




























/* =====================================================
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);
  }

}