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

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: #f8f8f8;
  line-height: 1.6;
}

.hero {
  background-color: #000; /* čierne pozadie */
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5); /* tmavší prechod */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content {
  text-align: center;
}

.hero-content p {
  color: white; /* alebo #fff */
  font-size: 1.2rem;
  margin-top: 10px;
}

.logo-big {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
}

section {
  padding: 60px 20px;
  text-align: center;
}

.features-grid, .gallery-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.image-wrapper {
  aspect-ratio: 1 / 1; /* štvorcové bunky */
  background-color: white; /* šedé pozadie za obrázkom */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Tablety */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobily */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  background: #eee;
}

footer {
  background: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

footer .socials {
  margin-bottom: 10px;
}

footer .socials a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.2s ease;
}

footer .socials a:hover {
  transform: scale(1.1);
}

footer .socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* biele ikony na tmavom pozadí */
}
