/* General Section Styling */
.block__flexi.novy-blok {
  background: rgb(255, 255, 255);
  color: black;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-bottom: 2px solid #492e2e;
  padding-top: 1rem;
  max-width: 1026px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.nav-container-sluzby {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-container-sluzby nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

/* Section Heading */
.block__flexi.novy-blok h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

/* Service Navigation */
.sluzba-nav {
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 5px;
  transition: color 0.3s, border-bottom 0.3s;
}

.sluzba-nav.active {
  color: #492e2e;
  border-bottom: 2px solid #492e2e;
}

.sluzba-nav:not(.active) {
  color: black;
}

/* Service Content */
.services-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 2rem;
}

.sluzba-content {
  display: none;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 760px) {
  .services-container {
    flex-direction: column;
  }

  .sluzba-content {
    display: none;
    flex-direction: column;
    align-items: center;
  }
}

.services-content {
  flex: 1;
}

.sluzba-content p {
  text-align: justify;
}

/* Gallery */
.sluzba-gallery {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

.gallery-container {
  flex: 1;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.sluzba-icons {
  margin-bottom: 14px;
  margin-top: 14px;
}

.gallery-slide {
  width: 100%;
}

.prev-btn,
.next-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1700px;
  padding: 2px 9px;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.3s;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Icons */
.sluzba-icons {
  display: none;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 4px;
}

@media (max-width: 460px) {
  .sluzba-icons {
    flex-direction: column;
  }

  .sluzba-content {
    display: none;
    flex-direction: column;
    align-items: center;
  }
}

.icon-item {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.icon-item img {
  width: 38px;
  height: auto;
}

.icon-item p {
  font-size: 1rem;
}
