/* =====================
   FONT
===================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600&display=swap');

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

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =====================
   NAVBAR
===================== */
header {
    height: 80px;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
    z-index: 9999;
}

/* LEFT */
.nav-left {
    display: flex;
    align-items: center;
}

.menu-toggle {
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

/* CENTER LOGO */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* RIGHT MENU */
.nav-right {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

/* =====================
   DROPDOWN MENU
===================== */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    background: #111;
    width: 260px;
    padding: 20px;
    flex-direction: column;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-item {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

/* =====================
   VIDEO SECTION
===================== */
.video-section {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    background: #000;
}

.video-player {
    width: 61%;
    max-height: 600px;
    object-fit: contain;
}

/* =====================
   PRODUK
===================== */
.produk-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* BOX */
.produk-box {
    width: 381px;
    background: #000;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(000,000,000,00);
    transition: 0.3s ease;
}

.produk-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(255,255,255,0.25);
}

/* =====================
   CAROUSEL
===================== */
.carousel {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel-img.active {
    display: block;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

/* =====================
   HARGA & DISKON
===================== */
.harga {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.harga-old {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

.harga-new {
    color: #e63946;
    font-weight: bold;
    font-size: 16px;
}

.badge-diskon {
    background: #e63946;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* =====================
   FOOTER
===================== */
footer.menu-bawah {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: #000000;
    font-size: 14px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .nav {
        grid-template-columns: 1fr 1fr 1fr; /* Sama besar di mobile */
        padding: 0 15px; 
    }

    /* PASTIKAN INI ADA: Membatalkan display: none sebelumnya */
    .nav-right {
        display: flex !important; 
        justify-content: flex-end;
    }
    
    .logo-img {
        height: 25px; /* Sesuaikan ukuran logo mobile */
    }
}

.nav {
    display: grid;
    /* 1fr 2fr 1fr memberikan ruang lebih luas untuk logo di tengah */
    grid-template-columns: 1fr 2fr 1fr; 
    align-items: center;
    width: 100%;
    padding: 0 20px; /* Jarak aman dari pinggir layar */
    box-sizing: border-box;
}

.logo {
    display: flex;
    justify-content: center; /* Logo tetap di tengah */
}

.logo-img {
    height:55px;
    width: auto;
    object-fit: contain;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    justify-self: end;
}

.nav-item {
    margin: 0; /* Hapus margin yang mungkin mengganjal */
    white-space: nowrap; /* Agar tulisan tidak turun ke bawah */
}


.social-footer {
    margin-top: 10px;
}

.social-footer a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.2s;
}

.social-footer a:hover {
    transform: scale(1.2); /* efek hover */
}

@media (max-width: 768px) {

    .video-section {
        margin-top: 64px;
        padding: 0;
    }

    .video-player {
        width: 94%;
        height: 241px;
        object-fit: cover;
        border-radius: 0;
    }

}

@media (max-width: 768px) {
    .nav {
        grid-template-columns: 1fr 1fr 1fr; /* Sama besar di mobile */
        padding: 0 15px; 
    }

    /* PASTIKAN INI ADA: Membatalkan display: none sebelumnya */
    .nav-right {
        display: flex !important; 
        justify-content: flex-end;
    }
    
    .logo-img {
        height: 25px; /* Sesuaikan ukuran logo mobile */
    }
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fffff;
}

.terms-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.terms-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.terms-container h2 {
    font-size: 18px;
    margin-top: 24px;
}

.terms-container p {
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
}

.back-link:hover {
    text-decoration: underline;
}


