
/* Globalne ustawienia */
body {
    font-family: 'Trebuchet MS', sans-serif;
   /* background: url('images/cons.jpg') no-repeat center center fixed;  Background image */
	 background-color: 	#DCDCDC; /*Background image */
    background-size: cover; /* Ensure the image covers the entire background */
    margin: 0;
    padding: 0;
    color: 	#003366;
	border:none;

}


header {
	
   /* background: linear-gradient(to right, #003366, #4a8cc7); /* Gradient for header */
   background:#003366;
    color: 	#DCDCDC;
    padding:  15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	/*  border: 1px solid #003366;*/
  /*  text-shadow: 1px 1px 2px black; /* Black outline for text */
}
header .company-name {
    text-align: left ; /* Wyrównanie tekstu do lewej */
    margin-left: 20px; /* Upewnij się, że nie ma marginesu */
    padding-left: 0; /* Upewnij się, że nie ma paddingu */
    float: left; /* Możesz też użyć float, jeśli to potrzebne */
    display: inline-block; /* Opcjonalnie, aby zachować kontrolę nad szerokością */
}


/* Pasek pod nagłówkiem z informacjami */
#info-bar {
    background-color: 	#DCDCDC;
    padding: 10px 0;
    text-align: center;
    color: #003366; /* Steel blue */
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
	border: 1px solid #003366;
}

#info-bar p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#info-bar span {
    flex: 1;
    text-align: center;
}

nav a {
    color: #DCDCDC;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
  /*  text-shadow: 1px 1px 2px black; /* Black outline for text */
}

nav a:hover {
    color: 	#4682B4;
	cursor: pointer;
	
}

.filaryy{
	margin-left: 150px;
	margin-right: 150px;
Background: 	#C0C0C0;
border-radius: 20px;
}
.pillars {

    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 0 30px;
}

.pillar {
	
    text-align: center;
    flex: 1;
    animation: fadeIn 1.2s ease-in-out;
  /*  text-shadow: 1px 1px 2px black; /* Black outline for text */
}

.icon-circle {
	
    background-color: #003366;
    color: 	#DCDCDC;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 10px;
    transition: transform 0.3s;
    /*text-shadow: 1px 1px 2px black; /* Black outline for icon text */
}

.pillar:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.pillar p {
	
    font-size: 25px;
    font-weight: bold;
    color: #003366	;
    margin: 10px 0;
  /*  text-shadow: 1px 1px 2px black;  Black outline for text */
}


.section-background {
    position: relative;
   background: url('images/industry.jpg') no-repeat center center ;
	z-index: 9999;
    background-size: cover;
    height: 700px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ciemna warstwa na zdjęciu dla lepszego kontrastu */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.photo {
	
}
.message-container {
  max-width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.message {
  font-size: 35px;
  opacity: 0;
  transition: opacity 0.9s ease;
  position: absolute;
}

.message.active {
  opacity: 1;
}

.dots {
  position: absolute;
  bottom: 20px; /* Przesunięcie kropek na dół */
  display: flex;
  gap: 8px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #fff;
}



/* Zmiana układu galerii na 2x2 */
.gallery {
    border: 1px solid #003366;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Dwie kolumny w każdym rzędzie */
    gap: 10px;
    padding: 10px 0;
    justify-items: center; /* Wyśrodkowanie elementów */
}


.gallery-item {
	align-items: center;
    text-align: center;
 /*   border-radius: 10px;  Zaokrąglone rogi ramki */
    overflow: hidden; /* Ukrywa nadmiar obrazu */
   /* border: 6px solid 	#003366;  Biała ramka o grubości 5px */
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 1s ease-in-out;
    /*text-shadow: 1px 1px 2px black;  Black outline for text */
}
.gallery-item {
    transform: scale(1); /* Skala na 60% oryginalnego rozmiaru */
    transform-origin: center;
    transition: transform 0.3s, box-shadow 0.3s;
	font-size: 18px;
	
}

.gallery-item img {
    width: 90%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;

   /* Biała ramka o grubości 5px */
    border-radius: 10px; /* Zaokrąglone rogi ramki */
	
}
.gallery .gallery-item:nth-child(4), 
.gallery .gallery-item:nth-child(5) {
    grid-column: span 1; /* Sprawia, że elementy zajmują tylko jedną kolumnę */
}
.gallery {
    justify-items: center;
}

}
/* Styl dla Lightboxa */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* Domyślnie ukryte */
    z-index: 10;
	 opacity: 0; /* Ustawienie początkowej przezroczystości */
      transition: opacity 0.5s ease; /* Animacja przezroczystości */
	  
}


