.carousel .carousel-inner .carousel-item {
    min-height: 60vh;
    min-height: 320px;
    /* fallback for very small devices */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel .carousel-inner .carousel-item:nth-child(1) {
    background-image: url('../img/webp/slider4.webp');
}

.carousel .carousel-inner .carousel-item:nth-child(2) {
    background-image: url('../img/webp/slider5.webp');
}

.carousel .carousel-inner .carousel-item:nth-child(3) {
    background-image: url('../img/webp/slider1.webp');
}

.carousel .carousel-inner .carousel-item:nth-child(4) {
    background-image: url('../img/webp/slider2.webp');

}



@media (max-width: 768px) {
    .carousel .carousel-inner .carousel-item {
        min-height: 40vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .room-card-img {
        height: 200px;
    }

    .amenities-list li {
        width: 100%;
        text-align: center;
    }
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}



.room-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;

}

.room-card:hover {
    transform: translateY(-5px);
}



.room-card-img-wrapper {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.room-card-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    width: 100%;
}

.room-card:hover .room-card-img {
    transform: scale(1.1);
}

.room-card-body {
    padding: 20px;
    text-align: center;
}

.room-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.room-card-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.amenities-section {
    background-color: #f8f9fa;
    padding-top: 80px;
    padding-bottom: 80px;
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.amenities-list li {
    width: 280px;
    margin: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
    /* Dodano, aby wskazywać klikalność */
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    /* Ustalona wysokość dla spójności */
    object-fit: cover;
    display: block;
    border-radius: 10px;
}