/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}



 /* Typography */
body {
  font-family: var( --font-family-heading);
  font-size: var( --font-size-body);
  font-weight: var( --font-weight-regular);
  line-height: 170%;
  position: relative;
  color: var(--color-white);
  background: var(--color-black);
}

h1 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 110%;
  color: var(--color-white);
}

h2 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: 110%;
  color: var(--color-white);
}

h3 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: 110%;
  text-transform: uppercase;
  color: var(--color-white);
}

h4 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 110%;
  color: var(--color-white);
}


 /* Base */
.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
section {
  padding: var(--spacing-5xl)
}
.conteiner-fullw {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  position: sticky;
  top: 0;
}
.conteiner-medium {
  max-width: 1224px;
  margin: 0px auto;
  position: relative;
}
.paddingtop {
  padding-top: var(--spacing-11xl);
}  
.conteiner-small {
  max-width: 1032px;
  margin: 0px auto;
  position: relative;
}


header {
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-7xl);
}
header .logo {
  display: flex;
  gap: var(--spacing-lg);
  font-family: var( --font-family-heading);
  font-size: var(--font-size-h4);
  font-weight: var( --font-weight-bold);
  line-height: 170%;
  position: relative;
  color: var(--color-white);
}
header .logo span {
  padding-top: var(--spacing-lg);
}
header .lang {
  display: flex;
  gap: var(--spacing-lg);
}
header .lang span {
  color: rgb(255, 255, 255, 0.5);
}
header .lang a {
  color: var(--color-white);
  text-decoration: none;
}




  /* Hero */
.digiholic {
  font-size: 10vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  user-select: none;
  transition: transform 2s ease-out;
  will-change: transform;
  text-align: center; /* Zajistí horizontální vycentrování textu */
}
.hero .dark-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 1);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: -9;
}
section.hero {
  background: black url(img/hero-bg.jpg) no-repeat top right;
  background-size: cover;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  padding: 0px !important;
  z-index: 0;
  position: relative;
}

section.hero .left,
section.hero .right {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: var(--spacing-7xl);
}
section.hero .left {
  background-image: url(img/glass.png);
  background-color: rgba(0, 0, 0, 0.05); /* průhledné pozadí */
  backdrop-filter: blur(50px); /* rozmazání vrstvy pod sebou */
  -webkit-backdrop-filter: blur(50px); /* pro Safari */
  border-right: 2px solid rgb(255, 255, 255, 0.1);
}
section.hero .right {
  text-align: right;
}
section.hero .left img {
  width: 54px;
  height: 76px;
}
section.hero .left span {
  font-weight: var(--font-weight-regular);
  font-size: 20px;
  padding-bottom: var(--spacing-3xl);
}




section.tools {
  position: relative;
  background: var(--color-black);
  border-radius: 0px 0px 64px 64px;
  padding-bottom: var(--spacing-11xl);
} 
section.tools .title {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
}
section.tools  .boxy {
  display: flex;
  flex-direction: column;
} 
.toolbox {
  width: 100%;
  padding-top: var(--spacing-6xl);
  padding-bottom: var(--spacing-6xl);
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}
.toolbox:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #000000, #FD5821, #000000);
}
.toolbox img {
 max-height: 34px;
}

.toolbox h4 {
  flex: 1;
  font-size: 26px;
  text-transform: uppercase;
}
section.tools  .boxy .loga {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 600px;
} 





section.about-me {
  position: relative;
  background: var(--color-black);
} 
.about-me .conteiner {
  max-width: 1920px;
  margin: 0px auto;
  z-index: 2;
  background-color: var(--color-black);
}
.about-me .conteiner .numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 100dvh;
  justify-content: space-between;
  gap: var(--spacing-7xl);
}
.about-me .numbers img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.about-me .conteiner .numbers p {
  text-align: center;
  max-width: 340px;
}
.about-me .conteiner .numbers .line {
  height: 600px;
  width: 2px;
  background-color: rgb(255, 255, 255, 0.1);
}
.about-me .conteiner .numbers .first-number,
.about-me .conteiner .numbers .second-number,
.about-me .conteiner .numbers .third-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-7xl);
  position: relative;
}




 /* Worfkflow */

.abstract-shape {
  background-image: url(img/abstract-shape.png);
  width: 1137px;
  height: 879px;
  z-index: 0;
  position: absolute;
  top: -200px;
  left: -240px; transform: translateX(-240px);
} 

section.typical-workflow {
  position: relative;
  background: var(--color-black);
} 

.typical-workflow .title-section {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  position: sticky;
  top: var(--spacing-8xl);
}

.subtext {
  width: 50%;
  margin-left: auto;
  background-image: url(img/orange-line.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: var(--spacing-9xl) 0px var(--spacing-9xl) 0px;
}

.subtext p {
  padding-left: var(--spacing-6xl);
}

.workflow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-7xl);
}

.workflow .box {
  height: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  border: 1px solid #594197;
  overflow: hidden;
  position: sticky;
  top: 460px;   /* Změna výšky zastavení karet */
}

.workflow .box .title {
  min-width: 460px;
  padding: var(--spacing-7xl);
}

.workflow .box .title h3 {
  text-align: left;
}

