
/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
    text-transform:uppercase;
}

:root{
    --bg-color:#000;
    --text-color:#fff;
    --border-color:#222;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#000;
    color:#fff;
    line-height:1.5;
    overflow-x:hidden;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-track{
    background:#000;
}

::-webkit-scrollbar-thumb{
    background:#fff;
}

/* =========================
   LOADER
========================= */

#loader{
    position:fixed;
    inset:0;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader-logo{
    width:180px;
    animation:pulse .8s infinite;
}

@keyframes pulse{
    0%,100%{
        opacity:1;
        transform:scale(1);
    }

    50%{
        opacity:.4;
        transform:scale(.95);
    }
}

/* =========================
   SOUND BUTTON
========================= */

#sound-toggle{
    position:fixed;
    bottom:20px;
    left:20px;
    background:transparent;
    color:#fff;
    border:1px solid #fff;
    padding:8px 12px;
    cursor:pointer;
    z-index:999;
}

/* =========================
   NAVBAR
========================= */

nav{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    background:rgba(0,0,0,.95);
    backdrop-filter:blur(10px);

    border-bottom:1px solid var(--border-color);
}

.brand-logo img{
    height:55px;
    display:block;
}

.nav-links{
    display:flex;
    gap:40px;
    list-style:none;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:.85rem;
    font-weight:700;
    transition:.3s;
}

.nav-links a:hover{
    opacity:.6;
}

.cart{
    cursor:pointer;
    font-weight:700;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:90vh;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    background:
    radial-gradient(circle at center,#1b1b1b 0%,#000 70%);
}

.hero-content h1{
    font-size:clamp(4rem,12vw,9rem);
    line-height:.85;
    letter-spacing:-6px;
    margin-bottom:30px;
    font-weight:900;
}

.btn-primary{
    display:inline-block;

    padding:15px 35px;

    background:#fff;
    color:#000;

    text-decoration:none;
    font-weight:900;

    transition:.3s;
}

.btn-primary:hover{
    background:#000;
    color:#fff;
    border:1px solid #fff;
}

/* =========================
   MARQUEE
========================= */

.marquee-container{
    overflow:hidden;
    background:#fff;
    color:#000;
    padding:12px 0;
}

.marquee{
    display:flex;
    gap:30px;
    white-space:nowrap;
    animation:marquee 15s linear infinite;
    font-weight:900;
}

@keyframes marquee{
    0%{
        transform:translateX(0);
    }

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

/* =========================
   CAMPAIGN IMAGE
========================= */

.image-section{
    width:100%;
    overflow:hidden;
    border-top:1px solid var(--border-color);
    border-bottom:1px solid var(--border-color);
}

.image-section img{
    width:100%;
    display:block;
    object-fit:cover;
}

/* =========================
   SHOP
========================= */

.shop{
    padding:80px 30px;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:clamp(2rem,5vw,4rem);
    letter-spacing:4px;
    font-weight:900;
}

/* =========================
   PRODUCT GRID
========================= */

.produk-grid{
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

/* =========================
   CARD
========================= */

.card{
    background:#050505;
    border:1px solid #222;
    overflow:hidden;
    transition:.4s;
}

.card:hover{
    transform:translateY(-8px);
    border-color:#fff;
}

.card-img-wrapper{
    aspect-ratio:4/5;
    overflow:hidden;
}

.card-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.card:hover img{
    transform:scale(1.05);
}

.card-info{
    padding:25px;
}

.card-info h3{
    font-size:1rem;
    margin-bottom:10px;
    font-weight:800;
}

.price{
    color:#888;
    margin-bottom:20px;
    font-weight:700;
}

/* =========================
   SELECTORS
========================= */

.selectors{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

select{
    flex:1;
    background:#000;
    color:#fff;
    border:1px solid #333;
    padding:12px;
    cursor:pointer;
}

select:focus{
    border-color:#fff;
    outline:none;
}

/* =========================
   BUTTONS
========================= */

.add-to-cart-btn{
    width:100%;
    padding:14px;

    background:#fff;
    color:#000;

    border:none;

    font-weight:900;
    cursor:pointer;

    transition:.3s;
}

.add-to-cart-btn:hover{
    background:#000;
    color:#fff;
    border:1px solid #fff;
}

.checkout-wrapper{
    text-align:center;
    margin-top:60px;
}

#checkout-btn{
    padding:16px 40px;
}

/* =========================
   ABOUT
========================= */

.about{
    padding:100px 20px;
    text-align:center;
    border-top:1px solid var(--border-color);
}

.about h2{
    font-size:2.5rem;
    margin-bottom:20px;
}

.about p{
    max-width:800px;
    margin:auto;
    color:#888;
    line-height:1.8;
}

/* =========================
   FOOTER
========================= */

footer{
    padding:40px 20px;
    border-top:1px solid var(--border-color);
    text-align:center;
}

.footer-content img{
    height:30px;
    margin-bottom:10px;
    filter:invert(1);
}

.footer-content p{
    color:#666;
    font-size:.8rem;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    nav{
        padding:15px;
    }

    .nav-links{
        display:none;
    }

    .brand-logo img{
        height:40px;
    }

    .hero-content h1{
        font-size:4rem;
        letter-spacing:-3px;
    }

    .shop{
        padding:60px 15px;
    }

    .produk-grid{
        grid-template-columns:1fr;
    }

    .selectors{
        flex-direction:column;
    }

    .card-info{
        padding:20px;
    }

    .loader-logo{
        width:120px;
    }

}
