@charset "UTF-8";
/* MiniPHP - arkusz stylów */
/* warunki licencji - patrz: config.inc.php */

/* parametry sekcji body */
body { 
  margin: 0; 
  padding: 0; 
  background: #f5fafd; 
  line-height: 1.6; 
  color: #3e3e3e; 
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  display: flex;
  justify-content: left;
  align-items: left;
  min-height: 100vh;
  box-sizing: border-box;
  text-align: left;
}
/* Automatyczne skalowanie obrazków do szerokości kontenera */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block; /* Likwiduje niepożądaną pustą przestrzeń pod obrazkiem */
  margin: 10px auto; /* Opcjonalnie: delikatny margines i centrowanie obrazka */
}

/* Zapobiega rozjeżdżaniu się wymiarów elementów przez padding */
*, *::before, *::after {
  box-sizing: border-box;
}

/* wlaściwości tekstu nagłówkowego oznaczone <h1> */
h1 {
  color: #000000;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 0;
}

/* kontener czyli zasadnicza widoczna część strony */
/* Na komputerze zajmuje max 80% i centruje się. Na smartfonie zajmuje 100%. */
#kontener {
width: 100%;
max-width: 100%;
/*  background-image: url('back.gif'); */
/* border: 1px solid #000000; */
}
/* =========================================================
 *  Nagłówek
 * ========================================================= */

#header {
  padding: 0;
  background: #f5fafd;
}

/* Górny pas: logo po lewej, menu po prawej */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 15px;
}

/* Logo zachowuje naturalne proporcje */
.header-logo {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}

.header-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100px;
  height: auto;
  margin: 0;
}

/* Menu w górnym pasie, po prawej stronie logo */
.header-navigation {
  flex: 0 0 auto;
  min-width: 0;
}

.header-navigation #menu {
  justify-content: flex-end;
  align-items: center;
  border-top: 0;
  margin: 0;
}

.header-navigation #menu li {
  margin: 3px;
}

.header-navigation #menu li a {
  min-width: 0;
  padding: 8px 14px;
  white-space: nowrap;
}


/* =========================================================
 *      Baner w nagłówku z header-bg.png
 * ========================================================= */

.header-banner {
  position: relative;
  height: 400px;
  min-height: 200px;
  padding: 1px;

  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* Zielonkawa przezroczysta warstwa nad zdjęciem */

.header-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(55, 55, 55, 0.55);
}


/* Tytuł nad warstwą koloru */

.header-banner h1 {
  position: relative;
  z-index: 1;

  margin: 0;

  color: #fff;

  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.3;

  text-align: center;
}

/* Główny układ elastyczny Flexbox */
.main-content {
  display: flex;
  flex-wrap: wrap;
}

#kolumna1 {
width: 30%;
padding: 15px;
}

#kolumna2 {
width: 70%;
padding: 15px;
}

#footer {
text-align: center;
font-style: italic;
background: #f5fafd;
border-top: 1px solid #000000;
}

/* Elastyczny układ dolnych linków 
.footer-cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footercol1, #footercol2 {
width: 50%;
padding: 10px;
}
*/
/* parametry menu wraz z kolorami i podświetlaniem */
#menu { 
text-align: center;
margin: 0 0 6px 0;
padding: 0;
border-top: 1px solid #000000;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
}

#menu li { 
margin: 4px;
}

#menu li a { 
display: inline-block;
color: #000000;
background: #f5fafd;
min-width: 160px;
font-weight: normal;
text-decoration: none;
padding: 8px 16px;
#border: 1px solid #000000;
}	

#menu li a:hover { 
background: #f5fafd;
color: #03a9f4;
text-decoration: underline;
}

/* dodatkowe parametry dla linków poza menu */
a {
  text-decoration: none;
}

a:hover {
  color: red;
}

/* RESPONSYWNOŚĆ (Ekran smartfona) */
@media (max-width: 768px) {
  #kontener {
  max-width: 100%; /* Na smartfonie kontener zajmuje całą szerokość */
  }

  .main-content, .footer-cols {
    flex-direction: column; /* Kolumny układają się jedna pod drugą */
  }

  #kolumna1, #kolumna2, #footercol1, #footercol2 {
  width: 100%; /* Każda kolumna dostaje pełną szerokość */
  }

  .header-top {
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
  }

  .header-logo img {
    max-height: 75px;
  }
  .header-banner {
    max-height: 200px;
  } 

  .header-navigation {
    flex: 1 1 auto;
  }

  .header-navigation #menu {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .header-navigation #menu li a {
    display: inline-block;
    width: auto;
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .header-logo img {
    max-height: 65px;
    margin: 0 auto;
  }

  .header-navigation #menu {
    justify-content: center;
  }

  .header-navigation #menu li a {
    white-space: normal;
  }
}

/* =========================================================
 *  Informacja o cookies
 * ========================================================= */

#cookie-notice {
position: fixed;
z-index: 9999;
inset: 0;

display: none;
align-items: center;
justify-content: center;

padding: 20px;

background: rgba(0, 0, 0, 0.45);
}

.cookie-notice-content {
  display: flex;
  align-items: center;
  gap: 25px;

  max-width: 650px;
  padding: 20px 25px;

  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

  color: #333;
}

.cookie-notice-content p {
  margin: 0;
  line-height: 1.5;
}

#cookie-ok {
flex-shrink: 0;

padding: 8px 25px;

border: 1px solid #000;
background: #b0c4de;
color: #000;

font-weight: bold;
cursor: pointer;
}

#cookie-ok:hover {
background: #191970;
color: #fff;
}


/* Telefon */

@media (max-width: 600px) {

  .cookie-notice-content {
    flex-direction: column;
    gap: 15px;

    width: 100%;
    padding: 20px;
    text-align: center;
  }

  #cookie-ok {
  width: 100%;
  }
}



