* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0b0f1a;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(11, 15, 26, .7);
    backdrop-filter: blur(12px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

nav h1 {
    color: #00e0ff;
    font-weight: 700;
    animation: glow 3s infinite alternate;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

/* Pastikan parent (li) relative agar anak (dropdown) bisa diposisikan terhadapnya */
nav ul li {
    position: relative;
}

/* Style untuk Sub-Menu */
.dropdown-content {
    display: none; /* Sembunyikan secara default */
    position: absolute; /* PENTING: Agar melayang & tidak mendorong menu lain */
    top: 100%; /* Muncul tepat di bawah tulisan Services */
    left: 0;
    background-color: #0f0f1e; /* Warna background gelap */
    min-width: 200px; /* Lebar minimum agar teks tidak terpotong */
    box-shadow: 0 8px 16px rgba(0,224,255,0.2); /* Efek bayangan neon */
    border: 1px solid #00e0ff;
    border-radius: 8px;
    z-index: 9999; /* Pastikan muncul di paling depan (di atas hero section) */
    padding: 0;
    list-style: none;
}

/* --- CSS DROPDOWN HOVER --- */

/* 1. Pastikan induknya relative agar anak bisa diposisikan absolut terhadapnya */
.dropdown {
    position: relative;
    display: inline-block;
    height: 100%; /* Pastikan area hover tidak putus */
}

/* 2. Style dasar submenu (Sembunyi dulu) */
.dropdown-content {
    display: none; /* Default sembunyi */
    position: absolute;
    top: 100%; /* Muncul persis di bawah menu induk */
    left: 0;
    background-color: #05070a; /* Warna background (sesuai tema gelap Anda) */
    min-width: 220px; /* Lebar minimum submenu */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1000;
    border: 1px solid rgba(0, 224, 255, 0.2); /* Border neon tipis */
    border-radius: 10px;
    padding: 10px 0;
}

/* 3. Style item di dalam submenu */
.dropdown-content li {
    display: block;
    width: 100%;
    margin: 0;
}

.dropdown-content li a {
    color: #e2e8f0;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* Efek hover pada item submenu */
.dropdown-content li a:hover {
    background-color: rgba(0, 224, 255, 0.1);
    color: #00e0ff;
    padding-left: 25px; /* Efek geser sedikit */
}

/* --- BAGIAN KUNCINYA ADA DI SINI --- */
/* 4. Tampilkan submenu saat class .dropdown di-hover */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease; /* Animasi muncul halus (opsional) */
}

/* Animasi tambahan agar munculnya halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style item di dalam dropdown */
.dropdown-content li {
    width: 100%;
    margin: 0;
}

.dropdown-content li a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content li a:last-child {
    border-bottom: none;
}

.dropdown-content li a:hover {
    background-color: rgba(0, 224, 255, 0.2);
    color: #00e0ff;
}

/* Class ini akan ditambahkan oleh Javascript saat diklik */
.show {
    display: block;
    animation: fadeIn 0.3s;
}

/* Animasi halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

nav ul li a {
    transition: .3s;
}

nav ul li a:hover {
    color: #00e0ff;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #14203b, #02040a);
    position: relative;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    animation: titleFloat 4s ease-in-out infinite;
}

.hero span {
    color: #00e0ff;
}

.hero p {
    max-width: 650px;
    margin: 20px auto;
    color: #ccc;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #00e0ff;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px #00e0ff;
}

/* FLOATING ORBS */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    animation: float 8s infinite alternate;
}

.orb.one {
    width: 300px;
    height: 300px;
    background: #00e0ff;
    top: 20%;
    left: 10%;
}

.orb.two {
    width: 250px;
    height: 250px;
    background: #5d5cff;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-60px); }
}

section {
    padding: 120px 80px;
    position: relative;
}

/* ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h3 {
    font-size: 2.5rem;
    color: #00e0ff;
    animation: titleWave 3s infinite;
}

.about p {
    color: #ccc;
    line-height: 1.8;
}

/* SERVICES */
.services {
    text-align: center;
}

.service-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.card {
    background: rgba(255, 255, 255, .05);
    padding: 40px;
    border-radius: 20px;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 224, 255, .4), transparent);
    transform: translateX(-100%);
}

