@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: poppins;
}


/* CSS FORM INPUT */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.myRating {
/*    display: none;*/
}

.show {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.rating {
    /* position: fixed;
    top: 50%;
    left: 50%; */
    transform: translate(-9%, -50%) rotateY(180deg);
    display: flex;
}
@media screen and (min-width: 580px) and (max-width: 1200px){
    .rating {
        position: relative;
        top: 10%;
        left: -15%;
        transform: translate(-9%, -50%) rotateY(180deg);
        display: flex;
    }
    
}
@media screen and (min-width: 320px) and (max-width: 376px){
    .rating {
        position: relative;
        top: 10%;
        left: 9%;
        transform: translate(-9%, -50%) rotateY(180deg);
        display: flex;
    }
    
}

@media screen and (min-width: 1200px) {
    .rating {
        /* position: fixed;
        top: 50%;
        left: 50%; */
        transform: translate(-30%, -50%) rotateY(180deg);
        display: flex;
    }
}

.rating input {
    display: none;
}

.rating label {
    display: block;
    cursor: pointer;
    width: 50px;
    /*background: #ccc;*/
}

.rating label:before {
    content: '\f005';
    font-family: fontAwesome;
    position: relative;
    display: block;
    font-size: 50px;
    color: #101010;
}

.rating label:after {
    content: '\f005';
    font-family: fontAwesome;
    position: absolute;
    display: block;
    font-size: 50px;
    color: #ff9100;
    top: 0;
    opacity: 0;
    transition: .5s;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .5);
}

.rating label:hover:after,
.rating label:hover~label:after,
.rating input:checked~label:after {
    opacity: 1;
}

/* CSS BINTANG DI BAWA JUDUL */
.myRating-rate {
    /* margin-left: -40px; */
    /* margin-top: -18px; */
    display: block;
}

.rating-rate {
    /* position: fixed;
    top: 50%;
    left: 50%; */
    margin-left: 30px;
    transform: translate(-30%, -50%) rotateY(180deg);
    display: flex;
}

.rating-rate input {
    display: none;
}

.rating-rate label {
    display: block;
    cursor: pointer;
    width: 15px;
    /*background: #ccc;*/
}

.rating-rate label:before {
    content: '\f005';
    font-family: fontAwesome;
    position: relative;
    display: block;
    font-size: 15px;
    color: #101010;
}

.rating-rate label:after {
    content: '\f005';
    font-family: fontAwesome;
    position: absolute;
    display: block;
    font-size: 15px;
    color: #ff9100;
    top: 0;
    opacity: 0;
    transition: .5s;
    /* text-shadow: 0 2px 5px rgba(0,0,0,.5); */
}

/* .rating-rate label:hover:after, */
/* .rating-rate label:hover ~ label:after, */
.rating-rate input:checked~label:after {
    opacity: 1;
}



/* CSS ULASAN  */
.myRating-rev {
    margin-left: 25px;
    margin-top: 10px;
    display: block;
}

.rating-rev {
    /* position: fixed;
    top: 50%;
    left: 50%; */
    transform: translate(-30%, -50%) rotateY(180deg);
    display: flex;
}

.rating-rev input {
    display: none;
}

.rating-rev label {
    display: block;
    cursor: pointer;
    width: 13px;
    /*background: #ccc;*/
}

.rating-rev label:before {
    content: '\f005';
    font-family: fontAwesome;
    position: relative;
    display: block;
    font-size: 13px;
    color: #101010;
}

.rating-rev label:after {
    content: '\f005';
    font-family: fontAwesome;
    position: absolute;
    display: block;
    font-size: 13px;
    color: #ff9100;
    top: 0;
    opacity: 0;
    transition: .5s;
    /* text-shadow: 0 2px 5px rgba(0,0,0,.5); */
}

.rating-rev input:checked~label:after {
    opacity: 1;
}






.icon-large {
    font-size: 30px;
    /* Ubah ukuran ikon sesuai kebutuhan */
}

.fs-7{
    font-size: 14px;
}
.fsc-8{
    font-size: 16px;
}

.header-page .card-img-overlay .title-header {
    font-size: calc(3rem + 1.5vw) !important;
    /* text-shadow: 0px -30px 8px rgba(255, 255, 255, 0.2); */
}

