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

/* GENERAL SETTINGS  */

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    background-color: #F3F1EC;
    max-width: 1200px;
    margin: 0 auto;
    /* flex-shrink: 0; */
  
}

 @media (max-width: 430px) {
    body {
        max-width: 430px;
        margin: 0 auto;   
    }
} 

h1, h3 {
    font-family:"Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 400;
}

.intro-big {
    font-size: 2.5rem;
}

.p-intro {
    font-size: 1rem;
}

.intro-big, .p-intro {
    color: #623e2a;
}

h4, h2 {
    font-family: "Afacad Flux", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase; 
    
}

h2 {
    font-size: 4rem;
    font-weight: 300;
    
}

p {
    font-family: "Afacad Flux", sans-serif;
    font-size: 1.2rem;
}

span {
    font-family: "Afacad Flux", sans-serif;
    font-size: 7rem;
    text-transform: uppercase;
}

.underline {
    text-transform: uppercase;
    color: #91713C;
}

.section-description {
    color: #000;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 60px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.section-description-span {
    font-family:"Cormorant Garamond", serif;
    color: #91713C;
    font-weight: 400;
    font-size: 3rem;
}

.section-description-container h3 {
    font-size: 3rem;
}

.unit-description {
    font-family: "Afacad Flux", sans-serif;
    width: 100%;
    text-transform: uppercase;
    font-size: 1.3rem;
    transition: margin-left 0.6s ease;
    margin-bottom: 20px;
}

.unit-description:hover {
    margin-left: 20px;
}

.moving-span {
    width: 100%;
    overflow:hidden;
}

.moving-txt {
    position: absolute;
    margin-top: -35px;
    right: 60px;
    font-size: 6.5rem;
    color: #EAE5DF;
    transition: transform 3s linear;
    z-index: 2;
    white-space: nowrap;
}


.book {
    color: #91713C;
    border: none;
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
}


/* POP - UP  */

.popup-container {
    z-index: 10;
    display: none;
    position: fixed;
    top: 2.5%;
    left: 2.5%;
    width: 95%;
    height: 95%;
    background: rgb(255, 255, 255);
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 1000px;
    /* overflow: hidden; */
    overflow-y: auto; /* Enables scrolling within the pop-up */
    max-height: 90vh; /* Prevents pop-up from exceeding the viewport height */
    display: flex;
    flex-direction: column;
}
.popup-container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    color: #8b6e47;
    cursor: pointer;
}

.img-popup {
  position: absolute;
  width: 100px;
  height: auto;
  top: 30px;
  left: 40px;
}

.iframe-container {
    width: 100%;
    height: 700px; /* Increased height for better visibility */
    padding-top: 100px;
    overflow: auto; /* Enable scrolling */
    flex-grow: 1;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
}

.iframe-container::-webkit-scrollbar {
    width: 2px; /* Customize scrollbar height */
}

.iframe-container::-webkit-scrollbar-thumb {
    background-color: #91713c; /* Color of the scrollbar */
    border-radius: 10px;
}


@media (max-width: 768px) {
    .popup-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    /* .popup-container h2 {
        position: absolute;
        top: 15px;
        left: 20px;
        font-size: 22px;
    } */
    .iframe-container {
        height: 800px; /* Adjust iframe height for smaller screens */
    }
    .img-popup {
        width: 50px;
        opacity: 0.5;
        top: 20px;
      }

    .close-btn {
        font-size: 30px; 
        right: 25px; 
    }
    .iframe-container::-webkit-scrollbar {
        display: none;
        /* width: 1px; Customize scrollbar height */
    }
}


/* NAVIGATION  */

