:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --bg-dark: #0a0b10;
    --card-bg: rgba(20, 22, 30, 0.8);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* BACKGROUND IMAGE SETTINGS */
.main-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('background-anda.jpg'); /* GANTI DENGAN GAMBAR ANDA */
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.3) saturate(1.2);
}

.overlay-texture {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent, var(--bg-dark));
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 25px 8%;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}

.logo { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: 2px; }
.logo span { color: var(--primary); }

.nav-menu a { color: #ccc; text-decoration: none; margin-left: 25px; transition: 0.3s; font-size: 0.9rem; }
.nav-menu a:hover { color: var(--primary); }

.hero-text {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
}

.hero-text h4 { color: var(--primary); letter-spacing: 5px; margin-bottom: 10px; font-weight: 400; }
.hero-text h1 { font-family: 'Orbitron', sans-serif; font-size: 4rem; margin-bottom: 20px; }

.shimmer {
    background: linear-gradient(90deg, #fff, var(--primary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine { to { background-position: 200% center; } }

/* PROJECT CARDS (Bento Style but Heavier) */
.section-title { padding: 50px 8% 20px; font-family: 'Orbitron'; letter-spacing: 2px; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 0 8% 100px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.image-box { position: relative; height: 250px; overflow: hidden; }
.image-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.project-card:hover img { transform: scale(1.1); }

.tag {
    position: absolute; top: 15px; left: 15px;
    background: var(--primary); color: #000;
    padding: 5px 15px; font-size: 0.7rem; font-weight: 700; border-radius: 5px;
}

.content-box { padding: 25px; }
.content-box h3 { margin-bottom: 15px; font-family: 'Orbitron'; font-size: 1.2rem; color: var(--primary); }
.content-box p { color: #aaa; font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.specs { display: flex; gap: 15px; }
.specs span { font-size: 0.75rem; color: #fff; background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 4px; }
.dot { height: 7px; width: 7px; background: var(--primary); display: inline-block; border-radius: 50%; margin-right: 5px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }