/* style.css - Versi Optimal & Clean */

* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Membuat tampilan website lebih bersih & seamless */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}

/* Smooth Transitions untuk semua tombol dan link */
a, button {
    transition: all 0.3s ease;
}

/* Warna saat teks diblok/diseleksi oleh user */
::selection {
    background-color: #0f70de;
    color: white;
}

/* Standarisasi Form & Input Ring Biru Estetik */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0f70de;
    box-shadow: 0 0 0 3px rgba(15, 112, 222, 0.1);
}

/* Checkbox warna senada dengan tema */
input[type="checkbox"] {
    accent-color: #0f70de;
}

/* Kumpulan Custom Animasi untuk Elemen UI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease;
}

/* Tipografi Responsif Global untuk Layar HP */
@media (max-width: 640px) {
    h1 {
        font-size: 1.875rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
}