/* Reset podstawowych styli */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff; /* Jasnoniebieskie tło */
 
}

/* Pasek nawigacyjny */
.navbar {
  background: linear-gradient(to right, #00008B, #87CEFA);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: 8px;
}

.navbar .brand {
  display: flex;
  align-items: center;
}

.navbar .brand .logo {
  height: 40px;        /* Ustawia wysokość logo - dostosuj według potrzeb */
  margin-right: 10px;  /* Odstęp między logo a napisem */
}

/* Układ menu */
.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

/* Ukrycie checkboxa */
#menu-toggle {
  display: none;
}

/* Styl ikonki hamburgera */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 4px;
  border-radius: 2px;
}

/* Responsive - dla małych ekranów */
@media (max-width: 768px) {
  /* Pokaż ikonkę hamburgera */
  .menu-icon {
    display: flex;
  }
  
  /* Ustaw menu jako rozwijalne */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #00008B, #87CEFA);
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
  }
  
  /* Po zaznaczeniu checkboxa - menu rozwinięte */
  #menu-toggle:checked + .menu-icon + .nav-menu {
    max-height: 300px; /* Dostosuj maksymalną wysokość do liczby pozycji menu */
  }
  
  .nav-menu li a {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Sekcja hero */
.hero {
  display: flex;
  flex-direction: column; /* Ustawienie elementów w kolumnie */
  align-items: center; /* Wyśrodkowanie elementów */
  justify-content: center;
  padding: 2rem;
  color: #00008B;
  text-align: center; /* Wyśrodkowanie tekstu dla lepszego wyglądu */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  margin: 10px;
  border-radius: 8px; /* Zaokrąglone rogi dla lepszego efektu */
  background-color: #87CEFA;
}

.hero-image img {
  max-width: 300px; /* Ustalone maksymalne szerokości */
  height: auto;
  display: block;
  border-radius: 8px;
}

.hero-text {
  max-width: 600px;
  margin-top: 1rem; /* Dodanie odstępu między obrazem a tekstem */
  text-align: center; /* Możesz ustawić 'left' jeśli chcesz wyrównanie do lewej */
}

.call-button-container {
  text-align: center;
}

.call-button {
  display: inline-block;
  background-color: #FFFF00;
  color: #000000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  margin-top: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;

}

.call-button:hover {
  background-color: #00008B;
}


.center-section {
  background: linear-gradient(to right, #87CEFA, #00008B); 
  padding: 3rem 1rem;
  text-align: center;
  margin: 2rem 0;
  color: #fff;

}

.center-section img {

max-width: 300px; /* zdjęcie nie przekroczy szerokości 300px */
  width: 100%;      /* zajmuje 100% dostępnej przestrzeni, ale nie więcej niż 300px */
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;

}

.contact-section {
  background-color: #00008B; 
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  margin: 5px;
  border-radius: 8px; /* Zaokrąglone rogi dla lepszego efektu */
}

.contact-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-section .contact-details p {
  margin: 0.5rem 0;
}

.contact-section .contact-details a {
  color: #fff;
  text-decoration: underline;
}

.contact-section .contact-details a:hover {
  color: #FFFF00;
}


.footer {
  background: linear-gradient(to right, #00008B, #87CEFA);
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0.5rem 0 0;
}

.footer-nav li {
  margin: 0 10px;
}