:root {
  --green: #00bf00;
  --gray: #555555;
  --light-bg: #ffffff;
  --text-default: #000;
  --bg-section-light: #f9f9f9;
  	 --light-green-bg: #f5f2e9; 
    --form-green-button: #a8d7a0; 
    --form-green-button-hover: #97c690;
    --text-color-dark: #333333;
    --text-color-labels: #555555;
    --border-color-input: #e0e0e0;
    --border-color-input-focus: #b4e1b0; 
    --text-color-labels: #555555; /* Použito pro placeholder */
    --border-color-input: #e0e0e0; /* Původní barva ohraničení */
    --green-border-input: #b4e1b0; /* Zelená pro ohraničení polí a linku */
    --divider-line-green: var(--green-border-input); /* Barva pro oddělovací linku */
}

body {
  background: var(--light-bg);
  color: var(--text-default);
  font-family: "Noto Sans", sans-serif;
  margin: 0 auto;
  padding: 0;
  line-height: 1.7;
}

/* Header & Logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 1rem 2rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  color: var(--text-default);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--green);
}

.menu a.active {
  border-bottom: 3px solid #c6e2c0de; 
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-menu.show {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  margin-bottom: 1rem;
}

.mobile-menu ul li a {
  color: var(--text-default);
  text-decoration: none;
  font-size: 1.2rem;
}


.mobile-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;
  z-index: 998;
}

.mobile-menu.show + .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}





  .hero {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .hero-text {
    position: absolute;
    top: 5px;
    right: 40px;
    color: #00bf00;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
  }

  .hero-text p {
    font-size: 1.2rem;
    margin: 0;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
     
    }
  }
  
  .hero-stats {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 1rem;
  }

  .hero-stats div {
    flex: 1 1 150px;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
  }

  .hero-stats strong {
    display: block;
    font-size: 1.5rem;
    color: #00bf00;
  }
  
  .section-links {
    max-width: 1200px;
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .section-box {
    flex: 1 1 30%;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
  }
  
  .section-box2 {
    flex: 1 1 30%;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
  }

  .section-box h3 {
    margin-bottom: 1rem;
    color: #00bf00;
  }

  .section-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .section-box a {
    display: inline-block;
    background: #00bf00;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }

  .section-box a:hover {
    background: #008f00;
  }

/* Sekce */
.section {
  padding: 0;
  background: var(--light-bg);
}

.section.light {
  background: var(--bg-section-light);
}

.section h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  position: relative;
}

.section-box h4 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  display: inline-block;
  border-bottom: 4px solid #79c142; /* nebo jiná barva */
  padding-bottom: 0.2rem;
}

.section h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #79c142;
  margin-top: 6px;
  border-radius: 2px;
}

/* Formulář */
form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

/* Footer */
.footer {
  background-color: #a3a3a3;
  color: white;
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo.left {
  align-items: flex-start;
  text-align: left;
}

.footer-logo h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.footer-logo img.left {
  max-height: 50px;
  width: auto;
}

.footer-logo img.right {
  max-height: 100px;
  width: auto;
}

.footer-logos-right {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.footer-logos-right .footer-logo img {
  
}

.footer-note {
  font-size: 1rem;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1rem;
  max-width: 800px;
  text-align: left;
  padding-left: 40px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: end;
}

.footer-line {
  width: 100%;
  height: 2px;
  background-color: #addfa8;
}

.footer-privacy a {
  color: white;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding-right: 20px;
}

.footer-privacy a:hover {
  color: #795548;
}

/* Responzivita */
@media (max-width: 768px) {
  .footer-logos {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-logos-right {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-logo {
    align-items: center;
    text-align: center;
  }

  .footer-logo.left {
    align-items: center;
    text-align: center;
  }

  .footer-note {
    text-align: center;
  }
}







.section-title {
  font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    margin-left: 1rem;
    text-align: left;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--green);
  margin: 3rem 0 1rem;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.project-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.projekt-popis {
  max-width: 1000px;
  margin: 4rem auto 2rem auto;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.projekt-blok {
  margin-bottom: 2rem;
}

.projekt-blok h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  position: relative;
}

.projekt-blok h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #79c142;
  margin-top: 6px;
  border-radius: 2px;
}

.projekt-blok p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.projekt-standardy {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.projekt-standardy li {
  background: #f1f3f5;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .projekt-standardy {
    grid-template-columns: 1fr;
  }
}

.projekt-cta {
  text-align: center;
  background: #e9f7e2;
  padding: 2rem 1rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.projekt-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #2c3e50;
}

.projekt-cta .btn {
  display: inline-block;
  margin: 0.3rem 0.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.projekt-stavitel {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: #fdfdfd;
  border-left: 4px solid #79c142;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.projekt-stavitel p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.projekt-stavitel a {
  color: #79c142;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.projekt-stavitel a:hover {
  color: #5e962f;
}


.btn-green {
  background-color: #79c142;
  color: white;
  border: none;
}

.btn-green:hover {
  background-color: #689f34;
}

.btn-outline {
  background: transparent;
  border: 2px solid #79c142;
  color: #79c142;
}

.btn-outline:hover {
  background-color: #79c142;
  color: white;
}


.timeline {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.timeline li {
  background: var(--bg-section-light);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--green);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.timeline li strong {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: var(--gray);
}

.timeline li span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-default);
}

.contact-call {
  font-weight: bold;
  font-size: 1.1rem;
  background: #f3fff3;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--green);
  border-radius: 4px;
  margin-top: 2rem;
}


.timeline-visual {
  position: relative;
  margin: 3rem 0;
  padding-left: 30px;
  padding-right: 30px;
}

.timeline-visual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 45%;
  text-align: left;
}

.timeline-item .content {
  background: var(--bg-section-light);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-item.left .content::after,
.timeline-item.right .content::after {
  content: '';
  position: absolute;
  top: 1rem;
  width: 15px;
  height: 15px;
  background: var(--green);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left .content::after {
  right: -8px;
}

.timeline-item.right .content::after {
  left: -8px;
}

.timeline-item h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--green);
}

/* Responsive layout */
@media (max-width: 768px) {
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0 !important;
    text-align: left;
  }

  .timeline-visual::before {
    left: 8px;
  }

  .timeline-item .content::after {
    left: -22px;
    right: auto;
  }
}


/* Sekce O lokalitě – seznamy */
.custom-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.custom-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: var(--text-default);
}

