.img-box1 {
    width: 75%;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/graphics/system/pagebg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader__icon img {
    width: 120px;
    /* adjust if needed */
    height: auto;
}

.preloader__icon img {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.header-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: #1a1a1a;
    z-index: 1000;
}

.header-menu.is-menu-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.header-menu.is-menu-active+.mobile-overlay {
    display: block;
}

.header-menu__content {
    height: 100%;
    overflow-y: auto;
}

.mobile-menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-icon::before {
    top: -8px;
}

.mobile-menu-icon::after {
    bottom: -8px;
}

/* New styles for large screens */
@media (min-width: 992px) {
    .header-menu {
        visibility: visible;
        opacity: 1;
        transform: none;
        position: static;
        width: auto;
        background: none;
        display: flex;
        align-items: center;
    }

    .header-menu__content {
        height: auto;
        overflow-y: visible;
    }

    .menu__nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .menu__nav li {
        margin-right: 20px;
    }

    .mobile-overlay {
        display: none !important;
    }

    .js-mobile-menu-toggle {
        display: none;
    }

    .mobile-footer {
        display: none;
    }
}

/* ===== Hotel image + badge ===== */
.hotel-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* keeps badge corners rounded with image */
    isolation: isolate;
    /* ensures z-index works predictably */
}

.hotel-card__img {
    display: block;
    width: 100%;
    height: 253px;
    /* match your current height */
    object-fit: cover;
}

/* Pill badge */
.hotel-card__badge {
    --pad: 12px;
    /* control corner offset */
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.82);
    /* strong contrast on bright images */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: saturate(160%) blur(6px);
    /* graceful on modern browsers */
    -webkit-backdrop-filter: saturate(160%) blur(6px);
}

/* Corner positions */
.hotel-card__badge--tl {
    top: var(--pad);
    left: var(--pad);
}

.hotel-card__badge--tr {
    top: var(--pad);
    right: var(--pad);
}

/* Star icons inside the badge */
.hotel-card__badge .star {
    color: #fff;
    /* force white stars */
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    /* extra legibility */
}

/* Optional: numeric label (e.g., 4.5) */
.hotel-card__badge .rating-text {
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    opacity: .95;
}

/* Small screens: tighten spacing slightly */
@media (max-width: 480px) {
    .hotel-card__badge {
        padding: 5px 8px;
        gap: 4px;
    }

    .hotel-card__badge .star {
        font-size: 14px;
    }
}

/* (Optional) If your global styles color <i> tags, neutralize here */
.hotel-card__badge i {
    color: inherit !important;
}


/* Custom CSS DO NOT CHANGE ANYTHING BELOW*/

/* Overlay: full-screen, centered */
/* Overlay (dark background layer) */
.guest-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* sits behind popup */
}

.guest-popup-overlay.is-active {
    display: block;
}

/* Guest Popup Modal (white box) */
.guest-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1000;

    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.guest-popup.is-active {
    display: block;
}

/* Modal panel */
.guest-modal {
    width: min(600px, 100%);
    /* responsive width */
    max-height: 90vh;
    /* always fits viewport */
    overflow: auto;
    /* scroll content if needed */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 20px;
}

/* Room section */
.room-section {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 12px;
}

.room-section h5 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

/* 2-column grid */
.room-section .row,
.child-ages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.col-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

@media (max-width: 480px) {
    .col-6 {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Form controls */
.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Buttons */
.btn-add-room,
.btn-remove-room,
.btn-cancel,
.btn-save {
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid #d0d7de;
    background: #fff;
    font-size: 14px;
}

.btn-add-room {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    margin: 10px 0 16px;
}

.btn-add-room:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.btn-remove-room {
    color: #dc3545;
    border-color: #f1c0bf;
    margin-top: 8px;
}

.btn-remove-room:hover {
    background: #f8d7da;
}

.popup-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-save {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn-save:hover {
    background: #218838;
    border-color: #218838;
}

.btn-cancel {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-cancel:hover {
    background: #b52a37;
    border-color: #b52a37;
}
