/* styles.css */



/* --- reset & globals --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
html {
  /* font-family: Georgia, 'Times New Roman', Times, serif; */
  font-size: 16px;
  color: #000000;
}


/* Base body copy */
body {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  /* letter-spacing: .001rem; */
  /* word-spacing: 0.2rem; */
  line-height: 1.6;
  color: #333;
}

/* Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif;
  font-weight: 700; /* or whichever you imported */
  line-height: 1.2;
  color: #111;
  margin-bottom: 0.8rem;
}

/* Optional fine-tuning */
a {
  font-family: inherit;
  font-weight: 700; /* bold links for emphasis */
}

.nav__item a {
  font-size: 0.9rem;
  /* already picks up Lato by inheritance */
}









a {
  text-decoration: none;
}

/* --- container to center content --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 2; /* above overlay & images */
  /* background-color: rgba(0, 0, 255, 0.709); */
}

.static_background {
  height: 100vh;
  width: 100vw;
  background: url("images/background1.png") center/cover no-repeat;
  position: fixed;
  z-index: 0;
}

/* --- Hero section --- */
.hero {
  position: sticky;
  /* height: 100vh; */

  overflow: visible;
  top: 0;
  /* background-color: rgba(242, 0, 255, 0.349); */

  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 90%);
  /* box-shadow: 0 100px 100px rgba(255, 255, 255, 0.4); */

  z-index: 10;
  backdrop-filter: blur(1px);
}
.hero__overlay {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.652); */
  z-index: 1;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  /* min-height: 100%; */
  max-height: 8rem;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 2rem;
  /* background-color: rgba(255, 68, 0, 0.349); */
}

