*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: var(--font-piksel) !important;
}


html,
body {
  overflow-x: hidden;

}

@font-face {
  font-family: 'Gebuk';
  src:
    url('/assets/fonts/Gebuk-Regular.woff2') format('woff2'),
    url('/assets/fonts/Gebuk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-piksel: 'Poppins', sans-serif;
  --font-custom: 'Gebuk', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-piksel) !important;
  background-color: #0A0A0A;
  max-width: 100vw;
  cursor: none;
  overflow-x: hidden;
  position: relative;
}



.custom-cursor {
  position: absolute;
  width: 25px;
  /* Standardní velikost kurzoru */
  height: 25px;
  background: radial-gradient(circle, #60E3F0, #0077B6);
  /* Vícebarevný gradient s tmavší a světlejší modrou */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(96, 227, 240, 0.8), 0 0 20px rgba(0, 119, 182, 0.5);
  /* Přidání záře */
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  /* Vycentrování kurzoru */
  transition: transform 0.05s ease-out, background-color 0.3s ease, box-shadow 0.3s ease;
}

.line {
  position: absolute;
  width: 50px;
  /* Menší šířka linií */
  height: 50px;
  /* Menší výška linií */
  top: 50%;
  left: 50%;
  border: 2px solid rgba(96, 227, 240, 0.5);
  /* Linie kolem kurzoru */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  /* Pod kurzorem */
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  /* Vycentrování a zmenšení */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.custom-cursor-container {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
}

.custom-cursor-container.hover .custom-cursor {
  background: radial-gradient(circle, #ADE8F4, #60E3F0);
  /* Změna barev při hoveru */
  width: 30px;
  /* Zvětšení při hoveru */
  height: 30px;
  box-shadow: 0 0 15px rgba(173, 232, 244, 0.8), 0 0 30px rgba(96, 227, 240, 0.5);
  /* Zesílení záře */
}

.custom-cursor-container.click .line {
  opacity: 1;
  transform: translate(-50%, -50%) scale(2) rotate(360deg);
  /* Linie se rozšiřují a otáčí */
  animation: line-spin 1s forwards;
}

@keyframes line-spin {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2) rotate(360deg);
  }
}

a,
button,
.benefit-header,
.steps-cards,
.steps-timeline,
.gallery-nav,
.question {
  cursor: none !important;
  /* Zabrání zobrazení jiných kurzorů */
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* logo vlevo */
  margin: 20px;
  background: transparent;
  position: relative;
  z-index: 1000;
  padding: 0;
}

.hamburger-menu {
  cursor: pointer;
  display: none;
  /* Hide by default */
  flex-direction: column;
  gap: 5px;
  transition: transform 0.3s ease;
}

.hamburger-menu .linka {
  width: 30px;
  height: 5px;
  background: linear-gradient(90deg, #60E3F0 70%, #FFFFFF 100%);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active .linka:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .linka:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .linka:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  /* Initially hide the mobile menu */
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: transparent;
  border-radius: 0 0 20px 20px;
  padding: 20px 0;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
  /* Show the menu when active */
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin: 10px 0;
  opacity: 0;
  transform: translateX(-100%);
  /* Start position off-screen */
  animation: slideIn 0.5s forwards;
  /* Trigger animation */
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 400;
  font-size: 18px;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: #60E3F0;
  /* Change color on hover */
}

.mobile-menu ul li:nth-child(1) {
  animation-delay: 0.2s;
}

.mobile-menu ul li:nth-child(2) {
  animation-delay: 0.4s;
}

.mobile-menu ul li:nth-child(3) {
  animation-delay: 0.6s;
}

.mobile-menu ul li:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
    /* End position at original place */
  }
}

.navbar-glow {
  position: absolute;
  top: -1200px;
  /* Move it off-screen */
  left: -1200px;
  /* Move it off-screen */
  width: 2000px;
  height: 2000px;
  background: radial-gradient(circle, rgb(96, 228, 240), #0A0A0A, transparent);
  border-radius: 50%;
  z-index: -1000;
  /* Behind the navbar content */
  opacity: 0.2;
}

.logo img {
  width: 150px;
}

.nav-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  /* tlačí odkazy doprava vedle tlačítka */
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  backdrop-filter: blur(20px);
  padding: 10px 31px;
}

