@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

input {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

#detailProduct .container-product {
    display: flex;
    gap: 100px;
    justify-content: center;
    position: relative;
}

#detailProduct .container .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#detailProduct .container .left .detail .img {
    /* box-shadow: 5px 3px 5px 5px rgba(0, 0, 1, 0.1); */
    border: 1px solid gray;
    border-radius: 4px;
}

#detailProduct .container .right {
    width: 100%;
}

#detailProduct .container .right .list-group {
    cursor: pointer;
}

#detailProduct .article {
    padding: 30px;
    box-shadow: 5px 3px 15px 5px rgba(0, 0, 1, 0.1);
    border-radius: 4px;
}

#detailProduct .review-button {
    position: absolute;
    top: 65%;
    left: 9.5%;
    /* Menggunakan translateY untuk memposisikan secara vertikal di tengah */
    transform-origin: left center;
    /* Menentukan titik asal transformasi */
}

#detailProduct .offcanvas {
    width: 50%;
}

#detailProduct .offcanvas .offcanvas-body .content {
    margin: 10px;
    padding: 20px;
    box-shadow: 5px 3px 15px 5px rgba(0, 0, 1, 0.1);
    border-radius: 4px;
}

#detailProduct .offcanvas .offcanvas-body .user-review {
    margin: 10px;
    padding: 10px;
    box-shadow: 5px 3px 15px 5px rgba(0, 0, 1, 0.1);
    border-radius: 4px;
}

.destination-item .alamat {
    font-family: "Noto Sans", sans-serif;
}

@media (max-width: 768px) {
    #detailProduct .container-product {
        flex-wrap: wrap;
        gap: 0;
    }

    #detailProduct .review-button {
        position: absolute;
        top: 41%;
        left: 31%;
        /* Menggunakan translateY untuk memposisikan secara vertikal di tengah */
        transform-origin: left center;
        /* Menentukan titik asal transformasi */
        font-size: 10px;
    }

    #detailProduct .container .right {
        width: 100%;
    }

    #detailProduct .article {
        width: 100%;
        box-shadow: 5px 3px 15px 5px rgba(0, 0, 1, 0.1);
        border-radius: 4px;
    }

    #detailProduct .offcanvas {
        width: 100%;
    }

    #detailProduct .offcanvas .offcanvas-body .content .text-header .d-flex {
        flex-direction: column;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }

    80% {
        opacity: 1;
        transform: scale(0.89);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-container.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.model-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    z-index: 1001;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.show-button {
    padding: 15px 30px;
    font-size: 18px;
    background: rgba(76, 175, 80, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.show-button:hover {
    background: rgba(76, 175, 80, 0.9);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.card-title {
    margin-bottom: 25px;
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: rgba(76, 175, 80, 0.8);
    --progress-mask: transparent;
}