.lightbox:target {
    display: flex; /* Wyświetl Lightbox po kliknięciu */
	opacity: 1; 
}
   .lightbox:target img {
            transform: scale(1); /* Powiększenie do normalnej skali */
        }

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
}

.contact-info {
	font-size: 28px;
	margin-left:30px;
	line-height:70px;
	text-align: left;
	/*text-shadow: 1px 1px 2px black; */
	color: #003366;

}

/* Kluczowe klatki dla animacji slideIn */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Element wjeżdża z dołu */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.lewo {
    opacity: 0;
    transform: translateX(-100%); /* Przesunięcie w lewo */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.lewo.show {
    opacity: 1;
    transform: translateX(0); /* Powrót na miejsce */
}
.prawo {
    opacity: 0;
    transform: translateX(100%); /* Przesunięcie w lewo */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.prawo.show {
    opacity: 1;
    transform: translateX(0); /* Powrót na miejsce */
}



/* Klasa ukrywająca elementy przed wjechaniem */
.scroll-animation {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animation.show {
    opacity: 1;
    animation: slideIn 1.5s forwards; /* Animacja wjeżdżania */
}

.produkcja-mis{
	background-color:#DCDCDC; 

	font-size: 25px;
	margin-left:30px;
	margin-right:30px;
	line-height:70px;
	text-align: center;
	color: #003366;
	font-size: 38px;
	
	
}
.gallery-item:hover img {
    transform: scale(1.03);/**/
	cursor: pointer;
}

.gallery-item:hover {
	cursor: pointer;
     /*transform: scale(0.96);  Skala zwiększa się na 66% po najechaniu */
}

.gallery-item p {
    padding: 20px 20px ;
    background-color: #003366;
    color: 	#DCDCDC;
    margin: 0;
    text-align: center;
    font-size: 10; /*Dostosowany rozmiar czcionki */
 	border-radius:50px; /**/
}

h2 {
    text-align: center;
    font-size: 2em;
    margin: 10px 0;
   /* text-shadow: 1px 1px 2px black; /* Black outline for text */
}

/* Stylizacja sekcji "O nas" */
#o-nas {
	
  
    color: #003366; /* Steel blue font color */
    padding: 20px;
  /*  text-shadow: none; /* Remove text-shadow */
	text-align: center;
	font-size: 25px;
}

#o-nas h2 {
    color: #003366; /* Steel blue for the title */
   /*text-shadow: none; /* Remove text-shadow */
}

#o-nas p {
   /* text-shadow: none; /* Remove text-shadow */
}
/* Stylizacja galerii w sekcji "O nas" */
.o-nas-gallery {
	
    display: grid; /* Używamy siatki (grid) */
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny */
    gap: 10px; /* Odstępy między obrazami */
    padding: 100px 0; /* Odstępy wokół galerii */
		margin-left: 20px;
	margin-right: 20px;
}

.o-nas-gallery img {
	

    width: 98%; /* Obrazy zajmują całą dostępną szerokość */
    height: auto; /* Zachowanie proporcji */
	 border: 5px solid 	#003366; /* Cienka granatowa ramka o grubości 2px */
    /* border-radius: 10px; Zaokrąglone rogi */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Lekki cień pod obrazami */
}

/* Responsywność - na mniejszych ekranach */
@media (max-width: 768px) {
    .o-nas-gallery {
        grid-template-columns: repeat(1, 1fr); /* Dwie kolumny na mniejszych ekranach */
    }
	 .pillar {
        flex-basis: 100%; /* Elementy w kolumnach na małych ekranach */
    }
}

