.odkaz {
  display: inline-block; /* důležité pro scale */
  color: #b3612d;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.odkaz:hover {
  transform: scale(1.02);
}
.partners-logos{
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 18px;
}

/* jedna "karta" = název + logo */
.partner-logo{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: inherit;

  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.55);

  transition: transform 0.25s ease;
}

.partner-logo:hover{
  transform: scale(1.03);
}

.partner-title{
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  font-size: 1.05rem;
}

/* logo */
.partner-logo img{
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.1));
}
/* ===== Kontakt modal layout ===== */
.cm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 10px;
  line-height: 1.55;
}

.cm-contact-block {
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
}

.cm-contact-block a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cm-contact-block--full {
  grid-column: 1 / -1;
}



.cenik-info {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.5rem;
  line-height: 1.6;
}

/* zakáže označování textu (desktop i mobil) */
body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ale povolíme označení tam, kde to dává smysl */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* ===== Chadimův mlýn: modal ===== */
.cm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cm-modal.is-open {
  display: block;
}

.cm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0 auto;
  padding: 20px 18px;
  border-radius: 16px;

  /* Pokud máš design tokeny, klidně nahraď */
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  outline: none;
}

.cm-modal__title {
  margin: 0 34px 6px 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.cm-modal__desc {
  margin: 0 0 14px 0;
  opacity: 0.85;
  font-size: 0.98rem;
}

.cm-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 36px;
  height: 36px;
  border-radius: 10px;

  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.7);
  cursor: pointer;

  display: grid;
  place-items: center;
}

.cm-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;

  border: 1px solid rgba(0,0,0,0.14);
  transition: transform 120ms ease, opacity 120ms ease;
}

.cm-btn:active {
  transform: translateY(1px);
}

.cm-btn:hover {
  transform: scale(1.05);
}

.cm-btn--primary {
  background: #111;
  color: #fff;
  border-color: rgba(0,0,0,0.15);
}

.cm-btn--ghost {
  background: transparent;
  color: #111;
}

.cm-modal__note {
  margin: 14px 0 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}


.cert-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.cert-logos img {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}
.cert-logos img:hover {
  transform: scale(1.05);
}

.info-box h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.info-box h3 {
  margin-top: 1.5rem;
  color: var(--color-accent);
  font-weight: bold;
}

.info-box ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1rem;
}

.info-box .note {
  font-style: italic;
  margin-top: 1rem;
  color: #555;
}

.info-box .alert {
  font-weight: bold;
  color: var(--color-accent);
  margin-top: 0.5rem;
}



/* === Efekt zalesknutí pro celý .bubble === */
.shine-box {
  position: relative;
  overflow: hidden;
}
.shine-box::before {
      content: "";
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: skewX(-20deg);
      pointer-events: none;
    }

    .shine-box:hover::before {
      animation: shine 1s ease-in-out;
    }

    @keyframes shine {
      from {
        left: -75%;
      }
      to {
        left: 125%;
      }
    }

.footer-content {
  background-color: var(--color-section);
  color: var(--color-text);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 30px 20px;
  border-top: 1px solid #999;
}

/* Jednotlivé sloupce v patičce */
.footer-column {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Odrážky u seznamů služeb */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin: 5px 0;
}

/* Odkazy ve sloupcích */
.footer-column a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--color-accent); /* hnědý odstín při najetí */
}

/* Logo ve sloupci */
.footer-column.logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* Styl mapy (sloupec s iframe) */
.footer-column.mapa iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 10px;
}

.footer-column.mapa p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Spodní lišta s rokem a copyrightem */
.footer-bottom {
  background-color: var(--color-primary);
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  color: white;
}


.intro-modern {
  display: flex;
  flex-direction: row;
  height: 85vh;
  width: 100%;
  overflow: hidden;
}

.intro-image {
  position: relative;
  flex: 1;
  background-color: #ccc;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-image .overlay {
  position: absolute;
  inset: 0;
  transform: none;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.intro-text {
  flex: 1;
  background-color: #f8f5f2;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #111;
}

.intro-text h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: #222;
}

.intro-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  max-width: 600px;
}

.info-section {
  background-color: #f8f5f2;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.info-box {
  background-color: #fff6dc;
  padding: 40px 60px;
  border-radius: 20px;
  max-width: 800px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: rotate(-1.2deg);
}

.info-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4d2d17;
  text-align: center;
}
.info-section.reverse .info-box {
  transform: rotate(1.2deg);
}
.gallery-section {
  padding: 80px 20px;
  text-align: center;
}

.gallery-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.gallery-wrapper img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
}
.bubble {
  margin: auto;
  overflow: hidden;
  transform: skew(-10deg, -5deg);
  width: 90%;
  background-color: #fef6e4;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.spacer-for-heading {
  height: 60px;
}

