/* DAILLO PL – úvodní stránka podle daillo.cz
   Soubor patří do /user/documents/upload/res/ (vedle Daillo_kn_edits_PL_1.css).
   V Záhlaví na něj odkazuje řádek na úplném konci:
   <link rel="stylesheet" type="text/css" href="/user/documents/upload/res/Daillo_uvod_PL_1.css"/>
   Při další úpravě souboru zvyšte číslo (_2, _3…), ať prohlížeče nenačítají starou verzi z mezipaměti. */

/* 1) Hero: velká fotka s textem */
#carousel:has(.hero-foto) { padding: 0; margin: 0 }
#carousel:has(.hero-foto)::after { display: none }
#carousel:has(.hero-foto) .carousel-inner { overflow: visible }
.hero-foto { position: relative; display: flex; align-items: center; height: clamp(520px,min(80vh,56vw),1100px); margin: 0 calc(50% - 50vw); overflow: hidden; background: #000 }
.hero-foto__obrazek,.hero-foto__obrazek img { position: absolute; top: 0; left: 0; width: 100%; height: 100% }
.hero-foto__obrazek img { max-width: none; margin: 0; object-fit: cover; object-position: 46% 50% }
.hero-foto::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background: linear-gradient(90deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.6) 22%,rgba(0,0,0,.15) 34%,rgba(0,0,0,0) 42%); pointer-events: none }
.hero-foto__text { position: relative; z-index: 2; box-sizing: content-box; max-width: 26vw; padding: 0 0 0 6vw; color: #fff; text-align: left }
.hero-foto__text h1 { margin: 0 0 20px; color: #fff; font-family: "Clash Display",sans-serif; font-size: clamp(36px,3.8vw,64px); font-weight: 600; line-height: 1.12 }
#carousel .hero-foto__text h1 { text-align: left }
.hero-foto__text p { margin: 0 0 40px; color: #fff; font-size: 18px; line-height: 1.6 }
/* 2) Produkty hned pod fotkou */
.in-index main .home-product { margin: 80px 0 100px; padding: 100px 0; box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax) }
.in-index main .home-product>.container { width: auto; max-width: none; padding: 0 }
/* 3) Sekce o nás (tento řádek skrývá nadpis Witamy…) */
.in-index .welcome>.h1 { display: none }
.pribeh { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); align-items: center; gap: 80px; margin: 0 0 120px; padding: 100px 0; background: #f4f4f4; box-shadow: 0 0 0 100vmax #f4f4f4; clip-path: inset(0 -100vmax); text-align: left }
.pribeh__foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 70% }
.pribeh__text { max-width: 600px }
.pribeh__text h6,.pribeh__text h2,.pribeh__text p { text-align: left }
.pribeh__text h6 { margin: 0 0 12px }
.pribeh__text h2 { margin: 0 0 32px }
.pribeh__text p { max-width: none; margin: 0 0 20px }
.pribeh__text .btn { margin-top: 20px }
/* Tablet a mobil: text pod fotkou */
@media (max-width:991px) {
  .hero-foto { display: block; height: auto }
  .hero-foto::after { display: none }
  .hero-foto__obrazek { position: relative; display: block; height: auto; aspect-ratio: 16 / 10 }
  .hero-foto__obrazek::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%) }
  .hero-foto__text { box-sizing: border-box; max-width: none; margin-top: -64px; padding: 0 48px 56px }
  .hero-foto__text h1 { font-size: 48px }
  .pribeh { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; margin-bottom: 80px }
  .pribeh__foto img { aspect-ratio: 4 / 3 }
  .pribeh__text { max-width: none }
}
/* Mobil */
@media (max-width:767px) {
  .hero-foto__obrazek { aspect-ratio: 1 / 1 }
  .hero-foto__text { margin-top: -40px; padding: 0 20px 40px }
  .hero-foto__text h1 { font-size: 40px }
  .hero-foto__text p { margin-bottom: 24px; font-size: 16px }
  .in-index main .home-product { margin: 48px 0 64px; padding: 64px 0 }
}

/* Produkty na šedém pozadí */
.in-index main .home-product { background: #f4f4f4; box-shadow: 0 0 0 100vmax #f4f4f4 }
.in-index .home-product .homepage-group-title { color: #000 }
.in-index .home-product .homepage-group-title::before { color: #808080 }