@media (max-width: 480px) {
    .o-nas-gallery {
        grid-template-columns: 1fr; /* Jedna kolumna na bardzo małych ekranach */
    }
}
@media (max-width: 600px) {
    .pillar {
        flex-basis: 100%; /* Elementy w kolumnach na małych ekranach */
    }
}



/* Animacje */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr; /* Change to 1-column layout on smaller screens */
    }
}
/* Modal styling */
/* Modal styling */
.modal {
	
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); /* Ciemne tło z większą przezroczystością */
    padding-top: 60px;
    transition: all 0.3s ease-in-out;
}

.modal-content {
    background-color: #003366; /* Granatowe tło modalnego okna */
    margin: 20% auto; 
    padding: 20px;
  
    width: 100%; 
    max-width: 800px; /* Maksymalna szerokość modalnego okna */
    border-radius: 10px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Cień */
    animation: fadeInModal 0.5s ease-in-out; /* Animacja pojawiania się */
    position: relative;
    text-align: center;
    color: #003366; /* Biały tekst */
    font-family: Arial, sans-serif;
	  border: 5px solid #003366;
}

.modal-content h2 {
    font-size: 1.8em;
    color: #003366; /* Biały kolor dla tytułu */
    margin-bottom: 30px;
	
}

.modal-content p {
    font-size: 1.8em;
    color: #003366; /* Biały kolor tekstu opisu */
    line-height: 1.6;
	
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f44336; /* Czerwony kolor po najechaniu */
    text-decoration: none;
    cursor: pointer;
}

/* Animacja fadeIn dla okna modalnego */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stylizacja przycisku zamykania */
.close {
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
	cursor: pointer;
    color: #f44336; /* Czerwony kolor po najechaniu */
}
/* Stylizacja przycisku Galeria */
/* Stylizacja przycisku Galeria */
.galeria-button {
    display: inline-block;
    padding: 50px 90px;
    background-color: #003366;
    color: #DCDCDC;
    text-decoration: none;
    font-size: 28px;
    border-radius: 50px;
    text-align: center;
}

.galeria-button:hover {
	cursor: pointer;
    background-color: #4a8cc7;
}

/* Stylizacja galerii */
.o-nas-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 100px 0;
}
.centered {
    display: flex;                  
    flex-direction: column;         
    align-items: center;            
    text-align: center;             
    padding: 20px;                 
}