.card:hover::before {
    transform: translateX(100%);
    transition: .6s;
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 224, 255, .2);
}

.card h4 {
    margin-bottom: 15px;
    color: #00e0ff;
}

/* PARALLAX */
.parallax {
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    text-align: center;
}

.parallax h3 {
    font-size: 3rem;
    animation: titleFloat 5s infinite;
}

/* CONTACT */
.contact {
    text-align: center;
}

form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    outline: none;
}

button {
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: #00e0ff;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    box-shadow: 0 0 30px #00e0ff;
}

footer {
    text-align: center;
    padding: 30px;
    background: #02040a;
    color: #777;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00e0ff; }
    to { text-shadow: 0 0 30px #00e0ff; }
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes titleWave {
    0% { letter-spacing: 2px; }
    50% { letter-spacing: 6px; }
    100% { letter-spacing: 2px; }
}

canvas.snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

@media(max-width:768px) {
    nav { padding: 20px; }
    .about { grid-template-columns: 1fr; }
    .hero h2 { font-size: 2.5rem; }
}

/* MUSIC CONTROL */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(100px);
    border-radius: 50px;
    display: flex;
    gap: 10px;
    padding: 12px 18px;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 224, 255, .3);
}

.music-control button {
    background: none;
    border: none;
    color: #00e0ff;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.music-control button:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px #00e0ff;
}

/* --- RESPONSIVE NAVIGASI --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%; /* Gunakan persentase agar fleksibel */
}

/* Sembunyikan menu di HP dan ubah jadi kolom jika perlu */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap; /* Agar menu tidak meluber keluar layar */
        justify-content: center;
    }

    nav ul li a {
        font-size: 14px;
    }
}

/* --- RESPONSIVE HERO SECTION --- */
.hero h2 {
    font-size: clamp(2rem, 8vw, 3.5rem); /* Ukuran font otomatis mengecil di layar kecil */
    line-height: 1.2;
}

.hero p {
    padding: 0 20px;
    font-size: 14px;
}

/* --- RESPONSIVE ABOUT SECTION (Teks & Gambar Berdampingan) --- */
.about {
    display: flex;
    flex-wrap: wrap; /* Ini kunci agar bisa turun ke bawah saat layar sempit */
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
}

.about > div {
    flex: 1;
    min-width: 300px; /* Minimal lebar sebelum dia pindah ke bawah */
}

@media (max-width: 768px) {
    .about {
        text-align: center; /* Teks jadi rata tengah di HP */
        padding: 60px 20px;
    }
    
    section {
        padding: 60px 20px; /* Padding section lebih kecil di HP */
    }
}

/* --- RESPONSIVE SERVICES --- */
.service-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Kolom otomatis menyesuaikan lebar layar */
    gap: 20px;
}

/* =========================================
   CSS KHUSUS HALAMAN WEB DEVELOPMENT
   ========================================= */

/* Hero Section Khusus Web Dev */
.web-hero {
    height: 60vh;
    display: flex;
    flex-direction: column; /* Menata item secara vertikal (atas-bawah) */
    align-items: center;    /* Rata tengah secara horizontal */
    justify-content: center; /* Rata tengah secara vertikal (Fixed Typo) */
    text-align: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1e 100%);
    padding-top: 80px;
    width: 100%;
}

.web-hero h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.web-hero span {
    color: #00e0ff;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

/* Container Grid Layanan */
.service-details {
    padding: 50px 10%;
    background: #0f0f1e;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Desain Kartu Layanan */
.service-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 224, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: #00e0ff;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.2);
    background: rgba(0, 224, 255, 0.05);
}

.service-item i {
    font-size: 3rem;
    color: #00e0ff;
    margin-bottom: 20px;
    display: block;
    text-align: center; /* Memastikan ikon di tengah */
}

.service-item h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center; /* Judul kartu rata tengah */
}

