/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400&display=swap');

:root {
    --bg-dark: #05101c; /* Biru Tua Sangat Gelap */
    --primary-blue: #0f2b46; /* Biru Laut Malam */
    --accent-green: #1a4031; /* Hijau Hutan Gelap */
    --text-gold: #d4af37; /* Emas Klasik */
    --text-cream: #e0e0e0; /* Putih Tulang */
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg-dark), var(--accent-green));
    background-attachment: fixed; /* Efek Parallax background */
    color: var(--text-cream);
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
}

/* --- Navigasi --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 16, 28, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-cream);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--text-gold);
    transition: 0.3s;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* --- Layout Umum --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0; /* Untuk animasi JS */
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 1s forwards 0.8s;
}

.main-img-container {
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 150px 150px 0 0; /* Bentuk Arch / Jendela */
    border: 2px solid var(--text-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    opacity: 0;
    animation: fadeUp 1s forwards 1s;
}

.main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.main-img-container:hover img {
    transform: scale(1.1);
}

/* --- Profile Page --- */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: var(--glass);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    align-items: start;
}

.profile-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--text-gold);
}

.info-box h3 {
    border-bottom: 1px solid var(--text-gold);
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.info-list li {
    list-style: none;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

/* --- Album Page --- */
.album-card {
    background: rgba(15, 43, 70, 0.6);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.album-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-gold);
    background: rgba(26, 64, 49, 0.8);
}

.album-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.music-player-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 16, 28, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid var(--text-gold);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2000;
    width: 90%;
    max-width: 500px;
}

audio {
    width: 100%;
    height: 30px;
}

/* --- Animasi --- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsif */
@media (max-width: 768px) {
    .profile-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    nav ul { gap: 15px; font-size: 0.8rem; }
}