.bubble .container {
  transform: skew(10deg, 5deg);
  padding: 30px 20px;
  max-width:900px ;
  width: 100%;
  position: relative;
  padding-bottom: 60px;
}

.bubble h2 {
  position: absolute;
  top: 0%;
  right: -30%;
  margin: 0;
  font-size: 3rem;
  color: var(--color-primary);
  color: #4d2d17;
}
.tabulka {
  position: absolute;
  top: -25%;
  right: 30%;
  width: 100%;
  max-width: 100%;    
}


.tabulkaCenik {
  width: 100%;
  margin: 40px auto;
  border-collapse: collapse;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.container, .text-block {
  padding: 0 2rem;
}

.tabulkaCenik th,
.tabulkaCenik td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #999;
  font-size: 1.4rem;
}

.tabulkaCenik thead th {
  background-color: #4d2d17;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.tabulkaCenik tbody tr:nth-child(odd) {
  background-color: #f1d2bd;
}

.tabulkaCenik tbody tr:nth-child(even) {
  background-color: #fff;
}



:root {
    scroll-padding-top: 80px;
  --shadow-main: 0 6px 12px rgba(0,0,0,0.2);
  --shadow-large: 0 10px 20px rgba(0,0,0,0.15);
  --color-primary: #5a3e2b;
  --color-secondary: #e8d9c1;
  --color-accent: #edc946;
  --color-text: #333333;
  --color-background: #f8f5f2;
  --color-section: #fef6e4;
        --visible-thumbs: 4; /* počet viditelných obrázků */
      --thumb-width: 120px; /* Změň podle toho, jak velké chceš obrázky */
      --thumb-gap: 10px;
}

html {
    scroll-behavior: smooth;
}
/* === Animace nájezdu === */
@keyframes flyIn {
  from {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
/* ANIMACE */

.reveal-up {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-up2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up2.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.fade-delay-5 { transition-delay: 0.5s; }
.fade-delay-6 { transition-delay: 0.6s; }

/* Navigační lišta – fixovaná nahoře s přechodovým efektem */
/* === Navigace === */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent; /* Původně průhledná */
  z-index: 999; /* Nad ostatními prvky */
}

/* Efekt po scrollnutí – změna barvy pozadí a stín */
#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-main);
}

#navbar.scrolled a { 
  color: var(--color-text); 
}

/* === Globální styl pro tělo stránky === */
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif; /* Doporučuju doplnit fallback např. 'Arial, sans-serif' */
  overflow-x: hidden; /* Zamezuje horizontálnímu scrollování */
  background-color: var(--color-background);
  color: var(--color-text);
}

/* === Navigace === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 10px 40px; /* Vnější okraje navigace */
}

nav ul {
  display: flex;
  gap: 40px; /* Mezera mezi položkami */
  padding: 0;
  margin-right: 50px;
  list-style: none; /* Skrytí odrážek */
}
nav ul li a {
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  color: white;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: white;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

nav ul li a:hover {
  transform: scale(1.1); /* jemné nadskočení */
}

nav ul li a:hover::after {
  width: 100%; /* rozjetí čáry */
}

/* === SCROLLOVANÝ NAVBAR === */
#navbar.scrolled ul li a {
  color: var(--color-text); /* změna barvy textu */
}

#navbar.scrolled ul li a::after {
  background-color: var(--color-primary); /* změna barvy čáry */
}


/* Změna barvy po scrollnutí */
#navbar.scrolled ul li a {
  color: var(--color-text);
}

#navbar.scrolled ul li a::after {
  background-color: var(--color-primary);
}

nav li a {
  text-decoration: none;
  font-weight: 500;
  color: #fff; /* Bílé odkazy (pozor – neviditelné, pokud pozadí není tmavé) */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 10px;
}

/* Změna barvy po scrollnutí */
#navbar.scrolled ul li a {
  color: var(--color-text);
}

#navbar.scrolled ul li a::after {
  background-color: var(--color-primary);
}

nav li a {
  text-decoration: none;
  font-weight: 500;
  color: #fff; /* Bílé odkazy (pozor – neviditelné, pokud pozadí není tmavé) */
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  max-width: 100%;
  height: auto;
  margin: 10px;
}


/* === Hero sekce === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Výška na celou obrazovku */
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Zachování proporcí při vyplnění prostoru */
  display: block;
}

/* Textová vrstva uvnitř hero sekce */
.hero-text {
  position: absolute;
  top: 55%; 
  left: 47%;
  transform: translate(-50%, -50%);
  margin: auto;
  color: white;
  z-index: 2; /* Před overlayem */
  width: 70%;

  animation: flyIn 1s ease-out;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Tmavý filtr nad obrázkem */
  z-index: 1;
}



