* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
    --primary-color: #6C6948;
    --primary-font: "Raleway", sans-serif;
}

body {
    width: 100%;
    margin: 0 auto;
    background: #E9E4DA;
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.3em;
    font-family: inherit;
    overscroll-behavior: none;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}


/* SPINNING LOGO - RESERVATION */

.domek-pierwiosnek-rezerwacja {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    transition: transform 0.6s ease, bottom 0.6s ease, right 0.6s ease; /* Smooth transition */
}

.domek-pierwiosnek-rezerwacja img {
    width: 120px;
    height: auto;
    transition: transform 0.6s ease; /* Smooth transition */
}



@media (prefers-reduced-motion: no-preference) {
  .domek-pierwiosnek-rezerwacja {
    animation: App-logo-spin infinite 10s linear;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



/* Home & Parallax  */


.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
    background-color: inherit;
    overflow-y: auto;
  }
  
  header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  .background {
    position: absolute;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    animation: scaleImage 30s infinite alternate;
  }

  @keyframes scaleImage {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

  .background-mobile {
    display: none;
  }

  @media (max-width: 450px) {
    .background {
      display: none;
    }
    .background-mobile {
      display: block;
      position: absolute;
      height: 100%;
      width: 100%;
      object-fit: cover;
      z-index: -1;
    }
  
  }
  
  .foreground {
    position: absolute;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    z-index: -1;
    transition: transform 7s ease; 

   
  }
  
/* NAVIGATION  */


.navigation-img {
    margin-top: 10px;
    max-width: 50px;
    height: auto;
}

 .navigation-mobile-icon {
  display: none;
 }
 


 @media (max-width: 450px) {

  .navigation-list {
       background: #6C6948;
        list-style: none;
        opacity: 0.9;
        position: fixed;
        top: 0;
        right: -500px;
        width: 500px;
        height: 100vh;
        padding-top: 120px;
        padding-left: 120px;
        transition: 0.5s;
        z-index: 1000;
  }
  .navigation-list li a {
    text-decoration: none;
    font-size: 1.8em;
    line-height: 2em;
    margin-left: 40px;
    color: white;
}

.navigation-mobile-icon-close, .navigation-mobile-icon-open {
  display: block;
  position: fixed;
  width: 80px;
  top: 10px;
  right: 10px;
  z-index: 999;
 } 

 .navigation-mobile-icon-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
 }

 .logo-nav-desktop {
  display: none;
 }
 .fa-brands {
  position: absolute;
  bottom: 30px;
  right: 20px;
  font-size: 3em;;
  color: white;
  cursor: pointer;
  z-index: 1000;
}
.kontakt-desktop {
  display: none;
}

 }


@media (min-width: 450px) {

  #mobile-navigation {
    display: none;
  }

  .navigation-mobile-icon-close, .navigation-mobile-icon-open {
    display: none;
  }

  .navigation-elements {
    position: sticky;
    top: 0;
    z-index: 1200;
}
  


  .navigation-list {
    background-color:rgba(233, 228, 218, 0.7);
    height: 75px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    align-items: center;
    list-style: none;
    cursor: pointer;
  }

  .navigation-list li {
    display: inline-block;
    margin: 0 auto;
    font-size: 15px;
    justify-content: center;
  }

  .navigation-list li a {
    text-decoration: none;
    color: inherit;
  }

 .section-reservation-circle-up {
  display: grid;
  grid-template-columns: 60% 1fr;
 }

 .text-content-circle-up {
   margin-left: 70px;
 }

 .text-content-circle-up p {
  max-width: 450px;
 }

 .faq-link, .regulamin-link, .kontakt-mobile {
  display: none;
 }

.instagram-icon {
  display: none;
 }

}

@media (max-width: 450px) {

 .section-description h2 {
  font-size: 1.3em;
  padding: 0 30px 0 30px;
 }

}

@media (max-width: 750px) {
  .section-description h2 {
    font-size: 4em;
   }
   .section-description {
    margin-bottom: 80px;
  }
  .section-domki h2 {
    font-size: 4em;
  }
}


/* BODY CONTENT  */

.body-content {
    display: grid;
    justify-content: center;
    background-color: #E9E4DA;
    max-width: 1900px;
    margin: 0 auto;
    height: auto;
    width: 100%;
}

h1.hidden {
    display: none;
}

.text-content {
  background-color: #E9E4DA;
}

.text-content h2 {
   font-family: "Cormorant Garamond", serif;
   font-weight: 300;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    margin-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    font-size: 3em;
    line-height: 0.9em;
}

.body-content .text-content h2 {
  margin-left: 5px;
  margin-right: 5px;
}

.text-content p {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 25px 0 25px;
    font-size: 1em;
    line-height: 1.5em;
    text-align: center;
}

.body-content-span {
  font-size: 1.3em;
  font-weight: bold;
}


@media (min-width: 450px) {
  .text-content h2 {
     max-width: 2000px;
     height: auto;
     margin: 0 auto;
     padding: 100px 200px 80px 200px;
     text-align: center;
     font-size: 6.5em;
     line-height: 0.9em;
 }
 .text-content p {
    padding: 0 25px 0 25px;
 }
 
}

/* SLIDER */
button.prev-slider,
button.next-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: solid white 1px;
    background-color: transparent;
    cursor: pointer;
}

button.prev-slider {
    left: 50px;
}

button.next-slider {
    right: 50px;
}


.section-slider {
  padding-bottom: 100px;
  background-color: #E9E4DA;
}