.custom-list li::before {
  content: \"✔\";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Obecné přizpůsobení textového bloku */
.project-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Sekce nadpisy */


.contact-info {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 2rem;
}

.contact-info li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info strong {
  color: var(--green);
  display: inline-block;
  width: 90px;
}

.contact-info a {
  color: var(--text-default);
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
  color: var(--green);
}


/* Kontakt – formulář */
.contact-form {
  margin-top: 3rem;
}

.contact-form form {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #009900;
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Mapa */
.map-container {
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}


/* Stylování tabulky ceníku */
div.price-table {
	max-width: 1200px;
    margin: 0 auto;
}
.price-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 1rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4rem;
}

.price-table thead {
  background: #a8d7a0;
  color: #000000;
}

.price-table th, .price-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background: #f9f9f9;
}

.stav-volny {
  color: var(--green);
  font-weight: bold;
}

.stav-rezervovano {
  color: orange;
  font-weight: bold;
}

/* Celý řádek šedý pro Prodáno */
.radek-prodano td {
  color: #999;
}

/* Skryje tlačítko (pro jistotu, fallback) */
.radek-prodano .btn-detail {
  display: none;
}

/* Tlačítko Detail domu */
.btn-detail {
  display: inline-block;
  position: relative;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(180deg, #e7f9df 0%, var(--form-green-button) 90%);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(90,140,90,0.16),   /* měkký stín pod tlačítkem */
    0 1px 0 #fff inset,               /* jemný lesk nahoře */
    0 -2px 8px #d6eac3 inset;         /* měkký vnitřní stín dole */
  font-weight: bold;
  transition: box-shadow 0.3s;
}

/* Pro overlay animaci */
.btn-detail::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--form-green-button-hover), #6d8f6b 100%);
  opacity: 0.92;
  z-index: 1;
  transition: width 0.4s cubic-bezier(.4,1,.5,1);
  border-radius: 8px;
}

/* Text nad overlayem */
.btn-detail span {
  position: relative;
  z-index: 2;
  transition: color 0.2s;
}

.btn-detail:hover::after {
  width: 100%;
}

/* Volitelně: změna barvy textu na světlou při hoveru */
.btn-detail:hover span {
  color: #fff;
}





.map-svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(90deg);
  transform-origin: center center;
}

.byt-area {
  fill: rgba(0, 191, 0, 0);
  cursor: pointer;
  transition: fill 0.3s;
}



.info-bublina {
  position: absolute;
  background: white;
  color: #333;
  padding: 1rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  pointer-events: none;
  display: none;
  z-index: 10;
  min-width: 220px;
  line-height: 1.6;
}

.info-bublina strong {
  font-size: 1rem;
  display: block;
}

.info-bublina span {
  font-weight: bold;
}

.map-svg image {
  pointer-events: none;
}

#infoBox {
  position: fixed;
  background: white;
  border: 1px solid #00bf00;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
  pointer-events: none;
  font-size: 14px;
  /* max-width: 250px; */         /* omezení šířky */
  white-space: normal;      /* umožní zalomení */
  word-wrap: break-word;    /* když by byl dlouhý text bez mezer */
}




/* Hero sekce */
.lokalita-hero {
  background-image: url('img/lokalita-uvod2.jpg');
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    aspect-ratio: 16 / 9;
}

.uvod-hero {
  background-image: url('img/uvod.png');
  background-size: cover;
  background-position: center;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 100px;
}

.projekt-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #222;
  max-width: 1200px;
    margin: 0 auto;
}
.projekt-hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}


