/* ==========================================================================
   RESPONSIVE STYLES (Media Queries)
   ========================================================================== */

/* Layar Tablet & Laptop Kecil (Maksimal 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-profession {
        font-size: 1.2rem;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Layar Mobile / HP (Maksimal 768px) */
@media (max-width: 768px) {
    /* Section Container Padding */
    .section-container {
        padding: 60px 20px;
    }

    /* Typography */
    .section-title {
        font-size: 2.2rem;
    }

    /* Navbar & Hamburger Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(37, 48, 41, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        padding-top: 20px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 250px;
        height: 250px;
    }

    .glass-card-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -15px;
        animation: none; /* Mematikan animasi melayang di HP agar tidak terpotong layar */
    }

    /* SKILLS SECTION (Layout Nomor Urut Baru) */
    .skill-item {
        grid-template-columns: 1fr; /* Membuat nomor dan judul atas-bawah */
        gap: 16px;
    }
    
    .skill-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .skill-title {
        font-size: 1.25rem;
        padding: 10px 16px;
    }

    /* Portfolio */
    .portfolio-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Popup Modal Content */
    .popup-content {
        width: 95%;
        padding: 24px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 30px 20px;
    }

    /* Contact */
    .direct-contact-wrapper, .contact-info-wrapper {
        padding: 30px 20px;
    }
}

/* Layar Mobile Kecil (Maksimal 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .portfolio-grid, .services-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .glass-card-badge {
        padding: 8px 12px;
    }
    
    .badge-icon {
        font-size: 1.4rem;
    }
}