/* --- 1. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
:root { --bg-color: #c2b4a3; --text-color: #33291e; --accent-color: #544434; }
body { background-color: var(--bg-color); color: var(--text-color); min-height: 100vh; display: flex; flex-direction: column; }

/* --- 2. HOME PAGE LAYOUT --- */
.header-bg { position: absolute; top: 0; left: 0; width: 100%; height: 320px; background: linear-gradient(to bottom, rgba(194, 180, 163, 0) 50%, var(--bg-color) 100%), url('images/h1.webp') center top/cover no-repeat; z-index: 1; }
.container { width: 100%; max-width: 400px; margin: 180px auto 40px auto; padding: 0 20px; z-index: 2; position: relative; flex: 1; display: flex; flex-direction: column; }
.profile-section { width: 100%; text-align: center; }
.avatar-wrapper { width: 110px; height: 110px; margin: 0 auto 20px auto; border-radius: 50%; border: 3px solid #fff; overflow: hidden; animation: avatarPulse 2s infinite ease-in-out; }
.profile-avatar { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.profile-desc { font-size: 15px; font-style: italic; color: var(--accent-color); margin-bottom: 35px; }
.social-links-wrapper { display: flex; flex-direction: column; gap: 15px; width: 100%; margin-bottom: 20px; }
/* Tombol di index kini memiliki style bingkai seperti galeri */
.btn-link {
    background-color: rgba(255, 255, 255, 0.05); /* Sedikit transparan agar terlihat premium */
    border: 2px solid var(--accent-color);      /* Bingkai tebal sama dengan galeri */
    padding: 16px;
    border-radius: 20px;                        /* Sudut lebih membulat */
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    
    /* Efek denyut halus agar tombol tampak "hidup" seperti galeri */
    animation: framePulse 3s infinite ease-in-out;
}

.btn-link:hover {
    transform: translateY(-5px);
    background-color: var(--bg-color);
    border-color: #8b735b; /* Warna sedikit lebih terang saat disentuh */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    animation: none; /* Berhenti denyut saat disentuh agar fokus */
}


/* --- 3. FOOTER (Sama untuk Index & Galeri) --- */
.bio-footer { text-align: center; padding: 20px 0; font-size: 13px; color: var(--accent-color); margin-top: auto; }
.bio-footer a { color: var(--accent-color); text-decoration: none; font-weight: bold; }
.bio-footer a:hover { text-decoration: underline; }

/* --- 4. GALLERY PAGE --- */
.galeri-page { width: 100%; max-width: 400px; margin: 20px auto; padding: 0 20px; }
.galeri-back { display: block; margin-bottom: 20px; color: var(--accent-color); font-weight: bold; text-decoration: none; }
.galeri-header { text-align: center; margin-bottom: 30px; }
.galeri-header h1 { font-size: 24px; margin-bottom: 5px; }
.galeri-header h2 { font-size: 13px; font-weight: 400; color: var(--accent-color); opacity: 0.8; }

.galeri-section { width: 100%; padding: 20px; border: 2px solid var(--accent-color); border-radius: 20px; margin-bottom: 25px; background: rgba(255,255,255,0.05); animation: framePulse 3s infinite ease-in-out; }
.galeri-section h3 { font-size: 16px; color: var(--accent-color); margin-bottom: 5px; text-align: center; }
.album-desc { font-size: 13px; color: var(--accent-color); margin-bottom: 15px; font-style: italic; opacity: 0.9; text-align: center; }

.swipe-note {
    font-size: 11px; /* Ukuran kecil agar tidak dominan */
    color: var(--accent-color);
    opacity: 0.6;    /* Transparan agar terlihat sebagai petunjuk halus */
    margin-bottom: 10px;
    font-style: italic;
    text-align: center;
}

.galeri-scroll { display: flex; gap: 15px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.galeri-scroll::-webkit-scrollbar { display: none; }
.galeri-scroll img { border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.portrait-img { width: 180px; height: 300px; }
.landscape-img { width: 220px; height: 150px; }

/* --- ANIMATIONS --- */
@keyframes avatarPulse { 0%, 100% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); } 50% { box-shadow: 0 0 22px rgba(255, 255, 255, 0.9); } }
@keyframes framePulse { 0%, 100% { border-color: var(--accent-color); box-shadow: 0 0 5px rgba(84, 68, 52, 0.2); } 50% { border-color: #8b735b; box-shadow: 0 0 15px rgba(84, 68, 52, 0.4); } }
