.auto-galeria  {
  width: 100%;
  height: auto;
  max-width: 700px;
  border: 3px groove #dcf3f5;
  border-radius: 10px;
}

.auto-galeria {
  border: 3px solid black;
  border-radius: 10px; /* opcjonalnie, jeśli chcesz zaokrąglenia */
}

header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center; 
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  
}

header h1 {
  font-size: 64px;   /* Duży rozmiar czcionki */
  font-weight: 900;  /* Bardzo pogrubiony */
  color: #fff;       /* Biały kolor (bo header ma tło #333) */
  margin: 0;
  padding: 0;
}

.kontener {
  width: 100%;
  max-width: 100%;
  padding: 0 10px;
}

.kontener_auto {
  display: flex;
  text-align: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
    margin: 20px 0;
    background: #444;
    border-radius: 5px;
    padding: 10px;
}
nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}
nav a:hover {
    background: #555;
}

html, body {
  width: 100%;
  overflow-x: hidden;  /* usuwa poziome przewijanie */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

footer {
  width: 100%;
  background-color: #262626;
  margin-top: 50px;
  text-align: right;
}

footer h1 {
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  color: white;
  margin-top: 20px;
  margin-bottom: 10px;
}
#kontakt, #mapa {
  margin-top: 100px;
}

.zdj-galeria {
  margin-top: 10px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  justify-content: center;
}

.zdj-galeria:hover {
  transform: scale(1.2, 1.2);
  transition-duration: 0.5s;
  
}

.zdj-galeria2:hover {
  transform: scale(1.2, 1.2);
  transition-duration: 0.5s;
  
}

.galeria img {
    width: 200px;
    height: 200px;
    cursor: pointer;
    margin: 8px;
    margin-top: 10px;
    object-fit: cover;
   justify-content: center;
  text-align: center;
 
 
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  image-rendering: auto;
}

/* Przyciski */
.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 20px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
  border-radius: 50%;
}

.prev:hover, .next:hover, .close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.prev { left: 20px; }
.next { right: 20px; }

.logo-container {
  text-align: center;
  margin: 20px 0;
}

.logo {
  height: 260px; /* dopasuj wysokość według potrzeb */
  width: auto;
}

.galeria-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-top: 30px;
  color: #333;
}

.catering-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-top: 30px;
  color: #333;
}

.onas-title {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  margin-top: 30px;
  color: #333;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* lub space-between, jeśli chcesz odstępy */
  gap: 10px;
}

#menu-i {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0 10px;
  width: 100%;
}

.menu-item {
  flex: 1 1 300px;
  max-width: 400px;
  box-sizing: border-box;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  margin: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.menu-item:hover {
  transform: scale(1.05);
}

.menu-item img {
  max-height: 200px;
  max-width: 200px;
  border-radius: 5px;
  width: 100%;
  object-fit: cover;
}

.zdj-container {
  position: relative;
  flex: 1 1 calc(8.33% - 10px); /* 12 zdjęć w rzędzie */
  box-sizing: border-box;
  max-width: calc(8.33% - 10px);
  margin: 5px;
  aspect-ratio: 1 / 1; /* Gwarantujemy idealny kwadrat */
  overflow: hidden;
}

.zdj-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Przycinanie i wypełnianie kontenera */
  display: block;
  border-radius: 8px;
}

.zdj-container .tooltip {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.7);
  color: white;
  font-size: 28px; /* Zwiększony rozmiar tekstu */
  padding: 10px 20px; /* Większe tło pod tekstem */
  border-radius: 12px;
  opacity: 0;
  transition: 0.1s;
  pointer-events: none;
}

.zdj-container:hover .tooltip {
  opacity: 1;
}




#about {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  border-radius: 10px;
  text-align: center;         /* Wyśrodkowanie tekstu */
  font-weight: bold;          /* Pogrubienie tekstu */
}

#about p {
  margin-bottom: 1.2em;
}

.onas-title {
  font-size: 2em;
  margin-bottom: 1em;
  color: #333;
}

.onas-title {
  font-size: 2.8em;     /* większy rozmiar czcionki */
  font-weight: 900;     /* bardzo pogrubiony */
  text-align: center;   /* wyśrodkowany */
  margin-bottom: 1em;
  color: #222;
}

.social-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.social-btn:hover {
  background-color: #222;
}

.social-btn img {
  width: 100px;
  height: 100px;
  border-radius: 10%;
  object-fit: cover;
}

form {
  max-width: 500px;
  margin: 60px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  color: #2c3e50;
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  margin-top: 15px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  resize: vertical;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: #3498db;
  outline: none;
}

form button {
  width: 100%;
  margin-top: 25px;
  padding: 14px;
  background-color: #3498db;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2980b9;
}

footer {
  background-color: #262626; /* możesz zmienić na #333 jeśli wolisz ciemniejsze */
  color: white;
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}


footer h1 {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 60px;
  text-align: center;
}

.kontener.kontakt-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

#contact {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
}





/* --- NOWOCZESNY FORMULARZ KONTAKTOWY --- */

#contact {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
}

form {
    background-color: #ffffff;
    color: #333;
    padding: 40px;
    border-radius: 20px; /* bardziej obłe rogi */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* głębszy cień */
    width: 100%;
    max-width: 550px;
    text-align: left;
    border-top: 5px solid #1f2528; /* kolorowy akcent na górze */
}

form h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 800;
}

form label {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
    font-size: 14px;
    text-transform: uppercase; /* elegancki wygląd etykiet */
    letter-spacing: 1px;
    color: #555;
}

