/* Overlay gelap */
.fasilitas-full-width-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Pengaturan Tinggi Padding */
.fasilitas-title-content {
    position: relative;
    z-index: 2;
    text-align: center;

    padding: 30px 15px; 
}

/* Khusus Desktop (Layar Lebar) */
@media (min-width: 992px) {
    .fasilitas-title-content {
        padding: 80px 15px; 
    }
    
    .fasilitas-title-content h1 {
        font-size: 2.5rem;
        margin-top: 10px;
    }
}

.fasilitas-title-content h5,
.fasilitas-title-content h1 {
    color: #fff !important;
    margin-bottom: 0;
}

.btn-container-custom .btn {
    min-width: 250px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Opsional: Jika di layar HP sangat kecil tombol ingin memenuhi lebar layar */
@media (max-width: 480px) {
    .btn-container-custom .btn {
        width: 100%;
        min-width: 100%;
    }
}
/* --- Desktop Mode --- */
@media (min-width: 992px) {
    .room-gallery-item-optimized {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        cursor: pointer;
        width: 100%;
        height: 220px;
    }

    .room-gallery-item-optimized img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
    }
}

/* Update CSS untuk efek Bayangan dan Hover */
.room-gallery-item-optimized {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); 
    transition: all 0.3s ease-in-out;
    background: #fff;
}

/* Efek saat kursor menyentuh gambar */
.room-gallery-item-optimized:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px); 
}

.room-gallery-item-optimized img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

/* --- Efek Overlay --- */
.room-gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 15px;
}

.room-gallery-item-optimized:hover .room-gallery-overlay {
    opacity: 1;
}

.room-gallery-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

.room-gallery-item-optimized:hover img {
    transform: scale(1.05);
}

/* Menaruh teks slider tepat di tengah gambar secara horizontal & vertikal */
.tm-slidertext {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; 
    text-align: center !important;
    width: 100% !important; 
    max-width: 1000px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5;
}

/* Memastikan teks h5 di dalamnya tidak memiliki margin kiri/kanan yang aneh */
.tm-slidertext h5 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Memastikan container slider memiliki posisi relatif */
.tm-slider {
    position: relative !important;
    overflow: hidden;
}