/* Mengambil Font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Background Gradasi */
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
}

/* Header & Profil */
header {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1); /* Efek Kaca */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

header p {
    font-weight: 300;
    opacity: 0.9;
}

/* Kartu Konten */
section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px); /* Efek melayang saat kursor di atasnya */
}

h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-left: 4px solid #fff;
    padding-left: 15px;
}

/* List Keahlian */
ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

ul li {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}
/* Navigasi */
nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    justify-content: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 15px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Foto Profil */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    object-fit: cover;
}

/* Pengaturan Grid untuk Poster */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Ukuran kolom fleksibel */
    gap: 25px;
    margin-top: 20px;
}

.work-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: 0.3s;
}

/* Frame Khusus Poster (Portrait) */
.poster-frame {
    width: 100%;
    aspect-ratio: 2 / 3; /* Rasio standar poster (tegak) */
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden; /* Supaya gambar tidak keluar dari kotak */
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan memenuhi kotak tanpa gepeng */
    transition: transform 0.5s ease;
}

/* Efek Zoom saat Poster di-hover */
.work-card:hover img {
    transform: scale(1.1);
}

.work-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffd700; /* Warna emas agar judul terlihat menonjol */
}

.work-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}
}

.work-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Box Musik */
.music-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
    font-style: italic;
}
/* Style untuk Tombol Link */
.btn-link {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

.btn-link:hover {
    background: #2980b9;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}