/* Vlastní seznam odkazů */
.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links ul li a {
  position: relative;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 400;
  padding-left: 12px;
  /* prostor pro tečku */
}

.nav-links ul li a .nav-dot {
  display: none;
}

/* Aktvní tečka vlevo */
.nav-links ul li a.active .nav-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #60E3F0;
  border-radius: 50%;
  display: inline-block;
}

/* CTA tlačítko zůstává venku */
.cta {
  margin-left: 20px;
}

.cta .button {
  padding: 10px 20px;
  border: 2px solid #60E3F0;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
}


.primary-button {
  padding: 15px 30px;
  background-color: transparent;
  color: #FFFFFF;
  border: 3px solid #60E3F0;
  /* Modrá barva borderu */
  border-radius: 50px;
  text-decoration: none;
  font-size: 500;
  font-size: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.primary-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #60E3F0;

}


/* ===== Projektová detailní stránka ===== */
.project-detail {
  max-width: 1200px;
  margin: 80px auto 120px;
  padding: 0 20px;
  color: #fff;
  font-family: var(--font-piksel);
}

/* back nav */
.back-nav a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
  transition: color 0.2s, transform 0.2s;
  position: relative;
  z-index: 1001;

}

.back-nav a:hover {
  color: #60E3F0;
  /* přechod na akcentní barvu */
  transform: translateX(-6px);
  /* posun vlevo */
}

/* intro */
.project-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.project-intro .title-arrow {
  width: 60px;
  height: 60px;
  transform: rotate(-135deg);
}

.project-intro h1 {
  font-size: 72px;
  margin: 0;
}

/* hero */
.project-hero {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.project-hero img {
  width: 100%;
  display: block;
}

/* meta: služby + button */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.project-services h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-tags span {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
  padding: 6px 14px;
  border: 1px solid #fff;
  border-radius: 50px;
  font-size: 14px;
}

.primary-button {
  padding: 15px 30px;
  background-color: transparent;
  color: #FFFFFF;
  border: 3px solid #60E3F0;
  border-radius: 50px;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.primary-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #60E3F0;
}

/* popis */
.project-description p {
  font-size: 18px;
  line-height: 1.6;
  color: #DADDDD;
  margin-bottom: 120px;
}

/* galerie 2 sloupce + stagger */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  /* stagger efekt */
  transform: none;
}

.project-gallery img:nth-child(odd) {
  transform: translateY(20px);
}

.project-gallery img:nth-child(even) {
  transform: translateY(-10px);
}

/* 6) Doporučené reference */
.related-projects {
  margin-top: 28px;
}

.related-projects h2 {
  font-weight: 500;
  color: #fff;
  font-size: 36px;
}

.related-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.project-arrow {
  width: 30px;
  height: 30px;
  transform: rotate(-135deg);
  opacity: .95;
}

/* gradientový nadpis v duchu webu */
.related-title {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.4px;
  margin: 0;
  background: linear-gradient(90deg, #9ca3af, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.related-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

.related-card {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, .35);
  background: linear-gradient(134deg, rgba(23, 23, 23, .55), rgba(23, 23, 23, .25));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.related-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Frosted glass caption */
.related-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 16px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, .35);
  background:
    linear-gradient(134deg, rgba(23, 23, 23, .65), rgba(23, 23, 23, .25));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 10px 26px rgba(0, 0, 0, .35);
  text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  font-size: 18px;
  font-weight: 600;
}

/* Hover/focus – jemný glow v barvě brandu */
.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  border-color: rgba(96, 227, 240, .55);
}

.related-card:hover .related-caption,
.related-card:focus-visible .related-caption {
  border-color: #60E3F0;
  box-shadow:
    inset 0 0 0 1px rgba(96, 227, 240, .15),
    0 0 14px rgba(96, 227, 240, .35),
    0 10px 26px rgba(0, 0, 0, .35);
}






/*GLOWS*/
.glow-1 {
  position: absolute;
  top: 600px;
  /* Move it off-screen */
  right: -1000px;
  /* Move it off-screen */
  width: 2000px;
  height: 2000px;
  background: radial-gradient(circle in lch, rgb(96, 228, 240), #0A0A0A, transparent);
  border-radius: 50%;
  z-index: -1;
  /* Behind the navbar content */
  opacity: 0.2;
}

/*CALL RSERVE*/

.reserve-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 120px auto 100px auto;
  text-align: left;
  max-width: 900px;
  /* Maximální šířka celé sekce */
  padding: 0 0px 0 0px;
  /* Přidání marginů ze stran */
}

