/* General Styles */
body {
    font-family: 'Bw Mitga', 'Gilroy', sans-serif;
}

.nvo-rooms-wrap {
    max-width: 1211px;
    margin: 0 auto;
    padding: 30px;
}

.nvo-rooms-wrap h1 {
    font-size: 32px;
    color: #231f20;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Filter Section */
.nvo-rooms-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.nvo-rooms-filters > div {
    flex: 0 0 auto;
}

.nvo-rooms-filters label {
    font-size: 14px;
    color: #666666;
    font-weight: bold;
    margin-right: 10px;
}

.nvo-rooms-filters select,
.nvo-rooms-filters input {
    font-family: 'Bw Mitga', 'Gilroy', sans-serif;
    padding: 10px;
    font-size: 16px;
    color: #333333;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    height: 42px;
    line-height: 42px;
    margin-right: 10px;
}

.nvo-rooms-filters button {
    font-family: 'Bw Mitga', 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #231f20;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    height: 42px;
    line-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.nvo-rooms-filters button:hover {
    background-color: #3fcab1;
}

/* Room List Section */
.nvo-rooms-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.nvo-room {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nvo-room:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nvo-room-image {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.nvo-room-image-inner {
    width: 100%;
    padding-bottom: 66.67%; /* This creates a 3:2 aspect ratio */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.nvo-room:hover .nvo-room-image-inner {
    transform: scale(1.05);
}

.nvo-room img {
    width: 100%;
    height: auto;
    margin-bottom: -7px;
}

.nvo-room img.fallback {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: #f0f0f0;
}

.nvo-room-title h3 {
    font-size: 22px;
    color: #231f20;
    font-weight: bold;
    margin-bottom: 15px;
}

.nvo-room a.button {
    display: inline-block;
    font-family: 'Bw Mitga', 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #231f20;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nvo-room a.button:hover {
    background-color: #3fcab1;
}

.nvo-room-title h3 {
    font-size: 1.2em;
    margin: 0;
}

.nvo-pagination {
    text-align: center;
    margin: 30px 0;
    clear: both;
    width: 100%;
    display: block;
}

.nvo-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
}

.nvo-pagination .page-numbers.current {
    color: #3fcab1;
    font-weight: bold;
}

.nvo-pagination a.page-numbers:hover {
    color: #3fcab1;
}

.nvo-pagination .prev,
.nvo-pagination .next {
    margin: 0 10px;
}

.nvo-room-title {
    margin-bottom: 20px;
}

/* Pagination Styles */
.nvo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    gap: 5px;
    padding: 10px 0;
}

.nvo-pagination .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #231f20;
    transition: all 0.3s ease;
}

.nvo-pagination .page-number:hover {
    background-color: #f5f5f5;
    border-color: #231f20;
}

.nvo-pagination .page-number.active {
    background-color: #231f20;
    border-color: #231f20;
    color: white;
    cursor: default;
}

.nvo-pagination .prev,
.nvo-pagination .next {
    font-weight: bold;
}