/* Globálně */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  /* zakáže scrollování doleva/doprava */
}


body {
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

* {
  font-family: 'Roboto', sans-serif;
}

header {
  color: white;
  padding: 0.5rem 2rem;
  display: flex;
  /* místo inline-flex */
  justify-content: space-between;
  /* logo vlevo, odkazy vpravo */
  align-items: center;
  /* vertikální vyrovnání */
  width: 100%;
  position: sticky;
  /* přidáno pro sticky efekt */
  top: 0;
  /* přichycení k horní hraně */
  background-color: inherit;
  /* doporučeno pro zachování pozadí při scrollování */
  z-index: 1000;
  /* zajistí překrytí nad obsahem stránky */
  border-bottom: greenyellow solid 2px;
  box-shadow: 0px 2px 5px rgba(172, 255, 47, 0.233);
}


/* Logo část */
.logo-box {
  display: flex;
  align-items: center;
}

header img {
  height: 40px;
  margin-right: 10px;
}

header h1 ,h2 {
  margin: 0;
  font-size: 1.5rem;
}

/* Navigace */
.nav-links a {
  color: #242424;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  text-decoration: underline;
}

h1 ,h2 {
  font-size: 1.5rem;
  color: #242424;
}

.container {
  display: flex;
  width: 100%;
  /* opraveno z 100vw */
  height: 70vh;
}

.text-part {
  background-color: #242424;
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  text-align: left;
  padding: 20px;
}

.text-part p {
  width: 750px;
}

.image-part {
  flex: 1;
  overflow: hidden;
}

.image-part img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(36, 36, 36, 0.8);
  /* tmavý overlay */
}

.modal-content {
  background: #242424;
  /* tmavé pozadí */
  color: white;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  outline: none;
  position: relative;
  /* aby křížek držel v rohu */
}
.modal ul {
  list-style: none;
  padding: 0;
}
.modal ul li a {
  text-decoration: none;
  color: #ffffff;
}
.modal ul li a:hover {
  text-decoration: underline;
}

/* Zavírací tlačítko */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: greenyellow;
}

/* Container na tlačítka */
.modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 12px;
  /* mezera mezi buttony */
}

/* Buttony */
.modal-buttons button {
  background-color: greenyellow;
  border: none;
  color: #242424;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-buttons button:hover,
.modal-buttons button:focus {
  background-color: white;
  color: #242424;
  outline: none;
}


/*  Uiverse.io  */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* Cards */
.cards {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 300px;
  margin: 250px 50px 200px 50px;
  border-radius: 24px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.034);
}

.content img {
  width: 100%;
  height: 200px;   /* nebo 100% pokud chceš vyplnit celou kartu */
  object-fit: cover;
  display: block;
}



.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 22px;
  height: auto;
  color: #ffffff;
  overflow: hidden;
  background: rgb(255, 255, 255);
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  margin: 0;
  padding: 0;
}


.content::before {
  position: absolute;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: rgba(172, 255, 47, 0.466);
  filter: blur(0.3rem);
  z-index: -1;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::after {
  position: absolute;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: rgba(172, 255, 47, 0.342);
  filter: blur(0.3rem);
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content svg {
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
}

.content .para1 {
  color: #333;
  font-weight: 900;
  z-index: 1;
  opacity: 1;
  font-size: 26px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  margin: 0 30px;
  padding: 0;
  padding-bottom: 20px;
}

.content .para {
  color: #333;
  font-weight: 300;
  height: auto;
  z-index: 1;
  opacity: 1;
  font-size: 18px;
  margin: 0 30px 10px 30px;
  padding: 0;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link {
  z-index: 1;
  color: #fea000;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link:hover {
  text-decoration: underline;
}

.card:hover {
  transform: translate(0px, -16px);
}

.card:hover .content::before {
  rotate: -8deg;
  top: 0;
  width: 100%;
  height: 100%;
}

.card:hover .content::after {
  rotate: 8deg;
  top: 0;
  width: 100%;
  height: 100%;
}


/* --- Responzivní design pro telefony --- */
@media (max-width: 1217px) {


  .container {
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 0px 0px 50px 0px;
  }

  .text-part {
    font-size: 1.8rem;
    padding: 20px 10px;
    text-align: center;
  }

  .text-part p {
    width: 100%;
    max-width: 95%;
    font-size: 2.5rem;
    margin: 10px 0;
    text-align: center;
  }

  .image-part {
    width: 100%;
    height: 200px;
  }

  .image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cards {
    flex-direction: column;
    gap: 50px;
    align-items: center;
    margin: 20px 0;
  }

  .card {
    width: 90%;
    margin: 250px 20px 150px 20px;
  }

  .content .para1 {
    font-size: 24px;
  }

  .content .para {
    font-size: 16px;
  }

  .content .para1,
  .content .para {
    margin: 10px 15px;
  }

  .content img {
    width: 100%;
    height: auto;
  }

  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    text-align: center;
    padding: 20px 10px;
  }

  footer img {
    margin: 10px 0;
  }

  footer h1 ,h2{
    margin: 10px 0;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
  }

  header img {
    margin: 10px 0;
  }

  header h1 ,h2{
    margin: 5px 0;
    font-size: 1.2rem;
  }

  .animated-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .solutions h2 {
    text-align: center;
    font-size: 44px;
  }

  .image-part img {
    border-bottom: greenyellow 3px solid;
  }

    .kontakt-mapa {
    height: 600px; /* větší výška na mobilu */
  }
}



/* Footer základ */
footer {
  background-color: #242424;
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  /* rozdělí do 3 částí */
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  /* aby se to na malých displejích zalomilo */
}

footer h1 ,h2{
  color: white;
}

/* Každý sloupec */
.footer-col {
  flex: 1;
  /* každý zabere 1/3 šířky */
  min-width: 200px;
  /* aby se to na mobilu nezmenšilo moc */
}

/* Logo + název */
.logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer img {
  width: auto;
  height: 50px;
  margin-bottom: 10px;
}

footer h1 ,h2{
  margin: 0;
  font-size: 1.5rem;
}

/* Zastúpenie */
.zastup p {
  color: greenyellow;
  font-weight: 900;
  margin-bottom: 10px;
}

.zastup ul {
  padding: 0;
  margin: 0;
}

.zastup li {
  list-style: none;
  margin: 4px 0;
}

/* Odkazy / kontakt */
.odkazy p {
  color: greenyellow;
  font-weight: 900;
  margin-bottom: 10px;
}

.odkazy ul {
  padding: 0;
  margin: 0;
}

.odkazy li {
  list-style: none;
  margin: 4px 0;
}

.odkazy a {
  color: white;
  text-decoration: none;
}

.odkazy a:hover {
  color: greenyellow;
}


/* --- Responzivní styl pro mobil --- */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    align-items: center;
    /* zarovná všechny sloupce doprostřed */
    text-align: center;
    /* text doprostřed */
  }

  .footer-col {
    min-width: 100%;
    margin-bottom: 1.5rem;
    align-items: center;
    /* logo + sloupce uprostřed */
  }

  .logo-col {
    align-items: center;
  }

  .zastup ul,
  .odkazy ul {
    padding: 0;
    margin: 0 auto;
  }
}


