* {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* HEADER */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 30px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  max-height: 100%;
}

/*Zdjecie w header*/
.logo img { 
  height: 130px;
  width: auto;
  flex-shrink: 0;
  margin-right: 350px;
  margin-left: 30px;
}

/*odnosniki do podstron*/
.list {
  list-style: none; 
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 25px;
  transition: color 0.3s;
}

.list a:hover,
.list a.active {
  color: #00CFFF;
}

.contact-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;           /* taki sam jak .list a */
  color: #333;               /* taki sam jak menu */
  margin-left: auto;         /* wypycha numer na samą prawą krawędź */
}

.contact-desktop img {
  width: 50px;               /* zmniejsz rozmiar do skali menu */
  height: 50px;
  object-fit: contain;
}

.contact-desktop .phone-number {
  font-weight: 500;
  color: #00CFFF;
  white-space: nowrap;       /* nie łamie numeru w dwóch liniach */
}


.hamburger{
  display: none;
}

/* Hamburger - 3 kreski */
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #00CFFF;
  margin: 6px 0;
  transition: 0.4s;
}

/* Hamburger w stanie aktywnym zamienia się w X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* FOOTER */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

footer .list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

footer .list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s;
}

footer .list a:hover {
  color: #00CFFF;
}

.footer-line {
  width: 90%;
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.list2 {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.list2 a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
}

.list2 a:hover {
  color: #00CFFF;
}

footer .social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

footer .social-icons a {
  font-size: 28px;
  color: #000;
  transition: color 0.3s;
}

 .logo2 {
  flex-shrink: 0;
  width: 100%;             /* zajmij całą szerokość */
  display: flex;
  justify-content: center; /* wycentruj obraz w poziomie */
  margin-bottom: 20px;     /* odstęp od menu */
}

 .logo2 img {
  height: 100px;
  width: auto;
}
/* Dane kontaktowe (list-dane) */
footer .list-dane {
  display: flex;
  flex-direction: column;
  align-items: center;    /* wyśrodkowanie w poziomie */
  gap: 8px;                /* odstęp między wierszami */
  margin: 20px 0 0;        /* górny odstęp od poprzedniego elementu */
  padding: 0;
  list-style: none;
  color: #555;             /* ciemniejszy odcień tekstu */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* Doprecyzowanie stylu linii oddzielającej (jeśli chcesz mniejszą szerokość lub kolor) */
footer .footer-line {
  width: 80%;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}


/*Cookies*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.cookie-banner p {
  font-size: 16px;
  margin-bottom: 15px;
  max-width: 90%;
  line-height: 1.5;
}

.cookie-banner a {
  color: #00CFFF;
  text-decoration: none;
}

.cookie-banner a:hover {
  color: #0295b7;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;       /* pozwala przyciskom zawinąć się na małych ekranach */
  justify-content: center;
}

.cookie-buttons button {
  flex: 1 1 auto;        /* przyciski elastyczne */
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
  font-size: 16px;
}

.cookie-buttons button:first-child {
  background-color: #00CFFF;
  color: white;
}

.cookie-buttons button:first-child:hover {
  background-color: #0295b7;
  transform: scale(1.05);
}

.cookie-buttons button:last-child {
  background-color: #333;
  color: white;
}

.cookie-buttons button:last-child:hover {
  background-color: #555;
  transform: scale(1.05);
}

/*RESPONSYWNOSC*/
@media (max-width: 1024px) {
  .logo img, .logo2 img {
    height: 80px;
  }

  .logo img {
    margin-right: 100px;
  }

  .list {
    gap: 30px;
  }

  .list a {
    font-size: 22px;
  }

  footer .list a {
    font-size: 18px;
  }
}

@media (min-width: 769px) {
  .call-button {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;          /* umożliwia pozycjonowanie elementów w headerze */
    padding: 5px 20px;
    height: 60px;               /* ustalona wysokość nagłówka */
  }

  .logo {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1001;               /* logo nad menu */
  }

  .logo img {
    height: 50px;
    margin: 0;
  }

  .contact-desktop{
    display: none;
  }

 .hamburger {
    display: block;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
  }
  
  .call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00CFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    animation: pop-in 0.3s ease;
  }

  .call-button svg {
    width: 28px;
    height: 28px;
  }

  @keyframes pop-in {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }

.list {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  position: fixed;
  top: -100%;
  left: 50%;                     /* wyśrodkowanie względem ekranu */
  transform: translateX(-50%);   /* przesunięcie o połowę szerokości */
  width: 100%;
  background: white;
  padding: 80px 20px 20px;
  transition: top 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
}

  .list.active {
    top: 0;
    position: absolute;
  }

  .logo img {
    margin: 0; /* usuń margines boczny logo na mobile */
  }

  .list a {
    font-size: 20px;
  }

  .cookie-banner p {
    font-size: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-buttons button {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
}
@media (max-width: 480px) {
  .cookie-banner p {
    font-size: 14px;
  }

  .cookie-buttons button {
    font-size: 14px;
    padding: 10px;
  }
}