@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Afacad:ital,wght@0,400;1,400&display=swap");

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Afacad", sans-serif;
  color: #fff;
  background: linear-gradient(
#000122 0%,
#0091fc 37%,
#000c29 55%
  );
}
#glowna_zawartosc {
  position: relative;
}
section {
  position: relative;
  overflow-x: hidden;
}
/* miarka */
#miarka {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
  background-color: rgba(255, 255, 255, 0.68);
  z-index: 5;
}

.miarka-sekcji {
  position: absolute;
  right: 0;   
  width: 82%; 
  height: 2px;   
  background-color: #ffffff;
  z-index: 5;
}
#miarka::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 9px;

  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 17px, #fff 18px, #fff 20px);
  background-size: 100% 33px;
}
/* ===== HERO ===== */
#hero {
  background-image: url("../img/Bez%20nazwy-1.png");
  opacity: 0.8;
  background-repeat: repeat;
  background-position: top left;
}
.hero-image-jowisz,
.hero-image-ksiezyc,
.strefa_img,
.zone__image,
.stats1__media img,
.stats3_img img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}
.hero-image-mars {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.kontener_jowisz {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kontener_ksiezyc {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_zawartosc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}
.hero_zawartosc h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero_zawartosc h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}
.hero_zawartosc h4,
.hero_zawartosc p {
  margin: 1rem auto;
  max-width: 90%;
}

.hero_zawartosc p {
  color: #a59eeb;
  font-style: italic;
}
.highlight {
  color: #a59eeb;
}
.hero_zawartosc h4,
.hero_zawartosc p {
  margin: 1rem auto;
  text-align: center;
  max-width: 90%;
}


/* === BURGER & OVERLAY === */
.burger {
  display: none; 
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  background: rgba(132, 149, 219, 0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 68;
}

.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 0;
  background: rgba(0,0,0,0.95);
  overflow-x: hidden;
  transition: width 0.3s ease;
  z-index: 150;
}
.menu-overlay.open {
  width: 100%;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
}

.menu-list {
  list-style: none;
  padding: 6rem 0 0;
  text-align: center;
}
.menu-list li {
  margin: 1.5rem 0;
}
.menu-list li a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.menu-list li a:hover {
  color: #A59EEB;
}

/* ===== NAV ===== */
.nav {
  max-width: 800px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 20;
  border: 4px solid transparent;
  border-image-source: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border-image-slice: 1;
}

.nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1rem 0;
}
.nav li {
  margin: 0 1.5rem;
}
.nav a {
  text-decoration: none;
  font-family: "Afacad", regular;
  color: #fff;
  font-size: 24px;
}
.chmurka1 {
  display: flex;
  justify-content: end;
}

/* ===== STATYSTYKI ===== */
.stats {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.stats_zawartosc {
  max-width: 600px;
}

/* ===== PIERWSZA STATYSTYKA ===== */
#stats_pierwsza {
  background-image: url("../img/pani%20na%20wodzie%20(2).png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 5vh 1px 48vh 31vh;
}
#stats_pierwsza .stats_1_1 {
  font-family: "Afacad", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
#stats_pierwsza .stats_1_2 {
  font-family: "Playfair Display", serif;
  font-size: 14rem;
  line-height: 0.8;
  position: relative;
  top: -20px;
}
#stats_pierwsza .stats_procent {
  font-size: 0.3em;
  vertical-align: super;
}
#stats_pierwsza .stats_1_3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-top: 0.3rem;
}

/* ===== MAŁA STATYSTYKA ===== */
#stats_druga {
  padding: 9vh 1rem 9rem 17rem;
}
#stats_druga .stats_2_1 {
  font-family: "Afacad", sans-serif;
  font-size: 2rem;
  margin-left: -42rem;
}
#stats_druga .stats_2_2 {
  font-family: "Playfair Display", serif;
  font-size: 13rem;
  line-height: 0;
}
#stats_druga .stats_procent {
  font-size: 0.3em;
  vertical-align: super;
}
#stats_druga .stats_2_3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-top: 0.1rem;
}

/* ===== NASTĘPNA SEKCJA ===== */
.stats3 {
  padding: 6rem 1rem;
  color: #fff;
}
.stats3_zawartosc {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}
.stats3_tekst {
  flex: 1 1 300px;
}
.stats3_tekst h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  margin-top: 6rem;
}
.stats3_tekst p {
  font-size: 1rem;
  opacity: 0.8;
}
.stats3_img {
  flex: 37 1 445px;
  margin-top: 2rem;
}

/* ===== STATYSTYKI #2 ===== */
.stats4 {
  padding: 2rem 1rem;
}
.stats4_zawartosc {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.stats4_lista h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
}
.stats4_lista ul {
  list-style: none;
  padding: 0;
}
.stats4_lista ul li {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0.8rem auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-family: "Afacad", sans-serif;
  font-size: 23px;
  color: #fff;
}
.stats4_tekst {
  flex: 1 1 300px;
}
.stats4_tekst h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.stats4_tekst p {
  font-family: "Afacad", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.8;
  color: #fff;
}
/* ===== STATYSTYKI 5 ===== */
#stats5 .cta {
  color: rgba(212, 197, 255, 0.39);
  margin-bottom: 52px;
}
#stats5::after {
  content: " ";
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10vh;
}
#stats5 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 1440px;
  margin: 0 auto;
  padding: 6rem 1rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  background: url("../img/rece.PNG") no-repeat center top;
  background-size: cover;
}

#stats5 h3 {
  /*	background-color: red;*/
  font-size: 2rem;
  line-height: 0.8;
  margin-bottom: 1.1rem;
}

#stats5 p {
  font-family: "Afacad", sans-serif;
  font-size: 28px;
  line-height: 0.8;
  color: #b9b2ff;
  max-width: 700px;
  margin: 0 auto;
}
#stats5 .zdanie {
  padding: 1rem 0;
  display: inline-block;
  width: 100%;
  color: transparent;
  transition:
    color 8s ease,
    text-shadow 1.9s ease;
  /*	background-color: red;*/
}
#stats5 .zdanie:hover {
  transition: 1s;
  color: #fff;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.rece {
  width: 100%;
}

/* ===== STREFY ===== */
.strefa {
  background: #000;
  padding: 4rem 1rem;
}

/*EUFOTYCZNA*/
#eufotyczna .strefa_img {
  transform: scaleX(-1);
}
#eufotyczna .strefa_ryba {
  display: flex;
  align-items: flex-start;
}

#eufotyczna .strefa_tekst {
  order: 1;
  flex: 1 1 50%;
  max-width: 29rem;
}

/*DYSFOTYCZNA*/
#dysfotyczna .strefa_ryba {
  display: flex;
  align-items: flex-start;
}

#dysfotyczna .strefa_tekst {
  order: 1;
  flex: 1 1 50%;
  max-width: 45rem;
}

#dysfotyczna .strefa_img {
  order: 2;
  object-fit: cover;
}
#dysfotyczna .strefa_tekst {
  max-width: 500px;
}

/* AFOTYCZNA */
#afotyczna .strefa_ryba {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

#afotyczna .strefa_img {
  object-fit: cover;
}

#afotyczna .strefa_tekst {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 600px;
}
.strefa_ryba {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.strefa_zawartosc {
  max-width: 90vw;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.strefa_tytul {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  /* background-color: red; */
  border-bottom: 3px solid white;
  position: relative;
}
.strefa_tytul::after{
  content: '';
  position: absolute;
  bottom: -3px;
  right: -50%;
  border-bottom: 3px solid white;
  width: 50%;;
}

.strefa_nazwa {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.strefa_glebokosc {
  font-family: "Afacad", sans-serif;
  font-size: 1.6rem;
  opacity: 0.8;
}

.strefa_opis {
  text-align-last: left;
  max-width: 878px;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.strefa_tekst {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
}
.ryba_nazwa {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.3rem;
}
.ryba_nazwa2 {
  font-family: "Afacad", sans-serif;
  font-size: 1rem;
  color: #00ffff;
  margin-bottom: 0.8rem;
}
.ryba_info {
  display: flex;
  justify-content: flex-start;
  font-family: "Afacad", sans-serif;
  font-size: 1rem;
  color: #00ffff;
  margin-bottom: 1.5rem;
}
.ryba_opis {
  hyphens: auto;
  word-break: break-word;
  font-family: "Afacad", sans-serif;
  font-size: 0.97rem;
  line-height: 1.8;
  opacity: 0.85;
}

.strefa_zawartosc {
  max-width: 1234px;
  margin: 0 auto;
}
.strefa_zawartosc h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
#ostatnia .ryba_opis {
  text-align: center;
}
/* ===== BACK TO SURFACE ===== */
.back-to-surface {
  cursor: pointer;
  display: block;
  margin: 2rem auto;
  padding: 0.8rem 2rem;
  background: rgba(0, 156, 216, 0.3);
  border-image-source: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border-image-slice: 1;
  color: #4dd0e1;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer {
  background-color: black;
  border-top: 1px solid rgb(255, 255, 255);
  padding: 2rem 1rem;
}

.footer_social ul {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid transparent;
  border-image-source: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border-image-slice: 1;
  max-width: 457px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  gap: 3rem;
}

.footer_social li {
  list-style: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_social a img {
  display: block;
  max-width: 65px;
  max-height: 32px;
  width: auto;
  height: auto;
}

.footer_copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (max-width: 1025px){

  .chmurka1 img,
  .chmurka_lewa {
    max-width: 50%;
    width: auto;
    height: auto;
    margin: 44 auto;
    display: block;
  }
  #stats_pierwsza {
    background-size: contain;
  }
  #stats_pierwsza {
    padding: 1vh 3rem 48vh 2rem;
  }
  #stats_druga {
    padding: 1rem;
  }

  #stats_pierwsza .stats_1_1,
  #stats_druga .stats_2_1 {
    margin: 0 auto ;
    text-align: center;
  }

  #stats_pierwsza .stats_1_2 {
    font-size: 8rem;
  }
  #stats_druga .stats_2_2 {
    font-size: 7rem;
  }

  #stats_pierwsza .stats_procent,
  #stats_druga .stats_procent {
    font-size: 0.4em;
  }}
@media (max-width: 600px) {
    .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .chmurka1 img,
  .chmurka_lewa {
    max-width: 50%;
    width: auto;
    height: auto;
    margin: 44 auto;
    display: block;
  }
  #stats_pierwsza {
    background-size: contain;
  }
  #stats_pierwsza {
    padding: 1vh 1rem 48vh 1rem;
  }
  #stats_druga {
    padding: 3rem 1rem;
  }

  #stats_pierwsza .stats_1_1,
  #stats_druga .stats_2_1 {
    margin: 0 auto !important;
    text-align: center;
  }

  #stats_pierwsza .stats_1_2 {
    font-size: 8rem;
  }
  #stats_druga .stats_2_2 {
    font-size: 7rem;
  }

  #stats_pierwsza .stats_procent,
  #stats_druga .stats_procent {
    font-size: 0.4em;
  }
}
