/* =============================================== */
/* FONTY I USTAWIENIA GLOBALNE */
/* =============================================== */

body {
  font-family: "GT America Regular 400", sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
}

html {
  scroll-behavior: smooth;
}

/* Globalna typografia paragrafów */
p {
  max-width: 900px;
  margin: 0 auto 1.5em;
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
}

/* =============================================== */
/* NAVBAR */
/* =============================================== */

.navbar {
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.nav-links a {
  color: #008080;
  text-decoration: none;
  font-weight: 800;
  padding: 5px 0;
  transition: color 0.3s;
  font-size: 20px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #0056b3;
  outline: none;
}

.nav-links .nav-mail {
    font-weight: 400 !important;
    font-size: 18px;       /* = tyle samo co cała lista */
    opacity: 0.85;
    padding: 5px 0;
    line-height: 20px;     /* = wysokość innych linków */
    display: inline-block; /* konieczne dla line-height */
}



/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background-color: #0d6efd;
  border-radius: 2px;
  transition: 0.3s;
}


/* =============================================== */
/* HERO SECTION */
/* =============================================== */

 .hero-img {
    width: 30% !important;
    height: auto !important;
	  display: block;
  margin: 0 auto;
  }


.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.py-5 {
  padding-top: 3rem;
  
}

section h1,
section h2, section h3 {
  margin: 0.5em 0;
  text-align: center;
}

/* Buttony */
.btn-hover {
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  color: #008080;
  display: inline-block;
  margin: 20px 30px 0 0; /* góra, prawo, dół, lewo */
}

.btn-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-green {
  background-color: green;
  color: white;
}

.btn-blue {
  background-color: #008080;
  color: white;
}

/* =============================================== */
/* SEKCJE GŁÓWNE */
/* =============================================== */

.section {
  background-color: #ffffff;
  padding: 30px 20px;
  scroll-margin-top: 100px; /* nie chowa się pod navbar */
}

.section-bg {
  background-color: #E8F5E9;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.section-bg-alt {
  background: linear-gradient(135deg,#FFF3E0,#FFB74D);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  padding: 20px;
  color: #3E2723;
}

/* Dwukolumnowy układ */
.section-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Tekst */
.section-text {
  flex: 1 1 500px;
}

.section-text h1,
.section-text h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Obrazek */
.section-image {
  flex: 1 1 400px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.section-image img:hover {
  transform: scale(1.05);
}

/*buttony */

/* Baza — identyczna dla wszystkich przycisków */
.btn-kam {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  border-radius: 10px; /* identyczne zaokrąglenie jak na screenie */
  cursor: pointer;
  margin: 10px auto;
  transition: background-color 0.25s ease;
}

/* Kolory — odtwarzamy styl */

/* Twój zielony */
.btn-green {
  background-color: #007f5f;
}
.btn-green:hover {
  background-color: #00684e;
}

/* Pomarańczowy */
.btn-orange {
  background-color: #ff8c00;
}
.btn-orange:hover {
  background-color: #cc7000;
}

/* Niebieski */
.btn-blue {
  background-color: #00CCFF ;
}
.btn-blue:hover {
  background-color: #0099CC ;
}




/* =============================================== */
/* ANIMOWANE LISTY */
/* =============================================== */

.list-animated li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.5s forwards;
  font-size: 18px;       /* wielkość tekstu */
  line-height: 1.6;      /* odstęp między liniami */
  text-align: justify;    /* wyjustowanie */
  max-width: 900px;       /* dopasowanie szerokości do paragrafów */
  margin: 0 auto 10px;    /* centrowanie + odstęp między li */
}

.list-animated li:nth-child(1) { animation-delay: 0.2s; }
.list-animated li:nth-child(2) { animation-delay: 0.4s; }
.list-animated li:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================== */
/* SCROLL INDICATOR */
/* =============================================== */

.scroll-indicator {
  width: 30px;
  height: 30px;
  border-bottom: 2px solid green;
  border-right: 2px solid green;
  transform: rotate(45deg);
  animation: moveDown 1s infinite;
  margin: 0px auto;
}

@keyframes moveDown {
  0% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(10px); opacity: 0.5; }
  100% { transform: rotate(45deg) translateY(0); opacity: 1; }
}
.scroll-indicatorup {
  width: 30px;
  height: 30px;
  border-bottom: 2px solid green;
  border-right: 2px solid green;
  transform: rotate(180deg);
  animation: moveUp 1s infinite;
  margin: 0px auto;
}

@keyframes moveUp {
  0% { transform: rotate(225deg) translateY(0); opacity: 1; }
  50% { transform: rotate(225deg) translateY(10px); opacity: 0.5; }
  100% { transform: rotate(225deg) translateY(0); opacity: 1; }
}



/* FOOTER */
footer {
  background-color: #f8f9fa;
  text-align: center;
  padding: 20px 0;
}

/* Tekst i linki w footerze — wspólne dla <p> i <a> */
footer .container {
  display: flex !important;      /* zamienia kontener w flexbox */
  flex-direction: column;        /* ustawia elementy pionowo */
  align-items: center;           /* centrowanie poziome */
  justify-content: center;       /* centrowanie pionowe */
  text-align: center;            /* tekst też na środku */
  padding: 0 !important;         /* usuwa zbędne marginesy */
  margin: 0 auto;                /* środek na stronie */
  gap: 6px;                      /* odstęp między linkiem a © */
}
footer p,
footer a {
  font-size: 18px;   /* wielkość tekstu */
  /* color: #333;       /* kolor tekstu */ */
  line-height: 1.6;  /* odstęp wierszy */
  margin: 0;         /* usuwa domyślne marginesy */
}

