/* === RESET DASAR DAN BACKGROUND === */
body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background-image: url('../asset/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* === OVERLAY HITAM TRANSPARAN DI BELAKANG === */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 0, 0, 0.9);
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: var(--bg-nav);
    /* box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.2); */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: .2s ease-in-out;
}


.navbar:hover {
    transition: .3s ease-in-out;
    background-color: var(--primary);
}

.navbar .navbar-logo {
    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
    color: #FFF500;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 5, 0.808);
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 53%;
}

.navbar .navbar-nav a {
    color: white;
    display: inline-block;
    text-decoration: none;
    font-size: 1.3rem;
    margin: 0 3rem;
}

.navbar .navbar-nav a:hover {
    color: var(--teks);
}

.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid white;
    transform: scaleX(0);
    transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: white;
    margin: 0 1rem;

}

.navbar .navbar-extra a:hover {
    color: var(--primary);
}

#hamburger-menu {
    display: none;
}




#total-belanja {
    left: 92.5%;
    position: absolute;
    background-color: red;
    padding: 2px 5px;
    border-radius: 50%;
}

/* Container untuk Form Checkout */
.checkout-form {
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Judul Form */
.checkout-form h3 {
    text-align: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* Input dan Textarea */
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}


.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Textarea khusus */
.checkout-form textarea {
    resize: vertical;
    height: 100px;
}

/* Tombol WhatsApp */
#whatsapp-button {
    width: 100%;
    padding: 12px;
    background-color: #25d366;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

#whatsapp-button:hover {
    background-color: #1da851;
}

/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}

/* Tablet */
@media (max-width: 992px) {
    html {
        font-size: 62.5%;
    }

    #hamburger-menu {
        display: inline-block;
    }



    .about .row {
        flex-wrap: wrap;
    }

    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }

    .about .row .content {
        padding: 0;
    }

    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .about .row .content p {
        font-size: 1.6rem;
    }

    .menu p {
        font-size: 1.2rem;
    }

    .contact .row {
        flex-wrap: wrap;
    }

    .contact .row .map {
        height: 30rem;
    }

    .contact .row form {
        padding-top: 0;
    }

    .modal-content {
        flex-wrap: wrap;
    }

    .modal-content {
        width: 60%;
        /* Mengurangi lebar modal untuk layar lebih kecil */
        max-width: 600px;
        /* Maksimal lebar modal */
    }

    #modalProductName {
        text-align: center;
    }

    /* Modal Body */
    .modal-body {
        flex-direction: column;
        /* Menata ulang menjadi kolom untuk layar kecil */
        gap: 10px;
    }

    .modal-image {
        text-align: center;
    }

    /* Left Section (Image) */
    .modal-image img {
        max-width: 400px;
        /* Memperkecil ukuran gambar */
        margin: 0 auto;
        /* Membuat gambar berada di tengah */
    }

    #modalProductPrice {
        font-size: 16px;
        /* Mengatur ukuran font harga untuk layar kecil */
        text-align: center;
        /* Menyelaraskan teks harga ke tengah */
    }
}

/* Mobile Phone */

@media (max-width : 592px) {
    #total-belanja {
        left: 83.9%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    #total-belanja {
        left: 82%;
    }
}


.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0% 7%;
}

.hero .content {
    width: 70%;
    line-height: 4rem;
}

.hero .content .brand {
    font-size: 4rem;
    color: #FFF500;
}

.hero .ganbar {
    width: 30%;
}

.hero .gambar {
    width: 30%;
}

.hero h5 {
    color: #ffd700;
}

.btn-hero,
.btn-card-terlaris {
    background-color: rgba(255, 245, 0, .40);
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 7px;
    color: white;
    font-weight: 700;
}

.btn-hero:hover,
.btn-card-terlaris:hover {
    background-color: rgba(255, 245, 0, .90);
    transition: .4s ease-in-out;
    color: rgb(136, 105, 105);
}


.scroll-container {
    top: 525px;
    position: absolute;
    width: 120%;
    right: 0px;
    left: -20px;
    rotate: -3deg;
    overflow: hidden;
    background-color: #FFF500;
    height: 20vh;
    display: flex;
    align-items: center;
    margin-top: 100px;
}

.scroll-track {
    display: flex;
    animation: scroll 30s linear infinite;
    transform: skewX(-10deg);
    /* Miringkan ke kanan */
}

.logo {
    height: 130px;
    margin: 0 20px;
}

/* Loop scroll */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}




.produk-terlaris-section {
    width: 100%;
    height: 110vh;
}

