/*
|--------------------------------------------------------------------------
| File: asset/css/responsive.css
| Deskripsi: Berisi seluruh kode CSS untuk responsive design pada website ini.
|           Semua media query untuk penyesuaian tampilan di berbagai ukuran layar
dan perangkat dipisahkan dari style utama agar lebih mudah dikelola.
| Contoh: Mengatur ulang layout, ukuran font, dan ikon sosial media pada layar mobile.
|--------------------------------------------------------------------------
*/

.small-screen-warning {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: radial-gradient(circle at 20% 20%, #1a1f3b 0%, #0b0c1c 60%, #05060f 100%);
    color: #f4f5fb;
    text-align: center;
    z-index: 9999;
}

.warning-card {
    max-width: 520px;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(12, 14, 26, 0.85);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.warning-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.warning-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d7dbff;
    margin: 0;
}

@media (max-width: 1024px) {
    body > *:not(.small-screen-warning) {
        display: none !important;
    }

    .small-screen-warning {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .text-section,
    .image-section {
        flex: none;
        padding: 1.5rem;
    }

    .text-section {
        order: 2;
        align-items: center;
        justify-content: center;
        padding-top: 1.5rem;
        padding-left: 1.5rem;
    }

    .image-section {
        order: 1;
        height: 40vh;
        align-items: center;
        justify-content: center;
        padding-right: 1.5rem;
        padding-bottom: 1.5rem;
        flex-shrink: 0;
    }

    .image-container {
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .content {
        max-width: 100%;
        min-width: 400px;
        text-align: left;
    }

    .content h1 {
        font-size: 2.2rem;
        font-weight: 500;
        letter-spacing: -0.005em;
    }

    .content .highlight {
        font-size: 1.7rem;
        font-weight: 800;
        letter-spacing: -0.005em;
        white-space: nowrap;
        line-height: 1.3;
    }

    .typing-text {
        min-width: 320px;
        text-align: left;
    }

    .content p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .profile-image {
        max-height: 80%;
    }

    .social-icons {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {

    .text-section,
    .image-section {
        padding: 1rem;
    }

    .content h1 {
        font-size: 1.8rem;
        font-weight: 500;
        letter-spacing: -0.005em;
    }

    .content .highlight {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.005em;
        white-space: nowrap;
        line-height: 1.3;
    }

    .typing-text {
        min-width: 280px;
        text-align: left;
    }

    .content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .image-section {
        height: 40vh;
    }

    .social-icons {
        gap: 0.8rem;
        margin-top: 1.2rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-icon {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 1920px) {
    .content h1 {
        font-size: 3rem;
        font-weight: 500;
    }

    .content .highlight {
        font-size: 3.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        white-space: nowrap;
        line-height: 1.3;
    }

    .typing-text {
        min-width: 450px;
        text-align: left;
    }

    .content p {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

@media (max-width: 320px) {
    .content .highlight {
        font-size: 1rem;
        letter-spacing: 0;
        white-space: nowrap;
        line-height: 1.3;
    }

    .typing-text {
        min-width: 200px;
        text-align: left;
    }

    .content h1 {
        font-size: 1.6rem;
    }

    .content {
        min-width: auto;
    }
}

@media (max-width: 480px) and (min-width: 321px) {
    .content .highlight {
        font-size: 1.3rem;
        letter-spacing: -0.002em;
        white-space: nowrap;
        line-height: 1.3;
    }
}