

html, body {
  height: 100%;
  background-color: black;
  font-family: Arial, sans-serif;
}





.uvod {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uvod .diagonal-strips {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.uvod .strip {
  position: relative;
  flex: 1 1 20%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.uvod .strip:hover {
  transform: scale(1.05);
}

.uvod .overlay-text-uvod {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: white;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.uvod .strip:hover .overlay-text-uvod {
  opacity: 1;
}

.uvod .overlay-text-uvod h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.uvod .overlay-text-uvod p {
  font-size: 1.1rem;
  font-weight: 300;
}

/* Responsivita */
@media (max-width: 768px) {
  .uvod .diagonal-strips {
    flex-direction: column;
    height: auto;
  }

  .uvod .strip {
    flex: none;
    height: 200px;
    width: 100vw;
  }
}

/* 🔧 Responsivita – TELEFONY a malé displeje */
@media screen and (max-width: 768px) {
  .uvod {
    height: auto;
    padding: 20px 0;
  }

  .uvod .diagonal-strips {
    flex-direction: column;
    height: auto;
  }

  .uvod .strip {
    flex: none;
    height: 150px;  /* MŮŽEŠ MĚNIT podle potřeby (např. 120px–200px) */
    width: 100%;
  }

  .uvod .overlay-text-uvod {
    opacity: 1; /* Na mobilech text rovnou viditelný (volitelné) */
    background-color: rgba(0,0,0,0.5);
  }

  .uvod .overlay-text-uvod h2 {
    font-size: 1.3rem;
  }

  .uvod .overlay-text-uvod p {
    font-size: 0.9rem;
  }
}






/* ============================ */
/* Logo Animace                */
/* ============================ */
.logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
  opacity: 0;
  transform: translateX(-100px);
  animation: logoSlideInLeft 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes logoSlideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ============================ */
/* Sociální Ikony              */
/* ============================ */
.social-icons {
  position: fixed;
  bottom: 35px;
  left: 50px;
  z-index: 10;
  display: flex;
  gap: 15px;
}

.social-icons i {
  font-size: 2rem;
  color: white;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons i:hover {
  animation: shake 0.4s ease;
  animation-iteration-count: 1;
  color: #ff0000;
}

@keyframes shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3px, 0); }
  50% { transform: translate(3px, 0); }
  75% { transform: translate(-3px, 0); }
  100% { transform: translate(0, 0); }
}


/* ============================ */
/* Slide Obecný                */
/* ============================ */
.slide {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  font-size: 3rem;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ============================ */
/* Slide 2 - Text + Obrázek    */
/* ============================ */
.slide-2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  gap: 2rem;
  height: 100vh;

  background-color: rgb(34, 40, 49); 
  background-image: url('grafika_tws/bg/bg_logo2.png');
  background-size: cover;           
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.slide-text{
  text-align: center;
}

/* === TABLET === */
@media screen and (max-width: 1024px) {
  .slide-2 {
    flex-direction: column;
    padding: 1.5rem;
  }

  .slide-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .slide-text h2 {
    font-size: 1.5rem;
  }

  .slide-text h5 {
    font-size: 1rem;
  }

  .slide-text p {
    font-size: 0.95rem;
  }
}

/* === MOBIL === */
@media screen and (max-width: 768px) {
  .slide-2 {
    padding: 1rem;
    gap: 1rem;
  }

  .slide-text {
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .slide-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5em;
  }

  .slide-text h5 {
    font-size: 0.7rem;
    margin-bottom: 0.5em;
  }

  .slide-text p {
    font-size: 0.85rem;
    margin-bottom: 0.5em;
  }

  iframe {
    height: 250px;
  }
}

/* === EXTRA MALÉ DISPLEJE (např. staré telefony) === */
@media screen and (max-width: 480px) {
  .slide-text {
    font-size: 0.8rem;
  }

  .slide-text h2 {
    font-size: 1.1rem;
  }

  .slide-text h5 {
    font-size: 0.85rem;
  }

  iframe {
    height: 200px;
  }
}

/* === MALÉ OKNO / 1/4 DISPLEJE (např. 600px a méně) === */
@media screen and (max-width: 600px) {
  .slide-text {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .slide-text h2 {
    font-size: 1.1rem;
    margin-bottom: 0.4em;
  }

  .slide-text h5 {
    font-size: 0.8rem;
    margin-bottom: 0.4em;
  }

  .slide-text p {
    font-size: 0.75rem;
    margin-bottom: 0.4em;
  }

  iframe {
    height: 180px;
  }
}

/* Extra pojistka pro extrémně úzká zařízení nebo boční režim */
@media screen and (max-width: 400px) {
  .slide-text {
    font-size: 0.7rem;
  }

  .slide-text h2 {
    font-size: 1rem;
  }

  .slide-text h5 {
    font-size: 0.75rem;
  }

  iframe {
    height: 150px;
  }
}






/* ============================ */
/* Slide Kurzy Sekce           */
/* ============================ */
.slide-kurzy {
  position: relative;
 background: #393e46;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  overflow: hidden;
}

.overlay-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.kurzy-obrazky {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
  padding-left: 1%;
}

.kurz-box {
  position: relative;
  width: 30%;

  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}





.kurz-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.kurz-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  font-size: 1.2rem;
  text-align: center;
  pointer-events: none;
}

.kurz-box:hover img {
  transform: scale(1.05);
}

.kurz-box:hover .overlay {
  opacity: 1;
}

.overlay-text {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  padding: 1rem;
  width: 100%;
}




/* ============================ */
/* Responsivita                */
/* ============================ */
@media (max-width: 768px) {
  .kurz-box {
    width: 80%;
  }
}
/* Tablet */
@media (max-width: 1024px) {
   .slide-kurzy {
    height: 10px;
    min-height: 100vh;
    overflow: visible;
    padding: rem 0;  
  }

  .kurzy-obrazky {
    gap: 1rem;
    padding-left: 0;
    flex-direction: column; 
    align-items: center;

  }

  .kurz-box {
    width: 90%;
    max-width: 190px; 
  }
    .overlay-text {
    font-size: 0.7rem; 
    line-height: 1.3;
    padding: 0.5rem;
  }
}





@media (max-width: 600px) {
  .slide-kurzy {
    height: 10px;
    min-height: 100vh;
    overflow: visible;
    padding: rem 0;  
  }

  .kurzy-obrazky {
    gap: 1rem;
    padding-left: 0;
    flex-direction: column; 
    align-items: center;

  }

  .kurz-box {
    width: 90%;
    max-width: 180px;
  }
    .overlay-text {
    font-size: 0.7rem;  
    line-height: 1.3;
    padding: 0.5rem;
  }
}













/* ============================ */
/* GALERIE             */
/* ============================ */



.slide-gallery {
  background: #e67c00;
  color: white;
  padding: 60px 20px;
  text-align: center;
  overflow-x: hidden; /* Zabrání horizontálnímu scrollu */
}

.gallery-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 180px;  /* Minimální šířka jednoho sloupce */
  max-width: 220px; /* Ať nejsou moc široké */
  box-sizing: border-box;
}

.column img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* EXTRA ÚZKÉ OBRAZOVKY (1/4 šířky např. 360px) */
@media screen and (max-width: 480px) {
  .gallery-grid {
    gap: 15px;
    padding: 0 5px;
  }

  .column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .column img {
    aspect-ratio: 4 / 3;
  }
}

.column img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* TABLETY */
@media screen and (max-width: 1024px) {
  .gallery-grid {
    gap: 20px;
  }

  .column {
    max-width: 45%;
  }
}

/* 📱 MOBILNÍ ZAŘÍZENÍ – přepnout na GRID */
@media screen and (max-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    padding: 0 10px;
  }

  .column {
    all: unset; /* Resetujeme styl z flexu */
  }

  .column img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}


/* EXTRA ŠIROKÉ DISPLEJE */
@media screen and (min-width: 1440px) {
  .gallery-grid {
    max-width: 1800px;
  }

  .column {
    flex: 1 1 300px;
    max-width: 360px;
  }

  .column img {
    aspect-ratio: 16 / 10;  /* Ještě větší obrázky */
  }
}





/* ============================ */
/* REVIEWS              */
/* ============================ */

.slide-reviews {
  position: relative;
  display: flex;
  flex-direction: column; /* nadpis a počítadlo pod sebou */
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  color: rgb(0, 0, 0);
  background: #e67c00;
  z-index: -2;
  width: auto;
}

@keyframes pulseBackground {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.slide-reviews::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('grafika_tws/reviews/stars.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: pulseBackground 5s ease-in-out infinite;
  transform-origin: center;
  
}


@keyframes pulseText {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.slide-reviews h1 {
  animation: pulseText 5s ease-in-out infinite;
  transform-origin: center;
  z-index: 1;
  margin-bottom: 0px; /* zmenšená mezera */
}
.counter {
  text-align: center;
  z-index: 1;
  position: relative;
  margin-top: 0; /* žádná mezera nahoře */
  font-size: 24px;
  font-weight: bold;
  color: white;
}

/* === RESPONSIVNÍ TEXT PRO REVIEWS SEKCI === */
@media screen and (max-width: 768px) {
  .slide-reviews h2 {
    font-size: 1.5rem;  /* menší nadpis */
  }

  #counter {
    font-size: 5px;    /* zmenšený text pod nadpisem */
  }

  #counter span {
    font-size: 16px;    /* případně můžeš upravit čítač zvlášť */
  }
}

/* Volitelně pro ještě menší obrazovky */
@media screen and (max-width: 480px) {
  .slide-reviews h2 {
    font-size: 1.2rem;
  }

  #counter {
    font-size: 12px;
  }
}


/* ============================ */
/* CONTACTS             */
/* ============================ */


.slide-contacts {
  background: #393e46;
  color: white;
  padding: 60px 20px;
  text-align: center;
  
}

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

.contacts-title {
  font-size: 3.5rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.contacts-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap; 
}

  .column2 {
    width: auto;                 
    flex-direction: column;
    gap: 1rem;
  }

 
.column2 img {
  width: 100%;        
  height: 120;       
  max-width: none;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  
}


.column img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}




/* Mobilní zařízení */
@media (max-width: 600px) {
  .contacts-grid {
    display: grid;               
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .column {
    width: auto;                
    flex-direction: column;
    gap: 1rem;
  }

  .column img {
    max-width: 180px;            
    width: 100%;                 
    height: auto;               
  }
}







.footer {
  background-color: #222; 
  color: white;           
  text-align: center;     
  padding: 1rem 0;        
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
}