*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --bg-main: #121212; 
    --bg-card: rgba(37, 37, 45, 0.6); 
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-accent: #6b8af0; 
    --border-color: rgba(255, 255, 255, 0.1); 
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    position: relative; 
    overflow-x: hidden; 
}

/* ================= NAVIGASI ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* ================= CONTAINER UMUM ================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ================= HALAMAN WORKS (HOME) ================= */
.profile-section {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 45px;
}

.home-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

/* Label Portofolio Kecil */
.portfolio-label {
    font-size: 0.8rem;
    color: var(--text-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    font-weight: 700;
}

/* Judul Utama (Nama Kamu) */
.page-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 8px 0;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Subtitle Role / Keahlian */
.profile-role, 
.profile-details .name-highlight {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.profile-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-contacts .contact-email {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    gap: 8px;
}

.profile-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.profile-details a:hover {
    color: var(--text-accent);
}

.filter-section {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: #555;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
}

.card:hover {
    transform: translateY(-4px);
}

.thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .thumbnail-container img {
    transform: scale(1.05); 
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0; 
    transition: opacity 0.2s;
    backdrop-filter: blur(2px);
}

.card:hover .play-overlay {
    opacity: 1; 
}

.card-info {
    padding: 16px 0;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-year-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-accent);
    background: rgba(107, 138, 240, 0.12);
    border: 1px solid rgba(107, 138, 240, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.card-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0 12px;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.card-tags {
    display: flex;
    padding: 0 12px;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.card-tags span {
    background-color: var(--bg-card);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.card-link {
    font-size: 0.85rem;
    color: var(--text-accent);
    margin: 0;
}

/* ================= MORE BUTTON (PLAYLIST) ================= */
.more-section {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.more-btn .yt-icon {
    color: #ff0000;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.more-btn .external-icon {
    stroke: var(--text-secondary);
    flex-shrink: 0;
    transition: stroke 0.2s, transform 0.2s;
}

.more-btn:hover {
    background: var(--text-accent);
    color: #ffffff;
    border-color: var(--text-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 138, 240, 0.35);
}

.more-btn:hover .yt-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.more-btn:hover .external-icon {
    stroke: #ffffff;
    transform: translate(2px, -2px);
}

/* ================= HALAMAN ABOUT ================= */
.about-container { 
    max-width: 1120px; 
}

.about-grid-layout {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 48px;
    align-items: start;
}

/* Kolom Kiri: Profile & Showreel */
.about-left-col {
    position: sticky;
    top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.about-profile-meta h1 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    margin: 0 0 4px 0;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.about-profile-meta .role-title {
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.35;
    margin: 0;
}

.showreel-section {
    margin-top: 0;
}

.showreel-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Kolom Kanan: Bio & Content */
.about-right-col {
    display: flex;
    flex-direction: column;
}

.bio-section {
    margin-bottom: 20px;
}

.bio-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px 0;
}

.bio-text {
    line-height: 1.75;
    color: var(--text-primary);
    font-size: 0.96rem;
    margin: 0 0 14px 0;
}

.exp-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 18px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.exp-category-title {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
    margin: 16px 0 8px 0;
}

.exp-block .exp-group:first-of-type .exp-category-title {
    margin-top: 10px;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.section-divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 36px 0 28px 0;
}

@media (max-width: 900px) {
    .about-grid-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-left-col {
        position: static;
    }
}

/* ================= HALAMAN CONTACT ================= */
.contact-container { max-width: 760px; }
.page-title-sub {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}
.contact-desc {
    line-height: 1.7;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 20px;
}
.contact-page-links {
    margin-bottom: 25px;
}
.contact-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.update-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 6px 0;
    font-weight: 500;
}
.block-title {
    color: var(--text-accent);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}
.status-bold {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.status-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.status-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-closing-note {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

/* ================= TEMA TERANG (LIGHT MODE) ================= */
body.light-mode {
    --bg-main: #f4f6f9;     
    --bg-card: rgba(255, 255, 255, 0.65); 
    --text-primary: #111827; 
    --text-secondary: #4b5563; 
    --text-accent: #4f46e5;  
    --border-color: rgba(0, 0, 0, 0.08); 
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 20px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* ================= ANIMATED BACKGROUND EFFECTS ================= */
.bg-effects {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    z-index: -1; 
    overflow: hidden;
    pointer-events: none; 
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px); 
    opacity: 0.5;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(107, 138, 240, 0.4); 
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(220, 53, 69, 0.35); 
    bottom: -10%;
    right: -5%;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.15); 
    top: 30%;
    left: 40%;
    animation-duration: 30s;
}

body.light-mode .blob-1 { background: rgba(107, 138, 240, 0.5); }
body.light-mode .blob-2 { background: rgba(220, 53, 69, 0.4); }
body.light-mode .blob-3 { background: rgba(180, 200, 255, 0.4); }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(60px, 20px) scale(1.05); }
}

/* Posisi Ikon dan Teks Email & Socials */
.contact-email {
    display: flex;
    align-items: center;
    gap: 10px; /* Jarak antara ikon dan teks */
    color: var(--text-secondary);
}

.contact-email svg {
    /* Warnanya ngikutin teks secondary biar nyatu */
    stroke: var(--text-secondary); 
    flex-shrink: 0;
}

.contact-email .x-icon {
    stroke: none;
    fill: var(--text-secondary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: fill 0.2s;
}

.contact-email a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

.contact-email:hover svg {
    stroke: var(--text-primary);
}

.contact-email:hover .x-icon {
    fill: var(--text-primary);
}

.contact-email a:hover {
    opacity: 0.8;
}

/* Pengaturan khusus untuk logo VGen PNG */
.vgen-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.6; /* Dibikin agak pudar biar sewarna dengan ikon email (abu-abu) */
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.contact-email:hover .vgen-icon {
    opacity: 1;
}

/* Trik sulap: Pas di mode gelap (Dark Mode), warna hitam di logo VGen kita balik (invert) jadi putih */
body:not(.light-mode) .vgen-icon {
    filter: invert(1);
}

/* ================= POPUP MODAL NOTION PEEK VIEW ================= */
/* Kursor tangan pas card di-hover */
.project-card { cursor: pointer; }

/* Background hitam transparan nutupin layar */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}
.modal-overlay.show {
    opacity: 1; pointer-events: auto;
}

/* Kotak Popup-nya */
.modal-content {
    background: var(--bg-main);
    width: 90%; max-width: 900px; max-height: 90vh;
    border-radius: 16px; overflow-y: auto; overflow-x: hidden;
    position: relative;
    transform: translateY(30px); transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}

/* Tombol Tutup (X) */
.close-modal {
    position: absolute; top: 15px; right: 20px;
    background: rgba(0, 0, 0, 0.6); color: white;
    border: none; border-radius: 50%; width: 36px; height: 36px;
    font-size: 1.5rem; cursor: pointer; display: flex;
    align-items: center; justify-content: center; z-index: 10;
    transition: 0.2s;
}
.close-modal:hover { background: red; }

/* Banner Gambar di Atas */
.modal-banner {
    width: 100%; height: 300px; object-fit: cover; display: block;
}

/* Isi Teks dan Video */
.modal-body { padding: 40px; }

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.modal-title-row h2 { 
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    margin: 0; 
    font-size: 2rem; 
    color: var(--text-primary); 
}

.modal-year-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-accent);
    background: rgba(107, 138, 240, 0.12);
    border: 1px solid rgba(107, 138, 240, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.modal-subtitle { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.1rem; }
.role-heading { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 8px; }
.modal-tags { margin-bottom: 30px; }
.modal-tags span { font-size: 0.9rem; padding: 6px 12px; }

/* Tempat Video YouTube Auto-Resize */
.modal-video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0;
    border-radius: 12px; overflow: hidden;
    margin-bottom: 10px;
}
.modal-video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Header & Scrolling Screenshot di dalam Modal */
.gallery-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 12px;
}

.gallery-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.scroll-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 500;
    user-select: none;
    opacity: 0.8;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
}

.modal-gallery {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 14px;
    padding-top: 4px;
    -webkit-overflow-scrolling: touch;
}

/* Kustom Scrollbar Estetik */
.modal-gallery::-webkit-scrollbar {
    height: 6px;
}

.modal-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.modal-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--text-accent);
}