.reserve-section-text {
  max-width: 383px;
}

.reserve-section-text h2 {
  display: inline-block;
  text-align: center;
  overflow-wrap: break-word;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 0px;
}

.reserve-section-text p {
  text-align: center;
  overflow-wrap: break-word;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #ADB1B1;
}

.reserve-section-image-button {
  display: flex;
  flex-direction: column;
  /* Obrázek nad tlačítkem */
  align-items: center;
  gap: 20px;

}

.reserve-section-image {
  width: 80px;
  height: 60px;
  filter: grayscale(100%);
}

.reserve-section-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reserve-section-button {
  text-align: center;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid #60E3F0;
  text-decoration: none;
  width: 300px;
  overflow-wrap: break-word;
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
  color: #FFFFFF;

}

/*SHAPING*/

.highlight-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;

}

.highlight-content {
  text-align: center;
}

.highlight-text h2 {
  font-weight: 400;
  font-size: 72px;
  line-height: 1.333;
  color: #fff;
  margin: 0;
  font-family: var(--font-custom) !important;
}

.highlight-text h2 .blue {
  font-family: var(--font-custom) !important;
  color: #05DCF1;

}

.action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.scroll-to-top {
  backdrop-filter: blur(24.8px);
  border-radius: 50px;
  border: 3.2px solid #60E3F0;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.5), rgba(23, 23, 23, 0.5));
  width: 210px;
  padding: 10px 20px 10px 20px;
  box-sizing: border-box;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.social-icons img:hover {
  opacity: 0.7;
}

/*FOOTER*/
footer {
  position: relative;
}

.footer-section {
  margin-top: 180px;

  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
}

.footer-logo img {
  height: 30px;
  /* Nastavení velikosti loga */
}

.footer-copyright p {
  font-weight: 400;
  font-size: 14px;
  color: #DADDDD;
}


@media screen and (max-width: 768px) {
  body {
    cursor: auto;

  }

  .glow-1 {
    position: absolute;
    top: 600px;
    /* Move it off-screen */
    right: -533px;
    /* Move it off-screen */


  }


  .custom-cursor-container {
    display: none !important;
    /* Skryje celý custom cursor */
  }

  /*NAVBAR*/

  .nav-container {
    border: none;
  }

  .nav-links,
  .cta {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    background-color: transparent;
  }

  .mobile-menu ul li {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideIn 0.5s forwards;
  }

  .navbar {
    border: none;
    margin: 20px;

  }

  .social-icons-mobile {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 1000;
    position: relative;
  }


  /* Move content when mobile menu is active */
  .content {
    transition: margin-top 0.3s ease;
  }

  .content.shifted {
    margin-top: 200px;
    /* Dynamically adjusted with JavaScript */
  }

  /*PROJECTS DETAIL*/

  .project-intro h1 {
    font-size: 40px;
  }

  .project-intro .title-arrow {
    height: 36px;
    width: 36px;
  }

  .project-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button {
    width: 100%;
    text-align: center;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-gallery img:nth-child(odd),
  .project-gallery img:nth-child(even) {
    transform: none;
  }

  .related-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .related-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 52px;
  }

  /*CALL RESERVE*/

  .reserve-section {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    /* Zmenšení marginů pro mobilní verzi */
  }

  .reserve-section-image-button {
    gap: 10px;
  }


  /*Shaping*/

  .highlight-section {
    margin-bottom: 80px;
    margin-top: 100px;
    padding: 20px 0;
    font-family: var(--font-custom) !important;
  }

  .highlight-text h2 {
    font-size: 36px;
  }

  .action-row {
    flex-direction: column;
    gap: 10px;
  }

  .scroll-to-top {
    font-size: 14px;
    padding: 8px 16px;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  /*FOOTER*/
  .footer-section {
    padding: 0;
    margin-top: 80px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
  }

  .footer-logo {
    margin-bottom: 10px;

  }

  .footer-copyright p {
    text-align: center;

  }
}