/* --- RESET & DASAR --- */
:root {
    --primary-color: #bb86fc; /* Warna Ungu Neo */
    --bg-color: #121212; /* Warna Hitam Dasar */
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- LOGO & NAVBAR (Fix Logo Bisa Diklik) --- */
.logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    display: flex;          /* INI KUNCI UTAMA */
    align-items: center;    /* biar sejajar tengah */
    gap: 10px;              /* jarak logo & teks */
    
    cursor: pointer;
    position: relative;
    z-index: 10002;
}
/* Bikin GEVAGAR nyala terus kek lampu neon */
.logo span {
    color: #bb86fc;
    text-shadow: 
        0 0 5px #bb86fc, 
        0 0 10px #bb86fc, 
        0 0 20px #bb86fc; /* Semakin banyak lapisannya, semakin terang nyalanya */
    transition: 0.3s;
}

/* Pas disentuh (hover), bikin makin silau/terang banget */
.logo-wrapper:hover .logo span {
    text-shadow: 
        0 0 10px #bb86fc, 
        0 0 20px #bb86fc, 
        0 0 40px #bb86fc;
    color: white; /* Opsional: berubah jadi putih biar efek neonnya makin dapet */
}

.hero, .main-content {
    position: relative;
    z-index: 1; 
}

.logo-wrapper:hover {
    transform: none !important; /* Matiin efek gerak maju */
    filter: drop-shadow(0 0 5px #bb86fc); /* Kasih cahaya tipis aja */
}

.logo {
    margin: 0;
    pointer-events: auto;
}
/* --- HERO SECTION & TOMBOL "AYO KENALAN!" --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('kak_gio.jpeg');
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* FIX TOMBOL AYO KENALAN (Gede, Ungu, Neon, Bisa Diklik) */
.main-btn {
    background-color: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(187, 134, 252, 0.3); /* Neon halus */
}

.main-btn:hover {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 25px var(--primary-color); /* Neon pas hover */
    transform: translateY(-3px); /* Tombol naik dikit */
}

/* Sosmed Icon di Hero */
.sosmed-container {
    display: flex;
    justify-content: center;
    gap: 35px;        /* Jarak antar ikon juga ditambah biar lega */
    margin: 30px 0;   /* Jarak atas bawah kontainer */
}

.sos-icon {
    color: #bb86fc; 
    font-size: 2.5rem;   /* Ukuran diperbesar (sesuaikan antara 2rem - 3rem) */
    transition: 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.sos-icon:hover {
    color: white;
    transform: scale(1.3) translateY(-5px); /* Nge-zoom + naik dikit */
    filter: drop-shadow(0 0 15px #bb86fc);
}
/* --- GALERI SECTION (Fix Galeri di Tengah) --- */
#main-content {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Konten rata tengah */
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Fix Tab Buttons (Warna Ungu & Aktif) */
.tab-buttons {
    margin-bottom: 50px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tab-btn {
    background-color: #2a2a2a;
    color: var(--text-color);
    border: 2px solid transparent;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Class untuk tombol yang aktif */
.tab-btn.active {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color);
    font-weight: bold;
}

/* FIX GALERI (Column Count, Di Tengah, Animasi) */
.tab-content {
    display: none; /* Sembunyikan default */
    width: 90%;
    max-width: 1200px;
}

.tab-content.active {
    display: block; /* Tampilkan kalau aktif */
}

.gallery-grid {
    column-count: 3; /* 4 Kolom di PC */
    column-gap: 20px;
}

/* ANIMASI GALERI (Hover Efek) */
.gallery-grid img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    transition: 0.4s ease; /* Durasi animasi */
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-grid img:hover {
    transform: scale(1.05) translateY(-5px); /* Nge-zoom & naik dikit */
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(187, 134, 252, 0.4);
}

/* --- CSS MODAL BARU (PATEN & ANTI KOCAK) --- */
.modal {
    display: none; /* Awalnya sembunyi */
    position: fixed;
    z-index: 10000; /* KUNCI: Harus paling besar biar di depan SEMUA konten */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Latar belakang super gelap */
    backdrop-filter: blur(10px); /* Efek blur estetik di background */
    
    /* KUNCI: Tengahin kotak modal secara sempurna */
    align-items: center;
    justify-content: center;
}

/* Kotak Konten Modal (Wadah Profil Adinda) */
.modal-content {
    background-color: #1a1a1a; /* Warna gelap nav */
    padding: 40px 30px; /* Jarak dalem kotak biar lega */
    border: 2px solid #bb86fc; /* Garis ungu neo */
    border-radius: 20px; /* Sudut tumpul */
    width: 90%;
    max-width: 450px; /* Lebar maksimal kotak */
    position: relative; /* KUNCI: Biar X nempel di kotak ini */
    box-shadow: 0 0 30px rgba(187, 134, 252, 0.3);
    animation: zoomIn 0.3s ease; /* Aura ungu tipis */
    
    /* KUNCI: Semua teks & foto di dalemnya rata tengah otomatis */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tombol X (Close) - Biar anteng di pojok kotak */
.close-modal {
    position: absolute;
    right: 20px; 
    top: 15px;
    color: #bb86fc; /* Warna ungu standby */
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 10001; /* Di depan modal-content */
    line-height: 1;;
}

.close-modal:hover {
    color: white; /* Berubah putih pas disentuh */
    transform: scale(1.1); /* Besar dikit biar responsif */
}

/* --- STYLE ISI MODAL (ADINDA) --- */

/* Foto Profil (Biar Bulat & Nyala) */
.profile-img {
    width: 140px; /* Ukuran pas */
    height: 140px;
    border-radius: 50%; /* Bulat sempurna */
    border: 4px solid #bb86fc; /* Garis ungu neo */
    object-fit: cover; /* Foto gak gepeng */
    margin-bottom: 20px; /* Jarak ke tulisan nama */
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5); /* Foto ikutan nyala */
}

/* Teks Nama "Adinda Savila" */
.modal-content h3 {
    color: white; /* Nama tetap putih */
    margin-bottom: 8px;
    font-size: 1.6rem;
    font-family: sans-serif;
    font-weight: bold;
}

/* Teks Jurusan */
.modal-content p {
    color: #ccc; /* Abu-abu tipis */
    font-size: 0.95rem;
    margin-bottom: 25px; /* Jarak ke tombol IG */
    font-family: sans-serif;
    line-height: 1.4;
}

/* Tombol IG (Baku Pukul) - Biar Nyala Neon */
/* Keadaan Normal: Tombol Ungu, Tulisan Hitam */
.ig-btn {
    background-color: #bb86fc;
    color: #000000 !important; /* Tulisan hitam tegas */
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

/* Keadaan Pas Disentuh: Tombol Putih, Tulisan Ungu */
.ig-btn:hover {
    background-color: #ffffff; /* Tombol jadi putih */
    color: #bb86fc !important; /* KUNCI: Tulisan ganti jadi ungu biar kelihatan! */
    box-shadow: 0 0 20px #bb86fc; /* Efek neon makin silau */
    transform: translateY(-3px); /* Efek naik dikit biar responsif */
}
@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- KHUSUS TAMPILAN HP (RESPONSIF) --- */
/* --- TAMPILAN LAPTOP (DEFAULT) --- */
/* --- TAMPILAN LAPTOP --- */
/* --- RESET NAVBAR BIAR GAK TABRAKAN --- */
/* --- PENGATURAN NAVBAR GLOBAL --- */
.navbar-global {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 99999;
    background: rgba(18, 18, 18, 0.95);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper { display: flex; align-items: center; gap: 10px; cursor: pointer; }

/* UKURAN STANDAR (LAPTOP) */
.nav-logo-img { width: 50px; 
    height: auto; }
.logo-text { margin: 0; font-size: 24px; 
    color: white; font-weight: bold; }
.logo-text span { color: #bb86fc; 
    text-shadow: 0 0 10px #bb86fc; }

.nav-links { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.nav-links a { color: white; text-decoration: none; font-weight: bold; font-size: 16px; }

/* --- KHUSUS TAMPILAN HP (BIAR GAK BERANTAKAN) --- */

    @media (max-width: 768px) {
    .navbar-global { 
        padding: 8px 4%; 
    }
    .nav-logo-img { 
        width: 32px !important;
    } 
    .logo-text { 
        font-size: 16px!important; 
    } /* Teks nama jadi mungil & rapi */
    
    .nav-links { 
        gap: 12px !important;
    } /* Jarak menu dirapatkan biar gak turun ke bawah */
    
    .nav-links a { 
        font-size: 12px !important
    } 
}/* Tulisan Home/Koleksi jadi pas */
    
    .navbar-global { padding: 10px 3%; }
    
    .playlist-section { width: 95% !important; 
        padding: 15px !important; 
        margin: 20px auto !important; 
    }
    .playlist-section button {
        width: 100% !important;
        max-width: 200px;
        font-size: 14px !important;
        padding: 10px !important;
    }
    marquee {
        font-size: 12px;
    }

    @media (max-width: 1024px) {
    .gallery-grid {
        column-count: 3;
    }
}

footer{
    padding: 20px 0; /* Kasih jarak atas bawah 20px */
    margin-top: 30px; /* Kasih jarak dari konten di atasnya */
    border-top: 1px solid #bb86fc; /* Garis ungu tipis biar elegan */
    text-align: center;
}
.footer i {
    margin-left: 10px; /* Kasih jarak antara teks dan ikon sidik jari */
    cursor: pointer;
    transition: 0.3s;
}

.footer i:hover {
    color: #bb86fc; /* Biar kalau disentuh warnanya berubah */
    transform: scale(1.2);
}

/* Jurus biar scroll halus pas klik Koleksi */
html {
    scroll-behavior: smooth;
}

/* Biar navigasi gak ketutup bayangan gaib */
nav a {
    position: relative;
    z-index: 10001;
    pointer-events: auto !important;
}

/* SESUDAH */
nav {
    position: fixed !important;
    top: 0 !important;
    margin-top: 0 !important;
    border-bottom: none !important;
    border: none !important;
    box-shadow: none !important;
}
nav.scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
}
nav {
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}