@charset "utf-8";
/* CSS Document */
/* import fontu z google */
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');
/*
font-family: "Hanken Grotesk", sans-serif;
*/

/* SELEKTORY GLOBALNE */
*{
	transition: 1s;
	box-sizing: border-box;/*żeby paddingi nie zwiększały szer. boxu - kontrola nad responsywnością*/
}
html{
	font-size: 10px;
}

/*wszystkie hiperłącza*/
a{
	text-decoration: none;
}

/*wszystkie obrazki*/
img{
	max-width: 100%;
}

/*wszystkie akapity*/
p{
	line-height: 140%;
}

/**********NAWIGACJA mobile**********/
.burger{
	background-color: #FF0004;
	color: #fff;
	position: fixed;
	
	z-index: 1;/*kolejność - ponad elementami sekcji*/
}

.nakladka{
	background-color: rgba(0,0,0,.9);
	position: fixed;
	top: 0;/*żeby zwijała się do górnej krawędzi*/
	right: 0;/*żeby zwijała się do prawej krawędzi*/
	height: 100%;
	width: 0;
	overflow: hidden;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: .9;
} 
.nakladka ol{
	background-color: red;
	width: 90%;
	text-align: center;
}
.nakladka ol li{}
.nakladka ol li a{
	color: #eee;
	background-color: yellow;
	padding: 1.2rem;
	display: block;
	margin-bottom: 3vh;
}

.zamknijX{
	background-color: #eee;
	position: absolute;
	cursor: pointer;
}



/* NAWIGACJA desktop */
nav {
  background-color: #2a3d2f;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  position: relative;
	z-index: 9999;
}
/* Ukrycie listy na mobile i pokazanie na desktop */
nav ol {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 0;
}
/* Pozycja elementów */
nav li {
  position: relative;
}
nav a, .dropbtn {
  text-decoration: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: block;
  padding: 8px 12px;
}

/* Podmenu - ukryte domyślnie */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #3f5b43;
  min-width: 160px;
  top: 100%;
  left: 0;
  border-radius: 5px;
  z-index: 1000;
  padding: 10px 0;
}
.dropdown-content li {
  padding: 0;
  margin: 0;
}
.dropdown-content a {
  padding: 8px 16px;
  font-size: 16px;
  color: white;
}
.dropdown-content a:hover {
  background-color: #567d56;
}
/* Pokaż podmenu po hover na elemencie rodzicu */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn::after {
  
  font-size: 12px;
  margin-left: 5px;
}
/* Hamburger - ukryty na desktop */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  user-select: none;
/*  position: absolute;*/
  top: 10px;
  right: 20px;
}

/* --- Mobile styles --- */
@media (max-width: 768px) {
  nav ol {
    flex-direction: column;
    background-color: #2a3d2f;
    width: 100%;
	height: 100%;
    top: 50px;
    right: 0;
    width: 300px;
    border-radius: 0 0 0 8px;
    display: none;
  }

  /* Pokaż menu, gdy checkbox jest zaznaczony */
  #menu-toggle:checked + .hamburger + ol {
    display: flex;
  }

  nav li {
    width: 100%;
  }

  /* Podmenu w mobile statyczne, zawsze widoczne pod "Etapy" */
  .dropdown-content {
    position: static;
    background-color: #3f5b43;
    border-radius: 0;
    padding-left: 10px;
    display: block;
  }


  /* Pokaż hamburger na mobile */
  .hamburger {
    display: block;
  }

  /* Linki większe, wygodne do kliknięcia */
  nav a, .dropbtn {
    padding: 12px 16px;
    font-size: 20px;
  }
}

/********************/
/* WSZYSTKIE SEKCJE */
section{
	min-height: 80vh;
	padding: 5vh 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.zawartosc{
/*	background-color: red;*/
	max-width: 1400px;/*nie widać przez flex*/
	width: 100%;
	display: flex;
	gap: 2rem;
}  


/* POSZCZEGÓLNE SEKCJE */
#pierwsza {
  height: 50vh;
  background-image: url("../img/tlo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
#pierwsza .zawartosc {
  width: 100%;
  height: 100%;
  position: relative;
	
}
.tytul {
  position: relative;
  width: 100%;
  height: 100%;
}
.krolowa {
  font-family: 'Kumbh Sans', sans-serif;
  position: absolute;
  top: 17%; 
  left: calc(323 / 1920 * 100vw);
  font-size: clamp(50px, 7.8vw, 150px);
  color: white;
  font-weight: 400
}
.stawu {
  font-family: 'Kumbh Sans', sans-serif;
  position: absolute;
  top: calc(17% + 8vw); 
  left: calc(696 / 1920 * 100vw);
  font-size: clamp(40px, 6vw, 120px);
  color: white;
  font-weight: 400;
}
@media (max-width: 768px) { 
}

#druga {
  background-color: #35574C;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
	padding: 0 2rem;
	position: relative;
}
#druga .zawartosc {
	
	width: 100%;
	display: flex;
	justify-content: flex-start;

}
#druga article {

	flex: 0 1 50%;
}
#druga article p {
/*  padding-right: 2vw;*/
  font-size: 28px;
  color: white;
  line-height: 1.6;
}

