/* style.css - Versi Final dengan Floating Button Tampil di Semua Ukuran */

:root {
    /* Pastel Color Palette */
    --bg-primary: #f8faff;
    --bg-secondary: #f0f3fd;
    --pastel-blue: #9fb9f0;
    --pastel-lavender: #c3b1e8;
    --pastel-mint: #a8e6cf;
    --pastel-peach: #ffd7b5;
    --pastel-pink: #fbc1cb;
    --pastel-yellow: #fdeaa8;
    --pastel-gray: #d9e2f0;
    
    /* Warna Teknis & Admin */
    --cs-primary: #7c9bd6;
    --admin-primary: #b8a3d9;
    
    /* Text Colors */
    --text-dark: #2d3a5e;
    --text-soft: #4a5b7a;
    --text-light: #6b7c9c;
    
    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(159, 185, 240, 0.3);
    --card-shadow: 0 10px 30px -10px rgba(45, 58, 94, 0.1);
    
    /* Floating Menu */
    --floating-bg: white;
    --floating-shadow: 0 10px 30px rgba(159, 185, 240, 0.3);
    --floating-z-index: 9999; /* Z-index tinggi agar selalu di atas */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Canvas Background */
#techCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
    pointer-events: none;
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: var(--pastel-blue);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: floatSoft 15s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    background: var(--pastel-lavender);
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 5%;
    background: var(--pastel-mint);
    animation-delay: -5s;
}

@keyframes floatSoft {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* ===== FLOATING MENU BUTTON - DRAGGABLE ===== */
/* DIPERBAIKI: Z-index tinggi, visible di semua ukuran */
.floating-menu-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--floating-z-index);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    touch-action: none;
    display: block; /* Pastikan selalu display block */
    visibility: visible; /* Pastikan selalu visible */
    opacity: 1; /* Pastikan selalu opaque */
}

.floating-menu-container:active {
    cursor: grabbing;
}

.floating-menu-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pastel-blue);
    color: var(--cs-primary);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--floating-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: calc(var(--floating-z-index) + 1);
    pointer-events: auto;
}

.floating-menu-btn:hover {
    transform: scale(1.1);
    background: var(--pastel-blue);
    color: white;
}

.floating-menu-items {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 0.8rem;
    box-shadow: var(--floating-shadow);
    border: 1px solid var(--pastel-blue);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: var(--floating-z-index);
    pointer-events: auto;
}

.floating-menu-items.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-menu-link {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: var(--text-soft);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.floating-menu-link i {
    width: 20px;
    color: var(--pastel-blue);
    font-size: 1.1rem;
}

.floating-menu-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

.floating-menu-link:hover {
    background: rgba(159, 185, 240, 0.1);
    color: var(--text-dark);
}

.floating-menu-link.active {
    background: rgba(159, 185, 240, 0.2);
    color: var(--text-dark);
    border-left: 3px solid var(--pastel-blue);
}

/* ===== HERO SECTION - FULL LAYAR TANPA BORDER ===== */
.hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 1.5rem 4rem;
    background: linear-gradient(135deg, rgba(159, 185, 240, 0.2), rgba(195, 177, 232, 0.2));
    scroll-margin-top: 60px;
    border: none;
    box-shadow: none;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.badge-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(159, 185, 240, 0.4);
}

.badge.tech { border-left: 3px solid var(--pastel-blue); }
.badge.admin { border-left: 3px solid var(--pastel-lavender); }
.badge.design { border-left: 3px solid var(--pastel-pink); }
.badge.management { border-left: 3px solid var(--pastel-mint); }

.name-with-photo {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pastel-heading {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
    flex: 1;
}

.skom {
    font-size: 2.4rem;
    background: linear-gradient(145deg, var(--pastel-lavender), var(--pastel-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 10px;
}

.photo-frame-inline {
    width: 180px;
    height: 320px;
    border-radius: 2.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px -10px rgba(45, 58, 94, 0.2);
    border: 3px solid white;
    flex-shrink: 0;
}

.rotating-photos-inline {
    width: 100%;
    height: 100%;
    position: relative;
}

.rotating-photos-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: 2.5rem;
}

.rotating-photos-inline img.active {
    opacity: 1;
    z-index: 2;
}

.photo-overlay-inline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(159, 185, 240, 0.2), rgba(200, 170, 230, 0.2));
    z-index: 5;
    pointer-events: none;
    border-radius: 2.5rem;
}