.service-item p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center; /* Deskripsi rata tengah (opsional) */
}

/* Tombol Back */
.btn-back {
    display: inline-block;
    margin-top: 50px;
    padding: 10px 30px;
    border: 1px solid #00e0ff;
    color: #00e0ff;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-back:hover {
    background: #00e0ff;
    color: #000;
    box-shadow: 0 0 15px #00e0ff;
}

/* ===========================
   WHATSAPP WIDGET STYLES
   =========================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px; /* Posisi di kanan bawah */
    background-color: #25d366; /* Warna Asli WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6); /* Efek Glow Neon Hijau */
    z-index: 10000; /* Agar selalu di atas elemen lain */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite; /* Animasi berdenyut */
}

/* Efek saat mouse diarahkan */
.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1); /* Membesar sedikit */
    box-shadow: 0 0 25px rgba(37, 211, 102, 1);
}

/* Animasi Berdenyut (Pulse) agar eye-catching */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsif untuk Layar HP (Agar tidak terlalu menutupi) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* =========================================
   CSS KHUSUS HALAMAN ROBLOX MAP
   ========================================= */

/* Hero Section dengan Background Gaming */
.roblox-hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Background Gradient Ungu/Biru Khas Gaming */
    background: linear-gradient(rgba(15, 15, 30, 0.8), rgba(15, 15, 30, 0.9)), 
                url('https://images.unsplash.com/photo-1552820728-8b83bb6b773f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    border-bottom: 2px solid #00e0ff;
}

.roblox-hero h2 {
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.roblox-hero span {
    color: #ff0055; /* Aksen Merah/Pink Neon */
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

/* Layout Grid Gallery */
.map-gallery {
    padding: 60px 10%;
    background: #0b0b15;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Kartu Map dengan Gambar */
.map-card {
    background: #161625;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    position: relative;
}

.map-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.3);
    border-color: #00e0ff;
}

/* Placeholder Gambar Map */
.map-img {
    width: 100%;
    height: 200px;
    background-color: #333;
    /* Ganti URL ini dengan gambar asli map Anda nanti */
    background-image: url('https://via.placeholder.com/600x400/000000/00e0ff?text=Roblox+Map+Preview'); 
    background-size: cover;
    background-position: center;
}

.map-content {
    padding: 25px;
}

.map-content h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.map-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 224, 255, 0.1);
    color: #00e0ff;
    font-size: 0.75rem;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid #00e0ff;
}

.map-content p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.6;
}

.map-content ul {
    margin-top: 15px;
    padding-left: 20px;
    color: #aaa;
    font-size: 0.85rem;
}

.map-content ul li {
    margin-bottom: 5px;
}

/* --- PORTFOLIO SECTION STYLING --- */
.portfolio-section {
    padding: 100px 6%;
    position: relative;
    background: #05070a; /* Darker background */
    overflow: hidden;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.section-header h3 span {
    color: #00e0ff;
    text-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

.section-header p {
    color: #888;
    font-size: 1rem;
}

/* --- PORTFOLIO SECTION STYLING (FIXED) --- */
.portfolio-section {
    padding: 80px 5%;
    position: relative;
    background: #05070a;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

/* --- GRID LAYOUT PERBAIKAN --- */
.portfolio-container {
    display: grid;
    /* Membuat kolom otomatis dengan lebar minimal 300px dan maksimal 350px */
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px)); 
    gap: 30px;
    justify-content: center; /* Menengahkan kartu jika jumlahnya sedikit */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- KARTU PORTFOLIO --- */
.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 224, 255, 0.1);
    border-radius: 15px; /* Radius lebih kecil agar terlihat compact */
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    /* Membatasi lebar kartu agar tidak pernah terlalu lebar */
    width: 100%; 
    max-width: 350px; 
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: #00e0ff;
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.1);
}

