/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    text-align: center;
}
/* Bagian Statistik */
.statistics {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Judul Statistik */
.statistics h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Container Chart */
.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

/* Gaya Grafik Batang */
.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #333;
    border-bottom: 3px solid #333;
}

/* Batang Grafik */
.bar {
    width: 40px;
    background: linear-gradient(180deg, #007bff, #00c6ff);
    border-radius: 5px;
    height: 0; /* Awalnya 0, akan naik dengan JS */
    transition: height 1.5s ease-in-out;
}

/* Label Tahun */
.bar-label {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Counter Number */
.counter {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #007bff;
}
/* Header */
header {
    background-image: url("pasha.jpg");
    color: black;
    padding: 20px;
}
header img {
    width: 80px;
    height: auto;
    position: relative;
    overflow: hidden;
}

/* Efek kilauan */
header img::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.1) 70%);
    transform: skewX(-25deg);
    animation: shine 3s infinite linear;
}
/* Statistik Pembeli */
.statistics {
    text-align: center;
    padding: 40px 20px;
    background: white; /* Menyesuaikan tema gelombang hitam */
    color: black;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}
/* Angka Counter */
.counter {
    font-size: 48px;
    font-weight: bold;
    color: #00ff99;
    text-shadow: 2px 2px 10px rgba(0, 255, 153, 0.6);
    animation: glowText 1.5s infinite alternate;
}

/* Efek Glow */
@keyframes glowText {
    0% { text-shadow: 2px 2px 10px rgba(0, 255, 153, 0.6); }
    100% { text-shadow: 2px 2px 20px rgba(0, 255, 153, 1); }
}
/* Animasi mengkilat */
@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}
h1 {
    font-size: 28px;
    margin: 10px 0;
}
p {
    font-size: 18px;
    opacity: 0.8;
}

/* Keunggulan Kami */
/* Keunggulan Kami */
/* Keunggulan Kami */
.advantages {
    padding: 20px;
    background-color: white;
    text-align: center;
}

/* Mengatur keunggulan dalam 3 baris */
.advantages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Kotak Keunggulan */
.advantage {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
    cursor: pointer;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Animasi Klik */
.advantage:active {
    transform: scale(0.95);
    background: #f0f0f0;
}

/* Gambar Keunggulan */
.advantage img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.advantage:hover img {
    transform: rotate(10deg);
}

/* Nama Keunggulan */
.advantage p {
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 550px;
    margin: 30px auto;
}

.product {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(50% - 15px);
    max-width: 250px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer; /* Menunjukkan elemen bisa diklik */
}

/* Style khusus untuk produk di sisi kiri */
.product:nth-child(odd) {
    background: #f8f9fa;
    border-left: 5px solid #28a745;
}

/* Style khusus untuk produk di sisi kanan */
.product:nth-child(even) {
    background: #ffffff;
    border-right: 5px solid #007bff;
}

/* Efek animasi ketika diklik */
.product:active {
    transform: scale(1.05); /* Produk membesar sedikit */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); /* Efek glow */
}

.product img {
    width: 60px;
    height: auto;
}

.product h3 {
    font-size: 20px;
    margin: 10px 0;
}

.product p {
    font-size: 14px;
    margin: 10px 0;
}

.order-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.order-btn:hover {
    background: #218838;
}
/* shiny text */
.shiny-text {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #b0b0b0, #000000, #b0b0b0, #ffffff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}
/* Container Review */
.reviews {
    margin: 50px auto;
    max-width: 800px;
    text-align: center;
}

/* Kotak Review */
.review {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Foto Profil */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

/* Konten Review */
.review .content {
    text-align: left;
    flex: 1;
}

/* Nama Pengguna */
.username {
    font-weight: bold;
    font-size: 17px;
    color: #333;
}

/* Bintang Review */
.stars {
    color: gold;
    font-size: 18px;
}
/* Garis Pembatas Estetik */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.section-divider.show {
    opacity: 1;
    transform: translateY(0);
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #ddd, #666, #ddd);
}

.section-divider span {
    font-size: 18px;
    font-weight: bold;
    padding: 0 15px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ikon */
.section-divider i {
    font-size: 22px;
    color: #28a745;
}
/* 🔹 Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 20, 40, 0.5);
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🔹 Navbar Left (Tombol Menu + Logo) */
.nav-left {
    display: flex;
    align-items: center;
}

/* 🔹 Tombol Menu di Kiri */
.menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 15px; /* Jarak dengan judul */
}

/* 🔹 Dropdown Menu */
.menu {
    position: absolute;
    top: 50px;
    left: 20px; /* Letak dropdown di pojok kiri */
    background: #111;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 255, 255, 0.3);
    display: none;
    flex-direction: column;
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* 🔹 Munculkan Dropdown */
.menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* 🔹 Efek Hover */
.menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 🔹 Pindah Teks ke Kanan */
.menu a::before {
    content: "▸";
    color: cyan;
    font-size: 16px;
    margin-right: 10px;
}

/* 🔹 Tambahkan Jarak untuk Konten agar Tidak Tertutup Navbar */
body {
    padding-top: 60px;
}
/* Footer */
footer {
    background: #343a40;
    color: white;
    padding: 15px;
    margin-top: 30px;
}
footer a {
    color: #0dcaf0;
    text-decoration: none;
}