#druga figure{
	position: absolute;
	width: 50vw;
	right: 0;
	bottom: 0;
	
/*	padding: 2rem;*/
	align-self: flex-end;	
}
#druga figure img {
	width: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	#druga{
		max-height: 0vh;
		padding: 5vh 0 ;
		display: block;
	}
	#druga .zawartosc{
		display: block;
		min-height: 100vh;
	}
	#druga article{
		width: 90%;
		padding: 2rem;
	}
	#druga figure{
		position: static;
		width: 100%;
	}
	#druga figure img {
		object-fit: contain;
		object-position: bottom;
	}
}



@media (max-width: 767px) {
  #druga article {
    flex-direction: column;
    align-items: center;
  }

  #druga article img {
    width: 100vw;
    max-width: 100vw;
  }

  #druga article p {
    width: 90vw;
    padding: 5vw;
/*    text-align: justify;*/
	  font-size: 2rem;
  }
}

/*--------------------------*/

#trzecia {
  background-color: #264A38;
  min-height: 50vh;
  color: white;
  padding: 20px 20px;
  font-family: 'Inter', sans-serif;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  max-width: 1200px;
  margin: auto;
  gap: 10px;
}

/* Zakładki - pionowy tekst */
.tab-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  background-color: #88BAA1;
  color: #fff;
  border-radius: 10px 0 0 10px;
  padding: 20px 10px;
  cursor: pointer;
  min-height: 150px;
  font-size: 2rem;
  text-align: center;
  transition: background 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.tab-label.selected,
input#tab1:checked ~ label[for="tab1"],
input#tab2:checked ~ label[for="tab2"],
input#tab3:checked ~ label[for="tab3"] {
  background-color: #3E775A;
}

/* Kontent zakładki */
.tab-content {
  display: none;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 20px;
  max-width: 70%;
}

.tab-content img {
  width: 100%;
  max-width: 728px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}
.tab-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700; 
  font-size: clamp(24px, 4vw, 32px); /* skalowanie od 24 do 32 */
  margin-bottom: 24px;
  color: #fff;
}

.tab-content p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 2.5vw, 20px); /* skalowanie od 16 do 20 */
  line-height: 1.5;
  color: #fff;
}

input#tab1:checked ~ .content1,
input#tab2:checked ~ .content2,
input#tab3:checked ~ .content3 {
  display: flex;
}


@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-label {
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 10px 10px 0 0;
    min-height: auto;
    padding: 10px;
  }

  .tab-content {
    max-width: 100%;
  }
}



#czwarta {
  background-color: #f0f7f1;
  padding: 60px 20px;
  
}

#czwarta .zawartosc {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.etap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  
  border-radius: 16px;
  padding: 40px 20px;
 
}

.etap-img {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.etap-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.etap-text {
  flex: 1 1 60%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.etap-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700; 
  font-style: italic;
  margin-bottom: 20px;
  color: #35574C;
}

.etap-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: #444;
}

@media (max-width: 768px) {
  .etap {
    flex-direction: column;
    text-align: center;
  }

  .etap-img,
  .etap-text {
    flex: 1 1 100%;
    padding: 10px;
  }

  .etap-text h2 {
    font-size: 24px;
    margin-top: 20px;
  }

  .etap-text p {
    font-size: 16px;
  }

  .etap-img img {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
}

#piata {
  height: 80vh;
  background-image: url("../img/zabafinal.webp");
  background-size: cover;
  background-position: center;
		
}
@media (max-width: 768px) {
  #piata {
    height: 60vh; /* zmniejszona wysokość */
    background-position: 20% center; /* przesunięcie obrazu w prawo */
  }
}

#stopka{
	
	background-color: #222;
	color: #fff;
	min-height: 15vh;
	font-size: 2.3rem;
	
}
#stopka .zawartosc {
 display: flex;
 gap: 25rem; 
 flex-wrap: wrap;
 justify-content: center;
  
}


@media (max-width: 768px) {
  #stopka .zawartosc {
    gap: 3rem;         /* mniejszy odstęp między elementami */
    flex-direction: column; /* opcjonalnie: ułożenie pionowe, jeśli nie mieści się poziomo */
    align-items: center;    /* wyśrodkowanie w pionie */
  }

/**************RWD**************/
@media all and (max-width:600px){
	section{
		min-height: 100vh;
	}
	#pierwsza article{
		flex: 1 1 300px;
	}
	#druga{
		padding: 5vh 0;
	}
	#druga .zawartosc{
		flex-wrap: nowrap;
		justify-content: flex-start;
/*		overflow: scroll;*/
/*		padding-left: 2rem;*/
		padding-bottom: 4rem;
	}
	#druga article{
		flex: 0 1 280px;
		font-size: 1.6rem;
	}
}


