@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
* {
    
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    overflow-x: hidden; 
    overflow-y: auto;
    height: 100vh;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

h3 {
    font-weight: 600;
}

.mainSection {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.secondSection {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    position: relative;
    width: 90%;
    height: 80vh;
    margin-top: 6rem;
    background: 
      linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%),
      url('../img/1757108526905.jpg') center/cover no-repeat;
    box-sizing: border-box;
    padding: 3%;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* półprzezroczysta nakładka */
    border-radius: 20px; /* dopasowane do hero */
    z-index: 0;
}

.hero .title,
.hero .action {
    position: relative; /* żeby były ponad overlay */
    z-index: 1;
}

.hero h1 {
    color: #fff;
    line-height: 1.5;
    font-size: 2rem;
    width: 50%;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* dodatkowy kontrast */
}

.hero p {
    color: #fff;
    margin: 6px 0;
    line-height: 1.5;
    font-size: 1rem;
    width: 50%;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.action {
    align-self: flex-end;
    bottom: 10px;
    right: 10px;
    color: white;
    padding: 10px;
    font-size: 2.5rem;
    background: rgba(32, 32, 32, 0.15); 
    border-radius: 20px;   
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out; 
}

.action a {
    color: #fff;
}

.action:hover {
    background: rgba(32, 32, 32, 0.5); 
    transform: scale(1.05);
}



@media (max-width: 768px) {
    .hero h1 {
        width: 80%;
    }

    .hero p {
        width: 80%;
    }
}

.wrapper {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.wrapperReverse {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 40px;
}


.houseDesc {
    width: 35vw;
} 
.houseDesc p {
    color: #333;
    margin: 10px;
    line-height: 1.5;
    font-size: 18px;
    width: 90%;
    
}

.carouselWrapper {
    display: flex;
    flex-direction: column;
}

.carousel {
    width: 35vw;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: auto;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

@media (max-width: 1000px) {
    .carousel {
        width: 85vw;
    }
    .houseDesc {
        width: 85vw;
    }
    .houseDesc p {
        width: 100%;
    }
}
.mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    
}

.mySlidesSauna {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    
}

.carousel img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.prevImg, .nextImg, .nextImgSauna, .prevImgSauna {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    margin-left: 16px;
    margin-right: 16px;
    user-select: none;
    border: 4px solid #fff;
    border-radius: 100px;
}
.nextImg, .nextImgSauna {
    right: 0;
    border: 4px solid #fff;
    border-radius: 100px;
}

.nextImg:hover, .prevImg:hover, .nextImgSauna:hover, .prevImgSauna:hover {
    background-color: rgba(0,0,0,0.8);
}



/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot, .dotSauna {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover, .dotSauna:hover {
    background-color: #717171;
}



.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


.container {
    width: 90%;
    max-width: 460px;
    background-color: white;

}

.middle {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

h2 {
    text-align: center;
}



.header-nav{
    display: flex;
    position: fixed;
    background-color: gainsboro;
    width: 100%; 
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.header-nav ul {
    margin: 0;
    padding: 4px;
    display: flex;
    list-style: none;
    align-items: center;
}

.header-nav li {
    position: relative;
    padding: 4px;
}

.custom-number-input {
    display: flex;
    align-items: center;
}

.custom-number-input button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    width: 30px;
    height: 30px;
}

.custom-number-input input {
    text-align: center;
    width: 60px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 16px;
}

.custom-number-input button:focus {
    outline: none;
}

.custom-number-input .decrement {
    margin-right: -1px; /* Usunięcie marginesu między przyciskiem a inputem */
}

.custom-number-input .increment {
    margin-left: -1px; /* Usunięcie marginesu między inputem a przyciskiem */
}

.buttonReserve {
    display: flex;
    align-items: center;
    justify-content: center;
}
.buttonReserve a {
    width: 90%;
    
    padding: 28px;
    text-align: center;
    font-family: inherit;
    font-size: 36px;
    color: #333;
    background-color: #4CAF50;
    border-radius: 12px;
    transition: background-color 0.2s;

}

.buttonReserve a:hover {
    background-color: #248a28;
    color: #333;
    text-decoration: solid;
}
.success {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 60%;
}
.success-container {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 20px;

}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    padding: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Fullscreen Viewer Styles */
.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-viewer.active {
    display: flex;
}

.viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
}

.viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.viewer-nav-prev {
    left: 10px;
}

.viewer-nav-next {
    right: 10px;
}

.viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.price-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    line-height: 1.6;
}

.price-container h2 {
    text-align: start;
}

.pricing-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}
.pricing-section {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.pricing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.special-dates {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
}
.special-date {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}
.special-date:last-child {
    border-bottom: none;
}
.spots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10rem;
}
.spots-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;

}

.spots-wrapper img {
    width: 500px;
    max-width: 100%; 
    padding: 0.5rem;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    
}
.spots-content {
    padding: 0.5rem;
    max-width: 500px;
}
.spots-content p {
    padding-bottom: 1rem;
    line-height: 2;
    font-size: 1.2rem;
}

.spots-content h1 {
    padding-bottom: 2rem;
    font-size: 2rem;
}
.spots-content a {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    
}

.spots-wrapper-reverse {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;

}

.spots-wrapper-reverse img {
    width: 500px;
    max-width: 100%; 
    padding: 0.5rem;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    
}