.header-page .card-img-overlay .shadow-title-header{
    font-size: 80px;
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: block;
    color: rgba(255, 255, 255, 0.2);
}

.custom-line {
    cursor: inherit !important;
    background-color: white !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transition: none !important;
    padding: 2px !important;
    width: 6vw;
}

.description-text {
    color: rgba(116, 117, 119, 1);
}

.img-product {
    height: 260px !important;
    object-fit: cover !important;
}

.product-card {
    position: relative;
}

.product-card .card-shadow{
    width: 100%;
    height: 240px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid #E5E7E9 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
    position: absolute;
    z-index: 1;
}
.card-shadow{
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid #E5E7E9 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
    position: absolute;
    z-index: 1;
}
.z-index-2{
    z-index: 2
}
.product-card .card-img-overlay{
    z-index: 1;
}
.product-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /* filter: brightness(75%); */
    /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%); */
}
.product-card .card-shadow-v2 {
    width: 100%;
    height: 240px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    border: 1px solid #E5E7E9 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
    position: absolute;
    z-index: 1;
}

.product-card .card-img-top-v2 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    /* filter: brightness(75%); */
    /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%); */
}

.filter-badge {
    color: #085F94 !important;
    background-color: rgba(8, 95, 148, 0.1) !important;
    cursor: inherit !important;
}

.filter-badge span {
    color: #085F94 !important;
    cursor: pointer;
}

.filter-badge:focus,
.filter-badge:active {
    border-color: rgba(8, 95, 148, 0.1) !important;
    box-shadow: none !important;
}

.breadcrumb-item a {
    color: rgba(127, 127, 127, 1) !important;
}

.breadcrumb-item.active {
    font-weight: bold !important;
    color: rgba(8, 95, 148, 1) !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-weight: normal;
    color: rgba(127, 127, 127, 1) !important;
}

.img-preview {
    width: 100%;
    object-fit: cover;
    height: 450px !important;
    object-position: center !important;
}

.img-thumbnail {
    object-fit: cover !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 130px !important;
    width: 100% !important;
}

.maps {
    width: 100%;
    object-fit: cover;
    height: 330px !important;
}

@media (min-width: 1200px) and (max-width: 1980px) {
    .product-card .card-img-top {
            height: 240px;
        }
    .product-card .card-img-top-v2 {
            height: 280px;
        }
    .product-card .card-shadow-v2{
        height: 280px;
    }
}


@media (min-width: 1024px) and (max-width: 1199px) {
    .product-card .card-img-top {
            height: 160px;
    }
        .product-card .card-shadow {
            height: 160px;
        }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .product-card .card-img-top {
        height: 175px;
    }
    .product-card .card-shadow {
            height: 175px;
    }
        .product-card .card-img-top-v2 {
            height: 195px;
        }
    
        .product-card .card-shadow-v2 {
            height: 195px;
        }
    

    /* .card-img-overlay h1 {
        font-size: calc(2rem + 1.5vw) !important;
        text-shadow: 0px -30px 8px rgba(255, 255, 255, 0.2);
    } */
}


@media (min-width: 425px) and (max-width: 767px) {
    /* .card-img-overlay h1 {
        font-size: calc(1.5rem + 1.5vw) !important;
        text-shadow: 0px -30px 8px rgba(255, 255, 255, 0.2);
    } */
    .product-card .card-img-top {
        height: 155px;
    }
    .product-card .card-shadow {
        height: 155px;
    }
    .product-card .card-img-top-v2 {
        height: 170px;
    }
    
    .product-card .card-shadow-v2 {
        height: 170px;
    }
}


@media (min-width: 375px) and (max-width: 424px) {
    /* .card-img-overlay h1 {
        font-size: calc(2rem + 1.5vw) !important;
        text-shadow: 0px -30px 8px rgba(255, 255, 255, 0.2);
    } */

    .product-card .card-img-top {
        height: 140px;
    }
    .product-card .card-shadow {
        height: 140px;
    }
    .product-card .card-img-top-v2 {
        height: 140px;
    }
    
    .product-card .card-shadow-v2 {
        height: 140px;
    }

    .img-thumbnail {
        height: 90px !important;
    }

    .img-preview {
        height: 320px !important;
    }
}