.produk-terlaris-section span {
    color: #FFF500;
}

#product-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-behavior: smooth;
    gap: 50px;
    width: 100%;
    height: 50%;
    padding: 0 60px;
}

/* Efek fokus */
.product-card {
    border: 2px solid yellow;
    border-radius: 15px;
    background-color: rgba(42, 33, 40, .48);
    padding: 20px;
    min-width: 450px;
    height: 80%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    transform: scale(1);
    opacity: 0.7;
}

.product-card.focused {
    height: 90%;
    transform: scale(1.15);
    opacity: 1;
    z-index: 5;
}

.product-card img {
    width: 100%;
    height: 60%;
    object-fit: contain;
}

.product-card h5,
.product-card p {
    width: 100%;
    height: 10%;
    color: white;
}

.btn-card-terlaris {
    padding-bottom: 4px;
    padding-top: 4px;
}

.btn-arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 0, 0.8);
    border: none;
    padding: .5rem 1rem;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    color: black;
    font-weight: bold;
    z-index: 10;
}

.btn-arrow.left {
    left: 50px;
}

.title-produk-terlaris,
.title-kegiatan {
    font-size: 4rem;
    z-index: 999;
}

.btn-arrow.right {
    right: 50px;
}

.gradient-bg-yellow {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 275px;
    width: 100%;
    background: linear-gradient(to top, rgba(255, 245, 0, 1), rgba(255, 255, 255, 0) 56%, transparent);
    z-index: 1;
}


#kegiatanCarousel {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
    padding: 70px 18%;
    overflow: hidden;
}



.carousel-inner {
    width: 100%;
    height: 75%;
    z-index: 999;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.title-kegiatan {
    z-index: 999;
}

.kegiatan-card {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.kegiatan-card img {
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #FFF500;
}

.card-img-overlay {
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(243, 9, 9, 0.2));
    border-radius: 20px;
}

.gradient-bg-yellow-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 245, 0, 1), rgba(255, 255, 255, 0));
    z-index: -1;
}



.contact {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgb(255, 245, 0), #000000);
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    align-items: center;
}

.contact-card {
    background-color: rgba(221, 214, 214, 0.6);
    border-radius: 20px;
    padding: 50px 70px;
    display: flex;
    align-items: start;
    gap: 30px;
    height: fit-content;
    box-shadow: 0 0 20px rgba(207, 221, 7, 0.6);
    max-width: 1000px;
    width: 100%;
}