/* === Úvodní sekce s obrázkem a textem === */
.intro-box {
  background-color: var(--color-section);
  width: 100%;
  max-width: 1400px;          /* Větší limit než 1200px */
  margin: 0 auto;
  padding: 60px 40px;
  height: auto; /* Odstraněna pevná výška */
  border-radius: 20px;
  box-shadow: var(--shadow-main);
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content:space-between;
  max-width: 1200px;
  margin: 0 10%;
  gap: 100px;
}

.intro-img {
  transform: translateX(-20px) ;
  flex: 1 1 50%;
  max-width: 70%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-main);
  object-fit: cover;
}

.intro-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0 0 10px;
  color: var(--color-primary);
}

.intro-text p {
  font-size: 1.3rem; /* Původně 1.1rem */
  line-height: 1.7;
  margin: 0;
  color: var(--color-text);
}
.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  margin-left: 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  width: 20%;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: var(--shadow-main);
  min-width: 250px;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #b3612d;
  transform: scale(1.05);
}


.gallery {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.main-image-wrapper {
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--shadow-main);
  padding: 20px;
  margin-bottom: 20px;
}

.main-image-wrapper img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.main-image-wrapper p {
  font-style: italic;
  margin-top: 10px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.thumbnails img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-main);
  transition: transform 0.2s ease;
}

.thumbnails img:hover {
  transform: scale(1.05);
}