.photo-indicators-inline {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-inline {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-inline.active {
    background: white;
    transform: scale(1.3);
    width: 12px;
    border-radius: 6px;
    box-shadow: 0 0 10px white;
}

.cumlaude-badge {
    display: inline-block;
    margin: 1.2rem 0;
    padding: 0.6rem 2rem;
    background: linear-gradient(145deg, #fdeaa8, #ffd7b5);
    border-radius: 40px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.hero-desc {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.8rem;
    border-radius: 2rem;
    border-left: 4px solid var(--pastel-blue);
    margin: 1.8rem 0;
    font-size: 1.05rem;
    color: var(--text-soft);
}

/* ===== SOCIAL LINKS ===== */
.social-links-mini {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    font-size: 1.3rem;
    text-decoration: none;
    border: 1px solid rgba(159, 185, 240, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(159, 185, 240, 0.3);
    border-color: transparent;
}

.social-icon.whatsapp:hover { background: #25D366; color: white; }
.social-icon.email:hover { background: #EA4335; color: white; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); color: white; }
.social-icon.linkedin:hover { background: #0077B5; color: white; }
.social-icon.github:hover { background: #333; color: white; }

/* Quote Card */
.pastel-quote {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 2rem;
    margin: 2.5rem 0;
    position: relative;
    border: 1px solid rgba(159, 185, 240, 0.3);
    backdrop-filter: blur(8px);
    max-width: 800px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 4rem;
    color: rgba(159, 185, 240, 0.2);
}

.pastel-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
}

.quote-author {
    display: block;
    margin-top: 1rem;
    text-align: right;
    color: var(--text-soft);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 4rem 0;
    scroll-margin-top: 60px;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.illustration-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(159, 185, 240, 0.2);
    border-radius: 1.5rem;
    padding: 1rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.illustration-item i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--cs-primary);
}

.illustration-item span {
    font-size: 0.85rem;
    display: block;
    color: var(--text-soft);
}

.about-content {
    padding: 2.5rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-tags span {
    background: rgba(159, 185, 240, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(159, 185, 240, 0.3);
    font-size: 0.9rem;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.pastel-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(159, 185, 240, 0.3);
}

.glass-card:hover {
    border-color: var(--pastel-blue);
    transform: translateY(-3px);
}

/* Fade Animation */
.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.pastel-title i {
    font-size: 2.2rem;
    background: linear-gradient(145deg, var(--cs-primary), var(--admin-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== TIMELINE (UNTUK PENDIDIKAN) ===== */
.timeline-item {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pastel-blue), var(--pastel-lavender));
}

.timeline-icon {
    font-size: 3rem;
    color: var(--pastel-blue);
    background: white;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(159, 185, 240, 0.2);
    border: 2px solid white;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-date {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.achievement-badge.pastel-achievement {
    margin-top: 1.2rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(145deg, #fdeaa8, #ffd7b5);
    border-radius: 40px;
    display: inline-block;
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== EXPERIENCE GRID ===== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
    scroll-margin-top: 60px;
}

.flip-card {
    background: transparent;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
}

.pastel-front {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(159, 185, 240, 0.3);
}

.pastel-front[data-category="tech"] { border-top: 4px solid var(--pastel-blue); }
.pastel-front[data-category="admin"] { border-top: 4px solid var(--pastel-lavender); }
.pastel-front[data-category="design"] { border-top: 4px solid var(--pastel-pink); }
.pastel-front[data-category="desain"] { border-top: 4px solid var(--pastel-peach); }

.exp-icon-big i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--cs-primary);
}

.pastel-back {
    background: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pastel-mint);
}

.pastel-back ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.pastel-back li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.9rem;
}

.pastel-back i {
    color: var(--pastel-mint);
}

/* ===== PROYEK SHOWCASE ===== */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    scroll-margin-top: 60px;
}

.showcase-item {
    padding: 2.5rem;
}

.showcase-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: var(--pastel-blue);
}

.showcase-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.showcase-meta {
    color: var(--text-soft);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.showcase-desc {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.showcase-item.featured {
    border: 2px solid var(--pastel-yellow);
    background: rgba(253, 234, 168, 0.1);
}

.project-link.pastel-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--cs-primary);
    text-decoration: none;
    border-bottom: 2px dotted var(--pastel-blue);
    padding-bottom: 3px;
    transition: 0.3s;
}

.project-link.pastel-link:hover {
    color: var(--pastel-lavender);
    border-bottom-color: var(--pastel-lavender);
}

/* ===== SERTIFIKAT ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    scroll-margin-top: 60px;
}

.cert-image-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.pastel-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 45px;
    background: linear-gradient(145deg, rgba(159, 185, 240, 0.2), rgba(200, 170, 230, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid white;
}

.pastel-placeholder i {
    font-size: 2.5rem;
    color: var(--cs-primary);
}

.cert-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cert-info p {
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* ===== POPUP MODAL ===== */
.cert-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000; /* Lebih tinggi dari floating menu */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.cert-popup.active {
    visibility: visible;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 58, 94, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.pastel-popup {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 1.5rem;
    border: 2px solid var(--pastel-blue);
    box-shadow: 0 20px 40px rgba(45, 58, 94, 0.2);
    overflow: hidden;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cert-popup.active .pastel-popup {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pastel-blue);
    color: var(--cs-primary);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--pastel-blue);
    color: white;
}

.popup-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f5f7ff;
}

.popup-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-image.loaded {
    opacity: 1;
}

.popup-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cs-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.popup-caption {
    padding: 0.8rem;
    text-align: center;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-top: 1px solid rgba(159, 185, 240, 0.3);
}

/* ===== SKILLS - 3 CARD SEBARIS ===== */
.skills-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    scroll-margin-top: 60px;
}

.skill-group {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-group h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-group h3 i {
    color: var(--pastel-blue);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.pastel-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(159, 185, 240, 0.1);
    border: 1px solid rgba(159, 185, 240, 0.3);
    border-radius: 40px;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.pastel-tag:hover {
    background: white;
    border-color: var(--pastel-blue);
}

.tools-grid.pastel-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tool-item {
    padding: 0.8rem;
    background: rgba(159, 185, 240, 0.1);
    border-radius: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.tool-item i {
    color: var(--pastel-blue);
}

.tool-item:hover {
    background: white;
    border-color: var(--pastel-blue);
}

/* ===== FOOTER ===== */
.pastel-footer {
    margin-top: 5rem;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(159, 185, 240, 0.3);
}

.footer-quote {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-dark);
}

/* ===== HTML SCROLL ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pastel-heading { font-size: 3.5rem; }
    .skom { font-size: 2rem; }
    .photo-frame-inline { width: 160px; height: 284px; }
    .skills-detailed { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
    .hero { padding: 2.5rem 1.5rem; }
    .name-with-photo { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .photo-frame-inline { width: 140px; height: 249px; }
    .pastel-heading { font-size: 3rem; }
    .about-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* FLOATING BUTTON TETAP TAMPIL DI MOBILE */
    .floating-menu-container {
        bottom: 20px;
        right: 20px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .floating-menu-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        box-shadow: 0 5px 20px rgba(159, 185, 240, 0.4);
    }
    
    .floating-menu-items {
        bottom: 65px;
        min-width: 180px;
    }
}

@media (max-width: 650px) {
    .hero { padding: 2rem 1.5rem; }
    .name-with-photo { align-items: center; text-align: center; }
    .pastel-heading { font-size: 2.5rem; }
    .skom { font-size: 1.5rem; }
    .timeline-item { flex-direction: column; text-align: center; gap: 1.5rem; }
    .timeline-icon { margin: 0 auto; }
    .timeline-item::before { width: 100%; height: 4px; top: 0; left: 0; }
    .skills-detailed { grid-template-columns: 1fr; }
    
    .floating-menu-container {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-menu-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero { padding: 1.5rem 1rem; }
    .badge-container { justify-content: center; }
    .photo-frame-inline { width: 120px; height: 213px; }
    .illustration-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid.pastel-tools { grid-template-columns: 1fr; }
    .certificates-grid { grid-template-columns: 1fr; }
    .pastel-quote p { font-size: 1.1rem; }
    .social-links-mini { gap: 0.8rem; justify-content: center; }
    .social-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    
    .floating-menu-container {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Optimasi Performa */
* {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}