/* ==========================================================================
   HOTEL DARSHAN - LUXURY ROOMS PAGE (ULTRA-SMOOTH 60FPS STYLESHEET)
   ========================================================================== */

/* Hardware Accelerated Rendering & Native Smooth Scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8F6F0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transform: translateZ(0); /* Enable GPU composite layer */
}

/* 1. Compact Hero Section */
.darshan-rooms-hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0A1926;
    color: #FFFDF8;
    padding: 7.5rem 1.5rem 3.5rem;
    text-align: center;
}

.rooms-hero-container {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rooms-breadcrumb {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.rooms-breadcrumb a {
    color: #E5C158;
    text-decoration: none;
}

.bc-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

.bc-active {
    color: #FFFDF8;
}

.rooms-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem;
    background: rgba(229, 193, 88, 0.15);
    border: 1px solid rgba(229, 193, 88, 0.35);
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #E5C158;
}

.rooms-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.75rem 0;
    color: #FFFDF8;
}

.rooms-hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #CBD5E1;
    max-width: 580px;
    margin: 0 auto;
}

/* 2. Room Listing Section */
.darshan-rooms-list-section {
    padding: 3.5rem 0;
    background: #F8F6F0;
}

.rooms-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 3. Lightweight Room Horizontal Cards (No Heavy Shadows/Filters) */
.room-card-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: #FFFFFF;
    border: 1px solid #E5DCCB;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.room-card-horizontal:hover {
    border-color: #E5C158;
    transform: translateY(-2px);
}

.amenity-pill {
    background: #F1EBE1;
    color: #342A22;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 4. Lightweight Modal Dialog */
.room-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.room-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 38, 0.8);
}

.modal-card {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    background: #FFFDF8;
    border-radius: 1.25rem;
    padding: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #342A22;
}

@media (max-width: 768px) {
    .darshan-rooms-hero {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
        min-height: 280px;
    }
    .room-card-horizontal {
        flex-direction: column;
    }
}