html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Mobile menu overlay styles are centralized.
   See: /public/frontend/css/mobile-menu-overlay.css
   Keep this file clean to avoid duplication/conflicts. */

/* Room category cards */
.room-category {
    background: #fffbe6;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 #c9a10022;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
    height: 100%;
    min-height: 0;
}

.room-image {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 90px;
    max-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.room-content {
    padding: 18px 18px 12px 18px;
    margin-top: auto;
    align-self: flex-start;
    background: var(--btn-1);
    color: #fff;
    justify-content: flex-start;
    z-index: 2;
    position: relative;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
    background: var(--btn-1);
    color: #fff;
.room-feature {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-btn {
    margin-top: auto;
    align-self: flex-start;
    background: linear-gradient(90deg, #c9a100 0%, #c9a100 100%);
    color: #222;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    box-shadow: 0 2px 8px 0 #c9a10044;
}

.room-btn:hover {
    background: #c9a100;
    color: #000;
}

/* Facilities */
.room__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    margin-bottom: 18px;
    align-items: center;
}

.facility__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    background: #fffbe6;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    box-shadow: 0 2px 8px #c9a10022;
    line-height: 1.2;
    transition: background 0.2s;
}

.facility__item i {
    font-size: 1.25rem;
    color: #c9a100;
    margin-right: 4px;
    vertical-align: middle;
}

.facility__label {
    font-weight: 600;
    color: #222;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .room__facilities {
        gap: 8px 10px;
    }

    .facility__item {
        font-size: 15px;
        padding: 8px 14px 8px 10px;
    }

    .facility__item i {
        font-size: 24px;
        margin-right: 4px;
    }

    .facility__label {
        font-size: 16px;
    }
}

/* Grid responsive */
@media (min-width: 1200px) {
    .room-category {
        min-height: 440px;
    }

    .room-image {
        min-height: 220px;
        max-height: 260px;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .room-category {
        min-height: 380px;
    }

    .room-image {
        min-height: 180px;
        max-height: 200px;
    }
}

@media (max-width: 991.98px) {
    .room-category {
        min-height: 0;
        height: auto;
    }

    .room-image {
        min-height: 120px;
        max-height: 160px;
    }

    .room-content {
        padding: 14px 10px 10px 10px;
    }
}

@media (max-width: 767.98px) {
    .room-category {
        margin-bottom: 18px;
        min-height: 0;
        height: auto;
        border-radius: 14px;
    }

    .room-image {
        min-height: 80px;
        max-height: 120px;
    }

    .room-content {
        padding: 10px 6px 8px 6px;
    }

    .room-content h3 {
        font-size: 17px;
    }

    .room-features {
        flex-direction: column;
        gap: 4px 0;
    }

    .room-feature {
        width: 100%;
        font-size: 13px;
    }

    .section__title {
        font-size: 22px;
        text-align: center;
    }

    .row.g-4 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .room-category {
        margin-left: 6px;
        margin-right: 6px;
    }

    .room-image {
        min-height: 60px;
        max-height: 90px;
    }

    .room-content {
        padding: 7px 2px 7px 2px;
    }

    .room-content h3 {
        font-size: 14px;
    }

    .room-size {
        font-size: 11px;
    }
}

/* Room Details: mobile tidy layout (match Rooms button behavior, scoped) */
@media (max-width: 767.98px) {
    .room-details-booking .room__meta {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center;
    }

    .room-details-booking .book-btn {
        width: min(240px, 100%) !important;
        max-width: min(240px, 100%) !important;
        min-width: 0 !important;
        display: inline-block !important;
        margin-top: 0.75rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* Responsive footer widgets */
@media (max-width: 767.98px) {
    .footer__widget__wrapper {
        flex-direction: column !important;
        gap: 24px;
    }

    .rts__widget {
        width: 100% !important;
        margin-bottom: 16px;
    }
}

/* Design tokens */
:root {
    --gold-start: #c9a100;
    --gold-mid: #c9a100;
    --gold-soft: #fffbe6;
    --gold-shadow: 0 2px 12px 0 #c9a10044;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-gold {
    background: linear-gradient(90deg, #c9a100 0%, #c9a100 100%);
}

.gradient-soft {
    background: linear-gradient(90deg, #fffbe6 0%, #fcffb2 100%);
}

.shadow-gold {
    box-shadow: 0 2px 12px 0 #c9a10044;
}

.rounded-b-lg {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.btn-gold {
    background: var(--btn-1);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 28px;
    box-shadow: 0 2px 12px 0 #c9a10044;
    transition: var(--transition);
}

.btn-gold:hover {
    filter: brightness(1.05);
}

/* Header Top */
.header-top-bar {
    background: linear-gradient(90deg, #c9a100 0%, #d2b48c 100%);
    color: #222;
    box-shadow: 0 2px 12px 0 #d2b48c;
}

/* Thumbs */
.room__thumb {
    cursor: pointer;
    opacity: 0.55;
    transition: var(--transition);
}

.room__thumb.active,
.room__thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.room__thumb img {
    border: 2px solid transparent;
    border-radius: 8px;
}

.room__thumb.active img {
    border-color: #c9a100;
}

/* Similar cards lazy fade */
.room-card-item {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility spacing */
.mb-12 {
    margin-bottom: 3rem !important;
}

.mt-30 {
    margin-top: 30px !important;
}

/* Room Details */
.room-hero {
    background: var(--gold-soft);
    padding: 40px 0;
}

.room-hero h1 {
    font-size: 34px;
    margin: 0 0 12px;
}

.room-spec {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.room-spec .item {
    font-size: 14px;
    color: #444;
}

.feature-badge {
    background: #c9a100;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

@media (max-width: 767.98px) {
    .room-hero {
        padding: 26px 0;
    }

    .room-hero h1 {
        font-size: 26px;
    }

    .banner__slider__image::before {
        background-color: transparent !important;
        /* Pakai !important agar pasti override */
    }
}

/* Prevent dropdown menu labels from wrapping on desktop */
@media (min-width: 768px) {
    .navigation__menu .dropdown-menu {
        min-width: 240px !important;
        max-width: 420px;
    }

    .navigation__menu .dropdown>a {
        white-space: nowrap;
    }

    .navigation__menu .dropdown-menu a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 95%;
    }

    .navigation__menu .menu-meeting-event {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Hamburger menu button always at the right on mobile */
@media (max-width: 991.98px) {
    #mobileMenuBtn {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        left: auto !important;
        z-index: 100100 !important;
        margin: 0 !important;
        background: #ffd000;
        border-radius: 12px;
        box-shadow: 0 2px 12px 0 #ffd70044;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: none;
    }
}

@media (max-width: 600px) {
    #mobileMenuBtn {
        top: 12px !important;
        right: 12px !important;
        padding: 8px !important;
    }
}


/* Prevent dropdown menu labels from wrapping on desktop */
@media (min-width: 768px) {
    .navigation__menu .dropdown-menu {
        min-width: 240px !important;
        max-width: 420px;
    }

    .navigation__menu .dropdown>a {
        white-space: nowrap;
    }

    .navigation__menu .dropdown-menu a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 95%;
    }

    .navigation__menu .menu-meeting-event {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}