@charset "utf-8";
/* CSS Document */
* {
  box-sizing: border-box;
}
.container {
  display: grid;
  grid-template-areas:
    '. header header header header .'
    '. navigation navigation navigation navigation .'
    '. figure figure figure figure .'
    '. main main main main .'
    '. footer footer footer footer .';
  grid-template-columns: 15% repeat(4, minmax(100px, auto)) 15%;
  max-width: 1550px; margin: 0 auto; width: 100%;
}
.item1 {
  grid-area: header; 
	}
.item2 {
  grid-area: navigation; 
}
.item3 {
  grid-area: figure;
}
.item4 {
  grid-area: main;
}
.item5 {
  grid-area: footer;
}
body {
  background-image: url("liscie.png");

}
header.item1 { padding: 10px 0; }
header {
  display: flex;
  margin-top: 0px;
  margin-bottom: 10px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid rgba(254, 193, 12, 1.00);
}
header img {
	width: 10%;
	}
header a {
  text-decoration: none;
  color: #231F20;
}
header h1 {
  font-family: 'HelveticaNeue ExtBlackCondObl';
  font-size: 3em;
  text-transform: uppercase;
  line-height: 0.43;
  font-style: oblique;
  color: #231F20;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
	
}
h1 > sup {
  font-size: 0.5em;
  margin-left: -5px;
}
figure {
  margin: 15px 0 0 0;
  padding: 0;
}
.skos {
  background-color: rgba(254, 193, 12, 1.00);
  padding: 6px 15px;
  font-size: 0.7em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border: 1px solid silver;
}
nav ul {
  display: flex;
  flex-wrap: wrap; /*sprawia że leement owija się*/
  list-style: none;
  font-family: 'Roboto Bold';
  text-transform: capitalize;
  padding: 0;
  margin: 0;
  width: 100%;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
	
}
nav li {
  flex: auto;
}
nav li a {
  display: block;
  text-align: center;
  white-space: nowrap;
  border-right: 2px solid #000;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s ease;
  transition: 0.2s;
  text-decoration: none;
  color: #231F20;
  font-size: 1.1em;
  padding-block: 5px;

}
nav li a:hover {
  text-decoration: none;
  color: inherit;
  border-bottom-color:  rgba(254, 193, 12, 1.00);
}

/* Kontener sekcji galerii */
.gallery {
  padding: 18px;
  background: lightgrey;
  border-radius: 8px;  
  margin: 40px 0;
}

/* Tytuł sekcji */
.gallery-title {
  font-family:'Roboto Bold' ;
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: gray;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Siatka miniatur */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Pojedynczy element */
.gallery-item {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  /* ⭐ grafitowa ramka */
  border: 1px solid rgba(80, 80, 80, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Efekt hover */
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  /* ⭐ ramka lekko jaśniejsza przy hoverze */
  border-color: rgba(140, 140, 140, 0.6);
}

/* Miniatura */
.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

/* Delikatny zoom miniatury */
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Podpis */
.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #ddd;
  background: rgba(0, 0, 0, 0.25);
}
/* --- STOPKA PREMIUM — WERSJA FINALNA --- */

/* Ogólne ustawienia footera */
footer {
  display: flex;
  flex-direction: column;
  gap: 2.2em;
  margin-top: 2.8em;
  width: 100%;
  box-sizing: border-box;
  font-family: "Roboto Regular";
}

/* --- ŻÓŁTY BLOK --- */
aside.yellow {
  display: flex;
  flex-direction: row-reverse;
  padding: 1.6em 1.8em;
  background: rgba(254, 193, 12, 1);
  border-radius: 12px;
  gap: 1.4em;
  line-height: 1.55;
  color: black;
  border: 1px solid silver;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

aside.yellow h3 {
  font-size: 1.1em;
  margin-bottom: 0.6em;
  padding-bottom: 6px;
  border-bottom: 2px solid black;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

aside.yellow img {
  max-width: 34%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

aside.yellow p {
  font-size: 0.95em;
  margin-top: 0.4em;
  line-height: 1.55em;
}

/* --- CZARNY BLOK (TŁO) --- */
aside.black {
  background: black;
  color: white;
  border-radius: 12px;
}

/* --- 3 KOLUMNY PREMIUM --- */
.footer-3col {
  display: flex;
  justify-content: space-between;
  gap: 3em;
  flex-wrap: wrap;
  padding: 2.4em 2em;
  line-height: 1.55;
}

.footer-3col .col {
  flex: 1;
  min-width: 180px;
  padding-right: 1em;
}

.footer-3col h4 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-size: 1.1em;
  font-weight: 700;
  color: rgba(254, 193, 12, 1);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 6px;
  letter-spacing: 0.4px;
}

.footer-3col p {
  margin: 0.28em 0;
  font-size: 1.02em;
}

.footer-3col .brand {
  font-weight: 700;
  font-size: 1em;
  margin-bottom: 0.4em;
}

.footer-3col .region {
  font-style: italic;
  opacity: 0.88;
  margin-top: 0.4em;
}

.footer-3col .label {
  color: rgba(254, 193, 12, 1);
  font-weight: 600;
  margin-right: 4px;
}

.footer-3col a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-3col a:hover {
  opacity: 0.75;
}

/* --- MOBILE --- */
@media (max-width: 720px) {
  .footer-3col {
    padding: 2em 1.4em;
    gap: 2em;
  }
  .footer-3col .col {
    min-width: 100%;
    padding-right: 0;
  }
}


@media (min-width: 1700px)
{ .gallery-item:nth-child(n+7) { display: none; } }

@media (max-width: 950px) {

  header.item1 { padding: 6px 0; }  

 header img {
    visibility: hidden;

  }
    header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  header h1 {
  
  font-size: 2em;
  
}

  header .phone {
    margin-top: -1.5em;
    /* opcjonalnie, żeby było bliżej logo */
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav li {
    flex: none;
    width: 100%;
  }

  nav li a {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 1em;
    padding: 8px 0;
  }
  footer { padding: 10px 0; }

  aside.yellow {
    flex-direction: column;
    text-align: left;

  }

  aside.yellow img {
    display: none;
  }

  aside.black table.contact td {
    display: block;
    width: 100%;
  }

  aside.black table.contact td:first-child {
    width: 100%;
    font-weight: 600;
    margin-top: 0.6em;
    color: rgba(254, 193, 12, 1);
  }

  aside.black table.contact tr {
    display: block;
    margin-bottom: 0.8em;
  }

  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
  }
  header h1 {
  
  font-size: 2em;
  
}

  header .phone {
    margin-top: -1.5em;
    /* opcjonalnie, żeby było bliżej logo */
  }

  .container {
  grid-template-areas: 
  'header header header header'
  'navigation navigation navigation navigation'
  'figure figure figure figure' 'main main main main'
  'footer footer footer footer';
  grid-template-columns: repeat(4, minmax(100px, auto));
}
}

@media (max-width: 500px) { 
  header { gap: 0; }
  nav li a { font-size: 0.9em; padding: 5px 0; }
  header h1 { font-size: 1.9em; }
  header .phone a { font-size: 0.8em; padding: 3px 8px; }
    
  
    aside.yellow,
    aside.black {
      padding: 0.6em;
    }
  
    aside.yellow h3 {
      font-size: 1em;
    }
 }
 @media (max-width: 430px) { 
.container {grid-template-columns:  repeat(4, minmax(80px, auto));}
figure.item3 .figure-title {  font-size: 1.2em; bottom: 25%;}
header .phone {    margin-top: -1.3em;  }

}