/* RESET DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* BODY UTAMA */
body {
    background-color: #000;
    color: #fff;
    opacity: 0;
    animation: gelap 1.5s ease forwards;
    font-family: "Russo One", Sans-Serif;
}

/* ANIMASI MASUK DARK MODE */
@keyframes gelap {
    to {
        opacity: 1;
    }
}

/* HEADER STICKY ATAS */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 17px;
    z-index: 404;
    background: #1a1a1a;
    box-shadow: 0 0 30px #dcdcdc;
}

/* Bagian Profile */
.profile {
    display: block;
    margin: auto;
    max-width: 500px;
    height: 180px;
    width: 180px;
    object-fit: cover;
    border-radius: 100px;
    box-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #00f;
}

.nama-profile {
    color: #0ff;
    text-shadow: 0 0 15px #0ff;
    margin-top: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
}

.desk {
    text-align: center;
    font-weight: bold;
}

.about-card {
    border-radius: 8px;
    margin-top: 12px;
    background-color: #111;
    border: 1px solid #0ff;
    padding: 20px;
    font-weight: bold;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
    transition: 0.5s;
}

.about-card:hover {
    box-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #00f;
}

.about {
    font-size: 25px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.about:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 32px;
    background-color: #0ff;
    border-radius: 20px;
    top: 0;
    left: 0;
}

.about-me {
    margin-top: 8px;
}

.info-card {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    gap: 25px;
}

.get-card {
    background: #111;
    border: 2px solid #0ff;
    border-radius: 12px;
    padding: 20px;
    font-weight: bold;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
    transition: 0.5s;
}

.get-card:hover {
    box-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #00f;
}

.get-card p {
    margin-top: 5px;
}

.get {
    margin-top: 6px;
    text-decoration: none;
    background-color: #0ff;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    color: #000;
    font-weight: bold;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
}

.animasi {
    opacity: 0;
    animation: terang 1s ease forwards;
}

/* ICON BURGER MENU */
.burger {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

/* SIDEBAR STYLE */
.sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: left 0.3s ease;
    padding: 20px;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    color: #005eff;
    font-size: 20px;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.sidebar-menu {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.sidebar-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 17px;
    color: #dcdcdc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.sidebar-menu li:hover {
    color: #005eff;
}

/* JUDUL BRAND */
.brand {
    color: #0ff;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    text-shadow: 0 0 12px #fff;
}

/* TOMBOL GANTI MODE */
.tema {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
}

/* KONTEN UTAMA */
.all-container {
    padding: 20px;
    margin-top: 80px;
    padding-bottom: 120px;
    display: block;
}

/* KARTU PRODUK */
.all-card {
    background: #111;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #00f;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(0);
    transition: box-shadow 0.3s;
}

.all-card:hover {
    box-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 30px #00f;
}

/* GAMBAR PRODUK */
.foto {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 500px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow:
        0 0 10px #dcdcdc,
        0 0 10px #000;
}

/* ANIMASI MASUK KARTU */
@keyframes fadeInUp {
    to {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/* NAMA, DESKRIPSI, HARGA */
.nama {
    color: #0ff;
    font-size: 30px;
    font-weight: bold;
    margin-top: 12px;
}

.buat {
    font-size: 20px;
    margin-top: 8px;
}

.harga {
    font-size: 20px;
    font-weight: bold;
    margin-top: 16px;
}

/* TOMBOL UTAMA */
.button {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #00f, #0ff);
    padding: 6px;
    border-radius: 8px;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.button:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 15px #00f;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 15px #0ff,
        0 0 15px #00f;
}

/* FOOTER */
.footer {
    font-weight: bold;
    text-align: center;
    opacity: 0;
    animation: foot 1s ease forwards;
}

@keyframes foot {
    to {
        opacity: 1;
        transform: translateY(15px);
    }
}

/* BOTTOM NAVIGATION */
.bawah {
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 12px;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 0 30px #fff;
    font-weight: bold;
   
}

/* BUTTON DI NAV BAWAH */
.bwh {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    padding: 8px;
    text-shadow: 0 0 12px #fff;
    cursor: pointer;
}

/* MODE TERANG */
body.light-mode {
    background-color: #dcdcdc;
    color: #000;
    animation: terang 1.5s ease forwards;
}

@keyframes terang {
    to {
        opacity: 1;
    }
}

body.light-mode header {
    background-color: #f5f5f5;
    box-shadow: 0 0 30px #000;
    margin-top: -1px;
}

body.light-mode .brand,
body.light-mode .nama-profile {
    color: #00f;
    text-shadow: 0 0 12px #00f;
}

body.light-mode .about:before {
    background-color: #00f;
}

body.light-mode .get,
body.light-mode .button {
    box-shadow:
        0 0 5px #00f,
        0 0 10px #00f,
        0 0 15px #0ff;
}

body.light-mode .burger,
body.light-mode .tema {
    color: #000;
}

/* SIDEBAR STYLE */
body.light-mode .sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: left 0.3s ease;
    padding: 20px;
}

body.light-mode .sidebar.open {
    left: 0;
}

body.light-mode .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.light-mode .sidebar-header h2 {
    color: #005eff;
    font-size: 20px;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

body.light-mode .sidebar-menu {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

body.light-mode .sidebar-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 17px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

body.light-mode .sidebar-menu li:hover {
    color: #005eff;
}

body.light-mode .all-card,
body.light-mode .about-card,
body.light-mode .get-card,
body.light-mode .profile {
    background: #f5f5f5;
    box-shadow:
        0 0 5px #00f,
        0 0 10px #00f,
        0 0 15px #0ff;
}

body.light-mode .all-card:hover,
body.light-mode .get-card:hover,
body.light-mode .about-card:hover {
    box-shadow:
        0 0 10px #00f,
        0 0 20px #00f,
        0 0 30px #0ff;
}

body.light-mode .nama {
    color: #00f;
}

body.light-mode .bawah {
    background: #f5f5f5;
    box-shadow: 0 0 30px #000;
}

body.light-mode .bwh {
    color: #000;
    text-shadow: 0 0 12px #000;
}