@media (min-width: 320px) and (max-width: 374px) {
    .img-thumbnail {
        height: 80px !important;
    }
    .product-card .card-img-top {
        height: 160px;
    }
    .product-card .card-shadow {
        height: 160px;
    }
    .product-card .card-img-top-v2 {
        height: 110px;
    }
        
    .product-card .card-shadow-v2 {
        height: 110px;
    }

    .img-preview {
        height: 280px !important;
    }
}

@media (max-width: 319px) {
    .img-thumbnail {
        height: 65px !important;
    }

    .img-preview {
        height: 220px !important;
    }

    .product-card .card-img-top {
        height: 135px;
    }
    .product-card .card-shadow {
        height: 135px;
    }
}

@media (max-width: 320px) {
    .filter-badge {
        font-size: x-small !important;
        color: #085F94 !important;
        cursor: pointer;
    }

    .product-card .card-img-top {
        height: 100px;
    }
    .product-card .card-shadow {
        height: 100px;
    }

    .img-thumbnail {
        height: 50px !important;
    }
}

 #carouselExample {
  max-height: 500px; /* Adjust height as needed */
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.carousel-inner,
.carousel-item {
  margin: 0;
  padding: 0;
}

#carouselExample img {
  object-fit: cover;
  width: 100%;
  height: 100%; /* Ensure image covers the container */
  margin: 0;
  padding: 0;
}

.content-detail .description{
    order: 1;
}

.content-detail .title{
    order: 0;
}

@media (min-width: 1200px) {
    .content-detail .description{
        order: 0;
    }
    
    .content-detail .title{
        order: 1;
    }
}

.upload-card {
    border-radius: 12px;
  }
  
  .upload-icon {
    background-color: #f8f9fa;
    border: 2px dashed #f28c8c;
    border-radius: 8px;
    width: 80px;
    height: 80px;
  }
  
  .upload-icon-svg {
    width: 40px;
    height: 40px;
    color: #f28c8c;
  }
  
  button.btn-danger {
    background-color:#d95454;
    border-color: #f28c8c;
  }
  
  button.btn-danger:hover {
    background-color:   #f28c8c;
    border-color: #d95454;
  }
  
  .card-img-border{
    border-radius: 20px !important;
  }

  #carouselExample {
    max-height: 500px; /* Adjust height as needed */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
  }
  
  .custom-img {
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 20px !important;
  }
  
  #carouselExample img {
    object-fit: cover;
    width: 100%;
    height: 100%; /* Ensure image covers the container */
    margin: 0;
    padding: 0;
  }

.card-utama {
    height: auto;
    position: relative;
}

.card-utama img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.card-utama-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    font-size: 50px;
}

.btn-katalog {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: #3a7bfd;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
  }

  .btn-katalog:hover {
    background-color: white !important;
    color: black;
  }

  .card-kecil {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px; 
  }
  .card-kecil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-kecil-text {
    position: absolute;
    bottom: 55px;
    left: 8px;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .btn-kunjungi {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #3a7bfd;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
  }

  .btn-kunjungi:hover {
    background-color: white;
    color: black;
  }

  @media (max-width: 768px) {
    .card-kecil {
      height: 200px; /* Kurangi tinggi card pada layar kecil */
    }
    .card-utama-text {
        position: absolute;
        bottom: 80px;
        left: 30px;
        color: white;
        padding: 5px;
        border-radius: 5px;
        z-index: 10;
        font-size: 30px;
    }
  }
  @media (max-width: 320px) {
    .card-utama-text {
        position: absolute;
        bottom: 80px;
        left: 30px;
        color: white;
        padding: 5px;
        border-radius: 5px;
        z-index: 10;
        font-size: 20px;

    }
  }

.card-detail {
    border: 1px solid #ddd; /* Border untuk card */
    border-radius: 10px; /* Border radius */
    overflow: hidden; /* Agar konten tidak keluar dari card */
    height: 480px;
}

.card-detail img {
    object-fit: cover !important; /* Agar gambar memenuhi card dengan proporsi yang benar */
    height: 100% !important; /* Tinggi gambar mengikuti tinggi card */
}

.card-detail .carousel-control-prev,
.card-detail .carousel-control-next {
    width: 5%; /* Atur lebar tombol navigasi carousel */
}


.position-relative {
    position: relative;
}

.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.overlay-text p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}
