/* ==========================================================================
   Rooms Overview Page Specific Styles (True Edge-to-Edge & Light Theme)
   Criss-Cross Alternating Layout & Mobile Responsive Edition
   ================================================================---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4a4a4a;
}

p {
    line-height: 1.9;
    text-align: justify;
}

/* 1. Header & Mobile Navigation (Menu Button on Right) */
header {
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 2.2rem;
    color: #2c4c3b;
    cursor: pointer;
    user-select: none;
    order: 2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #2c4c3b;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover, 
.nav-menu li a.active {
    color: #c59b6d;
}

/* 2. Edge-to-Edge Wrapper */
.room-edge-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 60px 5%;
    margin: 0;
    box-sizing: border-box;
    flex: 1; 
}

.bg-light-alt {
    background-color: #f9fbf9;
}

/* 3. Page Specific Hero Banner */
.rooms-hero {
    background: linear-gradient(135deg, rgba(10, 25, 15, 0.7), rgba(44, 76, 59, 0.8)), 
                url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL4Ewc5xWofpeYl_wRJh7JSigXwcnSKdjCQncjZILavj8OQrkiTON2GonmEtmT1Jh3QuqBcPW5oIMccydCRYjWsPfHrDFhQQ_ylT7mI1u3hAWM2Toh3Vss0X19DGMG7RhTfLB28ALkeRe7-rRlLj2_0MLjYRIjpzyChC5hu8yjHEDlOg2XSPVNJw-WGs7R/s1600/1000307034.png') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.rooms-hero .room-edge-wrapper {
    padding: 100px 5%;
    flex: none;
}

.rooms-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rooms-hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* 4. Section Headers */
.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h3 {
    color: #c59b6d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.section-header-center h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c4c3b;
    margin-bottom: 20px;
}

.section-header-center p {
    color: #666;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 5. Criss-Cross Alternating Room Cards */
.rooms-container {
    max-width: 1400px;
    margin: 0 auto 80px auto;
}

.room-detail-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 450px 1fr; /* Image Left, Content Right */
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 76, 59, 0.08);
}

/* Criss-Cross Magic: Reverse layout for EVEN cards (Content Left, Image Right)[cite: 30] */
.room-detail-card:nth-child(even) {
    grid-template-columns: 1fr 450px; 
}

.room-detail-card:nth-child(even) .room-detail-img {
    order: 2; 
}

.room-detail-card:nth-child(even) .room-detail-info {
    order: 1; 
}

.room-detail-img {
    width: 100%;
    height: 100%;
    display: flex;
}

.room-detail-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-detail-card:hover .room-detail-img img {
    transform: scale(1.05);
}

.room-detail-info {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-detail-info h3 {
    color: #2c4c3b;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.room-meta {
    font-size: 1.2rem;
    color: #c59b6d;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.room-detail-info p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.room-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    list-style: none;
    padding: 0;
}

.room-amenities-list li {
    background: #f9fbf9;
    color: #2c4c3b;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(44, 76, 59, 0.1);
}

/* 6. Action Buttons Container */
.room-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: auto;
}

.room-card-actions .btn {
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.room-card-actions .btn:hover {
    transform: translateY(-2px);
}

.btn-details {
    background: #2c4c3b;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(44, 76, 59, 0.2);
}

.btn-details:hover {
    background: #1e3629;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #1ebd56;
}

.btn-call {
    background: #ffffff;
    color: #2c4c3b;
    border: 2px solid #2c4c3b;
}

.btn-call:hover {
    background: #2c4c3b;
    color: #ffffff;
}

/* 7. Comparison Table Section */
.comparison-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.room-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.room-comparison-table th, .room-comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.room-comparison-table th {
    background-color: #f9fbf9;
    color: #2c4c3b;
    font-weight: 800;
    font-size: 1.1rem;
}

.room-comparison-table td {
    color: #555;
    font-size: 1.05rem;
}

.room-comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: #c59b6d;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 8. Footer */
footer {
    background-color: #f4f6f4;
    color: #666;
    text-align: center;
    border-top: 4px solid #c59b6d;
    width: 100%;
}

footer .room-edge-wrapper {
    padding: 40px 5%;
    flex: none;
}

/* 9. Responsive Adjustments */
@media (max-width: 1100px) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        max-height: 400px;
        padding: 20px 0;
    }

    .room-detail-card, .room-detail-card:nth-child(even) {
        grid-template-columns: 1fr; 
    }
    
    .room-detail-card:nth-child(even) .room-detail-img {
        order: 1; 
    }
    
    .room-detail-card:nth-child(even) .room-detail-info {
        order: 2; 
    }

    .room-detail-img img {
        aspect-ratio: 16 / 9; 
    }
}

@media (max-width: 600px) {
    .room-card-actions {
        flex-direction: column;
    }
    .room-card-actions .btn {
        width: 100%;
    }
}