/* style tylko dla strony index.html */
body {
    font-family: 'GreekFont', serif;
    margin: 0;
    padding: 0;
    background-image: url('oliwka.jpg');
    background-size: cover;         /* rozciagniecie zdjecia na cale tlo */
    background-position: center;    
    background-repeat: no-repeat;   
    background-attachment: fixed;   /* tlo nie bedzie sie przewijac wraz z tekstem */
}


/* menu nawigacyjne */
.nawigacja_header{ /* pole z naglowkiem */
    background-color: #f1f1f1;
    margin-left: 35px;
    margin-right: 35px;
    margin-bottom: 0px;
    margin-top: 5px;
}
    
.nawigacja_header nav { /* przyciski nawigacyjne */
    display: flex; /* kontener flex */
    justify-content: center; /* wyrownanie w poziomie */
    align-items: center; /* wyrownanie w pionie */
    height: 50px;
    font-weight: 800;
}
    
nav{ /* przyciski nawigacyjne - wewnatrz */
    display: flex; 
    gap: 60px; 
}
    
nav a {
    font-size: 18px; 
    color: #2a2a2a; 
    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: #7d6e47; font-size: large ;} /* po kliknieciu */

/* sekcja wstep */
.wstep {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('tlo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Georgia', serif;
    margin-left: 35px;
    margin-right: 35px;
    padding: 0;
    box-sizing: border-box; /* wtedy padding i border wchodza w wymiary elementu*/
}
  
.wstep_zawartosc {
    background: #e5e0d8cc;
    padding: 40px 60px; /* pionowo , poziomo */
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease; /* płynne powiekszenie elementu */
    max-width: 60%;
    box-sizing: border-box;
    display: block; /* zajmuje cala szerokosc elementu */
}
  
.wstep_zawartosc:hover {
    transform: scale(1.1); /* o ile ma sie powiekszyc po najechaniu */
}
  
.wstep_zawartosc h1 {
    font-family: 'GreekFont', serif;
    font-size: 8vw;
    color: #222D5A;
    margin: 0;
  }
  
.wstep_zawartosc h2 {
    font-size: 30px;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 10px;
  }

/* sekcja wprowadzenie */
.sekcja_wprowadzenie {
    margin-left: 35px;
    margin-right: 35px;
    margin-top: 30px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* cien obiektu */
}
.wprowadzenie {
    margin-top: 30px; 
    font-size: 16px; 
    line-height: 1.6; /* wysokosc linii tekstu*/
    color: #333; 
    text-align: justify;
    margin-left: 15px;
    margin-right: 15px;
    font-family: 'Georgia', serif; 
    color: #000000;  
    padding-bottom: 10px; 
    margin-bottom: 20px;
}
.wprowadzenie_image {
    width: 100%;
    height: auto;
    max-width: 360px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* szybkosc powiekszenia */
}

.wprowadzenie_image:hover {
    transform: scale(1.05);
}
.wprowadzenie_tekst {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.wprowadzenie_tekst p {
    text-align: justify;
}
.wprowadzenie_tekst figure {
    max-width: 100%;
    flex: 1 1 300px; /* o ile rosnie, o ile sie zmniejszy, bazowa szer. */
    margin: 0;
}
.wprowadzenie_tekst_blok {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px; /* przerwa miedzy akapitami */
    max-width: 600px;
    margin-top: 100px;
}

/* sekcja miast */
.sekcja_miasta {
  margin: 35px;
  padding: 20px;
  background: #ffffff;
  font-family: 'Georgia', serif;
}

.miasta_tytul {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.miasta_zakladki {
  display: grid; /* element jest jako kontener siatki, dziala na zarowno kolumnach i wiwerszach, nie jak flexbox */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* robi tyle kolumn ile sie zmiesci na szer strony minimum 280px i w proporcji max */
  gap: 25px;
  margin-top: 30px;
}

.miasto_karta {
  background-color: #222D5A;
  color: #f5f5f5;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.miasto_zdjecie {
  background-color: #c2c2cc;
  height: 200px;
}

.miasto_tresc {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.miasto_tresc h4 {
  font-size: 1.3em;
  margin-bottom: 5px;
  color: #e8e6e3;
}

.miasto_data {
  font-size: 0.85em;
  color: #aaa;
  margin-bottom: 10px;
}

.miasto_tresc p {
  flex-grow: 1;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.miasto_przycisk {
  align-self: center;
  background: #ffffff;
  color: #1e1e1e;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: transform 0.5s ease;
}

.miasto_przycisk:hover {
  background: #E5D2B8;
  transform: scale(1.25);
  
}

/* Sekcja krajobraz + tekst */
.sekcja_krajobraz_tekst {
    display: flex;
    justify-content: center;
    align-items: stretch; /* zeby elementy kontenera  zajmowały całą wysokość */
    margin: 40px 35px;
    padding: 20px;
    background-color: #f9f9f9;
}

.krajobraz_container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
    justify-content: center;
    width: 100%;
}

.krajobraz {
    flex: 1;
    max-width: 50%; 
    margin-right: 0px;
    height: 100%;
    object-fit: cover; /* zdjęcie będzie odpowiednio przycięte i wypełni kontener */
}

.tekst {
    flex: 1;
    max-width: 50%; 
    background-color: #d1cabd; 
    padding: 20px;
    color: white;
    position: relative; /* pozycjonuje sie wg normalnego polozenia */
    box-sizing: border-box;
    height: 99%; 
    display: flex;
    flex-direction: column;
    justify-content: center; /*  w pionie */
}

.tekst_blok h3 {
    font-size: 1.8em;
    color:#222D5A;
}

.tekst_blok p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #4a4a4a;
}

/* sekcja z mapa */
.sekcja_mapa{
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.mapa_obrazek {
    margin: 40px;
    text-align: center;
  }
  
  .mapa_box {
    position: relative;
    display: inline-block;
    max-width: 100%;
    width: 768px; /* Stały rozmiar dla dokładnych pozycji */
  }
  
  .mapa_image {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Pinezki */
  .pinezka {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #222D5A;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
  }
  
  .pinezka:hover {
    transform: scale(1.3);
  }

/* sekcja Zagrzeb */
.sekcja_zagrzeb {
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.zagrzeb {
    margin-top: 30px; 
    font-size: 16px; 
    line-height: 1.6; 
    color: #333; 
    text-align: justify;
    margin-left: 15px;
    margin-right: 15px;
}
.zagrzeb {
    font-family: 'Georgia', serif; 
    color: #000000;  
    padding-bottom: 10px; 
    margin-bottom: 20px; 
}
.zagrzeb_image {
    max-width: 360px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* Płynna animacja */
    display: block;
    border-radius: 6px;
}
.zagrzeb_image:hover {
    transform: scale(1.05); /* Powiększenie przy najechaniu */
}
.zagrzeb_tekst {
    display: flex;
    margin-top: 0px;
    align-items: center; /*  w pionie */
    margin-bottom: 30px;
}
.zagrzeb_tekst p {
    text-align: justify;
}
.zagrzeb_tekst figure {
    flex: 1;
    max-width: 50%;
    margin: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.zagrzeb_tekst_blok {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-left: 20px;
}
  
/* sekcja Split */
.sekcja_split {
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.split {
    margin-top: 30px; 
    font-size: 16px; 
    line-height: 1.6; 
    color: #333; 
    text-align: justify;
    margin-left: 15px;
    margin-right: 15px;
}
.split {
    font-family: 'Georgia', serif; 
    color: #000000;  
    padding-bottom: 10px; 
    margin-bottom: 20px; 
}
.split_image {
    max-width: 320px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; 
    display: block;
    border-radius: 6px;
}
.split_image:hover {
    transform: scale(1.05); 
}
.split_tekst {
    
    display: flex;
    margin-top: 0px;
    align-items: center;
    margin-bottom: 30px;
}
.split_tekst p {
    flex: 1;
    text-align: justify;
}
.split_tekst figure {
    flex: 1;
    max-width: 50%;
    margin: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.split_tekst_blok {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-left: 20px;
}

/* sekcja Hvar */
.sekcja_hvar {
    
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    
}
.hvar {
    margin-top: 30px; 
    font-size: 16px; 
    line-height: 1.6; 
    color: #333; 
    text-align: justify;
    margin-left: 15px;
    margin-right: 15px;
    font-family: 'Georgia', serif; 
    color: #000000;  
    padding-bottom: 10px; 
    margin-bottom: 20px; 
}

.hvar_image {
    max-width: 360px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; 
    display: block;
    border-radius: 6px;
}
.hvar_image:hover {
    transform: scale(1.05); 
}

.hvar_tekst {
    display: flex;
    margin-top: 0px;
    align-items: center; 
    margin-bottom: 30px;
}
.zhvar_tekst p {
    flex: 1;
    text-align: justify;
}
.hvar_tekst figure {
    flex: 1;
    max-width: 50%;
    margin: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hvar_tekst_blok {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-left: 20px;
}

/* sekcja Dubrovnik */
.sekcja_dubrovnik {
    margin-left: 35px;
    margin-right: 35px;
    max-width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    
}
.dubrovnik {
    margin-top: 30px; 
    font-size: 16px; 
    line-height: 1.6; 
    color: #333; 
    text-align: justify;
    margin-left: 15px;
    margin-right: 15px;
}
.dubrovnik {
    font-family: 'Georgia', serif; 
    color: #000000;  
    padding-bottom: 10px; 
    margin-bottom: 20px; 
}
.dubrovnik_image {
    max-width: 320px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    border-radius: 6px;
}
.dubrovnik_image:hover {
    transform: scale(1.05);
}
.dubrovnik_tekst {
    display: flex;
    margin-top: 0px;
    align-items: center;
    margin-bottom: 30px;
}
.dubrovnik_tekst p {
    flex: 1;
    text-align: justify;
}
.dubrovnik_tekst figure {
    flex: 1;
    max-width: 50%;
    margin: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dubrovnik_tekst_blok {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-left: 20px;
}

/* stopka */
footer {
    background-color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 0px;
    margin-left: 35px;
    margin-right: 35px;
}
