.bedroom-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.bedroom-carousel-section {
    width: 760px;
    flex-shrink: 0;
}

.bedroom-carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.bedroom-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: max-content;
}

.bedroom-gallery-item {
    flex-shrink: 0;
    text-align: center;
}

.bedroom-image {
    width: 100%;
    max-width: 760px;
    height: 640px;
    object-fit: cover;
}

.bedroom-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 30px;
    margin-top: 2rem;
}

.bedroom-description {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #0B1427;
    margin-top: 1rem;
    max-width: 760px;
}

.bedroom-title span{
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 26px;
}

.bedroom-nav {
    display: flex;
    margin-top: 1rem;
    gap: 1.5rem;
}

.bedroom-prev-btn,
.bedroom-next-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bedroom-prev-btn img,
.bedroom-next-btn img {
    width: 24px;
}

/* Responsive Styles */

@media (max-width: 1024px) {
    .bedroom-carousel-section {
        width: 100%;
    }

    .bedroom-carousel-track {
        width: 100%;
    }

    .bedroom-image {
        max-width: 1024px;
        height: 500px;
    }

    .bedroom-description {
        font-size: 20px;
    }

    .bedroom-nav {
        gap: 1rem;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .bedroom-grid {
        gap: 4rem;
    }

    .bedroom-carousel-track {
        width: 100%;
    }

    .bedroom-image {
        max-width: 700px;
        height: 380px;
    }

    .bedroom-title {
        font-size: 32px;
        margin-top: 1rem;
        text-align: center;
    }

    .bedroom-description {
        font-size: 18px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .bedroom-prev-btn img,
    .bedroom-next-btn img {
        width: 20px;
    }

    .bedroom-nav {
        gap: 1rem;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .bedroom-grid {
        gap: 4rem;
    }

    .bedroom-carousel-track {
        width: 100%;
    }

    .bedroom-image {
        max-width: 400px;
        height: 260px;
    }

    .bedroom-title {
        font-size: 26px;
        margin-top: 1rem;
    }

    .bedroom-description {
        font-size: 16px;
    }

    .bedroom-nav {
        gap: 1rem;
        justify-content: space-around;
    }
}