/* Keterangan :
    --color-text         = text halaman 
    --color-text-alter   = text modal 
    --color-a            = list menu icon 
    --color-a-hover      = list menu icon hover 
    --color-theme        = background color 
    --color-theme-alter  = background color menu 
    --color-botton       = button rincian 
    --color-frame        = special color 1 
    --color-frame-alter  = special color 2 
    --color-scroll-thumb = scroll color 
    --color-scroll-track = scroll background */
:root {
    --color-text: #fff;
    --color-text-alter: #111;
    --color-a: #111;
    --color-a-hover: #ecb44d;
    --color-theme: #ecb44d;
    --color-theme-alter: #fff;
    --color-botton: #00ccff;
    --color-frame: #00ccff;
    --color-frame-alter: #d400d4;
    --color-scroll-thumb: #00ccff;
    --color-scroll-track: transparent;
}

html[data-theme='dark'] {
    --color-text: #fff;
    --color-text-alter: #fff;
    --color-a: #111;
    --color-a-hover: #ecb44d;
    --color-theme: #25282c;
    --color-theme-alter: #fff;
    --color-botton: #00ccff;
    --color-frame: #00ccff;
    --color-frame-alter: #d400d4;
    --color-scroll-thumb: #00ccff;
    --color-scroll-track: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 5px;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--color-scroll-thumb);
}

html::-webkit-scrollbar-track {
    background-color: var(--color-scroll-track);
}

body {
    background: var(--color-theme);
    overflow-x: hidden;
}

/* ======= Navigasi ======= */
.navigasi {
    overflow: hidden;
    background: transparent;
}

.menu {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.menu li {
    position: absolute;
    left: 0;
    list-style: none;
    transform-origin: 100px;
    transition: 0.5s;
    transition-delay: calc(0.1 * var(--i));
    transform: rotate(0deg) translateX(80px);
}

.menu.active li {
    transform: rotate(calc(360deg / 8 * var(--i)));
}

.menu li a,
.menu li button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    /* width dan height menu li transform translateX dibagi 2 */
    background: var(--color-theme-alter);
    border-radius: 50%;
    transform: rotate(calc(360deg / -8 * var(--i)));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
    color: var(--color-a);
    transition: 0.5s;
}

.menu li button {
    border: 0;
}

.menu li a:hover,
.menu li button:hover {
    color: var(--color-a-hover);
}

.toggle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-theme-alter);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
    font-size: 2em;
    transition: transform 0.5s;
}

.menu.active .toggle {
    transform: rotate(135deg);
    box-shadow: 3px 0 4px rgba(0, 0, 0, 0.15);
}

/* ======= Header ======= */
.textheader {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.textheader h2 {
    color: var(--color-text);
}

/* text slider */
.intro-subtitle {
    position: absolute;
}

.text-slider-items {
    display: none;
    visibility: hidden;
    opacity: 0;
}

/* ======= Payment ======= */
.payment {
    margin: 50px 0;
}

.paymenttext {
    color: var(--color-text);
}

/* ======= Produk ======= */
.produk {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.textproduk {
    color: var(--color-text);
}

.framebox {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-theme);
    overflow: hidden;
    border-radius: 20px;
    margin: 25px;
}

.frameboxspecial::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 140%;
    background: linear-gradient(var(--color-frame), var(--color-frame-alter));
    animation: otduasatu 3s linear infinite;
}

.framebox::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--color-theme);
    border-radius: 16px;
}

.framebox .circle {
    position: absolute;
    bottom: -15%;
    left: 50%;
    width: 300px;
    transition: 0.5s;
    transform-style: preserve-3d;
    z-index: 1;
    opacity: 1;
    transform: translate3d(-50%, -50%, 50px);
}

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

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

.framebox .name {
    position: absolute;
    top: 40px;
    left: 0;
    text-align: center;
    color: var(--color-text);
    width: 100%;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 75px);
    transition: 0.5s;
    opacity: 1;
    z-index: 10;
}

.framebox .view {
    position: absolute;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate3d(-50%, 0, 75px);
    color: var(--color-text);
    background: var(--color-botton);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.5s;
    z-index: 10;
    bottom: 0;
    opacity: 0;
}

.framebox:hover .view {
    bottom: 10px;
    opacity: 1;
}

.box {
    position: relative;
    width: 300px;
    height: 300px;
    background: transparent;
    border-radius: 20px;
    margin: 5px;
    transform-style: preserve-3d;
    z-index: 2;
}

.box:hover::before,
.box:hover::after {
    opacity: 0.04;
}

.box .product {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 150px;
    z-index: 11;
    transition: 0.5s;
    transform-style: preserve-3d;
    transform: translate3d(-50%, -50%, 50px);
}

.box:hover .product {
    transform: translate3d(-50%, -50%, 100px);
}

/* ======= Custom Style ======= */