.onas {
  background: #242424;
  /* tmavé pozadí */
  color: #f5f5f5;
  /* světlý text */
  padding: 4rem 2rem;
  text-align: center;
}

.onas h2 {
  color: greenyellow;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.onas p {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  /* zarovná text doprostřed */
  line-height: 1.6;
  font-size: 1.1rem;
}

.onas a {
  color: greenyellow;
  text-decoration: none;
}


.onas a:hover {
  color: greenyellow;
  text-decoration: underline;
}

.industry {
  margin: 100px auto 0px auto;
  height: 200px;
}

.industry h1 ,h2{
  color: #242424;
  width: 70%;
  margin: 10px auto 10px auto;
  font-weight: 900;
  font-size: 60px;
}

.industry p {
  color: rgb(70, 70, 70);
  font-weight: bold;
  width: 70%;
  font-size: 24px;
  margin: 10px auto 10px auto;
  font-weight: 300;
}




/* ===== Sekce Solutions ===== */
.solutions {
  padding: 80px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.solutions h1 ,h2{
  text-align: center;
  margin-bottom: 50px;
  font-size: 60px;
  font-weight: 900;
  color: #222;
}

/* === Top (obrázek + záložky + text) === */
.solutions-top {
  display: flex;
  gap: 50px;
  margin-bottom: 70px;
  align-items: flex-start;
}

.sol-img {
  flex: 1;
}

.sol-img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.sol-tabs {
  flex: 1;
}

/* moderní tabs */
.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.tab-btn {
  position: relative;
  padding: 12px 20px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
  border-bottom: 2px solid #e0e0e0;

  -webkit-appearance: none;
  /* Safari fix */
  appearance: none;
  touch-action: manipulation;
  /* mobilní fix */
  z-index: 1;
  /* aby nebyly překryté pseudo-elementem */
}

@media (max-width: 768px) {
  .container {
    border-bottom: none !important;
  }
}


.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background: greenyellow;
  transition: width 0.3s ease;
  pointer-events: none;
  /* aby neblokoval kliknutí */
}


.tab-btn:hover {
  color: #111;
}

.tab-btn.active {
  color: #111;
}

.tab-btn.active::after {
  width: 100%;
}

.main-text {
  border: 1px solid #ddd;
  padding: 25px;
  background: #fff;
  min-height: 140px;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 6px;
}

/* === Middle (text vlevo + obrázek vpravo) === */
.solutions-middle {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.mid-text {
  flex: 1.3;
  /* text má více prostoru */
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.mid-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* zarovnání doprava */
}

.mid-img img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* === Bottom (dva boxy s ikonami) === */
.solutions-bottom {
  display: flex;
  gap: 40px;
}

.icon-box {
  flex: 1;
  background: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon {
  font-size: 2rem;
  color: greenyellow;
  margin-bottom: 15px;
}


.icon-box h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #111;
}

.icon-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.icon-box a {
  display: inline-block;
  margin-top: 15px;
  font-weight: bold;
  color: #242424;
  text-decoration: none;
}

.icon-box a:hover {
  text-decoration: underline;
}

/* === Responzivní === */
@media (max-width: 900px) {

  .solutions-top,
  .solutions-middle,
  .solutions-bottom {
    flex-direction: column;
  }

  .mid-img {
    justify-content: center;
  }

  .tabs {
    justify-content: center;
    flex-wrap: wrap;
    /* když by se nevešly, zalomí se */
    text-align: center;
  }
}


/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 14px;  /* širší pro viditelnější zaoblení */
}

::-webkit-scrollbar-track {
  background: white;
}

::-webkit-scrollbar-thumb {
  background: greenyellow;
  border-radius: 10px;
  border: 2px solid white; /* aby to bylo kulaté a hezky oddělené */
}

::-webkit-scrollbar-thumb:hover {
  background: #adff2f;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: greenyellow white;
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  * {
    scrollbar-width: none; /* Firefox */
  }
}
