/* Clean Reset & Body Guard */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Mencegah geser kanan-kiri */
}

main {
    display: block;
    width: 100%;
    overflow: hidden; /* Mencegah child element bocor keluar */
}

/* Hero Section */
.facility-hero-section {
    /* UBAH: dari 110vh menjadi 100vh atau 800px agar tidak mendorong kontener bawah secara berlebihan */
    min-height: 100vh;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

.facility-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.facility-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(26, 38, 32, 0) 30%, rgba(15, 23, 19, 0.9) 100%);
    pointer-events: none;
}

.facility-hero-section .container {
    z-index: 2;
    padding-bottom: 60px;
}

.facility-hero-title {
    font-family: var(--font-1);
    font-weight: 500;
    font-size: 64px;
    letter-spacing: -0.84px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 21px;
}

/* Detail items (Pool, Cafe, Meeting Room, Nature Walk) */
.facility-detail-wrapper {
    padding: 90px 0 0px;
    margin: 0;
}

.facility-detail-item {
    margin-bottom: 90px;
}

.facility-detail-item:last-child {
    margin-bottom: 0;
}

.facility-detail-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.facility-detail-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.facility-detail-img-side {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.facility-detail-title {
    font-family: var(--font-1);
    font-size: 28px;
    font-weight: 600;
    color: rgba(26, 38, 32, 1);
    margin-bottom: 14px;
}

.facility-detail-desc {
    font-family: var(--font-2);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(90, 90, 90, 1);
}

.facility-detail-label {
    display: block;
    font-family: var(--font-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(182, 136, 58, 1);
    margin-bottom: 6px;
}

.facility-detail-hours {
    font-family: var(--font-1);
    font-size: 20px;
    color: rgba(26, 38, 32, 1);
}

.facility-detail-hours-inline {
    font-family: var(--font-2);
    font-size: 14px;
    color: rgba(182, 136, 58, 1);
    margin-top: 18px;
}

.facility-detail-hours-inline i {
    color: rgba(182, 136, 58, 1);
}

/* Highlight banner (Pure Wellness) */
.facility-highlight-section {
    padding: 20px 0 90px;
}

.facility-highlight-box {
    background: rgba(26, 38, 32, 1);
    border-radius: var(--radius-md);
    padding: 70px 40px;
}

.facility-highlight-subtitle {
    display: inline-block;
    font-family: var(--font-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(182, 136, 58, 1);
    margin-bottom: 16px;
}

.facility-highlight-title {
    font-family: var(--font-1);
    font-size: 32px;
    font-weight: 600;
    color: rgba(246, 242, 233, 1);
    margin-bottom: 16px;
}

.facility-highlight-desc {
    font-family: var(--font-2);
    font-size: 15px;
    color: rgba(200, 197, 184, 1);
    max-width: 560px;
    margin: 0 auto;
}

/* CTA Section */
.facility-cta-section {
    padding: 60px 0 90px; /* Ditambahkan padding vertical yang jelas */
}

.facility-cta-title {
    font-family: var(--font-1);
    font-size: 30px;
    font-weight: 600;
    color: rgba(26, 38, 32, 1);
}

.facility-cta-btn {
    background: rgba(26, 38, 32, 1);
    color: rgba(246, 242, 233, 1);
    font-family: var(--font-2);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: 0;
    transition: all 200ms ease-in-out;
}

.facility-cta-btn:hover {
    background: rgba(182, 136, 58, 1);
    color: rgba(246, 242, 233, 1);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .facility-hero-section {
        min-height: 400px;
        padding-bottom: 32px;
    }

    .facility-hero-title {
        font-size: 28px;
    }

    .facility-detail-wrapper {
        padding: 40px 0 0px;
        margin: 0;
    }

    .facility-detail-item {
        margin-bottom: 50px;
    }

    .facility-detail-img,
    .facility-detail-img-side {
        height: 260px;
    }

    .facility-detail-title {
        font-size: 20px;
    }

    .facility-highlight-box {
        padding: 40px 20px;
        border-radius: 0;
    }

    .facility-highlight-title {
        font-size: 22px;
    }

    .facility-highlight-section {
        padding: 20px 0 50px;
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .facility-highlight-section .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }

    .facility-cta-section {
        padding: 40px 0 60px;
    }
}
