/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.bg-primary {
    background-color: #005cb9 !important;
}
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 1 3rem;
    transition: .5s;
    z-index: 9997;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0px;
        padding: 0px;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 5px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 994px) {
    .header {
        margin-top: -10px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 5;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.text-primary {
    color: #0066b9 !important;
}
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 579px) {
    .testimonial-carousel {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 4px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 20px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    margin: auto; /* Pusatkan jika di layar besar */
}

/* Media queries untuk layar lebih kecil */
@media (max-width: 768px) {
    body {
        width: 90%; /* Lebar lebih kecil di layar sempit */
    }
}

@media (max-width: 480px) {
    body {
        width: 95%; /* Lebar yang lebih kecil lagi untuk perangkat mobile */
    }
}

.container {
    display:contents;
    justify-content: space-between;
    padding: 5px;
}
.column {
    background-color: #e0f7fa;
    padding: 20px;
    width: 48%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.column h2 {
    color: #00796b;
}
.column ul {
    list-style-type:disc;
    padding: 0;
}
.column ul li {
    padding: 10px 0;
    font-size: 18px;
}
.column ul li i {
    margin-right: 10px;
    color: #00796b;
}

.text-primary {
    color: #007bff; /* Bootstrap primary color */
}

.mb-3 {
    margin-bottom: 1rem;
}

.pb-0 {
    padding-bottom: 0;
}

.p-4 {
    padding: 1.5rem;
}

/* Tampilan untuk layar kecil - carousel */
.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tampilan untuk layar besar - grid */
@media (min-width:999px) {
    .image-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Jarak antar gambar */
    }
    .image-grid img {
        width: 100%;
        height: auto;
    }
}



.search-container {
    background-color: white;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    text-align: center;
    position: absolute; /* Position it absolutely */
    bottom: 20px; /* Distance from the bottom */
    left: 10px; /* Distance from the left */
    width: 300px; /* Optional: Set a fixed width */
}
.search-container h1 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 10px; /* Ensures space below the heading */
}
.search-container select {
    width: 100%;
    padding: 10px;
    border: 2px solid #007bff;
    border-radius: 20px;
    font-size: 16px;
    color: #000000;
    margin-top: 10px; /* Add margin-top to the select to push it down */
}

.bg-image {
    background-size: cover; /* Pastikan gambar menutupi seluruh area */
    background-position: center; /* Pusatkan gambar */
    background-repeat: no-repeat; /* Hindari pengulangan gambar */
    min-height: 470px; /* Berikan tinggi minimum */
    width: 100%; /* Pastikan elemen mengambil lebar penuh */
    display: block; /* Pastikan elemen tidak tersembunyi */
}

/* Tambahkan media queries untuk responsivitas */
@media (max-width: 768px) {
    .bg-image {
        min-height: 300px; /* Kurangi tinggi untuk layar yang lebih kecil */
    }
}

@media (max-width: 480px) {
    .bg-image {
        min-height: 200px; /* Lebih kecil lagi untuk perangkat mobile */
    }
}


.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create two equal columns that sits next to each other */
  .column {
    flex: 50%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
  }

  .owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}
.owl-prev {
    left: -0px;
}
.owl-next {
    right: -0px;
}
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    outline: none;
}
.owl-prev {
    left: 15px; /* Move the button closer to the carousel */
}
.owl-next {
    right: 15px; /* Move the button closer to the carousel */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Lightbox styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover {
    color: #bbb;
}

/* Lightbox styles for arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%);
    transition: 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Lightbox styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover {
    color: #bbb;
}

/* Lightbox styles for arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%);
    transition: 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.facilities ul {
    padding-left: 0; /* Remove default padding from the list */
    list-style-type: none; /* Remove bullets */
}

.facilities li {
    margin-bottom: 10px; /* Add space between items */
}

.facilities {
    display: flex;
    flex-wrap: wrap; /* Allow the items to wrap */
}

.facility-list {
    flex: 1; /* Each list will take equal width */
    min-width: 300px; /* Set a minimum width */
    margin: 10px; /* Add some margin between lists */
}

@media (max-width: 576px) { /* Adjust this breakpoint as needed */
    .facilities {
        flex-direction: column; /* Stack items vertically */
    }

    .facility-list {
        margin: 0; /* Remove margin for stacked layout */
        padding: 0; /* Remove padding if necessary */
    }
}

.whatsapp-button {
    background-color: #25D366; /* Warna hijau WhatsApp */
    color: white; /* Warna ikon */
    border-radius: 50%; /* Membulatkan tombol */
    width: 70px; /* Lebar tombol */
    height: 70px; /* Tinggi tombol */
    display: flex; /* Mengatur tombol agar dapat mengatur konten dengan baik */
    align-items: center; /* Memusatkan konten secara vertikal */
    justify-content: center; /* Memusatkan konten secara horizontal */
    text-align: center; /* Memastikan teks terpusat */
    border: none; /* Menghilangkan border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan untuk efek 3D */
    text-decoration: none; /* Menghilangkan garis bawah pada tautan */
    transition: background-color 0.3s; /* Menambahkan transisi halus saat hover */
}

.whatsapp-button:hover {
    background-color: #1DAE4B; /* Menggelapkan warna saat hover */
}

.responsive-bg {
    width: 110%; /* Pastikan lebar elemen 100% dari kolom */
    max-width: 50vw; /* Batas maksimal untuk layar lebih besar */
    height: 0; /* Awalnya tanpa tinggi untuk perhitungan responsif */
    padding-top: 70%; /* Sesuaikan proporsi berdasarkan lebar */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

@media (max-width: 558px) {
    .responsive-bg {
        max-width: 100%; /* Memperluas lebar di layar lebih kecil */
        padding-top: 80%; /* Menambah tinggi untuk proporsi yang lebih baik di layar kecil */
        border-radius: 10px; /* Kurangi kelengkungan untuk layar kecil */
    }

    .search-container h1 {
        font-size: 1.2rem; /* Sesuaikan ukuran teks untuk layar kecil */
    }
}

.map-container {
    border-radius: 15px; /* Menambahkan sudut melengkung */
    overflow: hidden; /* Memastikan tidak ada konten yang meluap */
}

/*body property*/

body {
    font-family: Arial, sans-serif;
    background-color: #f9f8fa;
    color: #333;
    margin: 0;
    padding: 0;
}
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 10px 0 20px;
}
.facilities {
    display: flex;
    justify-content: space-between;
}
.facilities ul {
    list-style: none;
    padding: 0;
}
.facilities li {
    margin-bottom: 10px;
    font-size: 16px;
}
.facilities li i {
    color: #333;
    margin-right: 10px;
}
.btn {
    pointer-events: auto;
}

.property-card {
    width: 1289px; /* Tetap pada lebar ini untuk layar besar */
    border: 3px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    background-color: #fff;
}

/* Media query untuk menyesuaikan lebar pada layar lebih kecil */
@media (max-width: 1289px) {
    .property-card {
        width: 105%; /* Gunakan lebar penuh pada layar kecil */
    }
}

.copyright {
    height: 100%; /* Opsional, untuk memastikan tengah secara vertikal jika ada batas tinggi */
    display: flex;
    justify-content: center; /* Tengah horizontal */
    align-items: center; /* Tengah vertikal */
    text-align: center; /* Tambahan untuk teks */
}

@media (max-width: 576px) {
    .header-carousel,
    .owl-carousel,
    .property-card,
    .facilities {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
        display: block !important;
    }
    .owl-stage-outer {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