.nabidka-hero {
  background-image: url('img/nabidka-uvod.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 100px;
}

.kontakt-hero {
  background-image: url('img/kontakt-uvod3.jpg');
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    aspect-ratio: 16 / 9;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.btn-hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #79c142;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 2;
}

.btn-hero-bottom:hover {
  background-color: #6cb03a;
  transform: translateX(-50%) translateY(-2px);
}

.projekt-patka {
  background-image: url('img/projekt-patka.jpg');
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    aspect-ratio: 3 / 2;
}


/* Obsah lokalita */
.lokalita-overlap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  height: 400px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.lokalita-overlap.reverse {
  flex-direction: row-reverse;
}

.lokalita-img {
  flex: 0 0 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.lokalita-text-overlap {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.lokalita-text-overlap p {
  background: #ffffffde;
  padding: 2rem;
  margin: 0;
  max-width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  line-height: 1.7;
  border-radius: 8px;
  transform: translateX(-20%);
}

.lokalita-overlap.reverse .lokalita-text-overlap p {
  transform: translateX(20%);
}

.lokalita-cta-wrapper {
  background: linear-gradient(to bottom, #ffffff, #ffffff);
  padding: 4rem 1rem 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  margin: 4rem auto;
  max-width: 1000px;
}

.lokalita-cta {
  text-align: center;
  margin-bottom: 3rem;
}

.lokalita-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  background-color: #79c142;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background-color: #6cb03a;
  transform: translateY(-2px);
}

.lokalita-mapa {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.txtodkaz { color:#00bf00; }
.txtodkaz:hover { color:#008d00; }



/* Responsivní úprava */
@media (max-width: 768px) {
  .lokalita-overlap,
  .lokalita-overlap.reverse {
    flex-direction: column !important;
    height: auto;
  }

  .lokalita-img {
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
  }

  .lokalita-text-overlap {
    width: 100%;
  }

  .lokalita-text-overlap p {
    transform: none;
    margin-top: 1rem;
  }

  .lokalita-overlap.reverse .lokalita-text-overlap p {
    transform: none;
  }
}

/* jednotka detail */
div.jw { display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

/* výchozí šířky: 100 % */
.jednotka-left,
.jednotka-right {
  width: 100%;
}

/* na větších obrazovkách je dělení 1/3 a 2/3 */
@media (min-width: 768px) {
  div.jw {
    flex-wrap: nowrap;
    gap: 100px;
  }

  .jednotka-left {
    width: 33.333%;
  }

  .jednotka-right {
    width: 66.666%;
    text-align: right;
  }
}


.jednotka-left h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.jednotka-left p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.jednotka-blok {
  margin-bottom: 0.2rem;
}
.jednotka-blok2 {
  margin-bottom: 0.2rem;
  border-top: 2px solid #000000;
}

.jednotka-blok h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.3rem;
}

.jednotka-blok ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.jednotka-blok li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.jednotka-blok li:last-child {
  border-bottom: none;
}

.jednotka-blok li span:first-child {
  text-align: left;
  flex: 1;
}

.jednotka-blok li span:last-child {
  text-align: right;
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn-katalog {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #79c142;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-katalog:hover {
  background: #689f34;
}

.jednotka-right img {
  
  max-width: 100%;
  margin-bottom: 1rem;
  border-radius: 4px;
}
div.katalog_pdf { text-align:center; }

.jednotka-right .podlazi {
	margin: 0 auto;
    text-align: center;
}
.jednotka-left hr {
	height: 2px;
    background-color: #000000;
}


/* GALERIE */
.galerie-wrapper {
  max-width: 1200px;
  margin: 1rem auto;
  position: relative;
}

.galerie-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.galerie-fotka {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.galerie-fotka.aktivni {
  display: block;
}

.galerie-prev,
.galerie-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 2rem;
  padding: 0.4rem 0.8rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}

.galerie-prev:hover,
.galerie-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.galerie-prev {
  left: 10px;
}

.galerie-next {
  right: 10px;
}

.galerie-tecky {
  text-align: center;
  margin-top: 0.8rem;
}

.galerie-tecka {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  display: inline-block;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.galerie-tecka.aktivni {
  background-color: #79c142;
}

/* UVOD */
.uvodni-hero {
  position: relative;
  background-image: url('img/uvod-top2.webp');
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    aspect-ratio: 16 / 9;
  text-align: center;
}

/* Zesvětlení celé sekce */
.uvodni-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.uvodni-hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease forwards;
}

.uvodni-hero-overlay h1 {
  font-size: 6rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
  animation: fadeInUp 1.5s ease forwards;
}

.uvodni-hero-overlay p {
  font-size: 2rem;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.5s;
  position: relative;
    top: -45px;
}

.uvodni-hero-btn {
   display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
      width: fit-content;
    margin: 0 auto;
}

.uvodni-hero-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;
}

/* Fade-in animace */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobilní verze */
@media (max-width: 768px) {
  .uvodni-hero-overlay h1 {
    font-size: 3rem;
  }

  .uvodni-hero-overlay p {
    font-size: 1.3rem;
  }

  .uvodni-hero-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

.uvodni-bydleni {
  padding: 3rem 1rem;
  background: white;
}

.uvodni-bydleni-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

.uvodni-bydleni-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.uvodni-bydleni-text h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0;
}

.uvodni-bydleni-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.uvodni-bydleni-btn {
  display: inline-block;
  padding: 0.5rem 2.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: large;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
      width: fit-content;
    margin: 0 auto;
}

.uvodni-bydleni-btn:hover,
.uvodni-bydleni-btn:focus {
  background-position: left top;
  color: #253f2b;
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.18);
}

.uvodni-bydleni-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  flex: 1;
  min-width: 250px;
}

.uvodni-bydleni-box {
  border: 4px solid #c6e2c0;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 15px;
}

.uvodni-bydleni-box strong {
  display: block;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.uvodni-bydleni-box span {
  display: block;
  font-size: 0.95rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Responzivita */
@media (max-width: 768px) {
  .uvodni-bydleni-container {
    flex-direction: column;
    gap: 2rem;
  }

  .uvodni-bydleni-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .uvodni-bydleni-info {
    grid-template-columns: 1fr;
  }
}

.uvodni-narysov {
  background: #f5f2e9;
}

.uvodni-narysov-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.uvodni-narysov-image {
    flex: 0 0 55%;
    min-width: 300px;
    order: -1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.uvodni-narysov-image2 {
    flex: 0 0 55%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uvodni-narysov-image img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 10px 10px 0;
}

.uvodni-narysov-image2 img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
}

.uvodni-narysov-text {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.uvodni-narysov-text2 {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 430px;
}

.uvodni-narysov-text h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.uvodni-narysov-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.uvodni-narysov-text2 h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.uvodni-narysov-text2 p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.uvodni-narysov-btn {
   display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  
}

.uvodni-narysov-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;;
}

/* Responzivita */
@media (max-width: 768px) {
  .uvodni-narysov-container {
    flex-direction: column;
  }

  .uvodni-narysov-text {
    padding: 2rem 1rem;
  }
}

.uvodni-timeline {
  padding: 1rem 2rem 5rem 2rem;
  background: white;
  text-align: center;
}

.uvodni-timeline h2 {
  font-size: 2.5rem;
  margin-bottom: 8rem;
  position: relative;
  display: inline-block;
}

.uvodni-timeline h2::after {
  content: "";
  display: block;
  height: 3px;
  background-color: #c6e2c0;
  width: 100%;
}

.timeline-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-top: 3px solid #c6e2c0;
  gap: 1rem;
  flex-wrap: wrap;
}

.timeline-item {
  position: relative;
  top: -33px;
  left: -60px;
  flex: 1;
  text-align: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: #c6e2c0;
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}

.timeline-item.top .timeline-info {
  position: absolute;
    bottom: 85%;
    
    transform: translateX(29%) translateY(30px);
    
    margin-bottom: 1rem;
    width: 138px;
}

.timeline-item.bottom .timeline-info {
    position: absolute;
    top: 90%;
    transform: translateX(33%);
    margin-top: 1rem;
    width: 163px;
}

.timeline-info strong {
  display: block;
  font-size: 0.8rem;
  color: black;
}

.timeline-info span {
  font-size: 0.9rem;
  color: #555;
}

.timeline-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: repeating-linear-gradient(
    to top,
    #c6e2c0,
    #c6e2c0 4px,
    transparent 4px,
    transparent 8px
  );
}

.timeline-item.bottom .timeline-dot::before {
  top: 100%;
}

.timeline-item.top .timeline-dot::before {
  bottom: 100%;
}

/* Mobilní verze */
@media (max-width: 768px) {

  .timeline-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: none;
    padding-left: 30px;
    position: relative;
  }

  .timeline-line::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #c6e2c0;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
  }

  /* zrušení top/bottom pozic */
  .timeline-item.top .timeline-info,
  .timeline-item.bottom .timeline-info {
    position: static;
    transform: none;
    width: auto;
    margin: 0;
    margin-left: 40px;
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
    background-color: #c6e2c0;
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    margin-left: -46px; /* zarovnat přímo na svislou čáru */
  }
	
	.timeline-item.bottom .timeline-dot::before {
  top: 50%;
	}

  .timeline-dot::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      #c6e2c0,
      #c6e2c0 4px,
      transparent 4px,
      transparent 8px
    );
  }

  .timeline-info {
    text-align: left;
    flex: 1;
  }

  .timeline-info strong {
    display: block;
    font-size: 1rem;
    color: black;
  }

  .timeline-info span {
    font-size: 0.9rem;
    color: #555;
  }
  .uvodni-timeline h2 {
    margin-bottom: 4rem;
	}
}

