/* ==========================================================
   ROOM DETAIL - BAGIAN 2/5: INTRO, META, GALERI FOTO
   Dipecah dari css/room-detail.css. Urutan load = urutan angka (kaskade)
   ========================================================== */

/* =========================================================
   MAIN CONTAINER
========================================================= */

.room-detail-main {
    width: min(1120px, 84%);
    margin: 0 auto;
    padding: 48px 0 90px;
}


/* =========================================================
   ROOM INTRO
========================================================= */

.room-detail-intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.room-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #8a795d;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.7;
    text-transform: uppercase;
}

.room-detail-heading h2 {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.room-detail-heading h2 em {
    font-weight: 400;
}

.room-detail-heading > p {
    max-width: 720px;
    margin: 0;
    color: #66665d;
    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   ROOM META
========================================================= */

.room-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e9e5dc;
}

.room-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #56574e;
    font-size: 10px;
    white-space: nowrap;
}

.room-detail-meta i,
.room-detail-meta svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.4;
    flex-shrink: 0;
}


/* =========================================================
   GALLERY + BOOKING LAYOUT
========================================================= */

.room-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 34px;
}

.room-detail-left {
    min-width: 0;
}



/* =========================================================
   PHOTO GALLERY
========================================================= */

.room-detail-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
}

.room-gallery-main {
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #eee9df;
}

.room-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.room-gallery-main:hover img {
    transform: scale(1.025);
}


.room-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

/* Deluxe Room: 6 foto = 3 kolom x 2 baris */
.room-gallery-thumbnails--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.room-gallery-thumb {
    display: block;
    width: 100%;
    height: 110px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background: #eee9df;
    cursor: pointer;
    opacity: 0.78;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.room-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-gallery-thumb:hover,
.room-gallery-thumb.is-active {
    opacity: 1;
    border-color: #a58b64;
}