.card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- BAGIAN GAMBAR (DIPERKECIL) --- */
.card-front {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Tinggi gambar dikunci di 180px agar kecil dan seragam */
    height: 180px; 
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wajib: agar gambar tidak gepeng */
    object-position: top center; /* Fokus ke bagian atas gambar */
    transition: transform 0.6s ease;
}

.portfolio-card:hover .card-front img {
    transform: scale(1.1);
}

/* Badge di atas gambar */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #00e0ff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #00e0ff;
    z-index: 2;
}

/* --- KONTEN KARTU --- */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Agar tombol selalu di bawah jika teks pendek */
}

.card-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Tombol */
.details-btn {
    margin-top: auto; /* Dorong tombol ke paling bawah */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00e0ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.details-btn:hover {
    gap: 12px;
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-stack span {
    font-size: 0.8rem;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tech-stack span i {
    color: #00e0ff;
}

/* Button */
.details-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00e0ff;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.details-btn:hover {
    gap: 15px;
    text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
}

/* --- ANIMATED BACKGROUND ELEMENTS --- */
.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    animation: floatAnim 10s infinite ease-in-out;
}

.tech-circle.one {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.tech-circle.two {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%); /* Purple/Blue tint */
    animation-delay: 5s;
}

@keyframes floatAnim {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   STYLE TAMBAHAN: PORTFOLIO ROBLOX
   ========================================= */

/* Override Background Hero Khusus Roblox */
.project-hero.roblox-bg {
    background: url('assets/image/roblox.png') no-repeat center center/cover;
    background-attachment: fixed;
}

/* --- CSS Update untuk Overlay --- */
.img-overlay {
    position: absolute; 
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    transition: 0.3s;
    
    /* TAMBAHKAN INI: Agar klik tembus ke gambar di bawahnya */
    pointer-events: none; 
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    /* Grid responsif yang mengisi ruang kosong */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 200px; /* Tinggi seragam */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #00e0ff;
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.2);
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay Icon saat Hover */
.img-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s;
}

.gallery-item:hover .img-overlay { opacity: 1; }
.img-overlay i { 
    font-size: 2rem; 
    color: #00e0ff; 
    transform: scale(0); 
    transition: 0.3s; 
}
.gallery-item:hover .img-overlay i { transform: scale(1); }


/* --- Lightbox (Popup Full Screen) --- */
.lightbox {
    display: none; /* Default sembunyi */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95); /* Gelap total */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #00e0ff;
    box-shadow: 0 0 50px rgba(0, 224, 255, 0.3);
    animation: zoomIn 0.3s;
}

/* Tombol Close (X) */
.close-lb {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-lb:hover {
    color: #00e0ff;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

/* Responsive Lightbox untuk HP */
@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
    }
    .close-lb {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}

/* =========================================
   Halaman portfolio-lawfirm.html (style.css tambahan)
   ========================================= */

/* --- Navigasi Khusus Portfolio --- */
.portfolio-nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5, 7, 10, 0.9); /* Latar belakang gelap transparan */
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.portfolio-nav .brand { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: #fff; 
    text-decoration: none; 
    font-family: 'Space Grotesk', sans-serif;
}

.back-btn {
    color: #e2e8f0; 
    text-decoration: none; 
    font-weight: 600;
    display: flex; align-items: center; gap: 10px; 
    transition: 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.back-btn:hover { color: #00e0ff; gap: 15px; }

/* --- Hero Section --- */
.project-hero {
    height: 70vh; /* Tinggi hero */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Pastikan path gambar benar */
    background: url('assets/image/lawfirm.png') no-repeat center center/cover;
    background-attachment: fixed; /* Efek Parallax */
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(5,7,10,0.6), #05070a);
}

.hero-content {
    position: relative; z-index: 2; 
    text-align: center; 
    max-width: 800px; 
    padding: 20px;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
    color: #ccc; 
    font-size: 1.2rem;
}

.tag-container {
    display: flex; gap: 10px; justify-content: center; margin-bottom: 30px;
}

.tag {
    padding: 8px 16px; border-radius: 50px;
    background: rgba(0, 224, 255, 0.1); 
    border: 1px solid #00e0ff;
    color: #00e0ff; 
    font-size: 0.85rem; 
    font-weight: 600;
}

/* --- Info Bar (Grid Data) --- */
.info-bar {
    background: #0b0f15;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-item h4 { color: #888; font-size: 0.9rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.info-item p { font-size: 1.1rem; font-weight: 600; color: #fff; }
.status-live { color: #00e0ff; }

/* --- Layout Konten (Zig-Zag) --- */
.content-section { 
    padding: 100px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.grid-2 {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center;
}

.text-block h2 { 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: #fff; 
}

.text-block p { color: #aaa; line-height: 1.8; margin-bottom: 20px; }

.solution-list { list-style: none; margin-top: 20px; }
.solution-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: #ccc; }
.solution-list i { color: #00e0ff; }

/* --- Gambar Mockup --- */
.mockup-img {
    width: 100%; 
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.5s;
}

.mockup-img:hover { transform: scale(1.02); }

/* --- Full Image Section --- */
.full-img-section {
    padding: 80px 5%;
    text-align: center;
    background: #080a0e;
}

.container-narrow { max-width: 1000px; margin: 0 auto; }
.container-narrow h2 { font-family: 'Space Grotesk', sans-serif; color: #fff; margin-bottom: 40px; }

.full-img {
    width: 100%; 
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 224, 255, 0.1);
}

/* --- CTA Section --- */
.portfolio-cta {
    text-align: center; 
    padding: 100px 20px; 
    background: linear-gradient(to top, rgba(0,224,255,0.05), transparent);
}

.portfolio-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; color: #fff; }
.portfolio-cta p { color: #aaa; margin: 20px 0 40px; }

.cta-button {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    background: #00e0ff; 
    color: #000; 
    padding: 15px 35px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 224, 255, 0.4);
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .portfolio-nav { padding: 15px 5%; }
}

/* --- OUR TEAM SECTION STYLING --- */
.team-section {
    padding: 80px 5%;
    background: #05070a; /* Background gelap senada */
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 224, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: 0.4s ease;
    backdrop-filter: blur(5px);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #00e0ff;
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.15);
}

.team-img-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 224, 255, 0.3);
    transition: 0.4s;
}

.team-card:hover .team-img-box {
    border-color: #00e0ff;
    transform: scale(1.05);
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Social Icons Overlay (Opsional) */
.team-social {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: 0.3s;
}

.team-img-box:hover .team-social {
    opacity: 1;
}

.team-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
}

.team-social a:hover {
    color: #00e0ff;
    transform: scale(1.2);
}

.team-info h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-info .role {
    display: block;
    color: #00e0ff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
}

/* --- CLIENT SECTION STYLING --- */
.client-section {
    padding: 60px 5%;
    background: #020305; /* Sedikit lebih gelap dari section lain */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.client-grid {
    display: grid;
    /* Grid responsif: otomatis mengatur jumlah kolom */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.client-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Warna Default (Abu-abu / Mati) */
.client-item i, 
.client-item img {
    font-size: 2.5rem;
    color: #555; /* Warna ikon mati */
    filter: grayscale(100%); /* Jika pakai gambar, jadi hitam putih */
    transition: 0.4s;
    opacity: 0.7;
}

.client-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    transition: 0.4s;
    text-align: center;
}

/* Efek Hover (Menyala) */
.client-item:hover {
    background: rgba(0, 224, 255, 0.05);
    border-color: rgba(0, 224, 255, 0.3);
    transform: translateY(-5px);
}

.client-item:hover i,
.client-item:hover img {
    color: #00e0ff; /* Ikon jadi biru neon */
    filter: grayscale(0%); /* Gambar jadi berwarna asli */
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
}

.client-item:hover span {
    color: #fff;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di HP */
    }
}