/* galerie */
.uvodni-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 3rem auto;
  text-align: center;
  padding-left: 0.5rem;
}

.uvodni-carousel h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.uvodni-carousel h2::after {
  content: "";
  display: block;
  height: 3px;
  background-color: #c6e2c0;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1rem;
}

.carousel-track img {
  width: 440px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  user-select: none;
  border: 2px solid #c6e2c0;
}

.carousel-arrows {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
}

.carousel-arrow img {
  height: auto;
}

.carousel-arrow.left img {
  transform: rotate(180deg);
}

@media (max-width: 800px) {
  .carousel-track img {
    width: 250px;
  }
  .uvodni-carousel h2 {
    margin-bottom: 4rem;
	}
}


/* Kontakt – blok */
.kontakt-blok {
    background-color: var(--light-green-bg);
    padding: 3rem 1rem; /* Tento padding bude nyní "obepínat" i linku */
    color: var(--text-color-dark);
    position: relative; /* NOVÉ: Nutné pro absolutní pozicování pseudo-elementu */
}

/* NOVÉ: Pseudo-element pro svislou linku přes celý .kontakt-blok */
.kontakt-blok::before {
    content: '';
    position: absolute;
    top: 0; /* Od horního okraje .kontakt-blok */
    bottom: 0; /* K dolnímu okraji .kontakt-blok */
    left: 50%; /* Horizontálně na střed .kontakt-blok */
    width: 4px; /* Šířka linky */
    background-color: var(--divider-line-green);
    transform: translateX(-1px); /* Posunutí o polovinu šířky doleva pro přesné centrování */
    /* z-index: 1; */ /* Pokud by bylo potřeba, aby byla linka nad ostatním obsahem .kontakt-blok, ale pod .kontakt-wrapper */
}


.kontakt-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 3rem; /* Mezera mezi sloupci, linka bude uprostřed této mezery */
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative; /* Pro z-index, aby byl obsah wrapperu nad linkou, pokud by byl problém */
    /* z-index: 2; */ /* Zajistí, že obsah wrapperu je nad ::before pseudo-elementem .kontakt-blok */
}

.kontakt-left,
.kontakt-right {
    flex: 1;
    min-width: 300px;
    padding: 1rem; /* Standardní padding sloupců */
    box-sizing: border-box;
    /* ODSTRANĚNO: border-right, padding-right, margin-right z .kontakt-left */
    /* ODSTRANĚNO: specifický padding-left z .kontakt-right pro kompenzaci linky */
}

/* Levý sloupec */
.kontakt-left-inner {
    text-align: left;
}

.kontakt-main-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.kontakt-main-title p {
	margin-top: 3px;
	margin-bottom: 3px;
	
}

.kontakt-main-title-downl {
    text-align: center;
}
.kontakt-main-title-downr {
    text-align: right;
}

.kontakt-intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color-labels);
}

.kontakt-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.kontakt-icon {
    width: 28px;
    height: 28px;
    margin-right: 1rem;
}

.kontakt-link {
    font-size: 1.6rem;
    color: var(--text-color-dark);
    text-decoration: none;
    font-weight: 500;
        margin-left: 22px;
}

.kontakt-link:hover {
    text-decoration: underline;
}

/* Pravý sloupec (formulář) */
.kontakt-right h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.3;
}

.form-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color-labels);
    text-align: left;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
}

.form-group {
   	
}

.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"] {
    width: 100%;
    border: 3px solid var(--green-border-input);
    border-radius: 6px;
    font-size: 1.2rem;
    background-color: #f5f2e9;
    box-sizing: border-box;
    padding: 0.5rem;
    margin-bottom: 0.7rem;
}

.kontakt-form input[type="text"]::placeholder,
.kontakt-form input[type="email"]::placeholder,
.kontakt-form input[type="tel"]::placeholder {
    color: var(--text-color-labels);
    opacity: 1;
    font-weight: bold;
}


.kontakt-form input[type="text"]:focus,
.kontakt-form input[type="email"]:focus,
.kontakt-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--green-border-input);
    box-shadow: 0 0 0 2px rgba(180, 225, 176, 0.5);
}

.kontakt-form input.tall-input {
    padding-bottom: 2rem;
}


.form-down {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-meta {
    font-size: 0.8rem;
    color: var(--text-color-labels);
    text-align: left;
}

.kontakt-povinne {
    margin: 0 0 0.3rem 0;
}

.kontakt-ochrana a {
    color: var(--text-color-labels);
    text-decoration: underline;
}
.kontakt-ochrana a:hover {
    color: var(--text-color-dark);
}


.kontakt-form button {
    background: var(--form-green-button);
    color: var(--text-color-dark);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-decoration: none;
    letter-spacing: normal;
}

.kontakt-form button:hover {
    background: var(--form-green-button-hover);
}


/* Responzivita */
@media (max-width: 768px) {
    /* NOVÉ: Skrytí linky na mobilu */
    .kontakt-blok::before {
        display: none;
    }

    .kontakt-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem; /* Mezera mezi sloupci pod sebou */
    }

    .kontakt-left,
    .kontakt-right {
        flex: 1 1 100%;
        max-width: 500px;
    }

    .kontakt-left-inner {
        text-align: center;
    }
    .kontakt-info-item {
        justify-content: center;
    }

    .kontakt-right h2,
    .form-intro-text {
        text-align: center;
    }

    .form-down {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .form-meta {
        text-align: center;
        margin-bottom: 1rem;
    }

    .kontakt-form button {
        width: 100%;
        max-width: 250px;
    }
}

/* Formulářové zprávy */
#form-messages {
    margin-bottom: 1rem;
    border-radius: 6px;
    text-align: center;
}

#form-messages.success {
    background-color: #e6ffed;
    color: #006421;
    border: 1px solid #a3d9b1;
}

#form-messages.error {
    background-color: #ffe6e6;
    color: #a00000;
    border: 1px solid #d9a3a3;
}



/* Základní styly pro obalující kontejner */
#admin-page-container {
    font-family: 'Arial', sans-serif; /* Použijte běžné bezpatkové písmo */
    line-height: 1.6;
    margin: 0 auto; /* Centrovat kontejner */
    padding: 20px; /* Přidat vnitřní odsazení */
    background-color: #fff; /* Bílé pozadí kontejneru */
    color: #333; /* Tmavě šedý text */
    max-width: 1200px; /* Maximální šířka pro větší obrazovky */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Jemný stín kontejneru */
    border-radius: 8px; /* Zakulacené rohy kontejneru */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Styly pro nadpisy uvnitř kontejneru */
#admin-page-container h1,
#admin-page-container h2 {
    color: #0056b3; /* Modrá barva pro nadpisy */
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee; /* Jemná linka pod nadpisem */
}

#admin-page-container h1 {
    margin-top: 0;
    font-size: 2em;
}

#admin-page-container h2 {
    font-size: 1.5em;
    margin-top: 25px;
}


/* Styly pro tabulku uvnitř kontejneru */
#admin-page-container table {
    width: 100%;
    border-collapse: collapse; /* Odstranit dvojité okraje */
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Jemný stín */
    background-color: #fff; /* Bílé pozadí tabulky */
}

#admin-page-container table th,
#admin-page-container table td {
    padding: 12px 15px; /* Větší vnitřní odsazení */
    text-align: left;
    border-bottom: 1px solid #ddd; /* Oddělovací linky mezi řádky */
}

#admin-page-container table th {
    background-color: #007bff; /* Tmavší modré pozadí hlavičky */
    color: white;
    font-weight: bold;
    text-transform: uppercase; /* Velká písmena v hlavičce */
}

/* Střídavé barvy řádků (zebra styl) uvnitř kontejneru */
#admin-page-container table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Velmi světle šedá pro sudé řádky */
}

#admin-page-container table tbody tr:hover {
    background-color: #e9e9e9; /* Změna barvy při najetí myši */
}

/* Styly pro akční sloupce a odkazy uvnitř kontejneru */
#admin-page-container .actions {
    white-space: nowrap; /* Zabraňuje zalomení tlačítek/odkazů */
}

#admin-page-container .actions a {
    display: inline-block; /* Aby se mohly dát odsazení */
    margin-right: 10px;
    padding: 5px 10px;
    text-decoration: none; /* Odstranit podtržení */
    border-radius: 4px; /* Zakulacené rohy */
    transition: background-color 0.3s ease; /* Jemný přechod barvy */
}

#admin-page-container .edit-link {
    color: #fff; /* Bílý text */
    background-color: #007bff; /* Modré pozadí */
    border: 1px solid #007bff;
}

#admin-page-container .edit-link:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* Styly pro formuláře uvnitř kontejneru */
#admin-page-container form {
    background-color: #fff; /* Bílé pozadí formuláře */
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Zakulacené rohy formuláře */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Jemný stín */
}

#admin-page-container form label {
    display: block;
    margin-bottom: 8px; /* Větší mezera pod popiskem */
    font-weight: bold;
    color: #555;
}

#admin-page-container form input[type="text"],
#admin-page-container form textarea {
    width: calc(100% - 24px); /* Počítáme s paddingem a borderem */
    padding: 10px;
    margin-bottom: 15px; /* Větší mezera pod vstupními poli */
    border: 1px solid #ccc; /* Světlejší okraj */
    border-radius: 4px;
    box-sizing: border-box; /* Padding a border zahrnuty ve width */
    font-size: 1em;
}

#admin-page-container form textarea {
    height: 200px; /* Větší výška textového pole */
    resize: vertical;
}

#admin-page-container form button {
    background-color: #28a745; /* Zelené pozadí */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#admin-page-container form button:hover {
    background-color: #218838;
}

#admin-page-container form a { /* Styl pro "Zrušit úpravy" */
    display: inline-block;
    margin-left: 15px;
    padding: 10px 20px; /* Stejné padding jako tlačítko pro zarovnání */
    color: #555;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #eee;
    transition: background-color 0.3s ease;
}

#admin-page-container form a:hover {
    background-color: #ddd;
}

/* Styly pro zprávy (úspěch, chyba, varování) uvnitř kontejneru */
#admin-page-container .success-message,
#admin-page-container .error-message,
#admin-page-container .warning-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
}

#admin-page-container .success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#admin-page-container .error-message {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#admin-page-container .warning-message {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

#admin-page-container hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}
/* =================================================================== */
/* Responzivní styly (pro menší obrazovky, např. mobily a tablety)     */
/* =================================================================== */

/* Přidáme scroll pro tabulku pod určitou šířkou */
@media (max-width: 768px) { /* Breakpoint pro tablety a mobily */
    #admin-page-container {
        padding: 10px; /* Menší odsazení na menších obrazovkách */
    }

    /* Umožní horizontální scroll u tabulky */
    #admin-page-container .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Plynulejší scroll na iOS */
    }

    /* Zmenší padding v buňkách tabulky na malých obrazovkách */
    #admin-page-container table th,
    #admin-page-container table td {
        padding: 8px 10px;
    }

    /* Upraví zobrazení akčních odkazů, aby se lépe vešly */
    #admin-page-container .actions a {
        margin-right: 5px;
        padding: 3px 6px;
        font-size: 0.9em;
    }

    /* Zmenší písmo pro nadpisy */
    #admin-page-container h1 {
        font-size: 1.6em;
    }
    #admin-page-container h2 {
        font-size: 1.3em;
    }

    /* Zmenší mezery u formuláře */
    #admin-page-container form input[type="text"],
    #admin-page-container form textarea {
        margin-bottom: 10px;
    }

     #admin-page-container form button,
     #admin-page-container form a {
         padding: 8px 15px;
     }

     #admin-page-container form a {
         margin-left: 10px;
     }
}

@media (max-width: 480px) { /* Breakpoint pro velmi malé obrazovky (starší/menší mobily) */
    #admin-page-container {
        padding: 5px; /* Ještě menší odsazení */
    }

    #admin-page-container table th,
    #admin-page-container table td {
        padding: 6px 8px;
    }

     #admin-page-container form button,
     #admin-page-container form a {
         /* Můžete zkusit float, nebo je nechat pod sebou */
         /* float: left; */
         margin-bottom: 5px; /* Přidat mezery, pokud jsou pod sebou */
     }
      #admin-page-container form a {
         margin-left: 0; /* Zrušit levý okraj, pokud jsou pod sebou */
         display: inline-block; /* Zajistit, že fungují jako blok pro margin-bottom */
     }
}


.podnadpis { 
	margin-top: 3px;
   margin-bottom: 35px;
   font-style: italic; 
 }
.podnadpis2 { 
	margin-top: 3px;
   margin-bottom: 35px;
   font-weight: 600;
 }


.odstavec-right {
  background: #f5f2e9;
}

.odstavec-right-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.odstavec-right-image {
    flex: 0 0 50%;
    min-width: 300px;
    order: -1;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 0.4rem;
}
.odstavec-right-image2 {
    flex: 0 0 55%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.odstavec-right-image img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 10px 10px 0;
}

.odstavec-right-image2 img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
}

.odstavec-right-text {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.odstavec-right-text2 {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 430px;
}

.odstavec-right-text h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-right-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-right-text2 h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-right-text2 p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-right-text .odstavec-nadpis {
    font-size: 2.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    overflow-x: hidden;
}
.odstavec-right-text .odstavec-nadpis-l {
	font-size: 2.6rem;
	margin: 0;
	line-height: 1.5;
}
.odstavec-right-text .odstavec-nadpis-downl {
	font-size: 2.6rem;
    text-align: right;
    position: relative;
    display: block;           
    margin-left: auto;       
    margin-right: auto;
    margin-top: 0;
    line-height: 1;
}

.odstavec-right-text .odstavec-nadpis-downl::after {
    content: '';             
    position: absolute;
    left: 0;                 
    right: 0;                
    bottom: -10px;          
    height: 3px;            
    background-color: #c6e2c0;
    right: 0;
    left: -100vmax;
}

.odstavec-right-btn {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  margin: 0 auto;
  
}

.odstavec-right-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;

}

/* Responzivita */
@media (max-width: 768px) {
  .odstavec-right-container {
    flex-direction: column;
  }

  .odstavec-right-text {
    padding: 2rem 1rem;
  }
}

.odstavec-left {
  background: #f5f2e9;
}

.odstavec-left-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.odstavec-left-image {
    flex: 0 0 55%;
    min-width: 300px;
    order: -1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odstavec-left-image2 {
    flex: 0 0 55%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.odstavec-left-image img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 10px 10px 0;
}

.odstavec-left-image2 img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
}

.odstavec-left-text {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.odstavec-left-text2 {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 430px;
}

.odstavec-left-text h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-left-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left-text2 h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-left-text2 p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left-btn {
  display: inline-block;
  padding: 0.5rem 2.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
  font-size: large;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: background 0.3s ease;
  margin: 0 auto;
  
}

.odstavec-left-btn:hover {
  background-color: #aacd9e;
}

/* Responzivita */
@media (max-width: 768px) {
  .odstavec-left-container {
    flex-direction: column;
  }

  .odstavec-left-text {
    padding: 2rem 1rem;
  }
}



.odstavec-left2 {
  background: #f5f2e9;
  padding: 30px 0;
}

.odstavec-left2-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.odstavec-left2-image {
    flex: 0 0 55%;
    min-width: 300px;
    order: -1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odstavec-left2-image2 {
    flex: 0 0 55%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.odstavec-left2-image img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 10px 10px 0;
}

.odstavec-left2-image2 img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
    position: relative;
    left: 1px;
}

.odstavec-left2-text {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.odstavec-left2-text2 {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  min-height: 430px;
}

.odstavec-left2-nadpis {
	text-align: center;
}

.odstavec-left2-nadpis h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 15px;
}

.odstavec-left2-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left2-text2 h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-left2-text2 p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left2-btn {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  margin: 0 auto;
  
}

.odstavec-left2-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;

}

.odstavec-left2 ul {
	margin: 0;
}

/* Responzivita */
@media (max-width: 768px) {
  .odstavec-left2-container {
    flex-direction: column;
  }

  .odstavec-left2-text {
    padding: 2rem 1rem;
  }
}



.odstavec-left-white {
  background: #ffffff;
}

.odstavec-left-white-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
}

.odstavec-left-white-image {
    flex: 0 0 55%;
    min-width: 300px;
    order: -1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odstavec-left-white-image2 {
    flex: 0 0 55%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odstavec-left-white-image2b {
    flex: 0 0 50%;
    min-width: 300px;
    order: 1;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 0.4rem;
}

.odstavec-left-white-image img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0 10px 10px 0;
}

.odstavec-left-white-image2 img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
}

.odstavec-left-white-image2b img {
  display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px 0 0 10px;
}

.odstavec-left-white .odstavec-nadpis {
    font-size: 2.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    overflow-x: hidden;
}
.odstavec-left-white .odstavec-nadpis-l {
	font-size: 2.8rem;
	margin: 0;
	line-height: 1.5;
}
.odstavec-left-white .odstavec-nadpis-downl {
	font-size: 2.8rem;
    text-align: center;
    position: relative;
    display: block;          
    width: -moz-fit-content; 
    width: fit-content;      
    margin-left: auto;       
    margin-right: auto;
    margin-top: 0;
    line-height: 1;
}
.odstavec-left-white .odstavec-nadpis-downl::after {
    content: '';             
    position: absolute;
    left: 0;                 
    right: 0;                
    bottom: -10px;          
    height: 3px;            
    background-color: #c6e2c0;
    right: 0;
    left: -100vmax;
}
.odstavec-left-white .odstavec-nadpis-downr {
	font-size: 2.8rem;
    text-align: right;
}