.navigation {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.navigation-center-desktop {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.navigation-center-desktop a, .navigation-mobile a {
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 1.2rem;
    padding: 20px 25px;
}

.navigation-mobile {
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px 0;
    display: none;

}

aside {
    position: fixed;
    transition: right .4s ease;
    top: 0;
    right: -320px;
    width: 320px;
    background-color: white;
    padding: 80px 30px;
    z-index: 4;
    height: 100vh;
}

aside.active {
    right: 0;
}

aside a {
    display: block;
    color:#91713C;
    font-family: inherit;
    font-size: 1.7rem;
    text-transform: uppercase;
    padding: 10px 0;
    text-decoration: none;
    text-align: center;
}

aside button.close-button {
    font-size: 1.9rem;
    color:#91713C;
    border: 0;
    background-color: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: inherit;   
    cursor: pointer;
}

.backdrop {
   display: none;
   position: fixed;
   inset: 0;
   background-color: rgba(0,0,0,0.3);
   backdrop-filter: blur(5px);
}

.backdrop.active {
    display: block;
}


.navigation-mobile-logo-img {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform:translate(-50%);
    max-width: 150px;
}

.mobile-menu {
    margin-top: 50px;
}


@media (max-width: 730px) {
    .navigation {
        display: none;
    }
    .navigation-mobile {
        display: block;
    }
}


/* HEADER  */

.header-container, .hero-description {
    position: relative;
    text-align: center;
}

.header-image {
    max-width: 100%;
    height: 100vh;
    object-fit: cover;
}

 .header-video {
    max-width: 100%;
    height: 100vh;
    object-fit: cover;
} 

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

.header-logo-image {
   max-width: 350px;
   height: auto;
   position: absolute;
   top: 45%;
   left: 50%;
   transform: translate(-50%, -50%);
}

.header-book {
   position: absolute;
   bottom: 10%;
   left: 50%;
   transform: translate(-50%, -50%);
   padding: 10px 30px;
   border: none;
   border-radius: 5px;
   text-transform: uppercase;
}

.zarezerwuj-pokoj {
    /* position: absolute; */
    z-index: 4;
    position: fixed;
    bottom: 20px;
    /* right: 150px; */
    right: clamp(10px, 30vw, 250px);
    border: none;
    background: transparent;
    cursor: pointer;
}

.zarezerwuj-pokoj-img, .zarezerwuj-poko-footer {
    max-width: 120px;
    height: auto;
    transition: transform 0.5s;

}

.zarezerwuj-pokoj-img:hover, .zarezerwuj-poko-footer:hover {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .zarezerwuj-pokoj {
        right: 20px; /* bliżej krawędzi na mniejszych ekranach */
    }
}

@media (min-width: 730px) {
    .zarezerwuj-pokoj-img {
        max-width: 200px;
        height: auto;
        transition: transform 0.5s;
    
    }
}


/* HERO  */

.hero-image {
    position: relative;
    max-width: 100%;
    height: auto;
    top: 120px;
    /* margin-bottom: 80px; */
}

.hero-description-txt {
    position: relative;
    display: flex;  
    top: -300px;
}

@media (min-width: 730px) {
    .hero-description-txt {
        position: relative;
        display: flex; 
        justify-content: center; 
        top: -300px;
    }

    .intro-big {
        font-size: 4.5rem;
    }
}

.intro-big {
    margin: 0 50px;   
    text-align: center;
}

.p-intro-container {
    position: relative;
    display: flex;
    top: -100px;
}

.p-intro {
  margin: 0 20px 0 20px;
  max-width: 500px;
  /* flex-shrink: 0; */
  text-align: left;
}


/* ROOMS  */

.rooms {
    padding-bottom: 100px;
    max-width: 1200px;
    overflow: hidden;
}

.intro-small, .intro-large {
    margin-left: 20px;
    z-index: 2;
    line-height: 40px;
}

.rooms-container {
    /* position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr); */
    display: flex;
    overflow-x: auto;
    gap: 60px;
    margin: 70px 0 0 10px;
}



.room-unit {
    width: 300px;
    height: auto;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    z-index: 3;
}

.room-unit-image {
    max-width: 350px;
    height:auto;
}

.room-unit a {
    text-decoration: none;
    color: inherit;
}

.rooms-container::-webkit-scrollbar {
    height: 2px; /* Customize scrollbar height */
}

.rooms-container::-webkit-scrollbar-thumb {
    background-color: #91713c; /* Color of the scrollbar */
    border-radius: 10px;
}


/* DESCRIPTION  */

.description-container, .activities-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}


.section-description-container, .section-activities-container, .section-description {
    text-align: center;
    justify-content: center;
    max-width: 350px;
   
}

.description-image {
    max-width: 300px;
    height: auto;
    border: 2px solid #91713c;
    padding: 25px;
    
}

/* BUTTON - HOVER  */

.button-arrow {
    max-width: 350px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 80px;
}

.hover-line {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.line {
   width: 0.5cm;
   height: 3px;
   background-color:#91713C;
   margin-right: 10px;
   transition: width 0.5s ease, height 0.5s ease;
}

.hover-line:hover {
  
    .line {
       width: 1.5cm;       
       height: 3px;
       
    }
 }


 @media (min-width: 730px) {
    .description-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .description-container img {
        margin: 0 auto;
    }

    .description-image {
        max-width: 450px;
        height: auto;
    }

    .section-description-container {
        display: flex;
        flex-direction: column;
        justify-content: left;
        text-align: left;
        max-width: 500px;
    }

    .section-description-span, .section-description-container h3 {
        font-size: 3.5rem;
    }

    .description h4 {
        text-align: left;
    }

    .description h3 {
        text-align: left;
        margin: 0 0 50px 0;
    }

    .button-arrow {
        display: flex;
        text-align: left;
        margin-left: 0;
    }

    .br-wrapper {
        display: none;
    }
}

 /* ACTIVITIES  */

 .activities-scroll {
    margin-bottom: 50px;
 }

 .activities, .activities-scroll {
    background-color: #E5DDD2;
    padding: 50px 0 50px 0;
 }

 .activities-container { 
    gap: 0;  
}

.section-activities-container h3 {
    font-size: 3rem;
}


@media (min-width: 730px) {
    .section-activities-container {
        max-width: 700px;
    }
    .section-activities-container h3 {
        max-width: 700px;
        font-size: 3.5rem;
    }
}



/* ACTIVITIES-SCROLL  */


 .activities-scroll-container {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    padding-bottom: 20px;
    margin-bottom: 50px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.activities-scroll-container::-webkit-scrollbar {
    height: 2px; /* Customize scrollbar height */
}

.activities-scroll-container::-webkit-scrollbar-thumb {
    background-color: #91713c; /* Color of the scrollbar */
    border-radius: 10px;
}

.work {
    /* border-radius: 10px; */
    min-width: 250px; /* Minimum width for each work item */
    flex: 0 0 auto; /* Prevent flex items from shrinking */
    position: relative;
    margin: 0 10px 20px 10px;
    /* align-items: center; */
    /* justify-content: space-between; */
   
    overflow: hidden;
}

.work img {
    width: 250px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 300px;
    height: 0;
    background: linear-gradient(rgba(229, 221, 210, 0.7), #E5DDD2); 
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 15px;
    text-align: center;
    /* font-size: 14px; */
    transition: height 0.5s;
}

.layer h3 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color:#8b6e47;
}

.layer a {
    margin-top: 20px;
    color:#81AEB9;
    text-decoration: none;
    font-size: 16px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.arrow-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color:#E5DDD2;
    opacity: 0.5
}

.fa-arrow-up {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: 2rem;  
    color: black;
}

.work:hover img{
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
    width: 100%;
}

.activities-large-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


.section-activities-container-img {
    position: relative;
 }
 
 .zapytaj-o-saune {
     position: absolute; 
     top: 10px;
     right: 15px;
     width: 90px;
     height: auto;
     cursor: pointer;
     transition: transform 0.5s;
 }
 
 .zapytaj-o-saune:hover {
     transform: scale(1.1);
 }

@media (max-width: 730px) {
    .activities-large-image-p-big {
        display: none;
    }
    
}

.activities-large-image img {
    max-width: 100%;
    height: auto;
    padding: 30px 10px 0 10px;
}

@media (min-width: 730px) {
    .activities-scroll-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .activities-large-image-p-small {
        display: none;
    }

    .zapytaj-o-saune {
        position: absolute; 
        top: 30px;
        right: 30px;
        width: 200px;
        height: auto;
        cursor: pointer;
        transition: transform 0.5s;
    }
}




/* REVIEWS  */

.reviews {
    margin-bottom: 80px;
}

.reviews h4 {
    text-align: center;
}

.reviews-slider {
    position: relative;
    display: flex;
    margin: 0 auto;
    padding-bottom: 100px;
    overflow: hidden;
    max-width: 100%;
    height: 400px;
    transition: transform 0.8s ease-in-out;
  }
  
  .reviews-slider p {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .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: #8b6e47;
    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: 400px;
       margin-bottom: 50px;
    }
    .reviews-slider p {
     
      font-size: 1.1em;
      line-height: 20px;
      font-style: italic;
      text-align:left;
     width: 280px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }

  @media (min-width: 730px) {
    h3.section-description {
       max-width: 400px;
    }
  }


  /* ROOMS-BOTTOM  */

  .rooms-bottom {
    margin: 80px 0 80px 0;
  }



/* FOOTER  */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #E5DDD2;
    padding-bottom: 30px;
   
}

.footer-container {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.footer-logo-img {
    display: grid;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    height: auto;
    margin: 80px 0 100px 0;
}

.zarezerwuj-pokoj-footer {
    bottom: 20px;
    right: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.zarezerwuj-pokoj-footer img {
    max-width: 180px;
        height: auto;
}

.contact a {
    text-decoration: none;
    color:#91713C;
}

.social {
    margin-top: 30px;
}

.facebook-item {
    max-width: 40px;
    border-radius: 50%;
    transition: transform 0.5s;
}

.facebook-item:hover {
    transform: scale(1.1);
}

.footer-menu-links {
    text-transform: uppercase;
}

@media (min-width: 630px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
        gap: 80px;
    }
    .zarezerwuj-pokoj-footer img {
        max-width: 200px;
            height: auto;
    }
}

@media (width: 360px) {
   .contact {
    padding-left: 10px;
   }
}

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

.made-by a {
    text-decoration: none;
    color:#91713C;
  }