
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f6f0;
  color: #3b2f2f;
  margin: 0;
  line-height: 1.6;
}

header {
  background-color: #d8ccb4;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

header .logo {
  display: flex;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #3e5c25;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #2f401a;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.product-card-block {
  background-color: #ffffff;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1000px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.product-card-content img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #eee;
  flex-shrink: 0;
}

.product-card-text {
  flex: 1;
  min-width: 250px;
}

.product-card-text h2 {
  margin-bottom: 0.5rem;
  color: #3b2f2f;
}

.product-card-text p {
  color: #5a4d3b;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background-color: #6b8e23;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5a7a1e;
}

footer {
  background-color: #e0d6c3;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
}

.social-icons a {
  color: #3e5c25;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
}

.social-icons a:hover {
  color: #2f401a;
}

.gallery {
  margin-top: 2rem;
}

.gallery h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100vw;
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responzívne zobrazenie – 2 obrázky vedľa seba */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responzívne zobrazenie – 1 obrázok vedľa seba */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.intro-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
}

.product-intro h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #3b2f2f;
}

.product-intro .intro-text {
  font-size: 1.125rem;
  color: #5a4d3b;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.form-section {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-section label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.form-section input,
.form-section textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.3rem;
  font-size: 1rem;
}

.form-section button {
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background-color: #5b7640;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.form-section button:hover {
  background-color: #475e33;
}

nav {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3b2f2f;
  transition: all .3s ease-in-out;
}

.nav-link:hover {
  opacity: 0.8;
}

.fa-icon {
  width: 16px;
  height: auto;
}

@media (max-width: 780px) {
  nav {
    flex-direction: column;
    gap: 8px;
  }

  .logo img {
    height: 60px;
  }

  header {
    padding: 1rem 1.5rem
  }

  .product-intro {
    padding: 40px 10px;
  }

  .product-intro h1 {
    font-size: 1.6rem;
  }

  .product-intro .intro-text {
    font-size: 1rem;
  }
}