@font-face {
  font-family: 'Donut Point';
  src: url('font/Donut Point.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Choowee';
  src: url('Choowee.otf') format('truetype');
  font-weight: 600;
}

html {
    scroll-behavior: smooth;
}

/* Loader */
/* Skrýt hlavní stránku, než se loader dokončí */
.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Skryj hlavní obsah dokud neskončí animace */
.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: url('img/bg.webp');
  background-size: 100vw auto;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOutPreloader 0 ease 3s forwards;
}

/* Tvoje logo animace */
.logo-loader img {
  width: 250px;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeSlideBounce 2s cubic-bezier(.17,.67,.83,.67) forwards;
}

/* Hlavní animace loga: fade-in, slide a bounce */
@keyframes fadeSlideBounce {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
  75% {
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-out celého preloaderu (volitelné, pokud chceš po animaci zmizet) */
@keyframes fadeOutPreloader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

body {
  background: url('img/bg.webp');
  background-size: 100vw auto;
  font-family: 'Choowee', sans-serif;
  background-color: #fff;
}

header, section, footer {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
  border-radius: 24px;
  margin-bottom: 2rem;
}

/* Styly pro hero sekci */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.hero-text {
  max-width: 45%;
  text-align: center;
}

.hero-text h1 {
  color: #5b005b;
  font-size: 56px;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 24px;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 24px;
}

.hero-img {
  max-width: 480px;
  height: auto;
  margin-top: 20px;
  margin-right: 20px;
}

h1, .section-title {
  color: #5b005b;
}

.section-title {
  font-size: 32px;
}


.btn, .form-btn {
  background: linear-gradient(90deg, #240046 0%, #E73D89 100%);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: normal;
  margin-top: 20px;
  align-items: center;
}

.form-btn-kariera {
  background: linear-gradient(90deg, #240046 0%, #E73D89 100%);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: normal;
  margin-top: 20px;
  align-items: center;
}

.btn-follow {
  background: linear-gradient(90deg, #240046 0%, #E73D89 100%);
  color: white;
  border-radius: 30px;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: normal;
  margin-top: 20px;
  align-items: center;
}

.btn-toform {
  text-align: center;
}

.offer, .career {
  margin-top: 1rem;
}

.content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.content img, .offer img, .career img, .map {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-top: 1rem;
}

.map {
  width: 150%;
  max-width: 500px;
  border-radius: 10px;
  margin-top: 1rem;
}

.career, .offer {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.kontakt {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-info p {
  margin: 0.3rem 0;
}

.footer-copy {
  text-align: center;
  color: #777;
  font-size: 16px;
  margin-top: 1rem;
}

.footer-files > a{
  text-decoration: none;
  color: #777;
  font-size: 14px;
}

.footer-files {
  text-align: center;
}

.follow {
  display: flex;
  gap: 20px;
  text-align: center;
  height: auto;
}

@media (max-width: 800px) {
body {
  background: url('img/bgmobile.webp');
  background-size: 100vw auto;
}

header, section, footer {
  padding: 2rem;
  width: auto;
  margin: auto;
  border-radius: 24px;
  margin-bottom: 2rem;
}

/* Styly pro hero sekci */
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.hero-text {
  max-width: 90%;
  text-align: center;
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 24px;
  margin-bottom: 1.5rem;
}

.hero-img {
  max-width: 350px;
  height: auto;
  margin-top: 20px;
  margin-right: 20px;
}

.section-title {
  font-size: 32px;
}


.btn, .form-btn {
  width: 100%;
  display: inline;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none;
}

.form-btn-kariera {
  width: 80%;
  display: flex;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none;
  text-align: center;
  height: 50px;
}

.offer, .career {
  margin-top: 1rem;
}

.content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.content img, .offer img, .career img, .map {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  margin-top: 1rem;
}

.map {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  margin-top: 1rem;
}

.career, .offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.kontakt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.contact-info p {
  margin: 0.3rem 0;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

}