/* Reset i bazowy wygląd */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.navbar {
  background-color: #00be62;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  overflow: hidden;
}

.logo img {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #d1f2d7;
}

.hero {
  background: url('./img/bg.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 8em 2em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
  font-size: 3.5em;
  margin: 0 0 0.5em;
}

.hero-content p {
  font-size: 1.5em;
}

.btn {
  background: #2ecc71; /* Zielony */
  color: white;
  padding: 1em 2em;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1em;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: #27ae60; /* Darker green */
  transform: scale(1.05);
}

/* Features Section */
.features {
  padding: 4em 2em;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 1em;
}

.features ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  padding: 0;
  list-style: none;
}

.features li {
  background: #fff;
  padding: 1.5em;
  border-left: 5px solid #27ae60;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.features li:hover {
  transform: translateY(-5px);
}

/* Catalog Section */
.catalog {
  padding: 3rem 1rem;
  text-align: center;
}

.catalog h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #27ae60;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.item img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* Zapewnia, że obrazki będą miały jednolitą wielkość */
  margin-bottom: 1rem;
}

.item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #27ae60;
}

.item p {
  margin: 0.3rem 0;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  background-color: #2ecc71;
  color: #fff;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #27ae60;
}

/* FAQ Section */
.faq {
  padding: 4em 2em;
  max-width: 1200px;
  margin: auto;
}

.faq h2 {
  font-size: 2rem;
  color: #27ae60;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: #d1f2d7;
  border: none;
  padding: 1em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.faq-toggle:hover {
  background: #c8e6c9;
}

.faq-content {
  display: none;
  padding: 1em;
  background: #eaf6e5;
  border-radius: 5px;
}

/* Contact Section */
.contact-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s, text-decoration 0.3s;
  }

  .contact-link:hover {
    color: black;
    text-decoration: underline;
  }

  .contact-icon {
    margin-right: 6px;
  }

  .logo-strip {
    width: 100%;
    overflow: hidden;
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .logo-slider {
    display: flex;
    width: max-content;
    animation: scroll-logos 15s linear infinite;
  }

  .logo-slider img {
    height: 50px;
    margin: 0 2rem;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: opacity 0.3s, filter 0.3s;
  }

  .logo-slider img:hover {
    filter: none;
    opacity: 1;
  }

  @keyframes scroll-logos {
    0% {
      transform: translateX(100%); /* zaczyna się poza prawą krawędzią */
    }
    100% {
      transform: translateX(-100%); /* przesuwa się poza lewą krawędź */
    }
  }



/* Footer */
footer {
  background-color: #27ae60;
  color: #fff;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #d1f2d7;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 1rem;
  color: #fff;
}

.about-section {
  padding: 4em 2em;
  background: #f5f5f5;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #27ae60;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
/* Kontakt Section */
#contact {
  padding: 4em 2em;
  text-align: center;
  background-color: #f9f9f9;
}

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

#contact h2 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 1.5em;
}

.contact-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}

.contact-info a {
  color: #27ae60;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  color: #218c53;
}

/* Mapa */
.map-container {
  margin-top: 30px;
}

.map-container h3 {
  font-size: 1.8rem;
  color: #27ae60;
  margin-bottom: 1.5em;
}

iframe {
  border: none;
  width: 100%;
  height: 400px;
}

/* Animacja */
.animate-slide {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
