body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}
.hero {
  background: linear-gradient(to right, ##6e2876, #9575cd);
  color: #6e2876;
  padding: 100px 20px;
  text-align: center;
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #6e2876;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}
.steps, .styles, .contact {
  padding: 60px 20px;
  text-align: center;
}
.step-list, .style-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.step, .style-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1 1 200px;
  max-width: 250px;
}
.contact form {
  margin-top: 20px;
}
.contact input[type="email"] {
  padding: 10px;
  width: 250px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.contact button {
  padding-top: 3px;
  padding-bottom: 1px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 10px;
  background: #6e2876;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}


.navbar {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  z-index: 999;
  padding-top: 3px;
  padding-bottom: 1px;
  padding-left: 20px;
  padding-right: 20px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: bold;
  font-size: 20px;
  color: #6e2876;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.nav-links a:hover {
  color: #6e2876;
}

.logo-img {
  height: 60px;
}

/* Výška hlavních sekcí */
#uvod,
#jaktofunguje,
#ukazky {
  min-height: 60vh;
}

.hero-section {
  background: #fefefe;
  padding: 60px 20px;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.text-block {
  flex: 1 1 45%;
}
.text-block h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.text-block h1 em {
  color: #6e2876;
  font-style: normal;
}
.text-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.cta-button {
  background: ##6e2876;
  color: #fffff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}
.image-block {
  flex: 1 1 45%;
  text-align: center;
}
.image-block img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.image-block.rotator {
  min-height: 400px;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
}
.rotating {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.rotating.active {
  opacity: 1;
  z-index: 1;
}

.image-block.rotator {
  min-height: 400px;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 300px;
}
.rotating {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.rotating.active {
  opacity: 1;
  z-index: 1;
}
/* Footer fix */

footer.contact-section {
  width: 100%;
  background-color: #2e2e2e;
  color: #fff;
  padding: 60px 60px;
  border-radius: 0;
}

footer .contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}


/* Footer aligned fix */

footer.contact-section {
  width: 100vw;
  background-color: #2e2e2e;
  color: #fff;
  padding: 60px 0;
  border-radius: 0;
}

footer .contact-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

footer .contact-info {
  flex: 1 1 300px;
}

footer .contact-info p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

footer .contact-info .icon {
  font-size: 1.1rem;
}

.step-image {
  display: block;
  max-width: calc(100% - 6px);
  height: auto;
  margin: 10px auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.sample-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}
.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.sample-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}
.map-container {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}
.map-container iframe {
  width: 100%;
  border: 0;
}

.map-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

footer .contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

footer .contact-info {
  flex: 1 1 60%;
  min-width: 280px;
}

footer .contact-map {
  flex: 1 1 35%;
  min-width: 260px;
  max-width: 400px;
  height: 220px;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
}

footer .contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}


.nav-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}
.jaktofunguje-text {
  max-width: 800px; 
  margin: 50px auto 40px auto;
  text-align: center;
  color: white;
  line-height: 1.6;
  padding: 0 1rem;
}

.jaktofunguje-text h2 {
  font-size: 2rem;
  margin-bottom: 3.5rem;
  color: white;
  text-align: center;
}

.jaktofunguje-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}


/* Zvýšený rozestup mezi textem a fotkami v sekci 'Jak to funguje' */
.jaktofunguje-text {
  margin-bottom: 50px; /* původně 40px + 10px navíc */
}
#jaktofunguje {
  background-color: #6e2876;
  color: #ffffff;
}
#jaktofunguje .step {
  color: #2e2e2e;
}

 #jaktofunguje .step {
  color: #2e2e2e;
}


#jaktofunguje h2 {
  color: #ffffff;
}

#jaktofunguje .step-list {
  margin-top: 3rem;
}




.ukazky-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  margin-bottom: 50px;
  text-align: center;
  color: #2e2e2e;
  line-height: 1.6;
  padding: 0 1rem;
}

.ukazky-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.ukazky-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}


.style-card .label {
  display: block;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  color: #333;
}
.jaktofunguje-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1200px;  /* zarovnáme stejně jako horní sekce */
  margin-left: auto;
  margin-right: auto;
}

.howitworks-photo {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0;
  margin-left: -70px; /* ↓↓↓ posune doleva */
  margin-top: 10px; /* posuneme lehce nahoru */
}

.jaktofunguje-text-right {
  flex: 1 1 400px;
  margin: 0;
  padding-top: 0; /* odstraněno posunutí dolů */
}
.jaktofunguje-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}