/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    /* padding-top: 80px; */
    padding-top: 76px;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --header-h: 64px;
    --card: #121212;
    --line: #262626;
    --sub: #b3b3b3;
    --radius: 14px;
}

/* Header fixed */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #111;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo kiri */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
}

.logo a:hover {
    color: #00d9ff;
    /* opsional efek hover */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo img {
    width: 40px;
    height: auto;
    display: block;
}

.logo span {
    font-weight: 700;
    font-size: 22px;
}

/* Nav desktop */
.nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.nav a:hover {
    color: #00d9ff;
}

/* Tombol hamburger (hidden di desktop) */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

.nav-toggle {
    display: none;
}

/* checkbox hack */

/* ====== MOBILE ====== */

/* Tablet (≥ 600px) → 2 card */
@media (min-width: 600px) {
    .produk-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-track {
        grid-auto-columns: calc(50% - 40px);
    }

    .testi-card {
        flex: 0 0 50%;
    }

    /* 2 per layar */
}

/* Tablet besar / layar sedang (≥ 900px) → 3 card */
@media (min-width: 900px) {
    .produk-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        min-height: 100vh;
    }
}

/* PC / layar besar (≥ 1200px) → 4 card */
@media (min-width: 1200px) {
    .produk-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero {
        min-height: 100vh;
    }

    .testi-track {
        grid-auto-columns: calc(33.333% - 40px);
    }

    .testi-card {
        flex: 0 0 33.33%;
    }

    /* 3 per layar */
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }

    /* header lebih pendek di HP */
    .site-header {
        padding: 12px 16px;
    }

    .logo img {
        width: 32px;
    }

    .logo span {
        font-size: 18px;
    }

    /* tampilkan hamburger, sembunyikan nav default */
    .hamburger {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        border-top: 1px solid #222;
        display: none;
    }

    .nav ul {
        flex-direction: column;
        gap: 12px;
        padding: 14px 16px;
    }

    /* saat checkbox dicentang -> nav muncul */
    .nav-toggle:checked~.nav {
        display: block;
    }

    /* .hero {
        padding: 88px 16px 64px;
    } */
    .hero {
        padding: 110px 16px 72px;
        background:
            radial-gradient(800px 280px at 50% 14%, rgba(243, 156, 18, .20), transparent 60%),
            #000;
        min-height: 100vh;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 15px;
    }

    :root {
        --header-h: 72px;
    }

    .testi-nav {
        display: none;
    }
}

/* Opsional: bayangan halus di bawah header */
.site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ===== HERO / BERANDA ===== */
.hero {
    position: relative;
    /* padding: 140px 20px 46px; */
    background:
        radial-gradient(1200px 420px at 50% -20px,
            /* pusat gradasi di ATAS (menyentuh navbar) */
            rgba(0, 217, 255, 0.4), transparent 60%),
        #000;
    text-align: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(120px + var(--header-h));
    /* min-height: 100vh; */

    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    /* vertikal + horizontal center */
    padding: clamp(24px, 4vw, 48px) 20px;
}

.hero-inner {
    max-width: 1050px;
    margin: 0 auto;
}

.hero-kicker {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

.hero h1 {
    /* font-size: clamp(32px, 6vw, 56px); */
    /* font-size: clamp(32px, 5vw, 52px); */
    line-height: 1.15;
    margin: 6px 0 12px;
    font-weight: 900;
    letter-spacing: .4px;
    margin-top: 6px;

    font-size: clamp(1.6rem, 4.2vw, 3rem);
}

.hero-sub {
    max-width: 680px;
    margin: 0 auto 22px;
    opacity: .9;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    /* margin-top: 8px; */
    margin-top: 16px;
}

/* poin-poin keunggulan */
.hero-points {
    margin: 18px auto 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    /* opacity: .9; */
    opacity: .85;
    font-size: 14px;
}

/* tombol */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 30px #00d9ff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00ff99, #00d9ff);
    color: #111;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: #333;
}

.btn-ghost:hover {
    background: #1a1a1a;
}

/* wave dekor */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
}

.hero-wave path {
    fill: #111;
}


/* Produk Section */
/* Atur jarak saat di-scroll ke anchor #layanan */
#layanan {
    scroll-margin-top: 96px;
    /* sesuaikan dgn tinggi header (mis. 64–120px) */
    padding-top: 8px;
    /* biar judul ada napas */
}

