html, body {
    padding: 0;
    margin: 0;
    background: #FFF;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden; /* Mencegah scroll horizontal & white space */
}

body button,
.btn,
body a {
    transition: 0.5s all;
}

body a:hover {
    opacity: .8;
    text-decoration: none;
}

h1{
	font-size: 25pt;
}
.judulh1{
	padding-top: 30px;
    margin-bottom: 30px; /* Jarak tambahan */
	text-align: center;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    letter-spacing: px;
    line-height: 1.9;
    color: #999;
}

ul, ol {
    margin: 0;
    padding: 0;
}

/* -- Global Styles End -- */

.text-bl { color: #343a40; text-align: center; }
.text-wh { color: #fff; }
.bg-li { background: #f8f9fa; }
.text-colors { color: #db0008; }
.let-spa { letter-spacing: 1px; }

/* -- Header -- */
.header-top_w3layouts p {
    font-size: 12.9px;
	font-kerning: auto;
}
.top-right-info li.soci-effe {
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
    transition: 0.5s all;
}
.top-right-info li.facebook { background: #3b5998; }
.top-right-info li.google-plus { background: #F44336; }
.top-right-info li.dribbble { background: #ea4c89; }
.top-right-info li { display: inline-block; }
.top-right-info span { color: #fff; line-height: 2.2; font-size: 14px; }

/* -- Navigation -- */
.toggle, [id^=drop] { display: none; }
nav ul { float: right; padding: 0; margin: 0; list-style: none; position: relative; }
nav ul li { margin: 0px; display: inline-block; float: left; }
nav a { margin: 0 12px; color: #000; font-size: 13px; letter-spacing: 1px; font-weight: 400; text-transform: uppercase; }
nav a:hover { color: #db0008; font-size: 12pt; }
nav ul ul { display: none; position: absolute; top: 25px; background: #fff; padding: 10px; border-radius: 4px; z-index: 999; border: 1px solid rgba(0, 0, 0, 0.15); }
nav ul li:hover>ul { display: inherit; }
nav ul ul li { width: 170px; float: none; display: list-item; position: relative; }
nav ul ul li a { display: block; margin: 10px; }

/* -- Logo and Button -- */
a.navbar-brand { font-size: 34px; padding: 0; font-weight: bold; color: #db0008; }
a.login-button-2 { letter-spacing: 1px; font-size: 14px; background: #db0008; padding: 12px 20px; display: inline-block; border-radius: 4px; font-weight: 600; margin-top: 10px; }
a.login-button-2:hover { color: #fff; }

/* -- Banner Slider -- */
.st-slider { position: relative; }
.images { overflow: hidden; width: 100%; }
.images-inner { width: 500%; transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); }
.image-slide { width: 20%; float: left; }


/* Banner Slider Navigation Dots (Bullets) */
.st-slider > .labels {
    text-align: center;
    padding: 15px 0;
}
.st-slider > .labels .fake-radio {
    display: inline-block;
}
.st-slider > .labels .radio-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.st-slider > .labels .radio-btn:hover {
    background: #999;
}
/* Active dot logic */
.st-slider>#play1:checked~.labels .radio-btn[for="slide1"],
.st-slider>#slide1:checked~.labels .radio-btn[for="slide1"],
.st-slider>#slide2:checked~.labels .radio-btn[for="slide2"],
.st-slider>#slide3:checked~.labels .radio-btn[for="slide3"],
.st-slider>#slide4:checked~.labels .radio-btn[for="slide4"] {
    background: #db0008;
}

/* Perbaikan untuk menyembunyikan input radio & membuat tombol berfungsi */

/* 1. Pastikan input radio (elemen asli) selalu tersembunyi */
.st-slider > .radio {
    display: none;
}

/* 2. Hentikan animasi autoplay & atur posisi slide saat tombol diklik */
.st-slider>#slide1:checked~.images .images-inner,
.st-slider>#slide2:checked~.images .images-inner,
.st-slider>#slide3:checked~.images .images-inner,
.st-slider>#slide4:checked~.images .images-inner {
    animation: none; /* Menghentikan animasi putar otomatis */
}

.st-slider>#slide1:checked~.images .images-inner {
    margin-left: 0;
}
.st-slider>#slide2:checked~.images .images-inner {
    margin-left: -100%;
}
.st-slider>#slide3:checked~.images .images-inner {
    margin-left: -200%;
}
.st-slider>#slide4:checked~.images .images-inner {
    margin-left: -300%;
}

@keyframes slide {
    0%, 25.2% { margin-left: 0; }
    33.3%, 58.5% { margin-left: -100%; }
    66.6%, 91.8% { margin-left: -200%; }
}
.st-slider>#play1:checked~.images .images-inner { animation: slide 12300ms infinite; }
.banner-w3ls-1, .banner-w3ls-2, .banner-w3ls-3, .banner-w3ls-4 { min-height: 40vw; background-size: cover; background-position: center; }
.banner-w3ls-1 { background-image: url(../images/1.jpg); }
.banner-w3ls-2 { background-image: url(../images/2.jpg); }
.banner-w3ls-3 { background-image: url(../images/3.jpg); }
.banner-w3ls-4 { background-image: url(../images/1.jpg); }

/*-- Booking Form Section --*/
.booking-form-section { padding: 1em 0; position: relative; z-index: 10; }
.booking-form-wrapper { background: #ffffff; padding: 2.5em; border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); max-width: 1100px; margin: 0 auto; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.booking-form-wrapper:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); }
.booking-form-wrapper h3 { font-weight: 700; color: #333; }
.booking-form-wrapper .form-group label { font-weight: 600; color: #555; }
.booking-form-wrapper .form-control { border-radius: 5px; border: 1px solid #ddd; padding: 10px; transition: border-color 0.3s ease; }
.booking-form-wrapper .form-control:focus { border-color: #db0008; box-shadow: 0 0 5px rgba(219, 0, 8, 0.2); }
.booking-form-wrapper .btn-primary { background-color: #db0008; border-color: #db0008; padding: 10px; font-weight: 600; width: 100%; transition: background-color 0.3s ease, transform 0.3s ease; }
.booking-form-wrapper .btn-primary:hover { background-color: #b80007; transform: scale(1.05); }
#whatsapp-links .btn-success { background-color: #25D366; border-color: #25D366; margin-bottom: 10px; }
#whatsapp-links .btn-success:hover { background-color: #1DA851; }

/*-- Banner Bottom Grids --*/
.about-in .serv-cont-wthree { background: #fff; box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06); border-radius: 4px; padding: 2.5em 2em; }
.about-in .icon-wthrees span { font-size: 40px; color: #E50003; line-height: 60px; }
.about-in h5.card-title { font-size: 22px; letter-spacing: 1px; }
p.card-text { font-size: 15px; }

/*-- About --*/
.abou-right-w3layuts h3 { color: #000; letter-spacing: 1px; line-height: 1.4; }

/*-- Testimonials --*/
.teams {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(184, 1, 10, 0.85), rgba(106, 0, 5, 0.9)), url(../images/bg1.jpg);
    background-attachment: fixed; /* Parallax Effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.teams h3.title-w3ls { color: #fff; }
h3.title-w3ls { font-size: 38px; font-weight: 600; color: #000; }

.teams .owl-item {
    display: flex; /* Untuk tinggi yang sama */
    align-items: stretch;
}
.team-gd {
    padding: 2em;
    background: #fff;
    height: 100%; /* Untuk tinggi yang sama */
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}
.team-gd img { border-radius: 50%; width: 120px !important; height: 120px; object-fit: cover; margin: 0 auto; }
.team-info { flex-grow: 1; display: flex; flex-direction: column; }
.team-info .message { flex-grow: 1; }
.team-info h3 { font-size: 20px; font-weight: bold; color: #262631; }
.sub-tittle-team { font-size: 11px; color: #db0008; letter-spacing: 2px; display: block; margin-bottom: 2px; text-transform: uppercase; }

/* Modern Owl Carousel Arrows */
.teams .owl-nav {
    margin: 0;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none; /* Only children are clickable */
}
.teams .owl-nav .owl-prev,
.teams .owl-nav .owl-next {
    position: absolute;
    pointer-events: all;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: transparent !important;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    cursor: pointer;
}
.teams .owl-nav .owl-prev:hover,
.teams .owl-nav .owl-next:hover {
    background: #db0008 !important;
}
.teams .owl-nav .owl-prev {
    left: -75px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}
.teams .owl-nav .owl-next {
    right: -75px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.teams .owl-dots { margin-top: 25px; text-align: center; }
.teams .owl-dots .owl-dot span { background: #fff !important; opacity: 0.6; }
.teams .owl-dots .owl-dot.active span { background: #db0008 !important; opacity: 1; }

/*-- Blog --*/
.blog .card-body { padding: 2rem; }
.card-header { overflow: hidden; }
span.post-icon { position: absolute; width: 50px; height: 50px; line-height: 41px; text-align: center; font-size: 1.2em; border-radius: 50%; bottom: -24px; color: #fff; right: 10px; border: 5px solid #fff; background: #db0008; }
h5.blog-title a { color: #343a40; }

/*-- Who We Are / Our Rooms --*/
.who-left-w3pvt {
    background: url(../images/bg2.jpg) no-repeat top right;
    background-size: 85%;
}
.who-left-w3pvt-2 {
    background: url(../images/bg3.jpg) no-repeat bottom left;
    background-size: 85%;
}
.w3layouts-bgs, .w3layouts-bgs-2 { padding: 4em 6em; }
#what .text-center, #what .text-xl-right { overflow: hidden; }
#what .services-box {
    margin-top: 4rem !important;
}


.service-content { padding-right: 25px;}
.service-content h4 { font-size: 22px; font-weight: 600; color: #333; margin-bottom: .8em; }
.service-content p.serp { font-size: 18px; }
h3.title-w3ls-2 { font-size: 36px; letter-spacing: .5px; }

.special-text {
    font-size: 1.1em;
    font-style: italic;
}

/*-- Gallery --*/
.gallery-grid1 { overflow: hidden; }
.gallery-grid1 img { transition: 0.5s all; padding: 12px 10px; }
.gallery-grid1:hover img { box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .3); }
.pop-overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); visibility: hidden; opacity: 0; z-index: 9999; }
.pop-overlay:target { visibility: visible; opacity: 1; }
.popup { background: #fff; border-radius: 4px; max-width: 550px; position: relative; margin: 8em auto; padding: 3em 2em 2em; }
.popup .close { position: absolute; top: 5px; right: 15px; font-size: 30px; font-weight: bold; text-decoration: none; color: #000; }
.popup .close:hover { color: #db0008; }


.main_grid_contact {
    -webkit-box-shadow: 0px 0px 15.69px 3.31px rgba(204, 204, 223, 0.44);
    -moz-box-shadow: 0px 0px 15.69px 3.31px rgba(204, 204, 223, 0.44);
    box-shadow: 0px 0px 15.69px 3.31px rgba(204, 204, 223, 0.44);
}
/*-- Contact Map --*/
.map {
    height: 562px;
}
.map iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/*-- Support / Social Icons --*/
.support-grid span {
    font-size: 60px;
    color: #db0008;
    transition: transform 0.3s ease-in-out;
}
.support-grid a:hover span {
    transform: scale(1.15);
}

/*-- Footer --*/
footer { background: url(../images/footer.jpg) no-repeat center; background-size: cover; }
.footer-grid h3 { font-size: 18px; letter-spacing: 1px; color: #fff; }
.copy_right p a { color: #fff; font-weight: bold; }
.copy_right p { background: #01060c; letter-spacing: 2px; font-size: 14px; margin: 0; }
.move-top { position: absolute; bottom: 20px; right: 20px; }
.move-top span { color: #fff; font-size: 30px; }

/*-- Animations & Image Zoom --*/
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#about, #blog, #what, #gallery, #contact, #support, footer { animation: fadeIn 1s ease-in-out; }
.card, .about-in { transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }
.card:hover, .about-in:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
#about .col-lg-6, .card-header, #what .text-center, #what .text-xl-right { overflow: hidden; }
#about .img-fluid, .blog .card-header img, #what .img-fluid, .gallery .gallery-grid1 img, .team-gd img { transition: transform 0.5s ease; }
#about .col-lg-6:hover .img-fluid, .blog .card-header:hover img, #what .text-center:hover .img-fluid, #what .text-xl-right:hover .img-fluid, .gallery .gallery-grid1:hover img, .team-gd:hover img { transform: scale(1.1); }

/*-- Responsive --*/
@media all and (max-width : 991px) {
    .toggle { display: block; padding: 8px 14px; font-size: 13px; text-decoration: none; border: none; margin-top: 2em; float: right; background-color: #fff; color: #000; border: 1px solid #aaa; cursor: pointer; }
    .menu { display: none; }
    [id^=drop]:checked+ul { display: block; background: #fff; padding: 15px 0; text-align: center; width: 100%; position: absolute; right: 0; z-index: 999; }
    nav ul li { display: block; width: 100%; }
    nav a { margin: 8px 0; display: block; }
    .map { height: 450px; }
    .teams .owl-nav { display: none; }
	.w3layouts-bgs, .w3layouts-bgs-2 { padding: 2em; }
	.images { overflow: hidden; width: 100%; margin-top: -10px;}
}

@media(max-width: 768px) {
    .booking-form-wrapper .form-row .form-group { flex: 0 0 50%; max-width: 50%; }
    .booking-form-wrapper .btn-primary { margin-top: 0; }
    .booking-form-wrapper .form-row .form-group:last-child { flex: 0 0 100%; max-width: 100%; margin-top: 1em; }
}

@media(max-width: 576px) {
    .booking-form-wrapper .form-row .form-group { flex: 0 0 100%; max-width: 100%; }
    .booking-form-wrapper .btn-primary { margin-top: 1em; }
    .banner-w3ls-1, .banner-w3ls-2, .banner-w3ls-3, .banner-w3ls-4 { min-height: 100vw; }
    .abou-right-w3layuts h3 { font-size: 26px; }
    .map { height: 400px; }
    .w3layouts-bgs, .w3layouts-bgs-2 { padding: 2em 1em; }
}

@media(max-width: 414px) {
	h1{ font-size: 19pt; }
}


/* ======================================================= */
/* == Revisi Final - Tata Letak Tampilan Mobile == */
/* ======================================================= */
@media (max-width: 991px) {
	a.navbar-brand img {
        width: 125%;
	margin-top:-10px;
    }
    /* --- 1. Perbaikan Top Bar (Social Media) --- */
    .top-social-w3pvt-am .row {
        justify-content: center;
    }
    .top-social-w3pvt-am .socila-brek {
        flex: 0 0 100%;
        max-width: 100%;
        border-left: none;
        margin-top: 10px;
        text-align: center !important;
    }
    .top-social-w3pvt-am .top-w3layouts {
        display: none;
    }
    .top-social-w3pvt-am .socila-brek ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* --- 2. Perbaikan Header Utama (Logo & Menu) --- */
    .main-top > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .main-top h1.logo-style-res {
        float: none;
        flex-shrink: 0;
        /* Ukuran logo dibuat lebih maksimal */
        width: 65%;
        max-width: 250px; /* Batas maksimal agar tidak terlalu besar */
    }
    .main-top .nav_w3ls {
        margin: 0 !important;
        width: auto;
    }
    .toggle {
        margin-top: 0;
        float: right;
    }

    /* --- 3. Pindahkan & Ubah Ukuran Tombol "PESAN KAMAR" --- */
    .main-top {
        position: relative;
        /* Atur padding bawah untuk area tombol */
        padding-bottom: 60px; 
        background-color: #fff; /* Beri background solid untuk menutupi konten di belakangnya */
    }
    /* Target wrapper tombol "PESAN KAMAR" */
    .main-top > .container > .text-center {
        position: absolute;
        bottom: 0; /* Tempatkan di paling bawah area header */
        left: 0;
        width: 100%;
        padding: 10px 0; /* Beri sedikit padding vertikal untuk tombol */
        background-color: #fff; /* Pastikan bar tombol memiliki background */
    }
    /* Perkecil ukuran tombol "PESAN KAMAR" */
    .main-top .text-center a.login-button-2 {
        font-size: 13px;
        font-weight: 500;
        padding: 9px 18px;
        margin-top: 0 !important;
    }

}

@media (max-width: 575px) {
	.main-top h1.logo-style-res {
        width: 60%;
        max-width: 200px;
    }
}


/* ================================= */
/* == Penyesuaian Footer & Social == */
/* ================================= */

/* 1. Atur Logo di Footer */
footer .footer-logo {
    text-align: center; /* Logo menjadi di tengah */
    margin-bottom: 1.5rem;
}
footer .footer-logo img {
    width: 40%; /* Lebar logo 40% dari kolomnya */
    max-width: 180px; /* Batas maksimal agar tidak terlalu besar */
    height: auto;
}

/* 2. Rapikan Teks Bintang di Footer */
footer .footer-grid h3 {
    padding-bottom: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 16px; /* Sedikit memperkecil font agar lebih rapi */
}
footer .row.footer-grids {
    justify-content: center; /* Membuat kolom lebih merapat ke tengah */
}


/* 3. Atur Ikon Social Media di Atas Footer (Untuk Mobile) */
@media (max-width: 991px) {
    #support .support-bottom {
        display: flex;
        justify-content: space-around; /* Sebar ikon secara merata */
        align-items: center;
    }
    #support .support-grid {
        flex: 1; /* Setiap ikon mengambil porsi yang sama */
        margin: 0 !important; /* Hapus margin atas/bawah yang besar */
        max-width: 30%;
    }
    #support .support-grid span {
        font-size: 40px; /* Perkecil ukuran ikon */
    }
    #support .support-grid h5 {
        font-size: 0.9rem; /* Perkecil ukuran teks */
    }
	footer .footer-logo img {
    width: 100%; /* Lebar logo 40% dari kolomnya */
    max-width: 180px; /* Batas maksimal agar tidak terlalu besar */
    height: auto;
}
}

/* Penyesuaian untuk Desktop */
@media (min-width: 992px) {
    footer .footer-logo {
        text-align: left; /* Kembali ke rata kiri di desktop */
        margin-bottom: 0;
    }
    footer .footer-logo img {
        width: 80%; /* Logo lebih besar di desktop */
        max-width: 250px;
    }
    footer .row.footer-grids {
        justify-content: space-between; /* Kembali ke layout awal di desktop */
    }
}

/* ======================================================= */
/* == Penyesuaian Kolom Form Pemesanan Mobile (576px kebawah) == */
/* ======================================================= */
@media (max-width: 576px) {
    /* Pastikan .form-row dapat membungkus elemen-elemennya */
    .booking-form-wrapper .form-row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -8px;  /* Gutter/jarak antar kolom */
        margin-right: -8px;
    }

    /* Beri padding pada setiap kolom untuk menciptakan jarak (gutter) */
    .booking-form-wrapper .form-row .form-group {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Kolom Tanggal Check-in (anak ke-1) & Check-out (anak ke-2) */
    .booking-form-wrapper .form-row .form-group:nth-child(1),
    .booking-form-wrapper .form-row .form-group:nth-child(2) {
        flex: 0 0 50%; /* Setiap kolom mengambil 50% lebar */
        max-width: 50%;
    }

    /* Kolom Dewasa (anak ke-3) & Anak-anak (anak ke-4) */
    .booking-form-wrapper .form-row .form-group:nth-child(3),
    .booking-form-wrapper .form-row .form-group:nth-child(4) {
        flex: 0 0 50%; /* Setiap kolom mengambil 50% lebar */
        max-width: 50%;
    }

    /* Tombol Pesan (anak ke-5) mengambil lebar penuh */
    .booking-form-wrapper .form-row .form-group:nth-child(5) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}