body {
    font-family: 'GreekFont', serif;
    margin: 0;
    padding: 0;
    background-image: url('oliwka.jpg');
    background-size: cover;         
    background-position: center;    
    background-repeat: no-repeat;   
    background-attachment: fixed;   /* tlo nie przewija się z trescia */
}

/* menu nawigacyjne */
.nawigacja_header{ /* pole z naglowkiem */
    background-color: #a3ad87;
    margin-left: 35px;
    margin-right: 35px;
    margin-bottom: 0px;
    margin-top: 5px;
}
    
.nawigacja_header nav { /* przyciski nawigacyjne */
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-weight: 800;
}
    
/* przyciski nawigacyjne - style */
nav{
    display: flex; 
    flex-wrap: wrap;
    gap: 60px; 
}
    
nav a {
    font-size: 18px; 
    color: #222; 
    text-decoration: none; 
    transition: transform 0.3s ease, color 0.3s ease;
    }
    
nav a:hover { /* po najechaniu */
    color: #E5D2B8; 
    transform: scale(1.3);
    font-weight: 700;
}
    
nav a:active{color: #269f41; font-size: large ;} /* link aktywny */
nav a:visited{color: #b36329; text-decoration: underline;} /* link odwiedzony */


/* sekcja wstep */
.wstep {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-family: 'Georgia', serif;
  padding: 60px;
  box-sizing: border-box;
}

.wstep_zawartosc {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px 60px;
  text-align: center;
  border-radius: 15px;
  transition: transform 0.3s ease; /* płynne powiekszenie elementu */
  max-width: 60%;
  box-sizing: border-box;
  display: block;
}

.wstep_zawartosc:hover {
  transform: scale(1.1);
}

.wstep_zawartosc h1 {
  font-family: 'GreekFont', serif;
  font-size: 3em;
  color: #796444;
  margin: 0;
}

.wstep_zawartosc h2 {
  font-size: 2em;
  color: #4a4a4a;
  font-style: italic;
  margin-bottom: 10px;
}

/* sekcja dania */
.sekcja_danie {
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%;
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .danie {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    color: #000000;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  .danie_tytul {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }
  
  .danie_image {
    max-width: 350px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    border-radius: 6px;
  }
  
  .danie_image:hover {
    transform: scale(1.05);
  }
  
  .danie_tekst {
    display: flex;
    margin-top: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .danie_tekst figure {
    flex: 1; /* o polowe mniejszy niz flex 2 ponizej */
    max-width: 50%;
    margin: 0 20px 0 0; /* gora prawo dol lewo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .danie_tekst_blok {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* el wewnatrz kontenera flex przy lewej kraw */
    gap: 15px;
  }
  
  .danie_lista {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
  }

/* Sekcja zdjecie z tekstem w galerii */
.sekcja_krajobraz_tekst {
    display: flex;
    justify-content: center;
    align-items: stretch; /* zeby elementy zajmowały całą wysokość */
    margin: 40px 35px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85);
}

.krajobraz_container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
    justify-content: center;
    width: 70%;
}

.krajobraz {
    flex: 1;
    max-width: 50%; 
    margin-right: 0px;
    height: 70%; 
    object-fit: cover; /* zdj będzie odpowiednio przyciete i wypełni kontener */
}

.tekst {
    flex: 1;
    max-width: 50%; 
    background-color: #d1cabd; 
    padding: 20px;
    color: white;
    position: relative; /* pozycjonowanie tekstu w kontenerze */
    box-sizing: border-box;
    height: 99%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tekst_blok h3 {
    font-size: 1.2em;
    color:#202020;
}

.tekst_blok p {
    font-size: 20px;
    line-height: 1.6;
    color: #4a4a4a;
}

/* galeria */

main > section {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  margin: 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

main section figure {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

main section img {
  max-width: auto;
  max-height: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

main section img:hover {
  transform: scale(1.55);
}

main section figcaption p {
  margin: 5px 0;
  font-size: 16px;
  color: #333;
}

/* stopka */
footer {
  background-color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-top: 0px;
  margin-left: 35px;
  margin-right: 35px;
  
}



/* Sekcja krajobraz + tekst */
.sekcja_krajobraz_tekst {
    display: flex;
    justify-content: center;
    align-items: stretch; /* zeby elementy zajmowały całą wysokość */
    margin: 40px 35px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85);
}

.krajobraz_container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
    justify-content: center;
    width: 70%;
}

.krajobraz {
    flex: 1;
    max-width: 50%; /* Szerokość zdjęcia */
    margin-right: 0px;
    height: 70%; /* Zajmuje całą wysokość kontenera */
    object-fit: cover; /* Zapewnia, że zdjęcie będzie odpowiednio przycięte i wypełni kontener */
}

.tekst {
    flex: 1;
    max-width: 50%; /* Szerokość sekcji tekstowej */
    background-color: #d1cabd; /* Kolor tła */
    padding: 20px;
    color: white;
    position: relative; /* Pozycjonowanie tekstu w obrębie kontenera */
    box-sizing: border-box;
    height: 99%; /* Zajmuje całą wysokość kontenera */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrowanie tekstu w pionie */
}

.tekst_blok h3 {
    font-size: 1.8em;
    color:#202020;
}

.tekst_blok p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #4a4a4a;
}