/* Wygląd linków w stopce */
footer a {
  color: #008000;        /* kolor linku */
  text-decoration: none; /* bez podkreślenia */
}

footer a:hover {
  color: #0056b3;        /* kolor po najechaniu */
  text-decoration: none; /* nadal brak podkreślenia */
}

/* Układ pionowy elementów wewnątrz .footer-box */
.footer-box {
  display: flex;          /* włącza Flexbox */
  flex-direction: column; /* ustawia elementy pionowo */
  gap: 5px;               /* odstęp między linkiem a tekstem */
}

/* Wymuszenie pełnej szerokości elementów i centrowanie */
.footer-box a,
.footer-box p {
  width: 100%;            /* każdy element zajmuje całą szerokość */
  text-align: center;      /* wyrównanie treści do środka */
}



/* Formularz */
form {
  max-width: 600px;
  margin: 0 auto;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  margin-top: 5px;
}

button {
  margin-top: 20px;
  padding: 12px 25px;
  cursor: pointer;
  background-color: #008060;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
}

button:hover {
  background-color: #006b52;
}

/* Video klasy */
 .video-preview {
  position: relative;
  width: 300px; /* dopasowanie do Twojej sekcji */
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto; /* centruje w div.section-image */
}

.video-preview img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: white;
  opacity: 0.8;
  pointer-events: none; /* nie blokuje kliknięcia pod spodem */
}

/* Modal */
.modal {
  display: none; /* ukryty domyślnie */
  position: fixed;
  z-index: 9999; /* bardzo wysoki */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal.show { /* klasa do pokazywania */
  display: flex;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 960px;
  background: #000;
  border-radius: 8px;
}

.modal-content video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/* ====================================================== */
/*       🔥 MOBILNA WERSJA – JEDEN, CZYSTY BLOK 🔥        */
/* ====================================================== */
@media (max-width: 768px) {

  /* ----------------------------- */
  /* GLOBAL */
  /* ----------------------------- */

  body {
    padding-inline: 16px;
  }

  p {
    margin: 0 0 0.8em 0 !important;
    text-indent: 0 !important;
    max-width: 100% !important;
    line-height: 1.5;
  }

  h1, h2 {
    margin: 10px 0 10px 0 !important;
    line-height: 1.2;
  }


  /* ----------------------------- */
  /* NAVBAR */
  /* ----------------------------- */

  .navbar {
    padding: 12px 0;
  }

  .navbar .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar .logo img {
    width: 180px;
    height: auto;
  }

  .hamburger {
    display: flex;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    height: 3px;
    background-color: #0d6efd;
  }

  .nav-links {
    position: static;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 15px;
    gap: 10px;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 5px 0;
  }

  .nav-links a {
    font-size: 20px;
  }


  /* ----------------------------- */
  /* SEKCJE I SPACINGI */
  /* ----------------------------- */

  section.section {
    padding: 20px 0 !important;
    margin: 0 !important;
  }

  .section-container {
    flex-direction: column !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* tekst zawsze nad grafiką */
  .section-text {
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .section-image {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .section-image img,
  .video-preview {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
  }


  /* ----------------------------- */
  /* VIDEO / MODAL */
  /* ----------------------------- */

  .video-preview {
    width: 100% !important;
    max-width: 350px;
  }

  .modal {
    display: none !important;
  }
  .hero-img {
    width: 100% !important;
    height: auto !important;
  }
}
/* Nadpisanie ustawień kontenera w stopce */
footer .container {
  display: block !important;   /* wyłączamy flexa */
  text-align: center;
  padding: 0;
  margin: 0 auto;
}

/* Nowy układ dwóch kolumn */
.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

/* Każda kolumna */
.footer-box {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

/* Linki i teksty w kolumnach */
.footer-box a,
.footer-box p {
  text-align: left;
  width: auto;
}



/* Na telefonach kolumny jedna pod drugą */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    text-align: center;
  }

  .footer-box {
    text-align: center;
  }

  .footer-box a,
  .footer-box p {
    text-align: center;
  }
}

/* Dodatkowe style dla sekcji z obrazkiem */
/* .section-image p {
  max-width: none;
  margin: 10px 0 0;
  text-align: center;
  text-indent: 0;
} */
/* .section-image > img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}
.section-image a > img {
  width: 100%;
  height: 100px;
  object-fit: contain;
} */
/* Cała sekcja */
.features-section {
  background: white;
  color: black;
  padding: 50px 0;
  text-align: center;
}

/* Rząd kafelków */
.features-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap; /* klucz do responsywności */
  margin: 60px 0;
}

/* Pojedynczy kafelek */
.feature-box {
  width: 280px;
  height: 230px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Obrazki */
.feature-img {
  width: 100%;
  height: 120px; /* możesz zmienić globalnie */
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature-img:hover {
  transform: scale(1.05);
}

/* Podpisy */
.feature-box p {
  text-indent: 0;
  text-align: center;
  margin: 10px 0 0 0;
  font-size: 1.2rem;
}

/* Diagram procesu */
.process-diagram {
  margin-top: 60px;
}

.diagram-img {
  height: 150px; /* możesz zmienić z palca */
  object-fit: contain;
}

/* ========================= */
/*   RESPONSYWNOŚĆ MOBILE    */
/* ========================= */

/* TABLET — 2 kolumny */
@media (max-width: 900px) {
  .feature-box {
    width: 45%;
  }
}

/* TELEFON — 1 kolumna */
@media (max-width: 600px) {
  .feature-box {
    width: 100%;
    height: auto; /* pozwala rosnąć naturalnie */
  }

  .feature-img {
    height: 140px; /* możesz zmienić */
  }
}



