/* 🔑 RESET i FONTY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* Bazowy: 16px */
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 🔑 HEADER */
header {
  background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.logo {
  width: 150px;
  height: auto;
  max-width: 80%;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

#lang-btn {
  padding: 10px 20px;
  background: #fff;
  color: #0d6efd;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-width: 48px;
  min-height: 48px;
}

#lang-btn:hover {
  background: #198754;
  color: #fff;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.header-buttons a {
  display: inline-block;
  margin: 10px 10px;
  padding: 12px 24px;
  background: #fff;
  color: #0d6efd;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 48px;
  min-height: 48px;
  text-align: center;
}

.header-buttons a:hover {
  background: #198754;
  color: #fff;
}

/* 🔑 CTA BUTTON */
.cta-btn {
  background: #fff;
  color: #0d6efd;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
  min-width: 48px;
  min-height: 48px;
}

.cta-btn:hover {
  background: #198754;
  color: #fff;
}

/* 🔑 KARUZELA */
/* 🔑 KARUZELA - 2 zdjęcia na raz */
.carousel {
  max-width: 90%;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  width: 100%;
}

.carousel-track img {
  width: 50%;         
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  padding: 0 5px;
  box-sizing: border-box;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-button:hover {
  background: rgba(0,0,0,0.8);
}

/* 🔑 SEKCJA SCREENSHOTS */
#screenshots {
  padding: 60px 20px;
  text-align: center;
}

#screenshots h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* 🔑 SEKCJE FUNKCJE */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

section ul {
  list-style: none;
  padding-left: 0;
}

section ul li {
  background: #ffffff;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section ul li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 🔑 FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* 🔑 FOOTER */
footer {
  background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s ease;
  display: inline-block;
  min-width: 48px;
  min-height: 48px;
  line-height: 48px;
  text-align: center;
}

footer a:hover {
  color: #ffc107;
}

footer p {
  margin-top: 10px;
}

/* 🔑 COOKIES BAR */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 9999;
  display: none;
  font-size: 0.9rem;
}

#cookie-banner p {
  margin: 0;
}

#cookie-banner a {
  color: #0d6efd;
  text-decoration: underline;
}

#cookie-banner button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
}

#cookie-banner button:hover {
  background: #198754;
}

.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  background: #fff;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.features-list li img {
  width: 50px;   /* dopasuj rozmiar, np. 50–60px */
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 20px;
}


.features-list li div {
  flex: 1;
  font-size: 1rem;
}

/* 🔑 Formularz kontaktowy */
#contact {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  text-align: left;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: #0d6efd;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #198754;
}


/* 🔑 RESPONSYWNOŚĆ */
@media (max-width: 992px) {
  .logo {
    width: 120px;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .header-buttons a,
  #lang-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  section ul li {
    font-size: 0.95rem;
  }

  .carousel {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  header {
    padding: 40px 20px;
  }

  .logo {
    width: 100px;
  }

  header h1 {
    font-size: 1.75rem;
  }

  header p {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .header-top {
    flex-direction: column;
    gap: 10px;
  }

  footer a {
    display: block;
    margin: 10px auto;
  }
}