.o-nas-gallery img {
    width: 98%;
    height: auto;
    border: 5px solid #003366;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsywność - na mniejszych ekranach */
@media (max-width: 768px) {
    .o-nas-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .o-nas-gallery {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .o-nas-gallery {
        grid-template-columns: repeat(2, 1fr); /* Dwie kolumny na mniejszych ekranach */
    }
}

@media (max-width: 480px) {
    .o-nas-gallery {
        grid-template-columns: 1fr; /* Jedna kolumna na bardzo małych ekranach */
    }
}

@media (max-width: 600px) {
    header, #info-bar, .contact-info {
        font-size: 16px; /* Mniejszy rozmiar czcionki na małych ekranach */
        padding: 10px; /* Mniejsze paddingi */
    }

    .produkcja-mis {
        font-size: 24px; /* Zmniejszenie rozmiaru czcionki dla sekcji produkcja */
    }
}


footer {
	border: 1px solid #003366;
	background:#003366;
  /*  background: linear-gradient(to right, #003366, #4a8cc7);  Gradient for footer */
    color: 	#DCDCDC;
    padding: 20px;
    /*text-shadow: 1px 1px 2px black; /* Black outline for text */
}

footer a {
	
    color: 	#DCDCDC;
    text-decoration: none;
    /*text-shadow: 1px 1px 2px black; /* Black outline for text */
}

    .footer-content {
		font-size: 20px;
        display: flex;
        justify-content: space-between;
        align-items: top;
        padding: 20px;
      
    }

    .footer-info {
        width: 50%;
        padding-right: 20px;
		line-height: 50px;
    }

    .footer-map {
			border: 4px solid 	#4682B4;
        width: 35%;
        height: 320px; /* Dopasuj wysokość mapy */
    }

    .footer-map iframe {
	
        width: 100%;
        height: 100%;
        border: 0;
    }


	.map {
		margin-left:0;
		border: 4px solid 	#4682B4;
        width: 100%;
        height: 700px; /* Dopasuj wysokość mapy */
    }

    .map iframe {
	
        width: 100%;
        height: 100%;
        border: 0;
    }
	
	
	
	
@media (max-width: 700px) and (min-width: 200px) {

	
/* Globalne ustawienia */
body {
    font-family: 'Trebuchet MS', sans-serif;
   /* background: url('images/cons.jpg') no-repeat center center fixed;  Background image */
	 background-color: 	#DCDCDC; /*Background image */
    background-size: cover; /* Ensure the image covers the entire background */
    margin: 0;
    padding: 0;
    color: 	#003366;
}


 header {
        background: #003366;
        color: #DCDCDC;
        padding: 10px; /* Zmniejszono padding */
        display: flex;
        flex-direction: column; /* Umożliwia elastyczne dostosowanie do mniejszych ekranów */
        align-items: center;
        font-size: 5px; /* Ustawiono na większy rozmiar dla lepszej widoczności */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
	
header .company-name {
    text-align: left ; /* Wyrównanie tekstu do lewej */
    margin-left: 2px; /* Upewnij się, że nie ma marginesu */
    padding-left: 0; /* Upewnij się, że nie ma paddingu */
    float: top; /* Możesz też użyć float, jeśli to potrzebne */
    display: inline-block; /* Opcjonalnie, aby zachować kontrolę nad szerokością */
}


/* Pasek pod nagłówkiem z informacjami */
#info-bar {
    background-color: 	#DCDCDC;
    padding: 1px 0;
    text-align: center;
    color:#DCDCDC; /* Steel blue */
    font-size: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 1px;
	border: 1px solid #003366;
}

#info-bar p {
    margin: 0;
    display: none;
    justify-content: space-between;
    width: 100%;
}

#info-bar span {
    flex: 1;
    text-align: center;
}

nav a {
	text-align: right;
	line-height:30px;
    color: #DCDCDC;
    text-decoration: none;
    margin: 10px 10px;
	font-size:15px;
    font-weight: bold;
    transition: color 0.3s;
	
  /*  text-shadow: 1px 1px 2px black; /* Black outline for text */
}

nav a:hover {
    color: 	#4682B4;
	cursor: pointer;
	
}

.filaryy{
	margin-left: 8px;
	margin-right: 8px;
Background: 	#C0C0C0;
border-radius: 2px;
}
.pillars {

    display: flex;
    justify-content: space-around;
    margin: 1px 0;
    padding: 0 1px;
}

.pillar {
	
    text-align: center;
    flex: 1;
    animation: fadeIn 1.2s ease-in-out;
  /*  text-shadow: 1px 1px 2px black; /* Black outline for text */
}

.icon-circle {
	
    background-color: #003366;
    color: 	#DCDCDC;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    margin: 0 auto 10px;
    transition: transform 0.3s;
    /*text-shadow: 1px 1px 2px black; /* Black outline for icon text */
}

.pillar:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.pillar p {
	
    font-size: 15px;
    font-weight: bold;
    color: #003366	;
    margin: 1px 0;
  /*  text-shadow: 1px 1px 2px black;  Black outline for text */
}