.odstavec-left-white-text {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.odstavec-left-white-text2 {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  min-height: 430px;
}

.odstavec-left-white-text h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-left-white-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left-white-text2 h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-left-white-text2 p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: left;
}

.odstavec-left-white-btn {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;

  margin: 0 auto;
  
}

.odstavec-left-white-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;

}

.odstavec-left-white-text2 ul {
	text-align: left;
    font-size: large;
}

.odstavec-left-white .dojezd {
	display: flex;
   justify-content: space-evenly;
       position: relative;
    top: -60px;
}
.odstavec-left-white .green {
	    color: #79c142;
    font-weight: 600;
    font-size: 40px;
}
div.dojezd p { padding: 0 4px; }

/* Responzivita */
@media (max-width: 768px) {
  .odstavec-left-white-container {
    flex-direction: column;
  }
  
  .odstavec-left-white .dojezd {
	
    top: -1px;
}

  .odstavec-left-white-text {
    padding: 2rem 1rem;
  }
}


.odstavec-center {
  background: #f5f2e9;
}
.odstavec-center-container {
	padding: 3rem 2rem;
	max-width: 1200px;
    margin: 0 auto;
}

.odstavec-center-container .obalh2 {
	text-align: center;
}

.odstavec-center-container h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-center-container .btn-right {
	text-align: right;
}

.odstavec-center-container h2.center {
  font-size: 2.5rem;
  border-bottom: 3px solid #c6e2c0;
  display: inline-block;
  margin: 0 auto;
}

.odstavec-center p {
	padding-left: 15px;
}

.odstavec-center p.center {
	text-align: center;
} 

.odstavec-center .txt-center {
	text-align: center;
}
.odstavec-center .obal-txt {
	width: fit-content;
   margin: 0 auto;
}
.odstavec-center .obal-txt2 {
	max-width: 600px;
   margin: 0 auto;
}

.odstavec-center .odstavec-nadpis {
    font-size: 2.8rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    overflow-x: hidden;
}
.odstavec-center .odstavec-nadpis-l {
	font-size: 2.8rem;
	margin: 0;
	line-height: 1.5;
}
.odstavec-center .center {
	text-align: center;
}
.odstavec-center .odstavec-nadpis-downl {
	font-size: 2.8rem;
    text-align: center;
    position: relative;
    display: block;          
    width: -moz-fit-content; 
    width: fit-content;      
    margin-left: auto;       
    margin-right: auto;
    margin-top: 0;
    line-height: 1;
    margin-bottom: 16px;
}
.odstavec-center .odstavec-nadpis-downl::after {
    content: '';             
    position: absolute;
    left: 0;                 
    right: 0;                
    bottom: -15px;          
    height: 3px;            
    background-color: #c6e2c0;
    right: 0;
    left: -100vmax;
}
.odstavec-center .odstavec-nadpis-downr {
	font-size: 2.8rem;
    text-align: right;
}

.odstavec-center-btn {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  margin: 0 auto;
  
}

.odstavec-center-btn:hover {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;

}

@media (min-width: 1000px) {
	.odstavec-center .odstavec-nadpis-downl {
		left: -146px;
	}
}


.odstavec-center-white {
  background: #ffffff;
}
.odstavec-center-white-container {
	padding: 1rem 2rem;
}
.odstavec-center-white .txt-center {
	text-align: center;
}
.odstavec-center-white .obal-txt {
	width: fit-content;
   margin: 0 auto;
}

video {
	max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 14px;
}



#zoou-modal {
  position: fixed;
  z-index: 99999;
  left: 0; top: 0; width: 100vw; height: 100vh;
}
.zoou-backdrop {
  background: rgba(0,0,0,0.4);
  width: 100vw; height: 100vh;
  position: absolute;
  left:0;top:0;
}
.zoou-modal-content {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 90vw;
  max-width: 950px;
  height: 90vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.zoou-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1 1 auto;
}
.zoou-close {
  background: #eee;
  border: none;
  font-size: 2.3em;
  color: #555;
  padding: 0.10em 0.38em;
  cursor: pointer;
  border-radius: 30px;
  position: absolute;
  z-index: 10;
  transition: background 0.2s;
}
.zoou-close:hover {
  background: #e74c3c; color: #fff;
}
.zoou-close-top {
  right: 12px; top: 10px;
}
.zoou-close-bottom {
  right: 18px; bottom: 10px;
  font-size: 1.9em;
}
@media (max-width:600px) {
  .zoou-modal-content { width: 98vw; height: 98vh; max-width:100vw; }
}




#carousel-photo-modal {
  position: fixed;
  z-index: 1000000 !important;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: none;
}
.carousel-photo-backdrop {
  position: absolute; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  cursor: pointer;
  z-index: 1;
}
.carousel-photo-modal-img {
  position: relative;
  max-width: 95vw; max-height: 95vh;
  box-shadow: 0 6px 30px #000a;
  border-radius: 7px;
  z-index: 2;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.2s;
}

@media (max-width:600px){
  .carousel-photo-modal-img { max-width:99vw; max-height:80vh; }
}


.tlacitko-a {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background-color: #c6e2c0de;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 7px;
  transition: 
    background 0.3s cubic-bezier(.4,2,.5,.9),
    transform 0.25s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9);
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
}

.tlacitko-a:hover,
.tlacitko-a:focus {
  background-color: #aacd9e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.15);
  color: #253f2b;
  text-decoration: none;
}

