/* Import czcionki */
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

/* Reset i bazowe style */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  overflow-x: hidden;
  }

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Nagłówek */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.4);
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
}

.logo { height: 150px; object-fit: contain; cursor: pointer; }

.slogan {
  color: white;
  font-size: 2.2em;
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/* Sekcja kolażu */
.collage-section {
  width: 100%;
  height: 70vh; 
  background-image: url('fot1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  /* margin-top: 120px;  */
  padding-top: 120px; /* zostawiamy miejsce na header, ale tło zaczyna się od góry */
}

.collage-frame {
  width: 70%;
  height: 70%;
  position: relative;
  overflow: hidden;
}

/* Zdjęcia w kolażu */
.collage-frame img {
  position: absolute;
  max-width: 300px;
  max-height: 300px;
  border: 8px solid white; /* efekt polaroida */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.collage-frame img.show {
  opacity: 1;
}


/* Biogram */
.biogram-section {
  background-image: url('fot1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 100px 0;
}

.biogram-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}

.biogram-content {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  gap: 30px;
  align-items: flex-start;
}

.text-container {
  flex: 2;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-container p {
  font-family: 'Lora', serif;
  color: #000080;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  text-wrap: pretty;
}

.image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Slideshow */
.slideshow {
  margin-top: 2em;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow img.show { opacity: 1; }

/* Stopka */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1em;
}

.footer p { margin: 5px 0; }

/* Responsywność */
@media (max-width: 768px) {
  .slogan { font-size: 1.5em; margin: 0 10px; }
  .logo { height: 80px; }
  .header { padding: 10px 0; }
  .biogram-content { flex-direction: column; gap: 20px; }
  .text-container, .image-container { flex: auto; width: 100%; }
  .text-container { padding: 20px; }
}
@media (max-width: 480px) {
  .slogan { font-size: 1.2em; }
  .logo { height: 60px; }
}
