/* Płynne przewijanie */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #fdfdfd;
  color: #333;
}

/* Nagłówek z nawigacją */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #f3ecdb;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1em 0;
  margin: 0;
}

nav li {
  margin: 0 1em;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Główna zawartość */
main {
  padding-top: 80px;
}

/* Sekcje */
section {
  min-height: 100vh;
  padding: 0em 2em;
  display: flex;
  align-items: flex-start; /* zaczynaj treść od góry */
  justify-content: center;
}

section:nth-child(even) {
  background: #f0f0f0;
}

/* Ograniczenie szerokości treści */
.container {
  max-width: 800px;
  width: 100%;
  padding: 0 1em;
  box-sizing: border-box;
}

.container p {
  line-height: 1.6;
  margin-bottom: 1.2em;
  /*text-align: justify;*/
}

/* Zdjęcie w sekcji "O mnie" */
.photo-wrapper {
  text-align: center;
  margin-top: 2em;
}

.photo-wrapper img {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Stopka */
footer {
  text-align: center;
  padding: 2em;
  background: #222;
  color: #fff;
}

/* Efekt fade-in przy scrollu */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Karuzela bez możliwości przewijania */
.carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 2em;
  display: flex;
  justify-content: center;
  padding: 0 20px; /* Padding wokół karuzeli */
}

.carousel {
  display: flex;
  gap: 15px; /* Odstępy między zdjęciami */
}

.carousel-image {
  width: 50%; /* 2 zdjęcia na raz */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Cień dla zdjęć */
}

/* Media query dla telefonów */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0 10px; /* Mniejsze paddingi na telefonie */
  }

  /* Na telefonie ustawiamy zdjęcia jedno pod drugim */
  .carousel {
    flex-direction: column; /* Ustawienie zdjęć w kolumnie */
  }

  .carousel-image {
    width: 100%; /* Każde zdjęcie zajmuje pełną szerokość ekranu */
    margin-bottom: 15px; /* Dodanie odstępu między zdjęciami */
  }
}

/* Sekcja cennika */
.pricing-section-wrapper {
  background-color: #fff !important; /* Tło na biały, z użyciem !important */
  padding: 3em 0; /* Padding wokół sekcji */
}

.pricing-section {
  width: 80%; /* Zawartość wyśrodkowana w obrębie 80% szerokości */
  margin: 0 auto;
  padding: 2em 0;
  /* Cień został usunięty, więc ta linia została usunięta */
}

/* Nagłówek sekcji cennika */
.pricing-section h2 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 2em;
  color: #333;
}

/* Zawartość cennika */
.pricing-info {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-info p {
  margin-bottom: 1em;
}

.pricing-info strong {
  color: #2c3e50;
}

.pricing-info em {
  /*font-style: italic;*/
  /*color: #7f8c8d;*/
}

/* Stylizacja dla urządzeń mobilnych */
@media (max-width: 768px) {
  .pricing-section {
    width: 90%;
  }
}


/* Stopka */
.footer {
  background-color: #f3ecdb; /* Beżowe tło (takie samo jak w sekcji cennika) */
  color: #333; /* Kolor tekstu */
  padding: 3em 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

.footer-info, .footer-address, .footer-phone-email, .footer-hours {
  flex: 1;
  min-width: 220px; /* Minimalna szerokość dla lepszej responsywności */
  margin: 1em 0;
}

.footer h3 {
  font-size: 1.8em;
  margin-bottom: 1em;
}

.footer p {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0.5em 0;
}

.footer a {
  color: #333; /* Kolor linku */
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Stylizacja dla urządzeń mobilnych */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-info, .footer-address, .footer-phone-email, .footer-hours {
    min-width: 100%; /* Zajmuje całą szerokość na małych ekranach */
    text-align: center;
  }
}