body.light-mode .modal-gallery::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .modal-gallery::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
}

body.light-mode .modal-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--text-accent);
}

.modal-gallery img {
    flex: 0 0 280px;
    width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    scroll-snap-align: start;
    user-select: none;
}

.modal-gallery img:hover {
    transform: scale(1.02);
    border-color: var(--text-accent);
}

/* ================= RESPONSIVE DESIGN (MOBILE & TABLET) ================= */

/* Tablet & Layar Menengah */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }
    .nav-links a {
        margin-left: 16px;
        font-size: 0.85rem;
    }
    .theme-toggle {
        margin-left: 12px;
        font-size: 1.1rem;
    }

    .container {
        padding: 32px 18px;
    }

    /* Profil Hero di Home */
    .profile-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 32px;
    }
    .home-avatar {
        width: 96px;
        height: 96px;
    }
    .page-title {
        font-size: 2.2rem;
        margin: 0 0 6px 0;
        word-break: break-word;
    }
    .portfolio-label {
        font-size: 0.75rem;
        letter-spacing: 2.5px;
    }
    .profile-role, 
    .profile-details .name-highlight {
        font-size: 0.95rem;
        margin: 0 0 12px 0;
    }
    .profile-contacts .contact-email {
        font-size: 0.88rem;
    }

    /* Filter & Grid Card */
    .filter-section {
        gap: 8px;
        margin-bottom: 24px;
    }
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.82rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-info {
        padding: 14px 4px;
    }
    .card-meta-row, .card-title, .card-tags {
        padding: 0 8px;
    }
    .card-title {
        font-size: 1.02rem;
    }

    .more-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Halaman About */
    .about-grid-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-left-col {
        position: static;
    }
    .about-profile-card {
        gap: 16px;
    }
    .about-avatar {
        width: 80px;
        height: 80px;
    }
    .about-profile-meta h1 {
        font-size: 1.7rem;
    }

    /* Modal Popup */
    .modal-content {
        width: 95%;
        max-height: 92vh;
        border-radius: 14px;
    }
    .modal-banner {
        height: 200px;
    }
    .modal-body {
        padding: 24px 18px;
    }
    .modal-title-row h2 {
        font-size: 1.45rem;
    }
    .modal-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    .modal-gallery img {
        flex: 0 0 230px;
        width: 230px;
        height: 135px;
    }
}

/* Smartphone Layar Kecil (<= 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 14px 14px;
    }
    .nav-links a {
        margin-left: 12px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    .theme-toggle {
        margin-left: 8px;
        font-size: 1rem;
    }

    .container {
        padding: 24px 14px;
    }

    .profile-section {
        gap: 16px;
        margin-bottom: 28px;
    }
    .home-avatar {
        width: 84px;
        height: 84px;
    }
    .page-title {
        font-size: 1.85rem;
    }
    .profile-role, 
    .profile-details .name-highlight {
        font-size: 0.9rem;
    }
    .profile-contacts .contact-email {
        font-size: 0.84rem;
        gap: 7px;
    }
    .contact-email a {
        word-break: break-all;
    }

    .filter-btn {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    .modal-body {
        padding: 18px 14px;
    }
    .modal-title-row h2 {
        font-size: 1.25rem;
    }
    .modal-gallery img {
        flex: 0 0 200px;
        width: 200px;
        height: 120px;
    }
}