.slider {
  position: relative;
  overflow: hidden;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.photos-slide {
  white-space: nowrap;
}

.photos-slide img {
  width: 400px;
  height: auto;
  margin-left: 10px;
}

@media (max-width: 450px) {
  .photos-slide img {
    width: 250px;
    height: auto;
  }
}

@media (min-width: 1024px) {
  .photos-slide img {
    width: 320px;
  }
}



/* Atrakcje  */

.section-description {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.section-atractions {
  margin-top: 100px;
}


.section-h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 8em;
  line-height: 1.1em;
}

.section-atractions h2 {
  text-align: center;
  margin: 0 auto;
  font-size: 4em;
  text-transform: uppercase;
}

/* .section-atractions .slider {
  margin-bottom: 50px;
} */

.text-content h2 {
  text-transform: none;
}

.text-content p {
  padding-bottom: 100px;
}

@media (max-width: 450px) {
  .section-description {
    padding-bottom: 40px;
  }
  .section-atractions h2 {
    font-size: 1.8em;  
    line-height: 0.9em;
  }
}

/* REVIEWS  */

.reviews-slider {
  position: relative;
  display: flex;
  margin: 0 auto;
  overflow: hidden;
  max-width: 100vw;
  height: 400px;
  background-color: rgb(209, 211, 153);
  transition: transform 0.8s ease-in-out;
}

.reviews-slider p {
  font-family: var(--primary-font);
  font-style: italic;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/* .reviews-slider img {
  width: 100%;
  height: auto;
} */

.reviews-buttons {
  position: absolute;
  display: flex;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  justify-content: space-between;
  pointer-events: none;
}

.reviews-buttons button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
  pointer-events: auto; /* Enable pointer events on the buttons */
}

.reviews-buttons .prevBtn {
  margin-left: 15px;
}

.reviews-buttons .nextBtn {
  margin-right: 15px;
}

@media (max-width: 450px) {
  .reviews-slider  {
     height: 500px;
     margin-bottom: 100px;
  }
  .reviews-slider p {
    font-family: var(--primary-font);
    font-size: 0.9em;
    line-height: 20px;
    font-style: italic;
    text-align:left;
   width: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* SECTION GOSPODARZE  */

.section-gospodarze {
   padding: 100px 0 100px 0;
   transition: background-color 1s ease;
}

.gospodarze-opis {
   display: grid;
   grid-template-columns: 500px 500px;
   margin: 0 auto;
   gap: 50px;
   justify-content: center;
   align-items: center;
   text-align: left;
   padding: 15px;
}

.gospodarze-text h2 {
  margin: 0;
  line-height: 2.2em;
  font-size: 2.6em;
}

.gospodarze-img {
  display: flex;
  justify-content: center;
}

.gospodarze-img img {
   width: 350px;
}

.gospodarze-opis h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5em;
  font-weight: 300;
  line-height: 0.9em;
  text-align: left;
  margin-bottom: 60px;
}



@media (max-width: 450px) {
  .section-gospodarze {
    padding: 50px 0 50px 0;
    padding-top: 100px;
    transition: background-color 1s ease;
 }
  .gospodarze-opis {
    width: 320px;
    display: grid;
    grid-template-columns: 320px;
    margin: 0 auto;
    gap: 50px;
    justify-content: center;
    text-align: left;
    padding: 15px;
 }

 .gospodarze-opis h2 {
  margin: 0 auto;
  margin-bottom: 60px;
 }

 .gospodarze-img img {
  width: 280px;
}

 .gospodarze-img {
  display: flex;
  justify-content: center;
}
}

@media screen and (min-width: 450px) and (max-width: 1024px) {
  .section-gospodarze {
    padding: 50px 0 50px 0;
    transition: background-color 1s ease;
 }

  .gospodarze-opis {
    grid-template-columns: 340px 340px;
    margin: 0 auto;
    gap: 40px;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-left: 40px;
 }

 .gospodarze-opis h2 {
  margin: 0 auto;
  margin-bottom: 60px;
  font-size: 2.8em;
 }

 .gospodarze-img img {
  width: 300px;
}

 .gospodarze-img {
  display: flex;
  justify-content: center;
}
}


/* FOOTER  */

.footer-slider {
background-color: #D2D39A;
padding-bottom: 50px;
padding-top: 50px;
}
.footer-slider h2 {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.4em;
  letter-spacing: 0.1em;
  margin: 0 auto;
  text-align: center;
  padding: 10px 20px 40px 20px;
}

.footer-slider img {
  width: 280px;
  height: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-container img {
  margin: 0 auto;
  width: 200px;
  margin-top: 60px;
  margin-bottom: 10px
}
.footer-contact {
  margin: 0 auto;
  text-align: center;
}

.mail {
  color:#6C6948;
}

.links-social-faq {
  display: grid;
  margin: 0 auto;
  text-align: center;
}

.links-social-faq a {
  text-decoration: none;
  color: inherit;
}

.made-by {
  text-align: center;
  margin-bottom: 30px;
}

.made-by a {
  text-decoration: none;
  color: #6C6948;
}

.made-by img {
  width: 150px;
  margin-bottom: 50px;
  margin-top: 20px;
}

@media (min-width: 750px) {
  .footer-slider h2 {
    font-size: 2em;
  }

  .footer-slider p, .footer-slider a {
    font-weight: bold;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    justify-content: space-around;
    align-items: center;
    margin: 100px 80px 0 80px;
  }
  .footer-container img {
    margin: 0 auto;
    align-items: center;
    width: 200px;
    margin-bottom: 10px
  }
  .made-by img {
    width: 120px;
    margin-bottom: 30px;
    margin-top: 20px;
  }
  .made-by {
    text-align: center;
    margin-bottom: 5px;
  }
}