.produk {
    /* padding: 50px 20px; */
    text-align: center;
    padding: 60px 20px;
    /* beri ruang dalam */
    box-sizing: border-box;
}

.produk h2 {
    margin-bottom: 30px;
    /* font-size: 32px; */
}

.produk-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* .card h3 {
    margin-bottom: 10px;
} */

/* Judul produk */
.card h3 {
    /* font-size: 1.3rem; */
    margin-bottom: 15px;
    color: #00d9ff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 3px 10px #00d9ff;
}

/* List spesifikasi */
.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    width: 100%;
}

.card ul li {
    margin: 8px 0;
    font-size: 0.95rem;
    border-left: 3px solid #ffff;
    padding-left: 10px;
}

/* Harga */
.card .harga {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00d9ff;
    margin-bottom: 20px;
}

/* Tombol Pesan */
.card .btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #00d9ff, #00ff99);
    color: #111;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
}

.card .btn:hover {
    background: linear-gradient(135deg, #00ff99, #00d9ff);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 255, 153, 0.5);
}

/* FAQ (details/summary for accessibility) */

#faq {
    /* padding: 40px 20px; */
    /* beri ruang kiri-kanan */
    max-width: 900px;
    /* biar nggak terlalu lebar */
    margin: 0 auto;
    /* posisikan di tengah */

    min-height: 100vh;
    /* bikin tinggi minimal 1 layar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* tengah vertikal (opsional) */
    padding: 60px 0px;
    /* beri ruang dalam */
    box-sizing: border-box;

    scroll-margin-top: 50px;
    /* sesuaikan dgn tinggi header (mis. 64–120px) */
    padding-top: 8px;
    /* biar judul ada napas */
}

/* Section FAQ */
#faq h2 {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    padding: 2px 16px;

    display: block;
    width: 100%;
    margin: 8px 0;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.faq-item:hover,
.faq-item:focus-within {
    border-color: #2f2f2f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    transform: translateY(-1px);
}

/* Saat terbuka */
.faq-item[open] {
    border-color: #3a3a3a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

.faq-item+.faq-item {
    margin-top: 12px
}

/* Header pertanyaan */
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    /* hilangkan marker default */
    outline: none;
}

/* Hilangkan marker default WebKit */
.faq-item summary::-webkit-details-marker {
    display: none
}

/* Panah indikator di kanan */
.faq-item summary::after {
    content: '▸';
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform .25s ease, opacity .25s ease;
    opacity: .9;
}

/* Putar panah saat open */
.faq-item[open] summary::after {
    transform: rotate(90deg);
}

/* Garis pemisah & isi jawaban */
.faq-item[open] summary {
    border-bottom: 1px solid var(--line);
}

.faq-item p {
    color: var(--sub);
    margin-top: 8px;

    padding: 12px 20px 18px;
    margin: 0;
}

/* Testimoni */
.testi-section {
    padding: 60px 20px 30px;
    text-align: center;
}

.testi-section h2 {
    font-size: 2rem;
    color: #00d9ff;
    margin-bottom: 6px;
}

.testi-section .sub {
    color: #a9a9a9;
    margin-bottom: 22px;
}

.testi-shell {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testi-viewport {
    overflow: hidden;
    position: relative;
}

.testi-track {
    display: flex;
    gap: 0;
    will-change: transform;
    transform: translateX(0);
}

.testi-card {
    flex: 0 0 100%;
    /* 1 slide = 1 layar viewport */
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
    text-align: left;
    width: 100%;
    
    background:#1a1a1a;
}

.stars {
    color: #ffcf40;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.quote {
    color: #e5e5e5;
    margin: 0 0 14px;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    background: #111;
    border: 1px solid #2a2a2a;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}

.testi-nav.prev {
    left: -56px;
}

/* di luar kiri */
.testi-nav.next {
    right: -56px;
}

/* di luar kanan */

@media (max-width:720px) {
    .testi-nav {
        display: none;
    }
}

/* di HP pakai auto-slide saja */



/* CONTACT */
/* Section Kontak */
.contact-section {
    padding: 60px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00d9ff;
}

.contact-section .sub {
    color: #aaa;
    margin-bottom: 30px;
}

/* Grid kartu kontak */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* Card */
.contact-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 217, 255, 0.3);
}

/* Ikon */
.contact-card .icon {
    font-size: 2rem;
}

/* Teks */
.contact-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.contact-card a {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}



/* Footer */
footer {
    text-align: center;
    background: #111;
    padding: 20px;
    margin-top: 40px;
}