/* ==========================================================
   ROOM DETAIL - BAGIAN 3/5: DESKRIPSI, FASILITAS, BOOKING, FOOTER
   Dipecah dari css/room-detail.css. Urutan load = urutan angka (kaskade)
   ========================================================== */

/* =========================================================
   DESCRIPTION
========================================================= */

.room-detail-description {
    margin-top: 28px;
}

.room-detail-description h3,
.room-detail-facilities h3 {
    margin: 0 0 14px;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.room-detail-description > p {
    margin: 0;
    color: #66665d;
    font-size: 12px;
    line-height: 1.9;
}


/* =========================================================
   FACILITIES
========================================================= */

.room-detail-facilities {
    margin-top: 38px;
}

.room-facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.room-facilities-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #56574e;
    font-size: 11px;
}

.room-facilities-grid i,
.room-facilities-grid svg {
    width: 17px;
    height: 17px;
    color: #9a8567;
    stroke-width: 1.4;
    flex-shrink: 0;
}


/* =========================================================
   BOOKING PANEL
========================================================= */

.room-booking-panel {
    position: sticky;
    top: 24px;
    padding: 30px 26px;
    border: 1px solid #d8c7aa;
    background: #ffffff;
}

.room-booking-panel > .room-eyebrow {
    margin-bottom: 8px;
    text-align: center;
}

.room-booking-panel h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.room-booking-note {
    margin: 10px 0 22px;
    color: #77756b;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

#room-booking-form {
    display: flex;
    flex-direction: column;
}

#room-booking-form label {
    margin-bottom: 7px;
    color: #56574e;
    font-size: 10px;
}

#room-booking-form input,
#room-booking-form select {
    width: 100%;
    min-height: 40px;
    margin-bottom: 16px;
    padding: 9px 10px;
    border: 1px solid #d8c7aa;
    border-radius: 0;
    background: #ffffff;
    color: #36372f;
    font-family: var(--font-sans);
    font-size: 11px;
}

.room-booking-guests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.room-booking-guests > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#room-booking-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 12px;
    border: 0;
    background: #a58b64;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.25s ease;
}

#room-booking-form button:hover {
    background: #8d7858;
}

.room-booking-feedback {
    margin: 12px 0 0;
    color: #65705b;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   OTHER ROOMS
========================================================= */

.other-rooms {
    margin-top: 70px;
    padding-top: 34px;
    border-top: 1px solid #e9e5dc;
}

.other-rooms > h2 {
    margin: 0 0 24px;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
}

.other-rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 620px;
}

.other-room-card {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: #e8e0d2;
    color: #ffffff;
    text-decoration: none;
}

.other-room-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(0, 0, 0, 0.58) 100%
    );
    content: "";
}

.other-room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other-room-card:hover img {
    transform: scale(1.04);
}

.other-room-card span {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 1;
    font-family: var(--font-serif);
    font-size: 20px;
}


/* =========================================================
   FOOTER
========================================================= */

.room-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 8%;
    border-top: 1px solid #e9e5dc;
    color: #66665d;
    font-size: 10px;
}

.room-detail-footer a {
    color: #56574e;
    text-decoration: none;
}

.room-detail-footer a:hover {
    color: #8d7858;
}

.room-detail-footer p {
    margin: 0;
}