.tlacitko-b {
  display: inline-block;
  padding: 0.5rem 2.5rem;
  background: linear-gradient(90deg, #c6e2c0de 60%, #aacd9e 100%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: #000000;
  font-weight: bold;
  font-size: large;
  letter-spacing: 1px;
  border-radius: 7px;
  border: none;
  box-shadow: 0 1px 5px 0 rgba(60,80,90,0.04);
  cursor: pointer;
  transition: 
    background-position 0.4s cubic-bezier(.4,2,.5,.9),
    box-shadow 0.2s cubic-bezier(.4,2,.5,.9),
    color 0.2s;
}

.tlacitko-b:hover,
.tlacitko-b:focus {
  background-position: left top;
  color: #253f2b;
  box-shadow: 0 8px 32px 0 rgba(112,176,105,0.18);
}

.obalimg {
	border-radius: 10px;
    overflow: hidden;
    display: block;
}
    
    

@media (max-width: 400px) {
	.logo { font-size:1rem; }
	.carousel-arrow img {
   	 height: 20px;
	}
	.kontakt-main-title { font-size: 2.1rem; }
}

@media (max-width: 450px) {
	.kontakt-link {
   	font-size: 1.1rem;
 	}
 	.kontakt-info-item svg { width: 30px; }
 	.footer-logo img.left { max-height: 40px; }
 	.odstavec-left-white .odstavec-nadpis-l { font-size: 2.1rem; }
 	.odstavec-left-white .odstavec-nadpis-downl { font-size: 2.1rem; }
 	.odstavec-center .odstavec-nadpis-l { font-size: 2.1rem; }
 	.odstavec-center .odstavec-nadpis-downl { font-size: 2.1rem; line-height: 1.3; }
 	div.dojezd p { padding: 0 4px; }
 	.odstavec-left-white .green { font-size: 27px; }
 	.odstavec-left-white .dojezd { flex-wrap: wrap; }
 	.odstavec-center-white-container {
    padding: 1rem 1rem;
	}
	.odstavec-center-container {
    padding: 2rem 1rem;
	}
	.kontakt-blok { padding: 1rem 0rem; }
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
  
  .uvodni-bydleni-container {
  		align-items: center;
  	}
  	.price-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .price-table table {
    min-width: 600px;
  }
}
@media (max-width: 910px) {
	.footer-logos { justify-content: center; align-items: center; }
	.footer-logo.left { align-items: center; }
	
}




@media (min-width: 1600px) {
  html, body {
    font-size: clamp(17px, 1.2vw, 26px);
    /* vše co je v rem poroste, doporučeno používat rem v celém CSS */
  }

  /* Paddingy, mezery, šířky boxů, obrázky */
   .main, .section-box, .main-content {
    padding: clamp(32px, 4vw, 70px);
    max-width: 1700px; /* nebo vyšší podle designu */
    margin: 0 auto;
  }

  .section-box {
    margin-bottom: clamp(36px, 4vw, 80px);
  }

  .main-nav ul.menu {
    gap: clamp(20px, 2vw, 48px);
    padding-left: clamp(12px, 1.5vw, 40px);
    padding-right: clamp(12px, 1.5vw, 40px);
  }
	/*
  .main-nav a, .menu a, .main-nav li a {
    font-size: clamp(1rem, 1.1vw, 1.3rem);
    padding: clamp(8px, 1vw, 18px) clamp(24px, 2vw, 40px);
  }
	*/
  .btn, .btn-green, .btn-hero-bottom, .uvodni-hero-btn, .uvodni-bydleni-btn, .uvodni-narysov-btn, .btn-cta, .btn-katalog {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    /* padding: clamp(14px, 1.5vw, 30px) clamp(32px, 2.6vw, 80px); */
    /* border-radius: clamp(7px, 1vw, 22px); */
  }

  .section-img-bg {
    background-size: clamp(1000px, 85vw, 2600px) auto;
    background-position: center;
  }

  .section-img, .uvodni-narysov-image2 img {
    max-width: clamp(400px, 42vw, 1100px);
    border-radius: clamp(8px, 1vw, 20px);
  }

  /* Karty, boxy, bubliny, ceník */
  .info-bublina,
  .price-table,
  .nabidka-jednotka-detail,
  .section-box,
  .uvodni-bydleni-box {
    padding: clamp(20px, 2vw, 50px);
    border-radius: clamp(7px, 1vw, 22px);
    box-shadow: 0 0 clamp(18px, 2vw, 48px) rgba(0,0,0,0.10);
  }

  .price-table th,
  .price-table td {
    font-size: clamp(1rem, 1.12vw, 1.3rem);
    padding: clamp(10px, 1.2vw, 22px) clamp(8px, 1vw, 18px);
  }

  /* Mezery, sloupce, grid */
  .row,
  .grid,
  .uvodni-bydleni-grid,
  .uvodni-narysov-grid {
    gap: clamp(24px, 2.5vw, 60px);
  }

  /* Formulář */
  .kontakt-form input,
  .kontakt-form textarea {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    padding: clamp(10px, 1vw, 18px) clamp(10px, 1vw, 18px);
    border-radius: clamp(5px, 0.9vw, 14px);
  }
  .kontakt-form button {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    padding: clamp(12px, 1.4vw, 24px) clamp(28px, 2.4vw, 60px);
    border-radius: clamp(7px, 1vw, 22px);
  }

  /* Další sekce nebo třídy si přidej podle potřeby */

  /* Nadpisy pro velké obrazovky */
  h1, .main-title, .projekt-main-title, .kontakt-main-title {
    font-size: clamp(2.7rem, 3.5vw, 4rem);
  }
  .uvodni-hero-overlay h1 {
  	font-size: clamp(5.7rem, 3.5vw, 4rem);
  }
  h2, .section-box h3, .uvodni-hero-overlay p {
    font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  }
  h3, .sub-title, .map-title {
    font-size: clamp(1.4rem, 1.9vw, 2rem);
  }
  h4 {
    font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  }
  
  
  .header-inner {
    max-width: 5000px;
  }
  .main,
  .main-content,
  .section-box,
  .price-table,
  .kontakt-main, .uvodni-narysov-container, .uvodni-bydleni-container, .kontakt-wrapper, .timeline-line, .footer-container, .odstavec-center-container, .odstavec-left-white-container,
  .odstavec-left-white-container, .odstavec-left2-container, div.price-table, div.jw, .galerie-wrapper
  /* doplň další, které mají max-width: 1200px; */
  {
    max-width: calc(1200px + (100vw - 1600px) * 0.8);
  }
  .timeline-item {
    top: -40px;
    left: 0px;
   }
   .timeline-item.top .timeline-info, .timeline-item.bottom .timeline-info {
   	width: auto;
   }
}

@media (min-width: 2000px) {
	.timeline-item {
    top: -48px;
   }
}
