:root {
  --theme-blue-color: #0747fd;
  --max-section-content-width: 1400px;
}

html {
  font-size: calc(1.7vh + 0.4vw + 1px);
  scroll-behavior: smooth;
}

body {
  font-family: "Figtree", sans-serif;
  font-size: 20px;
}

a {
  text-decoration: none;
}

ul {
  padding-left: 10px;
}

li {
  margin: 20px;
}

p, a, button {
  font-weight: 780;
  font-style: italic;
  text-decoration: none;
}

.vertical-split-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.vertical-split-item {
  flex: 1;
  display: flex;
}

.mentions-wrapper {
  border: 2px solid #999;
  padding: 30px;
}

.reference-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.reference-item{
  flex: 1;

  max-width: 100%;

  height: 100%;
  border: 2px solid #999;
  border-radius: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 10px;
  min-height: 160px;
}

.reference-text p {
  font-family: Tahoma, sans-serif;
  font-weight: 100;
  text-align: center;
  font-size: large;
  font-style: normal;
  margin: 0;
}

.reference-stars {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  margin-inline: 50px;
}

.reference-stars img {
  width: 30px;
  margin-inline: 10px;
}

.reference-brand {
  width: fit-content;
}

.reference-brand img {
  width: 250px;
  max-width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}

.home-btn-wrapper {
  /* Absolutni pozice */
  /* position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%); */

  /* Pozice pod textem */
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding-bottom: 20px;
}

.about-btn-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.round-btn {
  font-size: 1rem;
  border: none;
  padding: 12px 50px;
  border-radius: 100px;
  margin: 0;
  width: fit-content;
  transition: scale 0.2s ease;
  scale: 1;
}

.round-btn:hover {
  scale: 1.1;
}

.page-wrapper {
  padding: min(60px, 5%) min(80px,5%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bg-blue {
  background-color: var(--theme-blue-color);
}

.bg-white {
  background-color: white;
}

.section-title {
  margin: 20px auto 40px;
  width:100%;
  max-width: var(--max-section-content-width);
}

.section-title h1 {
  font-size: 2.5rem;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

/* Sekce about */
.about {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Ensures full height alignment */
  gap: 20px; /* Space between image and text */
  height: fit-content;
}

.about img {
  height: auto;
  flex-shrink: 0; /* Prevents image from shrinking */
  padding-right: 60px;
}

.text-section {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column; /* Stacks text and button vertically */
  justify-content: space-between; /* Pushes button to bottom */
  flex: 1; /* Takes remaining space */
}

.text-section button {
  margin: 0;
  margin-top: auto ; /* Pushes button down further if needed */
}


.app-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.top-nav {
  font-size: 1rem;
  gap: 40px;
  margin: 10px 20px;
  display: flex;
  flex-wrap: wrap;
}


.top-nav a {
  font-size: 20px;
  color: black;
  scale: 1;
  transition: scale 0.2s ease;
  position: relative;
  text-decoration: none;
}

.top-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--theme-blue-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.top-nav a:hover {
  scale: 1.1;
}

.top-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.top-nav a.active {
  scale: 1.1;
}

.top-nav a.active::after {
  transform: scaleX(1);
}

.top-logo img{
  width: min(40vw, 250px);
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.section-content {
  max-width: var(--max-section-content-width);
  margin: auto auto;
  width: 100%;
  height: fit-content;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  flex-grow: 1; /* Zabírá zbývající místo */
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-icon {
  width: 30px;
  height: 24px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #0047ff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
  top: 0px;
}

.hamburger-icon span:nth-child(2) {
  top: 10px;
}

.hamburger-icon span:nth-child(3) {
  top: 20px;
}

.hamburger.active .hamburger-icon span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.hamburger.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active .hamburger-icon span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 80px 40px 40px;
  overflow-y: auto;
}

.side-menu.active {
  right: 0;
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.menu-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-section h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 20px;
  font-weight: 700;
  font-style: italic;
}

.menu-section a {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
  transition: opacity 0.2s;
}

.menu-section a:hover {
  opacity: 0.7;
}

.menu-section p {
  font-size: 18px;
  line-height: 1.6;
}

.menu-copyright {
  color: #999;
  font-size: 16px;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-buttons a {
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 229px;
  background: #fff;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

/* Jemná animace tlačítek v menu */
.menu-buttons a {
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

/* Jemná animace log uvnitř tlačítek v menu */
.menu-buttons a img {
  width: 180px;
  transition: transform 0.25s ease;
}

.menu-buttons a:hover img {
  transform: translateY(-1px) scale(1.03);
}

.home-content {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  max-width: 1500px;
  align-items: center;
  margin: min(60px, 5%) auto 0 auto;
  justify-content: space-between;
  flex-grow: 1; /* Zabírá zbývající místo */
  gap: 40px; /* Mezera mezi textem a logem */
}

.app-text {
  flex: 0 1 auto;
  max-width: 1100px;
  margin-bottom: 50px;
}

.subtitle {
  font-size: 1rem;
}

.title {
  font-size: 4rem;
  line-height: 120%;
}

.home-content-logo {
  max-width: 400px;
}

.home-content .home-content-logo img {
  width: 100%;
  height: auto;
}

.img-about {
  height: 65vh;
  max-width: 40vw;
  object-fit: cover;
}

.app-footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 70px;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* Zabírá celou šířku */
}

.app-footer .app-addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.app-footer .app-addr img {
  width: 63px;
  height: 63px;
  margin-right: 20px;
}

/* Adresa ve footeru – stejná velikost a barva jako copyright */
.app-footer .addr-link {
  font-size: 24px;
  color: inherit;
}

.app-footer .app-addr p {
  font-size: 24px;
  margin-top: 15px;
}

.app-footer .app-copy {
  font-size: 24px;
  margin-top: 15px;
}



@media all and (max-width: 1100px) {
  .top-nav {
    display: none;
  }
}


@media all and (max-width: 700px) {
  .home-content-logo {
    display: none;
  }

  .img-about {
    display: none;
  }

  .about-btn-wrapper {
    justify-content: space-around;
  }

  .title {
    font-size: 2.5rem;
  }
}