.gallery {
  text-align: center;
}
.main-image-wrapper {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
}
.main-image-wrapper img {
  width: 100%; max-height: 500px; object-fit: cover;
  border-radius: 12px;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.main-image-wrapper p {
  margin-top: 10px; font-style: italic;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.thumbnails-carousel {
  display: flex;
  gap: 10px;
  overflow: hidden;
  scroll-behavior: smooth;
  max-width: calc(var(--visible-thumbs) * var(--thumb-width) + (var(--visible-thumbs) - 1) * var(--thumb-gap));
}

.thumbnails-carousel img {
  height: auto;
  width: var(--thumb-width);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.thumbnails-carousel img:hover {
transform: translateY(-2px);
}

.arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primary);
  transition: color 0.3s;
  z-index: 10;
    transition: opacity 0.3s ease;
}
.arrow:hover {
  color: var(--color-accent);
}
.arrow[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
}

/* Efekt rozmazání */
#main-image,
#image-caption {
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.blur-out {
  filter: blur(6px);
  opacity: 0.4;
}
.intro-text, .intro-text * , .bubble, .bubble * {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* =========================================================
   RESPONSIVE – nově, čistě (konec CSS)
   ========================================================= */

/* 1) menší notebooky / tablet landscape */
@media (max-width: 1700px) {

  /* ===== Intro (split -> stack) ===== */
  .intro-modern {
    flex-direction: column;
    height: auto;
  }

  .intro-image {
    order: -1;
    width: 100%;
    height: 280px;
    max-height: 80vh;
    position: relative; /* nutné pro overlay */
  }

  .intro-image img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
  }

  /* oprav overlay (už žádný translateY(-100%)) */
  .intro-image .overlay {
    position: absolute;
    inset: 0;
    transform: none;
    z-index: 1;
  }

  .intro-text {
    width: 100%;
    padding: 40px 24px;
    text-align: center;
  }

  .intro-text p {
    max-width: 720px;
    margin: 0 auto;
  }

  .btn-primary {
    margin: auto;
  }

  /* ===== Bubble: zrušit zkosení na menších ===== */
  .bubble {
    transform: none;
    width: min(960px, 92%);
    padding: 50px 16px;
  }

  .bubble .container {
    transform: none;
    padding: 20px 12px 50px;
  }

  /* nadpis bubble už nesmí „utíkat“ doprava */
  .bubble h2 {
    position: static;
    right: auto;
    top: auto;
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 2.4rem;
  }

  /* tabulka musí být normálně v toku */
  .tabulka {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    overflow-x: auto;
  }

  .tabulkaCenik {
    margin: 24px auto;
  }
}

@media (max-width: 758px) {
  .intro-text h1 {
    font-size: 2.2rem;
    width: 100%;
  }
  .intro-text {
    width: 100%;
    margin:0;
    padding: 0;
  }

  .intro-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 520px;
  }

  /* ať je tlačítko vždy pěkně na střed */
  #btn-domluvit-prohlidku,
  .btn-primary {
    margin: 18px auto 0;
    display: block;
  }
}
/* 2) mobil / tablet portrait */
@media (max-width: 768px) {

  /* ===== Kontakt modal grid 2 -> 1 ===== */
  .cm-contact-grid {
    grid-template-columns: 1fr;
  }

  .cm-contact-block--full {
    grid-column: auto;
  }

  /* ===== Modal dialog víc „mobile friendly“ ===== */
  .cm-modal__dialog {
    width: min(94vw, 520px);
    margin: 9vh auto 0;
    padding: 18px 16px;
    border-radius: 14px;
  }

  /* ===== Ceník info text menší ===== */
  .cenik-info {
    font-size: 1.1rem;
    margin-top: 18px;
  }

  /* ===== Bubble ještě užší padding ===== */
  .bubble {
    width: 94%;
    padding: 38px 12px;
    border-radius: 18px;
  }

  .bubble h2 {
    font-size: 2.1rem;
  }

  .tabulkaCenik th,
  .tabulkaCenik td {
    font-size: 1.05rem;
    padding: 12px 12px;
  }

  /* ===== Footer do sloupce ===== */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-column {
    margin: 0;
  }

  .footer-column.logo img {
    width: 150px;
    margin: 0 auto;
  }

  /* ===== Galerie: šipky menší + víc viditelných thumbs ===== */
  :root {
    --visible-thumbs: 3;
    --thumb-width: 92px;
    --thumb-gap: 10px;
  }

  .arrow {
    font-size: 1.6rem;
  }
}
/* Schování hamburgeru na úplném vršku stránky (mobil) */
@media (max-width: 1000px) {
  .menu-toggle {
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .menu-toggle.is-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}
@media (max-width: 700px) {
  /* === NAVIGACE === */
  .menu-toggle {
    display: block;
    align-self: flex-start;
    margin-left: 10px;
  }

  #MENU {
    display: block;
  }
  #logo-img {
    display: none;
  }

  nav {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: white;
    padding: 10px 0;
    margin-right: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    margin: 10px 0;
  }

  nav li a {
    color: black;
    font-size: 1.1rem;
  }

  nav ul li a::after {
    background-color: black;
  }
  
}
@media (max-width: 600px) {

  /* ----- intro sekce ----- */
  .intro-modern{
    flex-direction: column;
    height: auto;
    overflow: hidden;
  }

  .intro-image{
    order: -1;
    height: 260px;
    position: relative;
  }

  .intro-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .intro-image .overlay{
    position: absolute;
    inset: 0;
    transform: none;              /* zruší translateY hack */
    background: rgba(0,0,0,0.35);
    pointer-events: none;
  }

  .intro-text{
    padding: 26px 16px;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .intro-text h1{
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 0 0 14px 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .intro-text p{
    font-size: 1rem;
    line-height: 1.6;
    max-width: 85vw;
    margin: 0 auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .btn-primary{
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 16px auto 0 auto;
    padding: 0.85rem 1.2rem;
    display: inline-flex;
    justify-content: center;
  }

  /* ----- bubble sekce (zrušit skew a “rozbitý” layout) ----- */
  .bubble{
    width: calc(100% - 24px);
    margin: 12px auto;
    transform: none;
    padding: 28px 12px;
    border-radius: 18px;
    overflow: hidden; /* ať nic neleze ven */
  }

  .bubble .container{
    transform: none;
    padding: 18px 12px 28px 12px;
    max-width: 100%;
    width: 100%;
    position: relative;
  }

  .bubble h2{
    position: static;
    margin: 0 0 16px 0;
    font-size: 2.1rem;
    text-align: center;
    overflow-wrap: anywhere;
  }

  /* ----- tabulky: žádné přetékání, hezký scroll jen uvnitř ----- */
  .tabulka{
    position: static;
    width: 100%;
    overflow-x: auto;                 /* scroll jen tabulky */
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    padding-bottom: 6px;
  }

  .tabulkaCenik{
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    min-width: 0;
  }

  .tabulkaCenik th,
  .tabulkaCenik td{
    font-size: 1rem;
    padding: 12px 12px;
    white-space: normal;              /* důležité */
    overflow-wrap: anywhere;          /* důležité */
    word-break: break-word;           /* důležité */
    hyphens: auto;
  }

  .tabulkaCenik thead th{
    font-size: 1rem;
  }

  /* ceník info – ať je to čitelné a nic nepřesahuje */
  .cenik-info{
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.55;
    padding: 0;
  }

  .cenik-info li{
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}

/* 4) EXTRA ÚZKÉ MOBILY (od 420px dolů) */
@media (max-width: 420px) {
  .intro-image{ height: 240px; }

  .intro-text h1{
    font-size: 1.9rem;
  }

  .intro-text p{
    font-size: 1rem;
  }
  .intro-text{
    width: 100%;
    margin:0;
    padding: 0;
  }

  .bubble h2{
    font-size: 1.9rem;
  }

  .tabulkaCenik th,
  .tabulkaCenik td{
    font-size: 0.95rem;
    padding: 10px 10px;
  }
}

@media (hover: none) {
  .shine-box::before { display: none !important; }
}