.workflow .box .text {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  margin-right: var(--spacing-7xl);
  margin-bottom: var(--spacing-7xl);
}

.workflow .box p {
 max-width: 360px;
 border-left: 1px solid var(--color-border-01);
 background-color: var(--color-black);
 padding-left: var(--spacing-3xl);
}

.workflow .brand {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .brand  .title {
  background: url(img/orange.svg) center right;
}

.workflow .mood {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .mood  .title {
  background: url(img/orange.svg) center right;
}

.workflow .design-system {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .design-system  .title {
  background: url(img/orange.svg) center right;
}

.workflow .component {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .component  .title {
  background: url(img/orange.svg) center right;
}

.workflow .design {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .design  .title {
  background: url(img/orange.svg) center right;
}

.workflow .responsive {
  border: 3px solid var(--color-primary-500);
  background-color: var(--color-black);
}
.workflow .responsive  .title {
  background: url(img/orange.svg) center right;
}

.large-info-text { 
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.large-info-text p { 
  text-align: center;
  color: #FFF;
  text-align: center;
  font-family: Sora;
  font-size: var(--font-size-body-large);
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  max-width: 840px;
}
.large-info-text strong { 
  font-weight: 700;
}

.large-info-text strong.purple { 
 color: var(--color-primary-500);
}

.large-info-text strong.pink { 
 color: var(--color-primary-500);
}






/* Ready to build  */
.ready-to-build {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto;
  position: relative;
  z-index: 1;
  padding-top: var(--spacing-11xl);
  padding-bottom: 200px;
  will-change: transform;
  background: var(--color-black);
  overflow: hidden;
}


.ready-to-build .subtext {
  width: 50%;
  margin-left: auto;
  background: none;
  padding: var(--spacing-9xl) 0px var(--spacing-9xl) 0px;
}

.ready-to-build .title {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.ready-to-build .blured-figma-logo {
  background: url(img/figma-blured.png);
  width: 391px;
  height: 971px;
  position: absolute;
  top: 30%;
  left: 0;
  z-index: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-3xl);
  z-index: 10;
}

.features .content-box {
  min-height: 240px;
  position: relative;
  padding: var(--spacing-4xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-black);
  border: 1px solid var(--color-border-01);
  border-radius: var(--radius-md);
}

.figma-logo-large {
  position: absolute;
  width: 423px;
  height: 640px;
  background-image: url(img/figma-logo-color-large.svg);
  bottom: 160px;
  left: -212px;
  z-index: 0;
} 

.features .two {
  border: 3px solid var(--color-primary-500);
}

.features .seven {
  border: 3px solid var(--color-primary-500);
}










 /* Footer */
section.footer {
  background: black url(img/hero-bg.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: 100dvh;
  width: 100%;
  display: flex;
  padding: 0px !important;
  z-index: -10;        /* Footer pod webem */
  position: fixed;
  top: 0;
  opacity: 0.5;
}
section.footer .left,
section.footer .right {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-8xl);
}
section.footer .left {
  background-color: rgba(0, 0, 0, 0.1); /* průhledné pozadí */
  backdrop-filter: blur(40px); /* rozmazání vrstvy pod sebou */
  -webkit-backdrop-filter: blur(10px); /* pro Safari */
  border-right: 1px solid rgb(255, 255, 255, 0.2);
  justify-content: space-between;
}
section.footer .left p {
  max-width: 600px;
}
section.footer .right {
  align-items: center;
  justify-content: center;
}
section.footer a.mail-link {
  padding-right: var(--spacing-4xl);
  padding-left: var(--spacing-4xl);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 30px;
  text-decoration: none;
  color: var(--color-white);
  width: fit-content;
  border: 3px solid #FD5820;
  background-color: transparent;
  transition: 
  background-color 0.3s ease,
  color 0.3s ease,
  transform 0.2s ease;
}

section.footer a.mail-link:hover {
  background-color: #FD5820;
  color: black;
  transform: scale(1.03);
  color: var(--color-white);
}
section.footer  a.mail-link:hover {
  border: 3px solid #FD5820;
}

section.footer .left .spacex {
  height: 30%;
}

section.footer .left .content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6xl);
}

section.footer  .bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
section.footer  .bottom .base span  {
  color: rgb(255, 255, 255, 0.5);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
}







/* portfolio */
.portfolio-section {
  position: relative;
  color: white;
  background: black;
  transition: background-color 0.5s ease;
  padding: 0px !important;
  overflow: hidden;
}

.portfolio-scroll-wrapper {
  position: relative;
  height: 100vh;
}

.portfolio-track {
  display: flex;
  gap: 64px;
  will-change: transform;
  height: 100%;
  align-items: center;
  padding-left: 25%;
  padding-right: 124px;
  z-index: 4;
}

.portfolio-item {
  width: 880px;
  height: 672px;
  color: white;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-item-title {
  border: 2px solid var(--color-primary-500);
  padding: var(--spacing-6xl);
  max-width: 880px;
}


.first-item {
  width: 400px;
}

.portfolio-item p {
 max-width: 480px;
 padding-top: var(--spacing-4xl);
}

.portfolio-item img {
  border-radius: 16px;
}