.section-background {
    position: relative;
   background: url('images/industry.jpg') no-repeat center center ;
	z-index: 9999;
    background-size: cover;
    height: 270px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ciemna warstwa na zdjęciu dla lepszego kontrastu */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.message-container {
  max-width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.message {
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.9s ease;
  position: absolute;
}

.message.active {
  opacity: 1;
}

.dots {
  position: absolute;
  bottom: 2px; /* Przesunięcie kropek na dół */
  display: flex;
  gap: 8px;
}

.dot {
  height: 8px;
  width: 8px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #fff;
}



/* Zmiana układu galerii na 2x2 */
.gallery {
	border: 1px solid #003366;
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Dwa obrazy obok siebie */
    gap: 1px;
    padding: 1px 0;
}


.gallery-item {
	
    text-align: center;
 /*   border-radius: 10px;  Zaokrąglone rogi ramki */
    overflow: hidden; /* Ukrywa nadmiar obrazu */
   /* border: 6px solid 	#003366;  Biała ramka o grubości 5px */
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 1s ease-in-out;
    /*text-shadow: 1px 1px 2px black;  Black outline for text */
}
.gallery-item {
    transform: scale(1); /* Skala na 60% oryginalnego rozmiaru */
    transform-origin: center;
    transition: transform 0.3s, box-shadow 0.3s;
	font-size: 23px;
}
.gallery-item.lewo {
    margin-top: 0; /* Pierwsze dwa elementy pozostają na miejscu */
}

.gallery-item.prawo {
    margin-top: 0px; /* Dostosuj wartość do odpowiedniej wysokości */
}

.gallery-item img {
    width: 90%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
	
   /* Biała ramka o grubości 5px */
    border-radius: 1px; /* Zaokrąglone rogi ramki */
}
/* Styl dla Lightboxa */


.contact-info {
	font-size: 8px;
	margin-left:3px;
	line-height:20px;
	text-align: left;
	/*text-shadow: 1px 1px 2px black; */
	color: #003366;

}

/* Kluczowe klatki dla animacji slideIn */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Element wjeżdża z dołu */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.lewo {
    opacity: 0;
    transform: translateX(-100%); /* Przesunięcie w lewo */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.lewo.show {
    opacity: 1;
    transform: translateX(0); /* Powrót na miejsce */
}
.prawo {
    opacity: 0;
    transform: translateX(100%); /* Przesunięcie w lewo */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.prawo.show {
    opacity: 1;
    transform: translateX(0); /* Powrót na miejsce */
}



/* Klasa ukrywająca elementy przed wjechaniem */
.scroll-animation {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animation.show {
    opacity: 1;
    animation: slideIn 1.5s forwards; /* Animacja wjeżdżania */
}

.produkcja-mis{
	background-color:#DCDCDC; 

	font-size: 5px;
	margin-left:3px;
	margin-right:3px;
	line-height:7px;
	text-align: center;
	color: #003366;
	font-size: 8px;
	
	
}
.gallery-item:hover img {
    transform: scale(1.03);/**/
	cursor: pointer;
}

.gallery-item:hover {
	cursor: pointer;
     /*transform: scale(0.96);  Skala zwiększa się na 66% po najechaniu */
}

.gallery-item p {
    padding: 2px 2px ;
    background-color: #003366;
    color: 	#DCDCDC;
    margin: 0;
    text-align: center;
    font-size: 28; /*Dostosowany rozmiar czcionki */
 	border-radius:5px; /**/
}

h2 {
    text-align: center;
    font-size: 2em;
    margin: 1px 0;
   /* text-shadow: 1px 1px 2px black; /* Black outline for text */
}

/* Stylizacja sekcji "O nas" */
#o-nas {
	
  
    color: #003366; /* Steel blue font color */
    padding: 2px;
  /*  text-shadow: none; /* Remove text-shadow */
	text-align: center;
	font-size: 25px;
		margin-left: 2px;
	margin-right: 2px;
}

#o-nas h2 {
    color: #003366; /* Steel blue for the title */
   /*text-shadow: none; /* Remove text-shadow */
}

#o-nas p {
   /* text-shadow: none; /* Remove text-shadow */
}
/* Stylizacja galerii w sekcji "O nas" */
.o-nas-gallery {
	
    display: grid; /* Używamy siatki (grid) */
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny */
    gap: 1px; /* Odstępy między obrazami */
    padding: 10px 0; /* Odstępy wokół galerii */
		margin-left: 2px;
	margin-right: 2px;
}

.o-nas-gallery img {
	

    width: 98%; /* Obrazy zajmują całą dostępną szerokość */
    height: auto; /* Zachowanie proporcji */
	 border: 5px solid 	#003366; /* Cienka granatowa ramka o grubości 2px */
    /* border-radius: 10px; Zaokrąglone rogi */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Lekki cień pod obrazami */
}



/* Animacje */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Gallery */

/* Modal styling */
/* Modal styling */
.modal {
	
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); /* Ciemne tło z większą przezroczystością */
    padding-top: 6px;
    transition: all 0.3s ease-in-out;
}

.modal-content {
    background-color: white; /* Granatowe tło modalnego okna */
    margin: 20% auto; 
    padding: 20px;
    border: 5px solid #fff; /* Biała ramka dookoła okna */
    width: 100%; 
    max-width: 180px; /* Maksymalna szerokość modalnego okna */
    border-radius: 1px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Cień */
    animation: fadeInModal 0.5s ease-in-out; /* Animacja pojawiania się */
    position: relative;
    text-align: center;
    color: #003366; /* Biały tekst */
    font-family: Arial, sans-serif;
	  border: 5px solid #003366;
}

.modal-content h2 {
    font-size: 1em;
    color: #003366; /* Biały kolor dla tytułu */
    margin-bottom: 3px;
	
}

.modal-content p {
    font-size: 1.1em;
    color: #003366; /* Biały kolor tekstu opisu */
    line-height: 1.6;
	
}

.close {
    color: #003366;
    float: right;
    font-size: 8px;
    font-weight: bold;
    position: absolute;
    top: 1px;
    right: 1px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f44336; /* Czerwony kolor po najechaniu */
    text-decoration: none;
    cursor: pointer;
}

/* Animacja fadeIn dla okna modalnego */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stylizacja przycisku zamykania */
.close {
    background: none;
    border: none;
    font-size: 28px;
    color: #003366;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
	cursor: pointer;
    color: #f44336; /* Czerwony kolor po najechaniu */
}
/* Stylizacja przycisku Galeria */
/* Stylizacja przycisku Galeria */
.galeria-button {
    display: inline-block;
    padding: 45px 49px;
    background-color: #003366;
    color: #DCDCDC;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    text-align: center;
}

.galeria-button:hover {
	cursor: pointer;
    background-color: #4a8cc7;
}

/* Stylizacja galerii */
.o-nas-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 10px 0;
}
.centered {
    display: flex;                  
    flex-direction: column;         
    align-items: center;            
    text-align: center;             
    padding: 2px;                 
}

