/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes slidePageUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



body {
  font-family: 'Poppins', sans-serif;
  background-color: #393E46;
  color: #dcdbdb;
  animation: slidePageUp 0.5s ease-out forwards;
  opacity: 0;
  transform: stranslateY(50px);
  overflow-x: hidden;
  touch-action: pan-y;
}

/* HLAVICKA */
.header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222831;
  padding: 15px 30px;
  z-index: 1000;
}

.about-btn {
  background: #fff;
  border: 2px solid #000;
  padding: 8px 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.about-btn:hover {
  background: #000;
  color: #fff;
}

.logo-center img {
  height: 50px;
  margin: 10px
}

.socials {
  display: flex;
  justify-content: center; /* zarovná vodorovně na střed */
  align-items: center; /* zarovná svisle na střed */
  gap: 10px; /* mezera mezi ikonami */
  flex-wrap: wrap;
}

.socials img {
  height: 50px;
  filter: brightness(0.9);
  transition: 0.3s;
  background-color: transparent;
  border: none;
}
.socials img:hover {
  filter: brightness(1.2);
}

.socials img:active {
  filter: brightness(0.7);
}
/* CITÁT */
.quote {
  text-align: center;
  padding: 40px 20px;
  padding-bottom: 5px;
}

.quote h2 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
}

.quote p {
  color: #d6d6d6;
}

/* PRODUKTY */
.products {
  text-align: center;
  padding: 40px 20px;
  padding-top: 20pxpx;
}

/* Wrapper pro produkty */
.product-wrapper {
  overflow: hidden; 
  margin: 0 auto;
  max-width: 1150px; /* 350*3 + 30*2 */
}

/* Grid produktů */
.product-grid {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  justify-content: center;
}

/* Každý produkt */
.product {
  width: 350px;
  height: 350px;
  background-color: #f0f0f0;
  border: 3px solid black;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.5s ease-in-out;
}

/* Hover efekt */
.product:hover {
  transform: scale(1.05);
}

/* Obrázek uvnitř */
.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Text pod obrázkem */
.product p {
  display: none;
}
.slider-controls {
  text-align: center;
  margin-top: 35px;
  gap: 20px;
  display: flex;
  justify-content: center;
}

/* Wrapper / rámeček kolem šipek */
.arrow {
  font-size: 2rem;
  background-color: #222831; /* barva rámečku */
  border: 2px solid #f0f0f0; /* barva okraje */
  border-radius: 15px;       /* zaoblení rohů */
  width: 60px;               /* šířka rámečku */
  height: 60px;              /* výška rámečku */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #f0f0f0;
}

/* Hover efekt */
.arrow:hover {
  background-color: #102a33; /* pozadí se změní */
  color: #fff;               /* šipka se změní na bílou */
  transform: scale(1.1);     /* mírné zvětšení */
}


/* Tlačítko Další sortiment */
.more-btn {
  font-family: 'Poppins', sans-serif;
  background: #dbdbdb;
  border: none;
  padding: 20px 35px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: large;
  transition: 0.3s;
  margin-top: 40px;
  margin-bottom: 0px;
}

.more-btn:hover {
  background: #999;
  color: #fff;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {

  .product-wrapper {
    max-width: 350px;  /* přesně jeden produkt */
  }

  .product-grid {
    justify-content: flex-start; /* začátek gridu */
    gap: 40px;                    /* žádná mezera */

  }

  .product {
    width: 350px;
    height: 350px; /* čtverec */
  }
}




/* RECENZE */
.reviews-box {
  background: #222831;
  color: #fff;
  padding: 32px 0;
  text-align: center;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 800px;
  box-sizing: border-box;
  
}

/* 🔹 Na mobilech přidáme odsazení od okrajů */
@media (max-width: 768px) {
  .reviews-box {
    margin: 40px 20px; /* nahoře/dole 40px, vpravo/vlevo 20px */
  }
}

.reviews-box h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 600;
  }
.review-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  }

.review-text {
  min-width: 260px;
  max-width: 340px;
  transition: opacity 0.4s, transform 0.4s;
  opacity: 1;
  transform: translateX(0);
  }
.review-text.hide-left {
  opacity: 0;
  transform: translateX(-80px);
  }
.review-text.hide-right {
  opacity: 0;
  transform: translateX(80px);
  }
.review-author {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  font-style: italic;
  color: #ccc;
  }

.arrow-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 12px;
  }
.arrow-btn:hover {
  color: #00adb5;
  }

/* FOOTER */
footer {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background: #222831;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-left, .footer-right, .footer-center {
  text-align: left;
  min-width: 250px;
}

footer h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

footer p, footer a {
  font-size: 1rem;
  color: #dfdfdf;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.rights {
  text-align: center;
  background-color:#222831;
  padding-bottom: 10px;
  }

.offscreen {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
