@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 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;
}

.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;
}

figure {
  margin: 15px 0 0 0;
  padding: 0;
}

.filmstrip {
  height: 160px;
  width: 100%;
  overflow: hidden;
  /* okno */
  border: 1px solid black;
  /* opcjonalnie, jak klisza */
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.2));
  display: flex;
  align-items: center;
  border-radius: 8px;
  position: relative;
}

.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(to right, #6d6d6d 0 5px, transparent 9px 28px);

}

.filmstrip::before {
  top: 4px;
}

.filmstrip::after {
  bottom: 4px;
}

.filmstrip .strip {
  height: 123px;
  display: flex;
  gap: 8px;
  animation: slide 32s linear infinite;

}

.filmstrip img {
  
  height: 100%;

  /* szerokość jednego „kadrów kliszy” */
  
  border-radius: 4px;
  
  flex-shrink: 0;
  /* nie pozwala się ściskać */
}

/* animacja przesuwania */

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* przesuwa o połowę długości paska */
  }
}

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, color 0.2s ease;
  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);
}

main {
  display: block;
  grid-auto-rows: auto;
  gap: 5px;
  padding: 5px 0 20px 0;
}




article {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  
  width: 100%;
  margin: 0 auto 20px auto;
  /*odstęp między artykułami */

  /*background-color: black;*/
  padding: 10px;
  border-radius: 12px;
  line-height: 1.5em;

}


article img {
  max-width: 40%;
  object-fit: cover;
  border-radius: 8px;
	margin-top: 40px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
article .text {
  flex: 1;
  min-width: 0;
}
article  h2 {
  font-size: 1.2em;
  font-family: "Roboto Bold";
  color: black;
  border-bottom: 3px solid;
  padding-bottom: 5px;  
}
article a {
  text-decoration: none;
  color: #231F20;
  background-color: rgba(254, 193, 12, 1.00);
}

article h3 {
  font-size: 1.0em;
  font-family: "Roboto Bold";
  color: black;
  border-bottom: 1px solid silver;
  
}
article h1 {
  font-size: 1.6em;
  font-family: "Roboto Bold";
  color: black;
  /*border-bottom: 3px solid;*/
  padding-bottom: 5px;
  line-height: normal;

}
article p {
  font-size: 1em;
  font-family: "Roboto Regular";
  color: black;
  text-align: justify;
}

article ul li {
  font-size: 1em;
  font-family: "Roboto Regular";
  color: black;
  margin-left: 10px;
}
article u {
  font-size: 1em;
  font-family: "Roboto Bold";
  color: black;
  text-align: justify;
}

section {
  
  width: 80%;
  margin: 0 auto 10px auto;
  text-align: center;
  background: rgba(254, 193, 12, 1);
  line-height: 1.5em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 10px;  
  font-family: 'Roboto Regular';
  color: black;
  border: 1px solid silver;
  padding: 15px 20px;
  
}

section h3 {
  font-family: 'Roboto Black';
  font-size: 1.2em;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

section p {
  margin: 0;
}

section a {
  font-size: 1.5em;  
  font-style: oblique;
  text-decoration: none;
  font-family: 'HelveticaNeue ExtBlackCondObl';
  color:black;
  display: inline-block;
  margin: 6px 0;
}

/* --- 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;
  text-decoration: none;
  color: #231F20;
}


/* --- 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 (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 */
  }
.filmstrip {
  height: 130px;
  width: 100%;}
.filmstrip .strip {
  height: 100px;}
     
  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;
  }
  main { padding-top: 15px; padding-bottom: 10px; }


   article {
      flex-direction: column;
      max-width: 75%;
      padding: 12px;
    }

  article img {
      max-width: 100%;
      width: 100%;
    }
  
  footer { padding: 10px 0; }

  aside.yellow {
    flex-direction: column;
    text-align: left;

  }

  aside.yellow img {
    display: none;
  }

.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) { 
  .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));
}
 
  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; }

  .filmstrip {
  height: 100px;}

.filmstrip .strip {
  height: 70px;}
  
    article {
      max-width: 100%;
      padding: 8px;
    }
  
    article h2 {
      font-size: 1em;
    }
  
    article p {
      font-size: 0.9em;
    }
  section {
  width: 100%;
  margin: 0 auto 10px auto;
  }
    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;  }

}