﻿/* Rooms Page Styles */
.rooms-hero {
    height: 50vh;
    background: linear-gradient(rgba(26, 42, 58, 0.7), rgba(26, 42, 58, 0.7)), url('/images/gallery8.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .rooms-hero h1 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    }

    .rooms-hero p {
        font-size: 1.5rem;
        margin-bottom: 30px;
        padding: 15px 20px;
        border: 1px solid var(--light-color);
        border-radius: 10px;
        letter-spacing: 1px;
        font-family: "Courgette", cursive;
    }

.room-types {
    padding: 50px 0;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.5rem;
        color: #1a2a3a;
        margin-bottom: 15px;
    }

    .section-header p {
        color: #777;
        font-size: 1.2rem;
    }

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.room-card {
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    height: auto;
    min-height: 450px;
    perspective: 1000px;
}

.room-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    transform-origin: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

    .room-card-inner.flipped {
        transform: rotateY(180deg);
    }

.room-card-front, .room-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.room-card-front {
    background-color: white;
    color: #1a2a3a;
    display: flex;
    flex-direction: column;
}

.room-card-back {
    background-color: var(--secondary-color);
    color: white;
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

    .room-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: beige;
}

    .room-info h3 {
        color: #1a2a3a;
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9rem;
}

    .room-meta i {
        margin-right: 5px;
        color: var(--secondary-color);
    }

.room-card-back h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.room-card-back p {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.room-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .room-features li {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .room-features i {
        color: #c19a6b;
        margin-right: 10px;
    }

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c19a6b;
    margin: 15px 0;
}

.room-card-back .price {
    color: white;
}

.btn-book {
    background-color: #c19a6b;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
}

    .btn-book:hover {
        background-color: #a58259;
        color: white;
    }

.room-card-back .btn-book {
    background-color: white;
    color: #1a2a3a;
    margin-top: auto;
}

    .room-card-back .btn-book:hover {
        background-color: #f0f0f0;
        color: #1a2a3a;
    }

/* Room Amenities Section */
.room-amenities {
    padding: 50px 0;
    background-color: var(--light-color);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.amenity-item {
    text-align: center;
    padding: 30px 15px;
    background-color: #a6c2cb;
    border-radius: 17%;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
}

    .amenity-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.amenity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(193, 154, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-icon {
    background-color: var(--primary-color);
}

.amenity-icon i {
    font-size: 28px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-icon i {
    color: white;
}

.amenity-item h3 {
    margin-bottom: 10px;
    color: #1a2a3a;
    font-size: 1.1rem;
}

.amenity-item p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Slick slider styles */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: rgba(193, 154, 107, 0.8);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

    .slick-prev:hover, .slick-next:hover {
        background-color: #1a2a3a;
    }

.slick-prev {
    left: 15px;
}

.slick-next {
    right: 15px;
}

    .slick-prev::before, .slick-next::before {
        display: none;
    }

    .slick-prev i, .slick-next i {
        color: white;
        font-size: 18px;
    }

.slick-dots {
    bottom: 10px;
}

    .slick-dots li button::before {
        font-size: 8px;
        color: white;
        opacity: 0.5;
    }

    .slick-dots li.slick-active button::before {
        color: #c19a6b;
        opacity: 1;
    }

/* Responsive Styles */
@media (max-width: 991.98px) {
    .rooms-hero h1 {
        font-size: 3.5rem;
    }

    .rooms-hero p {
        font-size: 1.3rem;
    }

    .room-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .room-image {
        height: 200px;
    }

    .room-card {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .rooms-hero {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll;
    }

        .rooms-hero h1 {
            font-size: 2.8rem;
        }

        .rooms-hero p {
            font-size: 1.1rem;
        }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .room-card {
        min-height: 0;
        height: auto;
        perspective: none;
    }

    .room-card-inner {
        height: auto;
        min-height: 400px;
        transform-style: initial;
        transition: none;
    }

        .room-card-inner.flipped {
            transform: none;
        }

    .room-card-front, .room-card-back {
        position: relative;
        height: auto;
        min-height: 400px;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        transform: none;
    }

    .room-card-inner.flipped .room-card-front {
        display: none;
    }

    .room-card-inner:not(.flipped) .room-card-back {
        display: none;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .rooms-hero h1 {
        font-size: 2.2rem;
    }

    .rooms-hero p {
        font-size: 1rem;
    }

    .room-image {
        height: 180px;
    }

    .room-card-inner {
        min-height: 380px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .offer-slider {
        margin: 30px -10px 0;
    }

    .offer-slide {
        padding: 0 5px;
    }
}