/* --- Social links --- */
.social {
  display: flex;
  gap: 1rem;
  /* background-color: rgba(0, 255, 47, 0.349); */
}
.social a {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.social a:hover {
  opacity: 1;
}

/* --- Title --- */
.hero__title {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2rem;
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border-radius: calc(clamp(2rem, 6vw, 4rem) / 3);
  padding: 1rem;
  box-shadow: 0 0 16px 1px black;
  background-color: #e50101e3;
}


.hero__title a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

/* --- Nav --- */
.nav {
  position: relative;
  /* background-color: rgba(0, 238, 255, 0.349); */
}
.nav__checkbox {
  display: none;
}
.nav__button {
  display: none; /* shown only on mobile */
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 3;
  /* background-color: yellowgreen; */
}
.nav__icon,
.nav__icon::before,
.nav__icon::after {
  display: block;
  width: 100%;
  height: 3px;
  background: #8a8a8a;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}
.nav__icon {
  top: 50%;
  transform: translateY(-50%);
}
.nav__icon::before {
  content: "";
  top: -8px;
}
.nav__icon::after {
  content: "";
  top: 8px;
}
/* turn into “X” when checked */
.nav__checkbox:checked + .nav__button .nav__icon {
  background: transparent;
}
.nav__checkbox:checked + .nav__button .nav__icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__checkbox:checked + .nav__button .nav__icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* menu list */
.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* background-color: rgba(255, 204, 0, 0.349); */
}
.nav__item a {
  display: block;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
}
.nav__item a:hover {
  background: #fff;
  transform: translateX(-0.7rem);
}

/* --- Hero images (chicken + eggs) --- */
.hero__images {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  /* background-color: rgba(0, 115, 255, 0.349); */
}
.hero__chicken {
  position: absolute;
  bottom: 0;
  /* left: -2vw; */

  left: clamp(-100%, calc(-1 * (350px - 15vw)), -1px);

  height: 65vh;
}
.hero__egg {
  position: absolute;
  bottom: 5%;
  height: 40vh;
}
.hero__egg--one {
  left: 15%;
  height: 45vh;
}
.hero__egg--two {
  right: 5%;
  height: 35vh;
}

.content {
  position: relative;
  /* background-color: #ffffff6f; */
  height: fit-content;
  width: 100vw;
  z-index: 2;
  padding-left: 2rem;
  padding-right: 2rem;
  /* background-color: rgba(127, 255, 212, 0.529); */
  background-color: rgba(0, 0, 0, 0);
  /* box-shadow: 0 -20rem 0px rgba(0, 0, 0, 0.121); */
  /* backdrop-filter:blur(1px); */
}

.content section {
  position: relative;
  background-color: #ffeec089;
  height: fit-content;
  width: 100%;
  padding: 2rem;
  margin: 2rem 0 8rem;
  border-radius: 2rem;
  box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.41);

  backdrop-filter: blur(15px);
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.content section:hover {
  background-color: #ffeec0;
  box-shadow: 0 0 24px 4px rgba(0, 0, 0, 0.25);
}

.welcome-kury {
  width: 100%;
  border-radius: 2rem;
}

.mkn-seal-1 {
  width: 10rem;
  height: auto;
  aspect-ratio: 1/1;
}


.welcome {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: center;
  /* background-color: #3333332c !important; */
}


.nasze-kury-img-1 {
  width: 100%;
  border-radius: 2rem;
  margin: 2rem 0;
}

.review {
  margin: 1rem
}

.review-text {
  font-style: italic;
}

.review-who {
  font-weight: 600;
}



/* --- Desktop layout --- */
@media (min-width: 768px) {
  .hero {
    height: 8rem;
  }

  .hero__inner {
    flex-direction: row;
    /* align-items: ce nter; */
    align-items: flex-start;
    justify-content: space-between;
  }

  .social {
    order: 1;
  }

  .hero__title {
    order: 2;
    /* flex: 1; */
    text-align: center;
    margin: 0 2rem;
  }

  .nav {
    order: 3;
    align-self: flex-start;
  }
  .nav__list {
    /* order: 3; */
    flex-direction: column;
    align-items: flex-end;
  }

  .content {
    padding-left: 12rem;
    padding-right: 14rem;
  }
}




/* --- Mobile menu behavior --- */
@media (max-width: 767px) {

  /* show burger */
  .nav__button {
    display: block;
  }
  /* hide menu off‐canvas */
  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75%;
    overflow-y: scroll;
    padding-top: 4rem;
    background: rgba(255, 255, 255, 0.97);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
  }
  /* slide in when checked */
  .nav__checkbox:checked ~ .nav__list {
    transform: translateX(0);
  }
  .nav__item a {
    color: #222;
  }

  .social {
    order: 2;
    flex: 1;
  }

  .hero__title {
    order: 3;
    width: 100%;
  }

  .nav {
    order: 1;
  }

  .social a {
    font-size: 2rem;
  }


  .hero__chicken {
    position: absolute;
    left: 0;

    height: 80vh;
  }

  .content {
    transform: translateY(30rem);
    padding-left: 0;
    padding-right: 0;
  }

  .content section {
    border-radius: 0;
  }





}


@media only screen
  and (max-width: 767px)    /* or whatever your mobile breakpoint is */
  and (orientation: landscape) {




  /* .hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content:left;
  } */
  
  /* put your mobile-landscape overrides here */
  .content section {
    /* padding: 1rem; */
    margin: 1rem 0 4rem;
    /* … */
  }

  /* e.g. shrink your hero images a bit */
  .hero__chicken {
    height: 70vh;
  }
  .hero__egg {
    height: 40vh;
  }




  /* .hero__inner {
    max-height: none;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
  } */



  .hero__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;  /* optional spacing between columns */
  }
  
  .hero__title {
    justify-self: center;
  }



  .social,
  .hero__title,
  .nav {
    flex: 1 1 0;     /* grow and shrink equally, starting from zero */
    text-align: center; /* center the icon set, title, and burger in their “third” */
  }




  .social {
    order: 1;
    /* if you want it to stay its natural size, you can leave flex: unset */
  }

  .hero__title {
    order: 2;
    /* let the title grow and shrink as needed */
    flex: 1 1 auto;
    margin: 0 1rem;
    text-align: center;
    width: max-content;



    margin-top: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border-radius: calc(clamp(2rem, 6vw, 4rem) / 3);
    padding: 0.5rem;
    box-shadow: 0 0 16px 1px black;





  }

  .nav {
    order: 3;
    /* if you want the nav to hug its content */
    flex: 0 0 auto;
  }

  .nav__button {
    transform: translateY(-1.5rem);
  }

}
