/* 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;
}

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

.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);
}

h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
}

/* PRODUKTY */
.products-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            font-family: 'Poppins', Arial, sans-serif;
        }
        .products-container h2 {
            text-align: center;
            margin-bottom: 32px;
            font-weight: 600;
            font-size: 2rem;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }
        a:link {
          text-decoration: none;
          }

        .product-card {
            background: #EEEEEE;
            border-radius: 22px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            padding: 24px 18px 18px 18px;
            text-align: center;
            transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
            cursor: pointer;
        }
        .product-card:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 24px rgba(0,0,0,0.13);
        }
        .product-card img {
            width: 100%;
            max-width: 160px;
            height: auto;
            border-radius: 14px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        }
        .product-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #222;
        }
        .product-card .price {
            font-size: 1.1rem;
            font-weight: 500;
            color: #2e7d32;
            margin-bottom: 0;
        }
        @media (max-width: 1000px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
            .products-container h2 {
                font-size: 1.3rem;
            }
        }

/* 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;
  }