.o-nas-gallery img {
    width: 98%;
    height: auto;
    border: 5px solid #003366;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsywność - na mniejszych ekranach */
@media (max-width: 768px) {
    .o-nas-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .o-nas-gallery {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .o-nas-gallery {
        grid-template-columns: repeat(2, 1fr); /* Dwie kolumny na mniejszych ekranach */
    }
}

@media (max-width: 480px) {
    .o-nas-gallery {
        grid-template-columns: 1fr; /* Jedna kolumna na bardzo małych ekranach */
    }
}

@media (max-width: 600px) {
    header, #info-bar, .contact-info {
        font-size: 16px; /* Mniejszy rozmiar czcionki na małych ekranach */
        padding: 10px; /* Mniejsze paddingi */
    }

    .produkcja-mis {
        font-size: 24px; /* Zmniejszenie rozmiaru czcionki dla sekcji produkcja */
    }
}


footer {
	border: 1px solid #003366;
	background:#003366;
  /*  background: linear-gradient(to right, #003366, #4a8cc7);  Gradient for footer */
    color: 	#DCDCDC;
    padding: 2px;
    /*text-shadow: 1px 1px 2px black; /* Black outline for text */
}

footer a {
	
    color: 	#DCDCDC;
    text-decoration: none;
    /*text-shadow: 1px 1px 2px black; /* Black outline for text */
}

    .footer-content {
		font-size: 20px;
        display: flex;
        justify-content: space-between;
        align-items: top;
        padding: 2px;
      
    }

    .footer-info {
        width: 90%;
        padding-right: 2px;
		line-height: 25px;
    }

    .footer-map {
		
        width: 35%;
        height: 0px; /* Dopasuj wysokość mapy */
    }

    .footer-map iframe {
	
        width: 100%;
        height: 100%;
        border: 0;
    }


	.map {
		margin-left:0;
		border: 4px solid 	#4682B4;
        width: 98%;
        height: 300px; /* Dopasuj wysokość mapy */
    }

    .map iframe {
	
        width: 100%;
        height: 100%;
        border: 0;
    }
	

	
	
}