.contact-image {
    width: 50%;
    height: 350px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.contact-form {
    width: 50%;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 230px;
}

.btn-submit {
    background: transparent;
    border: 2px solid white;
    background-color: rgba(255, 245, 0, .2);
    color: white;
    width: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn-submit:hover {
    background-color: rgba(255, 245, 0, .8);
    color: black;
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 2, 28, 0.8);
    /* warna gelap semi transparan */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-content {
    background: #FFF500;
    padding: 80px 130px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.loading-content p {
    color: black;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.notification {
    position: fixed;
    bottom: 20px;
    /* ubah dari top ke bottom */
    right: 20px;
    background: #00C897;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease;
    display: none;
    z-index: 9999;
    /* biar notif selalu di atas elemen lain */
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.footer {
    background-color: #1d1d1d;
    /* Warna hitam luar */
    text-align: center;
}

.footer-content {
    background-color: #FFF500;
    width: 100%;
    padding: 50px 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 200px;
    margin-bottom: 50px;
}

.footer-nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.footer-copy {
    color: black;
    font-weight: 500;
}

.footer-copy span {
    color: var(--primary);
    font-weight: 700;
}


@media (max-width: 1300px) {
    .footer-nav {
        gap: 70px;
        padding-top: 40px;
    }

    .footer-content {
        padding: 20px;
    }

    .footer-copy {
        font-size: 14px;
    }
}

.bottom-nav-mobile {
    display: none;
}


/* Tampilkan hanya di mobile */
@media screen and (max-width: 992px) {

    .profile-dropdown {
        position: absolute;
        bottom: 60px;
        /* muncul di atas nav bawah */
        right: 10px;
    }

    .navbar {
        display: none;
    }

    .profile-dropdown {
        top: auto;
        bottom: 60px;
        /* di atas bottom nav */
        right: 10px;
    }

    .bottom-nav-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background-color: #fff;
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
        z-index: 99999;
    }

    .hero .gambar {
        display: none;
    }

    .bottom-nav-mobile .nav-item {
        text-align: center;
        font-size: 12px;
        color: #002c6f;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bottom-nav-mobile .nav-item i {
        width: 22px;
        height: 22px;
        margin-bottom: 4px;
    }

    body {
        background: black;
    }

    .scroll-container {
        width: 100%;
        left: 0px;
        position: relative;
        margin-top: 0px;
        top: 0;
        background-color: rgba(255, 245, 0, .40);
        rotate: 0deg;
    }

    .hero .gambar {
        width: 100%;
        justify-content: center;
        height: 50%;
        display: flex;
        align-items: center;

    }

    .hero .gambar img {
        width: 200px;
    }

    .hero {
        padding: 50px 0px;
        background-color: rgba(241, 238, 238, 0.1);
        width: 100%;
        height: 65vh;
        align-items: center;
        flex-direction: column-reverse;
    }

    .hero .content {
        padding: 0px;
        height: auto;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .brand {
        position: relative;
        font-size: 2rem;
        color: #fff;
        background: linear-gradient(90deg,
                #fff 0%,
                #ffd700 25%,
                #fff 50%,
                #ffd700 75%,
                #fff 100%);
        background-size: 200% auto;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        animation: shine 5.5s linear infinite;
    }

    @keyframes shine {
        0% {
            background-position: 200% center;
        }

        100% {
            background-position: 0% center;
        }
    }

    .produk-terlaris-section {
        height: 80vh;

    }

    #product-slider {
        height: 50vh;
        overflow-x: scroll;
        overflow-y: hidden;
        align-items: start;
        width: 100%;
        padding: 50px;
        scroll-behavior: smooth;
    }

    /* Scrollbar Horizontal - Webkit (Chrome, Edge, Safari) */
    #product-slider::-webkit-scrollbar {
        height: 8px;
        /* Tinggi untuk scroll horizontal */
    }

    #product-slider::-webkit-scrollbar-track {
        background: #eee;
    }

    #product-slider::-webkit-scrollbar-thumb {
        background: yellow;
        border-radius: 10px;
    }

    #product-slider::-webkit-scrollbar-thumb:hover {
        background: gold;
    }

    /* Untuk Firefox (jika ingin scrollbar kuning juga) */
    #product-slider {
        scrollbar-color: yellow #eee;
        /* thumb, track */
        scrollbar-width: thin;
    }

    .product-card {
        height: 100%;
    }

    .product-card.focused {
        height: 100%;
        transform: scaleX(1);
    }


    .carousel-item {
        height: 70%;
    }

    .contact {
        padding: 0px 50px;
        height: auto;
    }

    .contact-card {
        max-width: 500px;
        display: block;
        padding: 50px 40px;

    }

    .contact-image {
        width: 100%;
        text-align: center;
        height: 250px;
    }

    .contact-image iframe {
        width: 80%;
        height: 100%;
    }

    .contact-form {
        width: 100%;
        padding-top: 4rem;
        text-align: center;
    }

    .form-group label {
        font-size: 2rem;
    }

    .footer-content {
        padding-bottom: 100px;
    }

    .footer-copy {
        font-size: 12px;
    }
}


@media (max-width : 992px) {
    .footer-nav {
        gap: 40px;
    }
}

@media (max-width : 662px) {
    .footer-nav {
        gap: 25px;
    }

    .contact-image {
        height: 150px;
    }


}

@media (max-width : 552px) {
    .footer-nav {
        gap: 30px;
    }


    .footer-nav a {
        font-size: 12px;
    }
}

@media (max-width : 492px) {
    .footer-nav {
        gap: 20px;
    }
}

@media (max-width : 400px) {
    .footer-nav {
        gap: 04px;
    }
}


   .login-container {
            position: relative;
            z-index: 2;
            background-color: rgba(244, 240, 240, 0.4);
            padding: 40px 30px;
            border-radius: 10px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            width: 500px;
            text-align: center;
        }

        .center-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            position: relative;
            z-index: 2;
        }

        .login-container h2 {
            color: white;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .login-container input[type="text"],
        .login-container input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            background-color: white;
            border-radius: 8px;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            justify-content: start;
            margin-bottom: 10px;
        }

        .checkbox-wrapper input[type="checkbox"] {
            margin-right: 10px;
            transform: scale(1.2);
        }

        .error-message {
            color: red;
            text-align: left;
            margin: 0 0 15px 0;
            font-size: 14px;
            font-weight: 500;
        }

        .login-container button {
            width: 100%;
            padding: 10px;
            background-color: rgba(0, 2, 4, 0.5);
            border: none;
            color: white;
            font-size: 16px;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .login-container button:hover {
            background-color: rgba(0, 2, 4, 1);
        }




      