form input,
form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #edf2f7; /* jasna ramka */
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background-color: #f8fafc;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Efekt po kliknięciu w pole */
form input:focus,
form textarea:focus {
    border-color: #21282c;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1); /* delikatna poświata */
    transform: translateY(-2px); /* lekki ruch do góry */
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form button {
    width: 100%;
    margin-top: 35px;
    padding: 16px;
    background: linear-gradient(135deg, #445865, #2980b9); /* gradient na przycisku */
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

form button:hover {
    background: linear-gradient(135deg, #3a454c, #2c3e50);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

form button:active {
    transform: translateY(-1px);
}

/* Dostosowanie dla urządzeń mobilnych */
@media (max-width: 768px) {
    form {
        padding: 25px;
    }
    
    form h2 {
        font-size: 26px;
    }
}









.contact-info {
  flex: 1 1 300px;
  font-size: 25px;
  line-height: 1.8;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  word-break: break-word;
}

.social-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-btn img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Prawa zastrzeżone */
footer:last-of-type {
  background-color: #111;
  padding: 15px;
  font-size: 14px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .zdj-container {
    flex: 1 1 calc(25% - 10px); /* 4 zdjęcia w rzędzie */
    max-width: calc(25% - 10px);
  }
}

@media (max-width: 900px) {
  .zdj-container {
    flex: 1 1 calc(33.33% - 10px); /* 3 zdjęcia w rzędzie */
    max-width: calc(33.33% - 10px);
  }
}

@media (max-width: 600px) {
  .zdj-container {
    flex: 1 1 calc(50% - 10px); /* 2 zdjęcia w rzędzie */
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 400px) {
  .zdj-container {
    flex: 1 1 100%; /* 1 zdjęcie na całą szerokość */
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .kontener.kontakt-footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  #contact {
    width: 100%;
    max-width: 90%;
  }

  form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  textarea, input[type="email"] {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info {
    order: -1;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
  }

  .social-buttons img {
    width: 40px;
    height: 40px;
  }
}




















.contact-inf {
  flex: 1 1 450px;
  text-align: left; /* Tekst do lewej jak na obrazku */
  padding: 20px;
  color: #ffffff; /* Zmień na white, jeśli tło stopki jest ciemne */
}

.contact-inf h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-inf .subtitle {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 40px;
}

/* Układ ikon i tekstu obok siebie */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.details-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-circle img {
  width: 35px;
  height: 35px;
}

.dark-bg { background-color: #676262; } /* Ciemne kółko */
.light-bg { background-color: #000000; } /* Jasne kółko */

.details-text span {
  display: block;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
}

.details-text strong {
  font-size: 24px;
  font-weight: 800;
  display: block;
}

/* Przyciski Social Media - Ciemne kwadraty */
.social-grid {
  display: flex;
  gap: 15px;
}

.social-box {
  width: 80px;
  height: 80px;
  background-color: #4a4242;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}

.social-box:hover {
  transform: scale(1.05);
  background-color: #fdfdfd;
}

.social-box img {
  width: 40px;
  height: 40px;
  filter: invert(1); /* Zmienia czarne ikony na białe */
}

/* RWD dla telefonów */
@media (max-width: 768px) {
  .contact-inf { text-align: center; }
  .details-item { justify-content: center; }
  .social-grid { justify-content: center; }
}
















/* --- RESPONSYWNOŚĆ SEKCJI KONTAKT --- */

@media (max-width: 1024px) {
  .kontener.kontakt-footer {
    flex-direction: column; /* Układa dane kontaktowe i formularz jeden pod drugim */
    align-items: center;    /* Centruje oba bloki */
    gap: 40px;              /* Odstęp między danymi a formularzem */
  }

  .contact-inf {
    text-align: center;     /* Centruje nagłówki i opisy na tabletach/telefonach */
    max-width: 100%;
  }

  .details-item {
    justify-content: center; /* Centruje ikony i tekst telefonu/maila */
  }

  .social-grid {
    justify-content: center; /* Centruje kwadraty social media */
  }
}

@media (max-width: 600px) {
  .contact-title {
    font-size: 32px;        /* Zmniejsza wielki napis na małych ekranach */
  }

  .details-item {
    flex-direction: column; /* Ikona nad tekstem dla lepszej czytelności na wąskim ekranie */
    text-align: center;
    gap: 10px;
  }

  .social-box {
    width: 70px;            /* Nieco mniejsze przyciski social media na telefonie */
    height: 70px;
  }
  
  #contact, form {
    width: 100%;            /* Formularz zajmuje całą dostępną szerokość */
  }
}


























/* Styl dla kontenera galerii, aby zdjęcia mogły stać obok siebie */
.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Odstęp między zdjęciami */
  padding: 10px;
  justify-content: center;
}

/* Reguła dla telefonów (ekrany poniżej 600px) */
@media (max-width: 600px) {
  .zdj-container {
    /* calc(50% - 10px) oznacza: weź połowę szerokości i odejmij połowę odstępu (gap) */
    flex: 0 0 calc(50% - 10px); 
    max-width: calc(50% - 10px);
    margin: 0; /* Używamy gap w galerii zamiast marginesów tutaj */
    aspect-ratio: 1 / 1; /* Zachowuje kształt kwadratu */
  }

  .zdj-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Reguła dla bardzo małych telefonów (opcjonalnie, poniżej 350px) */
@media (max-width: 350px) {
  .galeria {
    gap: 5px; /* Mniejszy odstęp na malutkich ekranach */
  }
  .zdj-container {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}