@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0d0f12;
    --card-dark: #15181e;
    --border-dark: #222733;
    --accent: #ffffff;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    cursor: none; /* Menggunakan custom cursor */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* CUSTOM CURSOR */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.cursor-circle {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loader-content { text-align: center; }
.loader-percent { font-size: 3.5rem; font-weight: 800; }
.loader-bar-bg { width: 260px; height: 4px; background: #222; margin: 1rem auto; border-radius: 2px; }
.loader-bar { width: 0%; height: 100%; background: #fff; transition: width 0.1s; }
.loader-text { font-size: 0.75rem; letter-spacing: 2px; color: var(--text-gray); }
.loader-brand { font-weight: 800; margin-top: 5px; }

/* NAVBAR PILL STYLE */
.navbar-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.navbar {
    background: rgba(21, 24, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-dark);
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-brand a { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.nav-menu { display: flex; list-style: none; gap: 1.5rem; }
.nav-link { color: var(--text-gray); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-link.active, .nav-link:hover { color: #fff; }
.nav-btn-ig {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* HERO SECTION & GRID PATTERN */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 8% 4rem;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

/* ID CARD DENGAN TALI (DRAGGABLE & SWING) */
.id-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    user-select: none;
    touch-action: none;
}

.lanyard-strap {
    width: 28px;
    height: 120px;
    background: #181b22;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.strap-text {
    writing-mode: vertical-rl;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #666;
}

.strap-clip {
    position: absolute;
    bottom: -15px;
    width: 14px;
    height: 20px;
    border: 2px solid #888;
    border-radius: 4px;
}

.id-card {
    width: 260px;
    height: 380px;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    margin-top: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: grab;
    transition: box-shadow 0.2s ease;
}

.id-card:active { cursor: grabbing; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9); }

.id-hole {
    width: 40px;
    height: 8px;
    background: #222;
    border-radius: 10px;
    margin-bottom: 1.2rem;
}

.id-photo {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-badge-text { color: #000; font-weight: 800; margin-top: auto; font-size: 1.4rem; letter-spacing: 1px; }

/* HERO TEXT */
.hero-greeting { color: var(--text-gray); font-size: 1.1rem; }
.hero-greeting span { color: #fff; font-weight: 700; }
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin: 0.8rem 0 1.2rem; }
.hero-desc { color: var(--text-gray); line-height: 1.6; margin-bottom: 2rem; }
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1.8rem;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
}

/* PORTFOLIO & FILTER TABS */
.section-container { padding: 6rem 8%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 2.6rem; font-weight: 800; margin-bottom: 1.5rem; }
.section-title span { color: #60a5fa; }

.filter-tabs { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.tab-btn {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    color: var(--text-gray);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-weight: 600;
}
.tab-btn.active, .tab-btn:hover { background: #fff; color: #000; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    height: 340px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
}

.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-weight: 700;
}

/* ORDER & TESTIMONIALS */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    padding: 4rem 3rem;
    border-radius: 24px;
}

.order-sub { color: #60a5fa; font-weight: 700; letter-spacing: 2px; }
.order-heading { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin: 0.5rem 0 2rem; }
.contact-buttons { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-pill {
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    background: #0d0f12;
    border: 1px solid var(--border-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.contact-pill.ig:hover { background: #fff; color: #000; }
.contact-pill.wa:hover { background: #22c55e; color: #fff; }
.order-hint { font-size: 0.75rem; color: #666; letter-spacing: 1px; }

/* Testimoni Floating Cards */
.testi-right { display: flex; flex-direction: column; gap: 1rem; }
.review-card {
    background: #0d0f12;
    border: 1px solid var(--border-dark);
    padding: 1.2rem;
    border-radius: 14px;
}
.review-user { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.9rem; }
.stars { color: #f59e0b; }
.review-card p { color: var(--text-gray); font-size: 0.85rem; }

/* FOOTER */
.footer { text-align: center; padding: 3rem; color: #555; font-size: 0.85rem; }

/* RESPONSIVE */
@media(max-width: 850px) {
    .hero-container, .order-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2.8rem; }
    .contact-buttons { justify-content: center; }
}